[fuel-octane] octane sets wrong gw address for primary controller in upgrade env (multirack)

Bug #1622760 reported by sryabin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Sergey Abramov

Bug Description

Section from deployment info for primary controller in seed env

 br-fw-admin:
      IP:
      - 10.109.15.5/24
      gateway: 10.109.45.2
      routes:
      - net: 10.109.45.0/24
        via: 10.109.15.1
      vendor_specific:
        provider_gateway: 10.109.15.1

pdb session
-> transformations.remove_ports(info)
(Pdb) l
 45 if not ('primary-controller' in info['roles'] or
 46 info['uid'] == str(self.node.id)):
 47 continue
 48 if self.isolated:
 49 import pdb; pdb.set_trace()
 50 -> transformations.remove_ports(info)
 51 if info['uid'] == str(self.node.id):
 52 endpoints = info["network_scheme"]["endpoints"]
 53 self.gateway = endpoints["br-ex"]["gateway"]
 54 transformations.reset_gw_admin(info, gw_admin)
 55 # From run_ping_checker
(Pdb) p info["network_scheme"]["endpoints"]
{u'br-fw-admin': {u'routes': [{u'net': u'10.109.45.0/24', u'via': u'10.109.15.1'}], u'IP': [u'10.109.15.5/24'], u'vendor_specific': {u'provider_gateway': u'10.109.15.1'}}, u'br-mesh': {u'routes': [{u'net': u'10.109.43.0/24', u'via': u'10.109.19.1'}], u'IP': [u'10.109.19.3/24'], u'vendor_specific': {u'provider_gateway': u'10.109.19.1'}}, u'br-floating': {u'IP': u'none'}, u'br-storage': {u'routes': [], u'IP': [u'10.109.17.3/24'], u'vendor_specific': {u'provider_gateway': u'10.109.17.1'}}, u'br-mgmt': {u'routes': [{u'net': u'10.109.44.0/24', u'via': u'10.109.16.1'}], u'IP': [u'10.109.16.5/24'], u'vendor_specific': {u'provider_gateway': u'10.109.16.1'}}, u'br-ex': {u'routes': [{u'net': u'10.109.46.0/24', u'via': u'10.109.18.1'}], u'IP': [u'10.109.18.5/24'], u'vendor_specific': {u'provider_gateway': u'10.109.18.1'}, u'gateway': u'10.109.18.1'}}
(Pdb) p info["network_scheme"]["endpoints"]["br-ex"]["gateway"]

Manyally fix

info['network_scheme']['endpoints']['br-fw-admin']['gateway'] = '10.109.15.1'

Tags: upgrade-team
sryabin (sryabin)
summary: [fuel-octane] octane sets wrong gw address for primary controller in
- upgrade env
+ upgrade env (multirack)
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
Ilya Kharin (akscram)
Changed in fuel:
assignee: nobody → Fuel Octane (fuel-octane-team)
Revision history for this message
sryabin (sryabin) wrote :

Dump info hash from pdbd at controller.py:57

https://paste.mirantis.net/show/2642/

Revision history for this message
Anton Matveev (amatveev) wrote :

an issue should be described in release notes in upgrades section

tags: added: release-notes
Anton Matveev (amatveev)
Changed in fuel:
milestone: 9.1 → 9.2
Ilya Kharin (akscram)
tags: removed: release-notes
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-octane (master)

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

Changed in fuel:
assignee: Fuel Octane (fuel-octane-team) → Sergey Abramov (sabramov)
status: Confirmed → In Progress
Revision history for this message
Anton Matveev (amatveev) wrote :

octane specific, moving to won't fix due to shifted priorities

Changed in fuel:
status: In Progress → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-octane (master)

Change abandoned by Sergey Abramov (<email address hidden>) on branch: master
Review: https://review.openstack.org/378509

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.