cluster_upgrade extension does not support multi-rack installations

Bug #1612297 reported by Ilya Kharin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Anastasia Balobashina
Mitaka
Fix Committed
High
Anastasia Balobashina

Bug Description

The cluster_upgrade extension does not support multi-rack installations and does not properly handle resources from different node groups.

Steps to reproduce:
 1. Install 8.0 environment with nodes assigned to multiple node groups:
      default: 3 x compute nodes
               3 x ceph-osd nodes
      r10: 3 x controller nodes
 2. Upgrade master node to 9.0
 3. Create upgrade environment:
      upgrade-env
 4. Upgrade primary controller:
      upgrade-node

Expected results:
 3. The new environment has the same set of node groups (default and r10) and the same set of networks per each node group.
 4. The primary controller after upgrade is assigned in the respective node group (r10) and all interfaces are assigned in respective networks for the r10 node group, a set of VIPs are the same in respective networks for the r10 node group.

Actual result:
 3. The new environment contains only the default node group with appropriate networks.
 4. The primary controller is assigned in the default node group not r10 and its interfaces are assigned in networks that are belong to the default node group. VIps are assigned to networks of the default node group not the r10 node group.

Reproducibility:
 Constantly.

Workaround:
 3. After the upgrade-env command create appropriate set of node groups and their networks via UI/CLI.
 4. Run upgrade-node with --no-provision flag, change a node group and an assignment of interfaces via UI/CLI, create VIPs vis CLI.

Ilya Kharin (akscram)
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Ilya Kharin (akscram)
milestone: none → 9.1
Ilya Kharin (akscram)
description: updated
Ilya Kharin (akscram)
Changed in fuel:
importance: High → Critical
milestone: 9.1 → 10.0
tags: added: team-upgrades
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-nailgun-extension-cluster-upgrade (master)

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

Changed in fuel:
assignee: Ilya Kharin (akscram) → Anastasia Balobashina (atolochkova)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-nailgun-extension-cluster-upgrade (stable/mitaka)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-nailgun-extension-cluster-upgrade (master)

Change abandoned by Anastasia Balobashina (<email address hidden>) on branch: master
Review: https://review.openstack.org/362135

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Revision history for this message
Bulat Gaifullin (bulat.gaifullin) wrote :

there is workaround so this bug is not critical.

Changed in fuel:
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/362087
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=4a698e8f65addd0a46a105e374979cdb1d3d372e
Submitter: Jenkins
Branch: stable/mitaka

commit 4a698e8f65addd0a46a105e374979cdb1d3d372e
Author: Anastasiya <email address hidden>
Date: Mon Aug 29 15:39:16 2016 +0300

    Add initial support of multi-rack for upgrades

    * get_assigned_vips function returns assigned VIPs
      mapped to IDs (but not names) of network groups,
      because different node groups may have the same
      name of network groups
    * assign_given_vips_for_net_groups function tekes
      a dict of VIPs mapped to IDs of network groups
    * assigning group to node was changed for support
      several node groups

    Depends-On: I93e43be60dacc9ba5546cb50ba04a98bd35d276c
    Partial-bug: #1612297

    Change-Id: I2638279371e91f15090c782fc5fdbb434a2e85f8
    Co-Authored-By: Ryan Moe <email address hidden>
    Co-Authored-By: Andrew Woodward <email address hidden>
    Co-Authored-By: Ilya Kharin <email address hidden>

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-nailgun-extension-cluster-upgrade (stable/mitaka)

Reviewed: https://review.openstack.org/362721
Committed: https://git.openstack.org/cgit/openstack/fuel-nailgun-extension-cluster-upgrade/commit/?id=263f8caff909cbc5b8be6bc52e4b05bd0ebe9a4b
Submitter: Jenkins
Branch: stable/mitaka

commit 263f8caff909cbc5b8be6bc52e4b05bd0ebe9a4b
Author: Anastasiya <email address hidden>
Date: Mon Aug 29 16:46:20 2016 +0300

    Add initial support of multi-rack for upgrades

    * netgroups mapping was changed (additional argument
      for the mapping was added - name of node group)
    * copying of node group during cluster cloning was added

    Partial-bug: #1612297

    Change-Id: Ib1689d7b6d673c0d78434dd047a7ebc520c232e7
    Co-Authored-By: Ryan Moe <email address hidden>
    Co-Authored-By: Andrew Woodward <email address hidden>
    Co-Authored-By: Ilya Kharin <email address hidden>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/369463
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=b435f58e7e491b4aca6d7268fbce43e4d44c75f5
Submitter: Jenkins
Branch: master

commit b435f58e7e491b4aca6d7268fbce43e4d44c75f5
Author: Anastasiya <email address hidden>
Date: Mon Aug 29 15:39:16 2016 +0300

    Add initial support of multi-rack for upgrades

    * get_assigned_vips function returns assigned VIPs
      mapped to IDs (but not names) of network groups,
      because different node groups may have the same
      name of network groups
    * assign_given_vips_for_net_groups function tekes
      a dict of VIPs mapped to IDs of network groups
    * assigning group to node was changed for support
      several node groups

    Depends-On: I93e43be60dacc9ba5546cb50ba04a98bd35d276c
    Partial-bug: #1612297

    Change-Id: I2638279371e91f15090c782fc5fdbb434a2e85f8
    Co-Authored-By: Ryan Moe <email address hidden>
    Co-Authored-By: Andrew Woodward <email address hidden>
    Co-Authored-By: Ilya Kharin <email address hidden>
    (cherry picked from commit 4d6ea865aa408ec913b6c8cde9af5426a1d99f6d)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-nailgun-extension-cluster-upgrade (master)

Reviewed: https://review.openstack.org/362135
Committed: https://git.openstack.org/cgit/openstack/fuel-nailgun-extension-cluster-upgrade/commit/?id=e2b9dbf1ca61b92c457722108eaf6dba95ac4f4b
Submitter: Jenkins
Branch: master

commit e2b9dbf1ca61b92c457722108eaf6dba95ac4f4b
Author: Anastasiya <email address hidden>
Date: Mon Aug 29 16:46:20 2016 +0300

    Add initial support of multi-rack for upgrades

    * netgroups mapping was changed (additional argument
      for the mapping was added - name of node group)
    * copying of node group during cluster cloning was added

    Depends-On: I2638279371e91f15090c782fc5fdbb434a2e85f8
    Partial-bug: #1612297

    Change-Id: Ib1689d7b6d673c0d78434dd047a7ebc520c232e7
    Co-Authored-By: Ryan Moe <email address hidden>
    Co-Authored-By: Andrew Woodward <email address hidden>
    Co-Authored-By: Ilya Kharin <email address hidden>

Ilya Kharin (akscram)
Changed in fuel:
status: In Progress → Fix Committed
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.