Primary-mongo role changes to mongo after upload_nodes_info task

Bug #1433975 reported by Aleksandr Didenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Sebastian Kalinowski
6.1.x
Fix Committed
High
Sebastian Kalinowski

Bug Description

Roles from astute.yaml:
root@node-5:~# grep ' role:' /etc/hiera/astute.yaml
  role: controller
  role: controller
  role: controller
  role: compute
  role: primary-mongo

Roles from nodes.yaml
root@node-5:~# grep role: /etc/hiera/nodes.yaml
  name: node-1, public_address: 10.109.1.4, public_netmask: 255.255.255.0, role: controller,
  name: node-2, public_address: 10.109.1.5, public_netmask: 255.255.255.0, role: controller,
  name: node-3, public_address: 10.109.1.6, public_netmask: 255.255.255.0, role: controller,
  name: node-4, public_address: 10.109.1.7, public_netmask: 255.255.255.0, role: compute,
  name: node-5, public_address: 10.109.1.8, public_netmask: 255.255.255.0, role: mongo,

As you can see 'primary-mongo' became 'mongo'.

Revision history for this message
Dima Shulyak (dshulyak) wrote :

We need to assign primary-mongo same way it is done for controller

tags: added: size-s
Revision history for this message
Dima Shulyak (dshulyak) wrote :

1. Add has_primary: true to migration
2. Remove obsolete code

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/166142

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/166142
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=3a2b77934af9f412fed9707dbaf1ede4a163552c
Submitter: Jenkins
Branch: master

commit 3a2b77934af9f412fed9707dbaf1ede4a163552c
Author: Sebastian Kalinowski <email address hidden>
Date: Fri Mar 20 09:46:52 2015 +0100

    Add 'has_primary' for mongo role

    Migrated setting primary-mongo role from setting it
    in serializer to openstack.yaml as it is done for primary-controller.

    Change-Id: Ie2ae2c1ce9cfb1deffc7ec820b003108a6c2932f
    Closes-Bug: #1433975

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.