Nailgun returns Bad Request (HTTP 400) on request of addition new node to cluster

Bug #1621023 reported by Sergey Novikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Sergey Novikov

Bug Description

This issue was found by:

https://product-ci.infra.mirantis.net/view/upgrades/job/9.x.upgrades.ubuntu.upgrade_net_tmpl_tests/7/testReport/(root)/replace_controller_net_tmpl/replace_controller_net_tmpl/

https://product-ci.infra.mirantis.net/view/upgrades/job/9.x.backup-restore.ubuntu.replace_controller_net_tmpl/9/testReport/(root)/replace_controller_net_tmpl/replace_controller_net_tmpl/

Nailgun returns Bad Request (HTTP 400) on request of addition new node to cluster which was deployed using network template

 1. Install 8.0 or 9.0 Fuel Master
 2. Create cluster (HA) with Neutron VLAN/VXLAN/GRE
 3. Add 3 controller + ceph nodes
 4. Add 2 compute + ceph nodes
 5. Upload 'upgrades' network template http://paste.openstack.org/show/565694/
 6. Create custom network groups basing on template endpoints assignments
 7. Deploy cluster
 8. Install fuel-octane package
 9. Create backups for upgrade procedure
 10. Reinstall Fuel master - install 9.x version
 11. Install fuel-octane package
 12. Upload the backup back to reinstalled Fuel maser node
 13. Restore master node using 'octane fuel-restore'
 14. Remove the existing controller
 15. Add new controller
 16. Deploy cluster

Step #15 fails - For more details please take a look replace_cntl_nettmp_logs.tar.gz

Revision history for this message
Sergey Novikov (snovikov) wrote :
Ilya Kharin (akscram)
Changed in fuel:
status: New → Confirmed
assignee: nobody → Fuel Octane (fuel-octane-team)
Revision history for this message
Sergey Novikov (snovikov) wrote :

The root cause is in test. There is an invalid implementation of procedure to add node to cluster which was deployed using network templates. I've assigned this bug ti QA

Changed in fuel:
assignee: Fuel Octane (fuel-octane-team) → Sergey Novikov (snovikov)
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/367373

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/367375

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

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/367376

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

Fix proposed to branch: stable/7.0
Review: https://review.openstack.org/367378

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

Reviewed: https://review.openstack.org/367375
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=ce2ae3b1eafa34480a9413bf8d49587e0b416a84
Submitter: Jenkins
Branch: stable/mitaka

commit ce2ae3b1eafa34480a9413bf8d49587e0b416a84
Author: Sergey Novikov <email address hidden>
Date: Thu Sep 8 16:12:48 2016 +0300

    Disable the update of node ifaces

    Disable the update of node interfaces at moment of addition
    of new node to cluster which was deployed using the network
    templates

    Change-Id: Ib2d274c569501c5a2599a42b8a49b9956039ab3d
    Closes-Bug: #1621023

tags: added: in-stable-mitaka
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

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

commit af516e83cc1a215d94ea63fc1bc9d80a61b3d73c
Author: Sergey Novikov <email address hidden>
Date: Thu Sep 8 16:12:48 2016 +0300

    Disable the update of node ifaces

    Disable the update of node interfaces at moment of addition
    of new node to cluster which was deployed using the network
    templates

    Change-Id: Ib2d274c569501c5a2599a42b8a49b9956039ab3d
    Closes-Bug: #1621023

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

Reviewed: https://review.openstack.org/367378
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=f01bd6f36f1cce6535cb245e1fba253030b13aa4
Submitter: Jenkins
Branch: stable/7.0

commit f01bd6f36f1cce6535cb245e1fba253030b13aa4
Author: Sergey Novikov <email address hidden>
Date: Thu Sep 8 16:12:48 2016 +0300

    Disable the update of node ifaces

    Disable the update of node interfaces at moment of addition
    of new node to cluster which was deployed using the network
    templates

    Change-Id: Ib2d274c569501c5a2599a42b8a49b9956039ab3d
    Closes-Bug: #1621023

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

Reviewed: https://review.openstack.org/367376
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=520ccd07f0384c4e15c1f883e7c9819f43a5dee5
Submitter: Jenkins
Branch: stable/8.0

commit 520ccd07f0384c4e15c1f883e7c9819f43a5dee5
Author: Sergey Novikov <email address hidden>
Date: Thu Sep 8 16:12:48 2016 +0300

    Disable the update of node ifaces

    Disable the update of node interfaces at moment of addition
    of new node to cluster which was deployed using the network
    templates

    Change-Id: Ib2d274c569501c5a2599a42b8a49b9956039ab3d
    Closes-Bug: #1621023

Revision history for this message
Vladimir Khlyunev (vkhlyunev) wrote :

Nodes was added, next 400 error is another issue. Snapshot 251

Changed in fuel:
status: Fix Committed → 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.