settingsLogin | Registersettings

Re: [Openstack] (no subject)

0 votes

Hi All,

I fixed the "stackuserdomain 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
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, usessl=shouldusessl)
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.
getmanager()
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 managerclass()
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.metadataaccept()
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
metadataaccept
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/linuxnet.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 \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
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/ovsneutronagent.py",
l$
2014-11-07 13:44:20.288 31682 TRACE neutron agent =
OVSNeutronAgent(**agentconfig)
2014-11-07 13:44:20.288 31682 TRACE neutron File
"/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs
neutronagent.py",
l$
2014-11-07 13:44:20.288 31682 TRACE neutron self.setup
integrationbr()
2014-11-07 13:44:20.288 31682 TRACE neutron File
"/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs
neutronagent.py",
l$
2014-11-07 13:44:20.288 31682 TRACE neutron
self.int
br.setsecuremode()
2014-11-07 13:44:20.288 31682 TRACE neutron File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/ovslib.py", line
130, in set
securem$
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/ovslib.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/ovslib.py", line 68,
in run
vsctl
2014-11-07 13:44:20.288 31682 TRACE neutron return
utils.execute(fullargs, roothelper=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.authtoken [-]
Starting keystone auth
token middleware
2014-11-07 14:12:40.714 2180 WARNING keystoneclient.middleware.authtoken
[-] 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.authtoken [-]
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
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
buildserver
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, enableacl=pc.app.enableacl)
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
makeapp
2014-11-07 14:12:40.715 2180 TRACE ceilometer app.wsgi
app =
acl.install(app.wsgiapp, 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
GROUPNAME)))
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.confget('revocationcachetime'))
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@gmail.com wrote:

On 6 November 2014 09:20, Sadia Bashir 11msccssbashir@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 [-]
stackuserdomain 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 [-]
stackuserdomain 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 [-]
stackuserdomain ID not set in heat.conf falling back to using default

My question is how do I set "stackuserdomain" in heat.conf?

Keystone domain ID which contains heat template-defined

users. (string value)

stackuserdomain=

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

--


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
asked Nov 7, 2014 in openstack by Sadia_Bashir (560 points)   1 4 5
retagged Feb 25, 2015 by admin
...