[Openstack] (no subject)

Sadia Bashir 11msccssbashir at seecs.edu.pk
Fri Nov 7 09:36:22 UTC 2014


Hi All,

I fixed the "stack_user_domain ID not set in heat.conf falling back to
using default" error by following links given below:

http://hardysteven.blogspot.fr/2014/04/heat-auth-model-updates-part-2-stack.html
http://docs.openstack.org/developer/keystone/cli_examples.html

but soon after this I started getting oslo rootwrap error in nova.log,
openvswitch-agent.log and in celometer-api.log files while glance, keystone
and heat commands and services are working correctly.

I followed the link:
https://ask.openstack.org/en/question/29758/why-does-nova-api-fail-icehouse-usrbinnova-rootwrap-not-found/
to resolve the problem but even after reinstalling and reconfiguring nova
and neutron services, verified existence of nova and neutron rootwrap files
in /usr/bin/, I am still getting these errors:

nova-api.log:

2014-11-07 13:40:30.609 30639 TRACE nova Traceback (most recent call last):
2014-11-07 13:40:30.609 30639 TRACE nova   File "/usr/bin/nova-api", line
10, in <module>
2014-11-07 13:40:30.609 30639 TRACE nova     sys.exit(main())
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/cmd/api.py", line 53, in main
2014-11-07 13:40:30.609 30639 TRACE nova     server =
service.WSGIService(api, use_ssl=should_use_ssl)
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/service.py", line 330, in __init__
2014-11-07 13:40:30.609 30639 TRACE nova     self.manager =
self._get_manager()
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/service.py", line 374, in
_get_manager
2014-11-07 13:40:30.609 30639 TRACE nova     return manager_class()
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/api/manager.py", line 30, in __init__
2014-11-07 13:40:30.609 30639 TRACE nova
self.network_driver.metadata_accept()
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 666, in
metadata_accept
2014-11-07 13:40:30.609 30639 TRACE nova     iptables_manager.apply()
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 434, in
apply
2014-11-07 13:40:30.609 30639 TRACE nova     self._apply()
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line
249, in inner
2014-11-07 13:40:30.609 30639 TRACE nova     return f(*args, **kwargs)
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 454, in
_apply
2014-11-07 13:40:30.609 30639 TRACE nova     attempts=5)
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 1211, in
_execute
2014-11-07 13:40:30.609 30639 TRACE nova     return utils.execute(*cmd,
**kwargs)
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/utils.py", line 165, in execute
2014-11-07 13:40:30.609 30639 TRACE nova     return
processutils.execute(*cmd, **kwargs)
2014-11-07 13:40:30.609 30639 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/processutils.py",
line 195, in execute
2014-11-07 13:40:30.609 30639 TRACE nova     cmd=sanitized_cmd)
2014-11-07 13:40:30.609 30639 TRACE nova ProcessExecutionError: Unexpected
error while running command.
2014-11-07 13:40:30.609 30639 TRACE nova Command: sudo nova-rootwrap
/etc/nova/rootwrap.conf iptables-save -c
2014-11-07 13:40:30.609 30639 TRACE nova Exit code: 1
2014-11-07 13:40:30.609 30639 TRACE nova Stdout: u''
2014-11-07 13:40:30.609 30639 TRACE nova Stderr: u'Traceback (most recent
call last):\n  File "/usr/bin/nova-rootwrap", line 6, in <module>\n  $
2014-11-07 13:40:30.609 30639 TRACE nova
2014-11-07 13:40:30.701 30652 INFO nova.openstack.common.service [-] Parent
process has died unexpectedly, exiting
2014-11-07 13:40:30.702 30647 INFO nova.openstack.common.service [-] Parent
process has died unexpectedly, exiting
2014-11-07 13:40:30.702 30645 INFO nova.openstack.common.service [-] Parent
process has died unexpectedly, exiting
2014-11-07 13:40:30.702 30652 INFO nova.wsgi [-] Stopping WSGI server.
2014-11-07 13:40:30.702 30647 INFO nova.wsgi [-] Stopping WSGI server.
2014-11-07 13:40:30.702 30645 INFO nova.wsgi [-] Stopping WSGI server.
2014-11-07 13:40:30.702 30652 INFO nova.wsgi [-] WSGI server has stopped.
2014-11-07 13:40:30.703 30647 INFO nova.wsgi [-] WSGI server has stopped.
2014-11-07 13:40:30.703 30645 INFO nova.wsgi [-] WSGI server has stopped.
2014-11-07 13:40:30.705 30651 INFO nova.openstack.common.service [-] Parent
process has died unexpectedly, exiting
2014-11-07 13:40:30.706 30650 INFO nova.openstack.common.service [-] Parent
process has died unexpectedly, exiting
2014-11-07 13:40:30.701 30649 INFO nova.openstack.common.service [-] Parent
process has died unexpectedly, exiting
2014-11-07 13:40:30.706 30651 INFO nova.wsgi [-] Stopping WSGI server.

==============================================================================================================================================
File: /var/log/neutron/openvswitch-agent.log

2014-11-07 13:44:20.288 31682 TRACE neutron Traceback (most recent call
last):
2014-11-07 13:44:20.288 31682 TRACE neutron   File
"/usr/bin/neutron-openvswitch-agent", line 10, in <module>
2014-11-07 13:44:20.288 31682 TRACE neutron     sys.exit(main())
2014-11-07 13:44:20.288 31682 TRACE neutron   File
"/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
l$
2014-11-07 13:44:20.288 31682 TRACE neutron     agent =
OVSNeutronAgent(**agent_config)
2014-11-07 13:44:20.288 31682 TRACE neutron   File
"/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
l$
2014-11-07 13:44:20.288 31682 TRACE neutron     self.setup_integration_br()
2014-11-07 13:44:20.288 31682 TRACE neutron   File
"/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
l$
2014-11-07 13:44:20.288 31682 TRACE neutron
self.int_br.set_secure_mode()
2014-11-07 13:44:20.288 31682 TRACE neutron   File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/ovs_lib.py", line
130, in set_secure_m$
2014-11-07 13:44:20.288 31682 TRACE neutron     check_error=True)
2014-11-07 13:44:20.288 31682 TRACE neutron   File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/ovs_lib.py", line 75,
in run_vsctl
2014-11-07 13:44:20.288 31682 TRACE neutron     ctxt.reraise = False
2014-11-07 13:44:20.288 31682 TRACE neutron   File
"/usr/lib/python2.7/dist-packages/neutron/openstack/common/excutils.py",
line 82, in __exit__
2014-11-07 13:44:20.288 31682 TRACE neutron     six.reraise(self.type_,
self.value, self.tb)
2014-11-07 13:44:20.288 31682 TRACE neutron   File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/ovs_lib.py", line 68,
in run_vsctl
2014-11-07 13:44:20.288 31682 TRACE neutron     return
utils.execute(full_args, root_helper=self.root_helper)
2014-11-07 13:44:20.288 31682 TRACE neutron   File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py", line 82,
in execute
2014-11-07 13:44:20.288 31682 TRACE neutron     raise RuntimeError(m)
2014-11-07 13:44:20.288 31682 TRACE neutron RuntimeError:
2014-11-07 13:44:20.288 31682 TRACE neutron Command: ['sudo',
'/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl',
'--timeou$
2014-11-07 13:44:20.288 31682 TRACE neutron Exit code: 1
2014-11-07 13:44:20.288 31682 TRACE neutron Stdout: ''
2014-11-07 13:44:20.288 31682 TRACE neutron Stderr: 'Traceback (most recent
call last):\n  File "/usr/bin/neutron-rootwrap", line 6, in <module$
2014-11-07 13:44:20.288 31682 TRACE neutron

=============================================================================================================================================
File: /var/log/ceilometer/ceilometer-api.log

2014-11-07 14:12:38.988 2161 TRACE ceilometer
2014-11-07 14:12:40.714 2180 INFO keystoneclient.middleware.auth_token [-]
Starting keystone auth_token middleware
2014-11-07 14:12:40.714 2180 WARNING keystoneclient.middleware.auth_token
[-] This middleware module is deprecated as of v0.10.0 in favor of ke$
2014-11-07 14:12:40.715 2180 WARNING keystoneclient.middleware.auth_token
[-] Configuring admin URI using auth fragments. This is deprecated, u$
2014-11-07 14:12:40.715 2180 INFO keystoneclient.middleware.auth_token [-]
Using /tmp/keystone-signing-1uujeL as cache directory for signing ce$
2014-11-07 14:12:40.715 2180 CRITICAL ceilometer [-] TypeError: unsupported
type for timedelta seconds component: str
2014-11-07 14:12:40.715 2180 TRACE ceilometer Traceback (most recent call
last):
2014-11-07 14:12:40.715 2180 TRACE ceilometer   File
"/usr/bin/ceilometer-api", line 10, in <module>
2014-11-07 14:12:40.715 2180 TRACE ceilometer     sys.exit(api())
2014-11-07 14:12:40.715 2180 TRACE ceilometer   File
"/usr/lib/python2.7/dist-packages/ceilometer/cli.py", line 97, in api
2014-11-07 14:12:40.715 2180 TRACE ceilometer     srv = app.build_server()
2014-11-07 14:12:40.715 2180 TRACE ceilometer   File
"/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 126, in
build_server
2014-11-07 14:12:40.715 2180 TRACE ceilometer     root =
VersionSelectorApplication()
2014-11-07 14:12:40.715 2180 TRACE ceilometer   File
"/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 96, in
__init__
2014-11-07 14:12:40.715 2180 TRACE ceilometer     self.v1 =
v1app.make_app(cfg.CONF, enable_acl=pc.app.enable_acl)
2014-11-07 14:12:40.715 2180 TRACE ceilometer   File
"/usr/lib/python2.7/dist-packages/ceilometer/api/v1/app.py", line 61, in
make_app
2014-11-07 14:12:40.715 2180 TRACE ceilometer     app.wsgi_app =
acl.install(app.wsgi_app, conf)
2014-11-07 14:12:40.715 2180 TRACE ceilometer   File
"/usr/lib/python2.7/dist-packages/ceilometer/api/acl.py", line 44, in
install
2014-11-07 14:12:40.715 2180 TRACE ceilometer
conf=dict(conf.get(OPT_GROUP_NAME)))
2014-11-07 14:12:40.715 2180 TRACE ceilometer   File
"/usr/local/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
line 591$
2014-11-07 14:12:40.715 2180 TRACE ceilometer
seconds=self._conf_get('revocation_cache_time'))
2014-11-07 14:12:40.715 2180 TRACE ceilometer TypeError: unsupported type
for timedelta seconds component: str

Please tell me how do I fix these errors, any help/suggestion will be
highly appreciated.

Thanks and Regards,


On Thu, Nov 6, 2014 at 6:20 PM, Don Waterloo <don.waterloo at gmail.com> wrote:

>
>
> On 6 November 2014 09:20, Sadia Bashir <11msccssbashir at seecs.edu.pk>
> wrote:
>
>> Hi everyone,
>>
>> I am working on Icehouse All-in-one ubuntu 14.04, metering and
>> orchestration. I have created a simple autoscaling yaml template but this
>> error in heat-engine.log leaves creation of stack failed:
>>
>> 2014-11-06 13:08:17.693 2282 WARNING heat.common.keystoneclient [-]
>> stack_user_domain ID not set in heat.conf falling back to using default
>> 2014-11-06 13:08:17.694 2282 INFO urllib3.connectionpool [-] Starting new
>> HTTP connection (1): controller
>> 2014-11-06 13:08:17.962 2282 WARNING heat.common.keystoneclient [-]
>> stack_user_domain ID not set in heat.conf falling back to using default
>> 2014-11-06 13:08:17.963 2282 INFO urllib3.connectionpool [-] Starting new
>> HTTP connection (1): controller
>> 2014-11-06 13:08:18.322 2282 WARNING heat.common.keystoneclient [-]
>> stack_user_domain ID not set in heat.conf falling back to using default
>>
>> My question is how do I set "stack_user_domain" in heat.conf?
>>
>> # Keystone domain ID which contains heat template-defined
>> # users. (string value)
>> #stack_user_domain=<None>
>>
>>
> Steve Hardy did a great blog post here
> http://hardysteven.blogspot.co.uk/2014/04/heat-auth-model-updates-part-1-trusts.html
> which describes this quite nicely.  I recommend reading and following.
>
> --don
>



--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141107/7e6d0ef8/attachment.html>


More information about the Openstack mailing list