Public networks can't be assigned on nodes because of appropriate option is disabled.

Bug #1664212 reported by Ilya Bumarskov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Ilya Bumarskov

Bug Description

cli tests have failed with following error:

Traceback (most recent call last):
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.cli_acceptance_deployment_tests/fuelweb_test/helpers/decorators.py", line 120, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.cli_acceptance_deployment_tests/fuelweb_test/tests/tests_cli/test_cli_deploy.py", line 78, in cli_deploy_neutron_tun
    self.update_node_interfaces(node_id)
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.cli_acceptance_deployment_tests/core/helpers/log_helpers.py", line 204, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.cli_acceptance_deployment_tests/fuelweb_test/tests/test_cli_base.py", line 445, in update_node_interfaces
    self.upload_node_interfaces(node_id, interfaces)
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.cli_acceptance_deployment_tests/fuelweb_test/tests/test_cli_base.py", line 425, in upload_node_interfaces
    cmd=cmd
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.cli_acceptance_deployment_tests/fuelweb_test/helpers/ssh_manager.py", line 314, in execute_on_remote
    sudo=sudo
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.cli_acceptance_deployment_tests/fuelweb_test/helpers/ssh_manager.py", line 275, in check_call
    raise_on_err=raise_on_err
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/helpers/ssh_client.py", line 586, in check_call
    stderr=ret['stderr_str'])
DevopsCalledProcessError: Command 'fuel node --node-id 2 --network --upload --dir /tmp --json' returned exit code 1 while expected [0]
 STDERR:
400 Client Error: Bad Request for url: http://10.109.15.2:8000/api/v1/nodes/2/interfaces/ (Trying to assign public network to Node '2' which should not have public network)

To avoid it we should enable the "Assign public network to all nodes" option.

Changed in fuel:
importance: Undecided → High
assignee: nobody → Ilya Bumarskov (ibumarskov)
milestone: none → 10.1
tags: added: area-qa
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/433053

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/newton)

Reviewed: https://review.openstack.org/433053
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=4e0d99a17ef749d9e03ffeb8c9622f5219c3b007
Submitter: Jenkins
Branch: stable/newton

commit 4e0d99a17ef749d9e03ffeb8c9622f5219c3b007
Author: ibumarskov <email address hidden>
Date: Mon Feb 13 17:25:48 2017 +0400

    Enable public network for all nodes for cli tests

    Change-Id: I7daab327a59a98df668cecca098a148b25d420fa
    Closes-bug: #1664212

tags: added: in-stable-newton
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Ilya Bumarskov (ibumarskov) wrote :

Was verified on Fuel 10 build#1358

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

Fix proposed to branch: master
Review: https://review.openstack.org/443471

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/443473

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/ocata)

Reviewed: https://review.openstack.org/443473
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=134ddeb5701d23fa0158e9745e2975b6cc3d351c
Submitter: Jenkins
Branch: stable/ocata

commit 134ddeb5701d23fa0158e9745e2975b6cc3d351c
Author: ibumarskov <email address hidden>
Date: Mon Feb 13 17:25:48 2017 +0400

    Enable public network for all nodes for cli tests

    Change-Id: I7daab327a59a98df668cecca098a148b25d420fa
    Closes-bug: #1664212

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/443471
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=049dfa87e58fee8ebb0e1fabe21888e15207d56a
Submitter: Jenkins
Branch: master

commit 049dfa87e58fee8ebb0e1fabe21888e15207d56a
Author: ibumarskov <email address hidden>
Date: Mon Feb 13 17:25:48 2017 +0400

    Enable public network for all nodes for cli tests

    Change-Id: I7daab327a59a98df668cecca098a148b25d420fa
    Closes-bug: #1664212

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-qa ocata-eol

This issue was fixed in the openstack/fuel-qa ocata-eol release.

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.