[master][promotion]undercloud install failed by giving ImportError: cannot import name utils at Starting OpenStack Neutron Destroy Patch Ports

Bug #1782088 reported by chandan kumar
32
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
yatin

Bug Description

Master Promotion periodic jobs are failed to install undercloud giving following errors:
 Error: Systemd start for neutron-destroy-patch-ports failed!
2018-07-17 00:52:08 | 2018-07-17 00:52:08,516 INFO: journalctl log for neutron-destroy-patch-ports:
2018-07-17 00:52:08 | 2018-07-17 00:52:08,516 INFO: -- Logs begin at Tue 2018-07-17 00:15:26 UTC, end at Tue 2018-07-17 00:52:08 UTC. --
2018-07-17 00:52:08 | 2018-07-17 00:52:08,517 INFO: Jul 17 00:52:07 upstream-centos-7-rdo-cloud-0000061563 systemd[1]: Starting OpenStack Neutron Destroy Patch Ports...
2018-07-17 00:52:08 | 2018-07-17 00:52:08,517 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: Traceback (most recent call last):
2018-07-17 00:52:08 | 2018-07-17 00:52:08,517 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
2018-07-17 00:52:08 | 2018-07-17 00:52:08,518 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: "__main__", fname, loader, pkg_name)
2018-07-17 00:52:08 | 2018-07-17 00:52:08,518 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
2018-07-17 00:52:08 | 2018-07-17 00:52:08,518 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: exec code in run_globals
2018-07-17 00:52:08 | 2018-07-17 00:52:08,518 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: File "/usr/lib/python2.7/site-packages/neutron/cmd/destroy_patch_ports.py", line 25, in <module>
2018-07-17 00:52:08 | 2018-07-17 00:52:08,519 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: from neutron.plugins.common import utils as p_utils
2018-07-17 00:52:08 | 2018-07-17 00:52:08,519 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: ImportError: cannot import name utils
2018-07-17 00:52:08 | 2018-07-17 00:52:08,519 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 systemd[1]: neutron-destroy-patch-ports.service: main process exited, code=exited, status=1/FAILURE
2018-07-17 00:52:08 | 2018-07-17 00:52:08,519 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 systemd[1]: Failed to start OpenStack Neutron Destroy Patch Ports.
2018-07-17 00:52:08 | 2018-07-17 00:52:08,520 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 systemd[1]: Unit neutron-destroy-patch-ports.service entered failed state.
2018-07-17 00:52:08 | 2018-07-17 00:52:08,520 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 systemd[1]: neutron-destroy-patch-ports.service failed.
2018-07-17 00:52:08 | 2018-07-17 00:52:08,520 INFO: 
2018-07-17 00:52:08 | 2018-07-17 00:52:08,520 INFO: Error: /Stage[main]/Neutron::Agents::Ml2::Ovs/Service[neutron-destroy-patch-ports-service]/ensure: change from stopped to running failed: Systemd start for neutron-destroy-patch-ports failed!
2018-07-17 00:52:08 | 2018-07-17 00:52:08,520 INFO: journalctl log for neutron-destroy-patch-ports:
2018-07-17 00:52:08 | 2018-07-17 00:52:08,521 INFO: -- Logs begin at Tue 2018-07-17 00:15:26 UTC, end at Tue 2018-07-17 00:52:08 UTC. --
2018-07-17 00:52:08 | 2018-07-17 00:52:08,521 INFO: Jul 17 00:52:07 upstream-centos-7-rdo-cloud-0000061563 systemd[1]: Starting OpenStack Neutron Destroy Patch Ports...
2018-07-17 00:52:08 | 2018-07-17 00:52:08,521 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: Traceback (most recent call last):
2018-07-17 00:52:08 | 2018-07-17 00:52:08,523 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
2018-07-17 00:52:08 | 2018-07-17 00:52:08,523 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: "__main__", fname, loader, pkg_name)
2018-07-17 00:52:08 | 2018-07-17 00:52:08,523 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
2018-07-17 00:52:08 | 2018-07-17 00:52:08,523 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: exec code in run_globals
2018-07-17 00:52:08 | 2018-07-17 00:52:08,524 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: File "/usr/lib/python2.7/site-packages/neutron/cmd/destroy_patch_ports.py", line 25, in <module>
2018-07-17 00:52:08 | 2018-07-17 00:52:08,524 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: from neutron.plugins.common import utils as p_utils
2018-07-17 00:52:08 | 2018-07-17 00:52:08,524 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 python[23288]: ImportError: cannot import name utils
2018-07-17 00:52:08 | 2018-07-17 00:52:08,524 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 systemd[1]: neutron-destroy-patch-ports.service: main process exited, code=exited, status=1/FAILURE
2018-07-17 00:52:08 | 2018-07-17 00:52:08,525 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 systemd[1]: Failed to start OpenStack Neutron Destroy Patch Ports.
2018-07-17 00:52:08 | 2018-07-17 00:52:08,525 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 systemd[1]: Unit neutron-destroy-patch-ports.service entered failed state.
2018-07-17 00:52:08 | 2018-07-17 00:52:08,525 INFO: Jul 17 00:52:08 upstream-centos-7-rdo-cloud-0000061563 systemd[1]: neutron-destroy-patch-ports.service failed.
2018-07-17 00:52:08 | 2018-07-17 00:52:08,525 INFO: 
2018-07-17 00:52:08 | 2018-07-17 00:52:08,561 INFO: Notice: /Stage[main]/Neutron::Agents::Ml2::Ovs/Service[neutron-destroy-patch-ports-service]: Triggered 'refresh' from 1 events
2018-07-17 00:52:08 | 2018-07-17 00:52:08,721 INFO: Notice: /Stage[main]/Heat::Db::Mysql/Openstacklib::Db::Mysql[heat]/Openstacklib::Db::Mysql::Host_access[heat_%]/Mysql_user[heat@%]/ensure: created
2018-07-17 00:52:08 | 2018-07-17 00:52:08,778 INFO: Notice: /Stage[main]/Heat::Db::Mysql/Openstacklib::Db::Mysql[heat]/Openstacklib::Db::Mysql::Host_access[heat_%]/Mysql_grant[heat@%/heat.*]/ensure: created
2018-07-17 00:52:08 | 2018-07-17 00:52:08,967 INFO: Notice: /Stage[main]/Heat::Db::Mysql/Openstacklib::Db::Mysql[heat]/Openstacklib::Db::Mysql::Host_access[heat_192.168.24.1]/Mysql_user[heat@192.168.24.1]/ensure: created
2018-07-17 00:52:09 | 2018-07-17 00:52:09,018 INFO: Notice: /Stage[main]/Heat::Db::Mysql/Openstacklib::Db::Mysql[heat]/Openstacklib::Db::Mysql::Host_access[heat_192.168.24.1]/Mysql_grant[hea

https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/legacy-periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset017-master/c2c21a3/logs/undercloud/home/zuul/undercloud_install.log.txt.gz#_2018-07-17_00_52_08

https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/legacy-periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset016-master/1cda10b/logs/undercloud/home/zuul/undercloud_install.log.txt.gz#_2018-07-17_00_46_55

Related fix proposed here https://review.rdoproject.org/r/#/c/14859/

summary: - [master][promotion][openstack-periodic] undercloud install failed by
- giving ImportError: cannot import name utils at Starting OpenStack
- Neutron Destroy Patch Ports
+ [master][promotion]undercloud install failed by giving ImportError:
+ cannot import name utils at Starting OpenStack Neutron Destroy Patch
+ Ports
tags: added: promotion-blocker
Revision history for this message
yatin (yatinkarel) wrote :

https://review.rdoproject.org/r/#/c/14859/ merged and in repo and all jobs are passing now.

Changed in tripleo:
assignee: nobody → yatin (yatinkarel)
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.