Unable to connect to keystone after replacing contorller

Bug #1589598 reported by Andrey Sledzinskiy
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Kyrylo Galanov
Mitaka
Fix Released
High
Maksim Malchuk

Bug Description

fuel version - 9.0-mos-443

Steps:
1. Deploy cluster with Neutron Vxlan, 3 controllers, 2 compute
2. Add 'cinder' role to a new slave
3. Deploy changes
4. Remove the 'cinder' node
   Remove a 'controller' node
  Add 'controller'+'cinder' multirole to a new slave
5. Deploy changes
6. Run OSTF after deployment

Expected - ostf tests passed
Actual - tests failed with Trying to authenticate at "https://10.109.46.6:5000/v2.0/" using HTTP proxy "http://10.109.43.9:8888" ...

I tried to do steps manually from master node and connection hanged
export https_proxy='10.109.43.9'
curl -k -v https://10.109.46.6:5000/v2.0/tokens
* About to connect() to proxy 10.109.43.9 port 8888 (#0)
* Trying 10.109.43.9...

Also 'apache_api_proxy_access.log' is absent on controllers so probably apache_api_proxy.pp wasn't re-run during re-deployment

bug affects more than 3 swarm cases

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
Dmitry Pyzhov (dpyzhov)
tags: added: area-library
Changed in fuel:
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Kyrylo Galanov (kgalanov)
Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

https://github.com/openstack/fuel-library/blob/master/deployment/puppet/osnailyfacter/modular/api-proxy/tasks.yaml#L9-L10 should be changed to reflect new node addition. For example, it could look like this:

changedAny($.get('max_header_size'), $.get('apache_ports'),
      $.get('master_ip'),
      $.network_metadata.nodes.values().where(
        $.node_roles.any($.matches('controller'))))

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

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

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

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

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

Reviewed: https://review.openstack.org/326490
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=730afe43112afad8552ca3bf514c9ccf01a2304a
Submitter: Jenkins
Branch: master

commit 730afe43112afad8552ca3bf514c9ccf01a2304a
Author: Kyrylo Galanov <email address hidden>
Date: Tue Jun 7 16:04:45 2016 +0200

    Re-apply API proxy manifest on redeployment

    Change-Id: I7cb3aad4c488b097389fe163972be1faa5b61900
    Closes-bug: #1589598

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

Reviewed: https://review.openstack.org/326679
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=9c90ae61b039310b97b9617580fa88d5fb336162
Submitter: Jenkins
Branch: stable/mitaka

commit 9c90ae61b039310b97b9617580fa88d5fb336162
Author: Kyrylo Galanov <email address hidden>
Date: Tue Jun 7 16:04:45 2016 +0200

    Re-apply API proxy manifest on redeployment

    Change-Id: I7cb3aad4c488b097389fe163972be1faa5b61900
    Closes-bug: #1589598
    (cherry picked from commit 730afe43112afad8552ca3bf514c9ccf01a2304a)

tags: added: on-verification
Revision history for this message
Alexander Zatserklyany (zatserklyany) wrote :

Verified on fuel-9.0-mos-455-2016-06-08_06-18-59.iso
Fix released

Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :
tags: removed: on-verification
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.