Storage provisioning is failing in 2.20 build 57 Juno
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Critical
|
Sanju Abraham | |||
Trunk |
Fix Committed
|
Critical
|
Sanju Abraham |
Bug Description
On a 2.20 Build 57 Juno based HA setup , storage provisioning (setup_storage) is failing
Can't connect to MySQL server on '127.0.0.1'
do openstack-config --set /etc/cinder/
2015-06-19 10:41:43:420271: [root@10.87.141.1] out: [13.1.0.1] out: [localhost] local: sudo cinder-manage db sync
2015-06-19 10:41:43:484215: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 CRITICAL cinder [-] OperationalError: (OperationalError) (2003, "Can't connect to MySQL server on '127.0.0.1' (111)") None None
2015-06-19 10:41:44:048577: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder Traceback (most recent call last):
2015-06-19 10:41:44:048853: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/bin/
2015-06-19 10:41:44:048987: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder main()
2015-06-19 10:41:44:049108: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/bin/
2015-06-19 10:41:44:049225: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder fn(*fn_args)
2015-06-19 10:41:44:049341: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/bin/
2015-06-19 10:41:44:049456: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return migration.
2015-06-19 10:41:44:049574: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:049695: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return IMPL.db_
2015-06-19 10:41:44:049814: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:049934: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder current_version = db_version()
2015-06-19 10:41:44:050054: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:050208: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return versioning_
2015-06-19 10:41:44:050330: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:050455: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder facade = _create_
2015-06-19 10:41:44:050668: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:050736: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder **dict(
2015-06-19 10:41:44:050795: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:050852: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder **engine_kwargs)
2015-06-19 10:41:44:050910: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:050966: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder connection_
2015-06-19 10:41:44:051023: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:051079: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder self._url_
2015-06-19 10:41:44:051136: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:051192: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return self._dispatch_
2015-06-19 10:41:44:051249: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:051305: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder if self._invoke_fn(fn, arg, kw) is not None:
2015-06-19 10:41:44:051361: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:051418: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return fn(*arg, **kw)
2015-06-19 10:41:44:051476: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:051533: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder realmode = engine.
2015-06-19 10:41:44:051591: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:052917: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder connection = self.contextual
2015-06-19 10:41:44:052988: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:053056: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder self.pool.
2015-06-19 10:41:44:053114: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:053171: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return _ConnectionFair
2015-06-19 10:41:44:053229: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:053286: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder fairy = _ConnectionReco
2015-06-19 10:41:44:053431: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:053649: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder rec = pool._do_get()
2015-06-19 10:41:44:053776: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:053894: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return self._create_
2015-06-19 10:41:44:054013: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:054130: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return _ConnectionReco
2015-06-19 10:41:44:054247: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:054363: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder self.connection = self.__connect()
2015-06-19 10:41:44:054481: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:054596: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder connection = self.__
2015-06-19 10:41:44:054712: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:054827: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder connection_
2015-06-19 10:41:44:054944: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:055059: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder reraise(
2015-06-19 10:41:44:055176: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:055294: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return dialect.
2015-06-19 10:41:44:055412: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:055527: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return self.dbapi.
2015-06-19 10:41:44:055660: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:055782: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder return Connection(*args, **kwargs)
2015-06-19 10:41:44:055898: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder File "/usr/lib/
2015-06-19 10:41:44:056038: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder super(Connection, self)._
2015-06-19 10:41:44:056162: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder OperationalError: (OperationalError) (2003, "Can't connect to MySQL server on '127.0.0.1' (111)") None None
2015-06-19 10:41:44:056277: [root@10.87.141.1] out: [13.1.0.1] out: 2015-06-19 10:41:44.016 22718 TRACE cinder
2015-06-19 10:41:44:056392: [root@10.87.141.1] out: [13.1.0.1] out:
2015-06-19 10:41:44:090986: [root@10.87.141.1] out: [13.1.0.1] out: Fatal error: local() encountered an error (return code 1) while executing 'sudo cinder-manage db sync'
2015-06-19 10:41:44:091092: [root@10.87.141.1] out: [13.1.0.1] out:
2015-06-19 10:41:44:091153: [root@10.87.141.1] out: [13.1.0.1] out: Aborting.
2015-06-19 10:41:44:091208: [root@10.87.141.1] out: [13.1.0.1] out:
2015-06-19 10:41:44:492211: [root@10.87.141.1] out:
2015-06-19 10:41:44:508151: [root@10.87.141.1] out:
2015-06-19 10:41:44:508409: [root@10.87.141.1] out: Fatal error: run() received nonzero return code 1 while executing!
2015-06-19 10:41:44:508565: [root@10.87.141.1] out:
2015-06-19 10:41:44:508724: [root@10.87.141.1] out: Requested: sudo storage-fs-setup --storage-master 13.1.0.1 --storage-
2015-06-19 10:41:44:508899: [root@10.87.141.1] out: Executed: /bin/bash -l -c "sudo storage-fs-setup --storage-master 13.1.0.1 --storage-
2015-06-19 10:41:44:509189: [root@10.87.141.1] out:
2015-06-19 10:41:44:509486: [root@10.87.141.1] out: Aborting.
2015-06-19 10:41:44:509638: [root@10.87.141.1] out:
2015-06-19 10:41:44:610824:
information type: | Proprietary → Public |
Request submitter to lower the important from Critical to Medium. Retry was not done to mark this as a Critical issue.
Retry should have been successful.
Commits - (https:/ /review. opencontrail. org/#/c/ 11827/) was applied on the same setup and storage provisioning completed without any issue.
There are other enhancement suggested for cinder provisioning on a HA setup, which is to connect only on the VIP address for provisioning DB.
Submitter to add more details and closing comments