ubuntu binary job fails due to nova-api failure

Bug #1715404 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Unassigned
Pike
Fix Released
Undecided
Unassigned

Bug Description

2017-09-01 17:03:29.454 7 ERROR nova Traceback (most recent call last):
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/bin/nova-api", line 10, in <module>
2017-09-01 17:03:29.454 7 ERROR nova sys.exit(main())
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/cmd/api.py", line 58, in main
2017-09-01 17:03:29.454 7 ERROR nova server = service.WSGIService(api, use_ssl=should_use_ssl)
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 308, in __init__
2017-09-01 17:03:29.454 7 ERROR nova self.manager = self._get_manager()
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 363, in _get_manager
2017-09-01 17:03:29.454 7 ERROR nova return manager_class()
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/api/manager.py", line 30, in __init__
2017-09-01 17:03:29.454 7 ERROR nova self.network_driver.metadata_accept()
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 606, in metadata_accept
2017-09-01 17:03:29.454 7 ERROR nova iptables_manager.apply()
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 346, in apply
2017-09-01 17:03:29.454 7 ERROR nova self._apply()
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
2017-09-01 17:03:29.454 7 ERROR nova return f(*args, **kwargs)
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 366, in _apply
2017-09-01 17:03:29.454 7 ERROR nova attempts=5)
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 1167, in _execute
2017-09-01 17:03:29.454 7 ERROR nova return utils.execute(*cmd, **kwargs)
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 289, in execute
2017-09-01 17:03:29.454 7 ERROR nova return RootwrapProcessHelper().execute(*cmd, **kwargs)
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 172, in execute
2017-09-01 17:03:29.454 7 ERROR nova return processutils.execute(*cmd, **kwargs)
2017-09-01 17:03:29.454 7 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 400, in execute
2017-09-01 17:03:29.454 7 ERROR nova cmd=sanitized_cmd)
2017-09-01 17:03:29.454 7 ERROR nova ProcessExecutionError: Unexpected error while running command.
2017-09-01 17:03:29.454 7 ERROR nova Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c
2017-09-01 17:03:29.454 7 ERROR nova Exit code: 1
2017-09-01 17:03:29.454 7 ERROR nova Stdout: u''
2017-09-01 17:03:29.454 7 ERROR nova Stderr: u'iptables-save v1.6.0: Cannot initialize: Permission denied (you must be root)\n\n'
2017-09-01 17:03:29.454 7 ERROR nova

This patch is related to https://review.openstack.org/#/c/488527/

Changed in kolla:
milestone: none → queens-1
affects: kolla → kolla-ansible
Changed in kolla-ansible:
milestone: queens-1 → none
Changed in kolla-ansible:
milestone: none → queens-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to kolla-ansible (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/501284

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/501284
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=0163162b6598b78ea8255a068efc034e5a737cf0
Submitter: Jenkins
Branch: master

commit 0163162b6598b78ea8255a068efc034e5a737cf0
Author: Jeffrey Zhang <email address hidden>
Date: Wed Sep 6 22:32:49 2017 +0800

    Revert "Remove priviledged mode for nova-api"

    This reverts commit c18615efd54d57f89d1a81729099285ea1fca3a7.

    This patch fixs nova-api failure on ubuntu binary.

    Change-Id: Ie411399eccb0ef7ee004f77a9b1adceca3aa0cc5
    Related-Bug: #1715404

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to kolla-ansible (stable/pike)

Related fix proposed to branch: stable/pike
Review: https://review.openstack.org/502015

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla-ansible (stable/pike)

Reviewed: https://review.openstack.org/502015
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=6428b8e239cd48677ec7eb742a079381f24eb03b
Submitter: Jenkins
Branch: stable/pike

commit 6428b8e239cd48677ec7eb742a079381f24eb03b
Author: Jeffrey Zhang <email address hidden>
Date: Wed Sep 6 22:32:49 2017 +0800

    Revert "Remove priviledged mode for nova-api"

    This reverts commit c18615efd54d57f89d1a81729099285ea1fca3a7.

    This patch fixs nova-api failure on ubuntu binary.

    Change-Id: Ie411399eccb0ef7ee004f77a9b1adceca3aa0cc5
    Related-Bug: #1715404
    (cherry picked from commit 0163162b6598b78ea8255a068efc034e5a737cf0)

tags: added: in-stable-pike
Duong Ha-Quang (duonghq)
Changed in kolla-ansible:
milestone: queens-1 → 5.0.1
milestone: 5.0.1 → queens-1
Changed in kolla-ansible:
milestone: queens-2 → queens-3
Changed in kolla-ansible:
status: New → 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.