Closed diplav closed 11 years ago
It shows the following errors: Error: Unauthorized: Unable to retrieve usage information Error: Unauthorized: Unable to retrieve quota information.
I am using dual NIC machine for controller: etho0: 172.16.99.108 (Internal Network) eth1: 192.168.18.217 (External network)
Please help me to resolve the issue..
The configuration is as below: *** Keystone.conf ***** [DEFAULT] A "shared secret" between keystone and other openstack services admin_token = vnit
debug = True verbose = True log_file = keystone.log log_dir = /var/log/keystone
[sql] connection = mysql://keystone:keystone@172.16.99.108/keystone
[identity] driver = keystone.identity.backends.sql.Identity
[trust] driver = keystone.trust.backends.sql.Trust
[catalog] driver = keystone.catalog.backends.sql.Catalog
[token] driver = keystone.token.backends.sql.Token
[policy] driver = keystone.policy.backends.sql.Policy
[ec2] driver = keystone.contrib.ec2.backends.sql.Ec2
[ssl]
[signing]
token_format = UUID
[ldap]
[auth] methods = password,token password = keystone.auth.plugins.password.Password token = keystone.auth.plugins.token.Token
[filter:debug] paste.filter_factory = keystone.common.wsgi:Debug.factory
[filter:token_auth] paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory
[filter:admin_token_auth] paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory
[filter:xml_body] paste.filter_factory = keystone.middleware:XmlBodyMiddleware.factory
[filter:json_body] paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory
[filter:user_crud_extension] paste.filter_factory = keystone.contrib.user_crud:CrudExtension.factory
[filter:crud_extension] paste.filter_factory = keystone.contrib.admin_crud:CrudExtension.factory
[filter:ec2_extension] paste.filter_factory = keystone.contrib.ec2:Ec2Extension.factory
[filter:s3_extension] paste.filter_factory = keystone.contrib.s3:S3Extension.factory
[filter:url_normalize] paste.filter_factory = keystone.middleware:NormalizingFilter.factory
[filter:sizelimit] paste.filter_factory = keystone.middleware:RequestBodySizeLimiter.factory
[filter:stats_monitoring] paste.filter_factory = keystone.contrib.stats:StatsMiddleware.factory
[filter:stats_reporting] paste.filter_factory = keystone.contrib.stats:StatsExtension.factory
[filter:access_log] paste.filter_factory = keystone.contrib.access:AccessLogMiddleware.factory
[app:public_service] paste.app_factory = keystone.service:public_app_factory
[app:service_v3] paste.app_factory = keystone.service:v3_app_factory
[app:admin_service] paste.app_factory = keystone.service:admin_app_factory
[pipeline:public_api] pipeline = access_log sizelimit stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug ec2_extension user_crud_extension public_service
[pipeline:admin_api] pipeline = access_log sizelimit stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug stats_reporting ec2_extension s3_extension crud_extension admin_service
[pipeline:api_v3] pipeline = access_log sizelimit stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug stats_reporting ec2_extension s3_extension service_v3
[app:public_version_service] paste.app_factory = keystone.service:public_version_app_factory
[app:admin_version_service] paste.app_factory = keystone.service:admin_version_app_factory
[pipeline:public_version_api] pipeline = access_log sizelimit stats_monitoring url_normalize xml_body public_version_service
[pipeline:admin_version_api] pipeline = access_log sizelimit stats_monitoring url_normalize xml_body admin_version_service
[composite:main] use = egg:Paste#urlmap /v2.0 = public_api /v3 = api_v3 / = public_version_api
[composite:admin] use = egg:Paste#urlmap /v2.0 = admin_api /v3 = api_v3 / = admin_version_api
[catalog] driver = keystone.catalog.backends.templated.TemplatedCatalog template_file = /etc/keystone/default_catalog.templates
***** nova.conf **** [DEFAULT] debug = True verbose = True logdir = /var/log/nova state_path = /var/lib/nova lock_path = /var/lock/nova rootwrap_config = /etc/nova/rootwrap.conf dhcpbridge = /usr/bin/nova-dhcpbridge
compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
volume_api_class = nova.volume.cinder.API
sql_connection = mysql://nova:nova@172.16.99.108/nova
libvirt_type = kvm compute_driver = libvirt.LibvirtDriver instance_name_template = instance-%08x api_paste_config = /etc/nova/api-paste.ini
allow_resize_to_same_host = True
osapi_compute_extension = nova.api.openstack.compute.contrib.standard_extensions ec2_dmz_host = 172.16.99.108 s3_host = 172.16.99.108
metadata_host = 172.16.99.108 metadata_listen = 0.0.0.0
rabbit_host = 172.16.99.108 rabbit_password = guest
image_service = nova.image.glance.GlanceImageService glance_api_servers = 172.16.99.108:9292
network_api_class = nova.network.quantumv2.api.API quantum_url = http://172.16.99.108:9696 quantum_auth_strategy = keystone quantum_admin_tenant_name = service
quantum_admin_username = quantum1 quantum_admin_password = quantum1 quantum_admin_auth_url = http://172.16.99.108:35357/v2.0 libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
novncproxy_base_url = http://172.16.99.108:6080/vnc_auto.html
vncserver_proxyclient_address = 172.16.99.108 vncserver_listen = 0.0.0.0
auth_strategy = keystone
[keystone_authtoken] auth_host = 172.16.99.108 auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = nova admin_password = nova signing_dir = /tmp/keystone-signing-nova
It shows the following errors: Error: Unauthorized: Unable to retrieve usage information Error: Unauthorized: Unable to retrieve quota information.
I am using dual NIC machine for controller: etho0: 172.16.99.108 (Internal Network) eth1: 192.168.18.217 (External network)
Please help me to resolve the issue..
The configuration is as below: *** Keystone.conf ***** [DEFAULT] A "shared secret" between keystone and other openstack services admin_token = vnit
debug = True verbose = True log_file = keystone.log log_dir = /var/log/keystone
[sql] connection = mysql://keystone:keystone@172.16.99.108/keystone
[identity] driver = keystone.identity.backends.sql.Identity
[trust] driver = keystone.trust.backends.sql.Trust
[catalog] driver = keystone.catalog.backends.sql.Catalog
[token] driver = keystone.token.backends.sql.Token
[policy] driver = keystone.policy.backends.sql.Policy
[ec2] driver = keystone.contrib.ec2.backends.sql.Ec2
[ssl]
[signing]
token_format = UUID
[ldap]
[auth] methods = password,token password = keystone.auth.plugins.password.Password token = keystone.auth.plugins.token.Token
[filter:debug] paste.filter_factory = keystone.common.wsgi:Debug.factory
[filter:token_auth] paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory
[filter:admin_token_auth] paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory
[filter:xml_body] paste.filter_factory = keystone.middleware:XmlBodyMiddleware.factory
[filter:json_body] paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory
[filter:user_crud_extension] paste.filter_factory = keystone.contrib.user_crud:CrudExtension.factory
[filter:crud_extension] paste.filter_factory = keystone.contrib.admin_crud:CrudExtension.factory
[filter:ec2_extension] paste.filter_factory = keystone.contrib.ec2:Ec2Extension.factory
[filter:s3_extension] paste.filter_factory = keystone.contrib.s3:S3Extension.factory
[filter:url_normalize] paste.filter_factory = keystone.middleware:NormalizingFilter.factory
[filter:sizelimit] paste.filter_factory = keystone.middleware:RequestBodySizeLimiter.factory
[filter:stats_monitoring] paste.filter_factory = keystone.contrib.stats:StatsMiddleware.factory
[filter:stats_reporting] paste.filter_factory = keystone.contrib.stats:StatsExtension.factory
[filter:access_log] paste.filter_factory = keystone.contrib.access:AccessLogMiddleware.factory
[app:public_service] paste.app_factory = keystone.service:public_app_factory
[app:service_v3] paste.app_factory = keystone.service:v3_app_factory
[app:admin_service] paste.app_factory = keystone.service:admin_app_factory
[pipeline:public_api] pipeline = access_log sizelimit stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug ec2_extension user_crud_extension public_service
[pipeline:admin_api] pipeline = access_log sizelimit stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug stats_reporting ec2_extension s3_extension crud_extension admin_service
[pipeline:api_v3] pipeline = access_log sizelimit stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug stats_reporting ec2_extension s3_extension service_v3
[app:public_version_service] paste.app_factory = keystone.service:public_version_app_factory
[app:admin_version_service] paste.app_factory = keystone.service:admin_version_app_factory
[pipeline:public_version_api] pipeline = access_log sizelimit stats_monitoring url_normalize xml_body public_version_service
[pipeline:admin_version_api] pipeline = access_log sizelimit stats_monitoring url_normalize xml_body admin_version_service
[composite:main] use = egg:Paste#urlmap /v2.0 = public_api /v3 = api_v3 / = public_version_api
[composite:admin] use = egg:Paste#urlmap /v2.0 = admin_api /v3 = api_v3 / = admin_version_api
[catalog] driver = keystone.catalog.backends.templated.TemplatedCatalog template_file = /etc/keystone/default_catalog.templates
***** nova.conf **** [DEFAULT] debug = True verbose = True logdir = /var/log/nova state_path = /var/lib/nova lock_path = /var/lock/nova rootwrap_config = /etc/nova/rootwrap.conf dhcpbridge = /usr/bin/nova-dhcpbridge
compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
volume_api_class = nova.volume.cinder.API
sql_connection = mysql://nova:nova@172.16.99.108/nova
libvirt_type = kvm compute_driver = libvirt.LibvirtDriver instance_name_template = instance-%08x api_paste_config = /etc/nova/api-paste.ini
allow_resize_to_same_host = True
osapi_compute_extension = nova.api.openstack.compute.contrib.standard_extensions ec2_dmz_host = 172.16.99.108 s3_host = 172.16.99.108
metadata_host = 172.16.99.108 metadata_listen = 0.0.0.0
rabbit_host = 172.16.99.108 rabbit_password = guest
image_service = nova.image.glance.GlanceImageService glance_api_servers = 172.16.99.108:9292
network_api_class = nova.network.quantumv2.api.API quantum_url = http://172.16.99.108:9696 quantum_auth_strategy = keystone quantum_admin_tenant_name = service
quantum_admin_username = quantum1 quantum_admin_password = quantum1 quantum_admin_auth_url = http://172.16.99.108:35357/v2.0 libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
novncproxy_base_url = http://172.16.99.108:6080/vnc_auto.html
vncserver_proxyclient_address = 172.16.99.108 vncserver_listen = 0.0.0.0
auth_strategy = keystone
[keystone_authtoken] auth_host = 172.16.99.108 auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = nova admin_password = nova signing_dir = /tmp/keystone-signing-nova