[Rdo-list] Cinder Problem with Circular directory structure.
by Minton, Rich
I created an Icehouse cluster that uses Cinder for object storage (using the NFS driver). I use an Isilon NL cluster and NFS mount to that. I'm getting these errors concerning "Circular Directory Structure" and I can't create volumes because of it. From the commands it looks like "snapshots" are supposed to be ignored but apparently they are not.
Any suggestions would be greatly appreciated.
Thank you,
Richard
Text from /var/log/cinder/volume.log:
2014-08-12 15:24:12.035 9485 AUDIT cinder.service [-] Starting cinder-volume node (version 2014.1.1)
2014-08-12 15:24:12.036 9485 INFO cinder.volume.manager [req-36376eb6-d919-4451-9c83-a2bae72c85c5 - - - - -] Starting volume driver NfsDriver (1.1.0)
2014-08-12 15:24:12.329 9485 INFO cinder.volume.manager [req-36376eb6-d919-4451-9c83-a2bae72c85c5 - - - - -] Updating volume status
2014-08-12 15:24:12.334 9485 INFO cinder.brick.remotefs.remotefs [req-36376eb6-d919-4451-9c83-a2bae72c85c5 - - - - -] Already mounted: /var/lib/cinder/mnt/ade98462e07fef2a453d3328ce54ac03
2014-08-12 15:24:12.428 9485 ERROR cinder.openstack.common.threadgroup [-] Unexpected error while running command.
Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf du -sb --apparent-size --exclude *snapshot* /var/lib/cinder/mnt/ade98462e07fef2a453d3328ce54ac03
Exit code: 1
Stdout: '26\t/var/lib/cinder/mnt/ade98462e07fef2a453d3328ce54ac03\n'
Stderr: "/usr/bin/du: WARNING: Circular directory structure.\nThis almost certainly means that you have a corrupted file system.\nNOTIFY YOUR SYSTEM MANAGER.\nThe following directory is part of the cycle:\n `/var/lib/cinder/mnt/ade98462e07fef2a453d3328ce54ac03/.snapshot'\n\n"
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup Traceback (most recent call last):
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/openstack/common/threadgroup.py", line 125, in wait
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup x.wait()
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/openstack/common/threadgroup.py", line 47, in wait
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup return self.thread.wait()
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 168, in wait
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup return self._exit_event.wait()
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup return hubs.get_hub().switch()
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 187, in switch
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup return self.greenlet.switch()
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 194, in main
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup result = function(*args, **kwargs)
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/openstack/common/service.py", line 486, in run_service
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup service.start()
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/service.py", line 103, in start
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup self.manager.init_host()
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 308, in init_host
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup self.publish_service_capabilities(ctxt)
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 1106, in publish_service_capabilities
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup self._report_driver_status(context)
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 1095, in _report_driver_status
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup volume_stats = self.driver.get_volume_stats(refresh=True)
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/nfs.py", line 340, in get_volume_stats
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup self._update_volume_stats()
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/nfs.py", line 359, in _update_volume_stats
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup capacity, free, used = self._get_capacity_info(share)
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/nfs.py", line 567, in _get_capacity_info
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup '*snapshot*', mount_point, run_as_root=True)
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/utils.py", line 136, in execute
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup return processutils.execute(*cmd, **kwargs)
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/cinder/openstack/common/processutils.py", line 173, in execute
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup cmd=' '.join(cmd))
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup ProcessExecutionError: Unexpected error while running command.
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf du -sb --apparent-size --exclude *snapshot* /var/lib/cinder/mnt/ade98462e07fef2a453d3328ce54ac03
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup Exit code: 1
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup Stdout: '26\t/var/lib/cinder/mnt/ade98462e07fef2a453d3328ce54ac03\n'
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup Stderr: "/usr/bin/du: WARNING: Circular directory structure.\nThis almost certainly means that you have a corrupted file system.\nNOTIFY YOUR SYSTEM MANAGER.\nThe following directory is part of the cycle:\n `/var/lib/cinder/mnt/ade98462e07fef2a453d3328ce54ac03/.snapshot'\n\n"
2014-08-12 15:24:12.428 9485 TRACE cinder.openstack.common.threadgroup
2014-08-12 15:24:12.439 2662 INFO cinder.openstack.common.service [-] Child 9485 exited with status 0
2014-08-12 15:24:12.439 2662 INFO cinder.openstack.common.service [-] Forking too fast, sleeping
Richard Minton
Lockheed Martin - D&IS
LMICC Systems Administrator
4000 Geerdes Blvd, 13D31
King of Prussia, PA 19406
Phone: 610-354-5482
10 years, 4 months
[Rdo-list] Missing mongodb dependency in RDO repository
by Lars Kellogg-Stedman
Hello all,
It looks like the mongodb package has been retired from EPEL 6 (and
EPEL 5):
https://lists.fedoraproject.org/pipermail/devel/2014-August/201542.html
It may have been removed due to the fact that there were open
security bugs against the package and no active maintainer, although
at the moment I am not able to find documentation to confirm this.
For the time being, this means that it is not possible to install
ceilometer under CentOS 6.5. For now, you should set:
CONFIG_CEILOMETER_INSTALL=n
In your answers file, or run packstack as:
packstack --os-ceilometer-install=n ...other options...
If we can find a new maintainer for the package it will return to the
EPEL repositories.
Cheers,
--
Lars Kellogg-Stedman <lars(a)redhat.com> | larsks @ irc
Cloud Engineering / OpenStack | " " @ twitter
10 years, 4 months
[Rdo-list] gpg key for foreman repository
by Madko
Hi,
today I just tried to update my openstack rdo setup. yum update fails with
the following message:
The GPG keys listed for the "Foreman stable" repository are already
installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
is it normal??
best regards,
--
Edouard Bourguignon
10 years, 4 months
[Rdo-list] Cinder with glusterfs and split brain question
by Elías David
Hello, I would like to understand something that happened to me recently.
I have cinder configured with glusterfs and I had a volume that I couldn't
attach, after watching logs and the like I noticed that it was a split
brain situation but anyway, this is a replicated distributed volume and I
assume that in the case one brick failed cinder would be able to work out
using brick's replica.
Doesn't this work with split brain conditions? I mean, if it wasn't for the
split brain issue, cinder would've been able to use the replica when the
other brick failed?
Thanks in advance!
10 years, 4 months
[Rdo-list] neutron server failing to start
by Brandon Sawyers
Hello everyone:
I'm attempting to build up an openstack install using the rdo packages
after playing around with packstack.
Up until now everything has been going smoothly. After installing the
dashboard I attempted to login. My password was accepted but I had the
"somethings wrong" error page pop up.
httpd logs showed:
[error] ConnectionFailed: Connection to neutron failed: Maximum attempts
reached
I tried running neutron net-list and received the same message.
service neutron-server shows:
neutron dead but pid file exists
I started the server and it showed okay. However I was still receiving the
same errors.
I looked at the logs for neutron server and found the following:
2014-08-06 17:40:47.866 22869 INFO neutron.common.config [-] Logging
enabled!
2014-08-06 17:40:47.872 22869 INFO neutron.common.config [-] Config paste
file: /usr/share/neutron/api-paste.ini
2014-08-06 17:40:47.931 22869 INFO neutron.manager [-] Loading core plugin:
neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
2014-08-06 17:40:48.044 22869 WARNING
neutron.openstack.common.db.sqlalchemy.session [-] This application has not
enabled MySQL traditional mode, which means silent data corruption may
occur. Please encourage the application developers to enable this mode.
2014-08-06 17:40:48.067 22869 INFO
neutron.plugins.openvswitch.ovs_neutron_plugin [-] Network VLAN ranges: {}
2014-08-06 17:40:48.157 22869 INFO
neutron.plugins.openvswitch.ovs_neutron_plugin [-] Tunnel ID ranges: [(1,
1000)]
2014-08-06 17:40:48.190 22869 ERROR neutron.common.config [-] Unable to
load neutron from configuration file /usr/share/neutron/api-paste.ini.
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config Traceback (most
recent call last):
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/common/config.py", line 170, in
load_paste_app
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config app =
deploy.loadapp("config:%s" % config_path, name=app_name)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 247, in
loadapp
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
loadobj(APP, uri, name=name, **kw)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 272, in
loadobj
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
context.create()
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 710, in
create
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
self.object_type.invoke(self)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 144, in
invoke
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config
**context.local_conf)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/util.py", line 56, in
fix_call
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config val =
callable(*args, **kw)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/urlmap.py", line 25, in
urlmap_factory
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config app =
loader.get_app(app_name, global_conf=global_conf)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 350, in
get_app
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config name=name,
global_conf=global_conf).create()
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 710, in
create
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
self.object_type.invoke(self)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 144, in
invoke
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config
**context.local_conf)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/util.py", line 56, in
fix_call
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config val =
callable(*args, **kw)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/auth.py", line 69, in
pipeline_factory
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config app =
loader.get_app(pipeline[-1])
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 350, in
get_app
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config name=name,
global_conf=global_conf).create()
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 710, in
create
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
self.object_type.invoke(self)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 146, in
invoke
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
fix_call(context.object, context.global_conf, **context.local_conf)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/util.py", line 56, in
fix_call
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config val =
callable(*args, **kw)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/api/v2/router.py", line 71, in
factory
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
cls(**local_config)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/api/v2/router.py", line 75, in
__init__
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config plugin =
manager.NeutronManager.get_plugin()
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/manager.py", line 211, in
get_plugin
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
cls.get_instance().plugin
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/manager.py", line 206, in
get_instance
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config
cls._create_instance()
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/openstack/common/lockutils.py",
line 249, in inner
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
f(*args, **kwargs)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib64/python2.6/contextlib.py", line 34, in __exit__
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config
self.gen.throw(type, value, traceback)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/openstack/common/lockutils.py",
line 212, in lock
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config yield sem
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/openstack/common/lockutils.py",
line 249, in inner
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
f(*args, **kwargs)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/manager.py", line 200, in
_create_instance
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config cls._instance
= cls()
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/manager.py", line 112, in __init__
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config
plugin_provider)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/manager.py", line 140, in
_get_plugin_instance
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
plugin_class()
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/plugins/openvswitch/ovs_neutron_plugin.py",
line 325, in __init__
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config
self.setup_rpc()
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/plugins/openvswitch/ovs_neutron_plugin.py",
line 337, in setup_rpc
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config self.conn =
rpc.create_connection(new=True)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/__init__.py",
line 89, in create_connection
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config return
_get_impl().create_connection(CONF, new=new)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/__init__.py",
line 274, in _get_impl
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config _RPCIMPL =
importutils.import_module(impl)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/openstack/common/importutils.py",
line 57, in import_module
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config
__import__(import_str)
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config ImportError: No
module named rabbit
2014-08-06 17:40:48.190 22869 TRACE neutron.common.config
2014-08-06 17:40:48.193 22869 ERROR neutron.service [-] Error occurred:
trying old api-paste.ini.
2014-08-06 17:40:48.193 22869 TRACE neutron.service Traceback (most recent
call last):
2014-08-06 17:40:48.193 22869 TRACE neutron.service File
"/usr/lib/python2.6/site-packages/neutron/service.py", line 106, in
serve_wsgi
2014-08-06 17:40:48.193 22869 TRACE neutron.service service.start()
2014-08-06 17:40:48.193 22869 TRACE neutron.service File
"/usr/lib/python2.6/site-packages/neutron/service.py", line 75, in start
2014-08-06 17:40:48.193 22869 TRACE neutron.service self.wsgi_app =
_run_wsgi(self.app_name)
2014-08-06 17:40:48.193 22869 TRACE neutron.service File
"/usr/lib/python2.6/site-packages/neutron/service.py", line 175, in
_run_wsgi
2014-08-06 17:40:48.193 22869 TRACE neutron.service app =
config.load_paste_app(app_name)
2014-08-06 17:40:48.193 22869 TRACE neutron.service File
"/usr/lib/python2.6/site-packages/neutron/common/config.py", line 177, in
load_paste_app
2014-08-06 17:40:48.193 22869 TRACE neutron.service raise
RuntimeError(msg)
2014-08-06 17:40:48.193 22869 TRACE neutron.service RuntimeError: Unable to
load neutron from configuration file /usr/share/neutron/api-paste.ini.
2014-08-06 17:40:48.193 22869 TRACE neutron.service
2014-08-06 17:40:48.194 22869 INFO neutron.common.config [-] Logging
enabled!
2014-08-06 17:40:48.202 22869 INFO neutron.common.config [-] Config paste
file: /usr/share/neutron/api-paste.ini
2014-08-06 17:40:48.202 22869 ERROR neutron.common.config [-] Unable to
load quantum from configuration file /usr/share/neutron/api-paste.ini.
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config Traceback (most
recent call last):
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/neutron/common/config.py", line 170, in
load_paste_app
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config app =
deploy.loadapp("config:%s" % config_path, name=app_name)
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 247, in
loadapp
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config return
loadobj(APP, uri, name=name, **kw)
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 271, in
loadobj
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config
global_conf=global_conf)
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 296, in
loadcontext
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config
global_conf=global_conf)
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 320, in
_loadconfig
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config return
loader.get_context(object_type, name, global_conf)
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 408, in
get_context
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config object_type,
name=name)
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config File
"/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 587, in
find_config_section
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config
self.filename))
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config LookupError: No
section 'quantum' (prefixed by 'app' or 'application' or 'composite' or
'composit' or 'pipeline' or 'filter-app') found in config
/usr/share/neutron/api-paste.ini
2014-08-06 17:40:48.202 22869 TRACE neutron.common.config
2014-08-06 17:40:48.203 22869 ERROR neutron.service [-] Unrecoverable
error: please check log for details.
2014-08-06 17:40:48.203 22869 TRACE neutron.service Traceback (most recent
call last):
2014-08-06 17:40:48.203 22869 TRACE neutron.service File
"/usr/lib/python2.6/site-packages/neutron/service.py", line 110, in
serve_wsgi
2014-08-06 17:40:48.203 22869 TRACE neutron.service service.start()
2014-08-06 17:40:48.203 22869 TRACE neutron.service File
"/usr/lib/python2.6/site-packages/neutron/service.py", line 75, in start
2014-08-06 17:40:48.203 22869 TRACE neutron.service self.wsgi_app =
_run_wsgi(self.app_name)
2014-08-06 17:40:48.203 22869 TRACE neutron.service File
"/usr/lib/python2.6/site-packages/neutron/service.py", line 175, in
_run_wsgi
2014-08-06 17:40:48.203 22869 TRACE neutron.service app =
config.load_paste_app(app_name)
2014-08-06 17:40:48.203 22869 TRACE neutron.service File
"/usr/lib/python2.6/site-packages/neutron/common/config.py", line 177, in
load_paste_app
2014-08-06 17:40:48.203 22869 TRACE neutron.service raise
RuntimeError(msg)
2014-08-06 17:40:48.203 22869 TRACE neutron.service RuntimeError: Unable to
load quantum from configuration file /usr/share/neutron/api-paste.ini.
2014-08-06 17:40:48.203 22869 TRACE neutron.service
I googled for these errors and found
http://lists.openstack.org/pipermail/openstack/2013-November/003464.html as
the only similar (to my eyes) result. However the answer there was that
python-keystoneclient wasn't installed. I have checked my controller and
network nodes and they both have it installed.
Does anyone have any idea what's going on? I'm not doing anything crazy
config wise, just following the icehouse install guide.
Thanks!
10 years, 4 months
[Rdo-list] nova list returned "unauthorized" error
by Zhao, Xin
Hello,
I am installing icehouse from RDO, on a 3-nodes testbed. One controller,
one network and one compute node.
I am using RDO release on RHEL6.5 system.
After sourcing the keystone_admin file, the "nova list" command fails,
the nova/api.log file shows the following messages:
# nova list
ERROR: Unauthorized (HTTP 401)
# tail /var/log/nova/api.log
2014-08-05 11:41:21.941 5888 WARNING
keystoneclient.middleware.auth_token [-] Configuring admin URI using
auth fragments. This is deprecated, use 'identity_uri' instead.
2014-08-05 11:41:22.192 5888 WARNING
keystoneclient.middleware.auth_token [-] Configuring admin URI using
auth fragments. This is deprecated, use 'identity_uri' instead.
2014-08-05 14:18:39.408 5932 WARNING
keystoneclient.middleware.auth_token [-] Unexpected response from
keystone service: {u'error': {u'message': u'The request you have made
requires authentication.', u'code': 401, u'title': u'Unauthorized'}}
2014-08-05 14:18:39.409 5932 WARNING
keystoneclient.middleware.auth_token [-] Authorization failed for token
With the same admin username/password, the keystone/glance commands work
fine.
I have the following section in nova.conf file, which looks fine to me:
[DEFAULT]
...
auth_strategy=keystone
...
[keystone_authtoken]
auth_host=10.255.2.134
auth_port=35357
auth_protocol=http
auth_uri=http://10.255.2.134:5000
admin_user=compute
admin_password=computepassword
admin_tenant_name=services
Any idea where it goes wrong ?
Thanks a lot,
Xin
10 years, 4 months