During provisioning, network service setup in keystone was attempted(and failed) before keystone was up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Ignatious Johnson Christopher |
Bug Description
http://
Build 2.0-2472, Centos 6.4 Multinode setup
All logs : /cs-shared/
testbed :
=========
env.roledefs = {
'all': [host1, host2, host3, host4, host5, host6],
'cfgm': [host1, host3],
'openstack': [host2],
'webui': [host3],
'control': [host1, host3],
'compute': [host4, host5, host6],
'collector': [host1, host3],
'database': [host1, host2, host3],
'build': [host_build],
}
env.hostnames = {
'all': ['nodec21', 'nodec19', 'nodec20', 'nodec61', 'nodec60'
}
bond= {
host4 : { 'name': 'bond0', 'member': ['p2p0p0'
host5 : { 'name': 'bond0', 'member': ['p2p0p0'
host6 : { 'name': 'bond0', 'member': ['p2p0p0'
}
control_data= {
host1 : { 'ip': '192.168.10.4/24', 'gw' : '192.168.10.254', 'device':'eth1' },
host2 : { 'ip': '192.168.10.5/24', 'gw' : '192.168.10.254', 'device':'eth1' },
host3 : { 'ip': '192.168.10.6/24', 'gw' : '192.168.10.254', 'device':'eth1' },
host4 : { 'ip': '192.168.10.1/24', 'gw' : '192.168.10.254', 'device':'bond0' },
host5 : { 'ip': '192.168.10.2/24', 'gw' : '192.168.10.254', 'device':'bond0' },
host6 : { 'ip': '192.168.10.3/24', 'gw' : '192.168.10.254', 'device':'bond0' },
}
Below, setup-quantum-
2014-11-23 04:23:56:392420: [root@10.204.217.6] out: [localhost] local: setup-quantum-
2014-11-23 04:23:56:399786: [root@10.204.217.6] out: Traceback (most recent call last):
2014-11-23 04:23:56:631652: [root@10.204.217.6] out: File "/usr/bin/
2014-11-23 04:23:56:631788: [root@10.204.217.6] out: load_entry_
2014-11-23 04:23:56:631856: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:631920: [root@10.204.217.6] out: quant_obj.
2014-11-23 04:23:56:631982: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:632045: [root@10.204.217.6] out: self.quant_
2014-11-23 04:23:56:632105: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:632172: [root@10.204.217.6] out: quant_tenant = self.kshandle.
2014-11-23 04:23:56:632233: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:632293: [root@10.204.217.6] out: rl = self.findall(
2014-11-23 04:23:56:632352: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:632412: [root@10.204.217.6] out: for obj in self.list():
2014-11-23 04:23:56:632471: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:632529: [root@10.204.217.6] out: tenant_list = self._list(
2014-11-23 04:23:56:632589: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:632648: [root@10.204.217.6] out: resp, body = self.client.
2014-11-23 04:23:56:632706: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:632765: [root@10.204.217.6] out: return self._cs_
2014-11-23 04:23:56:632824: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:632882: [root@10.204.217.6] out: return self.request(url, method, **kwargs)
2014-11-23 04:23:56:632941: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:632999: [root@10.204.217.6] out: resp = super(HTTPClient, self).request(url, method, **kwargs)
2014-11-23 04:23:56:633059: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:633117: [root@10.204.217.6] out: return self.session.
2014-11-23 04:23:56:633180: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:633238: [root@10.204.217.6] out: return func(*args, **kwargs)
2014-11-23 04:23:56:633296: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:633353: [root@10.204.217.6] out: resp = self._send_
2014-11-23 04:23:56:633422: [root@10.204.217.6] out: File "/usr/lib/
2014-11-23 04:23:56:633481: [root@10.204.217.6] out: raise exceptions.
2014-11-23 04:23:56:633539: [root@10.204.217.6] out: keystoneclient.
2014-11-23 04:23:56:633598: [root@10.204.217.6] out:
2014-11-23 04:23:56:650600: [root@10.204.217.6] out: Fatal error: local() encountered an error (return code 1) while executing 'setup-
2014-11-23 04:23:56:650722: [root@10.204.217.6] out:
2014-11-23 04:23:56:650793: [root@10.204.217.6] out: Aborting.
2014-11-23 04:23:56:650851: [root@10.204.217.6] out:
supervisord-
=======
2014-11-23 04:23:54,668 INFO supervisord started with pid 10782
2014-11-23 04:23:55,670 INFO spawned: 'nova-novncproxy' with pid 10819
2014-11-23 04:23:55,671 INFO spawned: 'nova-conductor' with pid 10820
2014-11-23 04:23:55,672 INFO spawned: 'glance-api' with pid 10821
2014-11-23 04:23:55,673 INFO spawned: 'cinder-api' with pid 10822
2014-11-23 04:23:55,674 INFO spawned: 'nova-consoleauth' with pid 10823
2014-11-23 04:23:55,674 INFO spawned: 'keystone' with pid 10824
2014-11-23 04:23:55,675 INFO spawned: 'nova-api' with pid 10826
2014-11-23 04:23:55,677 INFO spawned: 'nova-scheduler' with pid 10827
2014-11-23 04:23:55,678 INFO spawned: 'heat-engine' with pid 10828
2014-11-23 04:23:55,679 INFO spawned: 'glance-registry' with pid 10829
2014-11-23 04:23:55,679 INFO spawned: 'heat-api' with pid 10830
2014-11-23 04:23:55,681 INFO spawned: 'cinder-scheduler' with pid 10831
2014-11-23 04:23:56,792 INFO success: nova-novncproxy entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,792 INFO success: nova-conductor entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,792 INFO success: glance-api entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,792 INFO success: cinder-api entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,792 INFO success: nova-consoleauth entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,792 INFO success: keystone entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,792 INFO success: nova-api entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,792 INFO success: nova-scheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,792 INFO success: heat-engine entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,792 INFO success: glance-registry entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,793 INFO success: heat-api entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-11-23 04:23:56,793 INFO success: cinder-scheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Later, when we try the same setup-quantum-
summary: |
- During provisioning, network service setup in keystone happened(and + During provisioning, network service setup in keystone was attempted(and failed) before keystone was up |
tags: | added: sanity |
Reviewed: https:/ /review. opencontrail. org/4978 github. org/Juniper/ contrail- fabric- utils/commit/ e3bcc49b4e65d1f bddb01c2aafb696 8dd8cd6bf2
Committed: http://
Submitter: Zuul
Branch: master
commit e3bcc49b4e65d1f bddb01c2aafb696 8dd8cd6bf2
Author: Ignatious Johnson <email address hidden>
Date: Tue Nov 25 16:04:59 2014 -0800
Make sure the opensack services are up
executing verify_openstack task to make sure the openstack services are up
before continuing to provisionig contrail, else exiting provisioning.
Change-Id: I8c7f59ccbfcf08 d874fa2586c1396 01f4a394cab
Closes-Bug: 1395518