[upgrade][8.0] fuel-client requires KEYSTONE_PASS env variable

Bug #1560179 reported by Vladimir Khlyunev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Oleg S. Gelbukh

Bug Description

https://review.openstack.org/#/c/295284/1/octane/handlers/backup_restore/postgres.py introduces regression:

2016-03-21 19:17:55 INFO octane.util.subprocess Process tar finished with return value 0
2016-03-21 19:17:55 INFO octane.util.subprocess Started process cat[5680]: dockerctl shell nailgun cat /etc/puppet/modules/nailgun/manifests/venv.pp
2016-03-21 19:17:56 INFO octane.util.subprocess Process cat finished with return value 0
2016-03-21 19:17:56 ERROR octane The request you have made requires authentication. (HTTP 401) (Request-ID: req-9a33d163-ed58-4dd6-a31f-40302144395d)

Steps:
- Deploy cluster using 7.0 Fuel
- Do upgrade 7.0->8.0

Tags: team-bugfix
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/295518

Changed in fuel:
assignee: Sergey Abramov (sabramov) → Oleg S. Gelbukh (gelbuhos)
status: New → In Progress
Changed in fuel:
assignee: Oleg S. Gelbukh (gelbuhos) → Sergey Abramov (sabramov)
Changed in fuel:
assignee: Sergey Abramov (sabramov) → Oleg S. Gelbukh (gelbuhos)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-octane (master)

Reviewed: https://review.openstack.org/295518
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=9f0c9c3afcf1db65b0bbeb5c2b6526e10671a08c
Submitter: Jenkins
Branch: master

commit 9f0c9c3afcf1db65b0bbeb5c2b6526e10671a08c
Author: Oleg Gelbukh <email address hidden>
Date: Tue Mar 22 00:06:35 2016 +0300

    Set keystone auth context for fuel client

    This context is required for the proper initialization of the
    fuel client. Set password to the value parsed from CLI argument
    --admin-password in for 'fuel-restore' command.

    Set the context in the upgrade handler class since different
    archivers can potentially have different auth contexts (i.e.
    before and after restore of Keystone DB the passwords for
    'admin' user may be different).

    Change-Id: If3a41a332f2422053c8cacfb7b0834616649bc32
    Closes-bug: 1560179
    Co-Authored-By: Sergey Abramov <email address hidden>

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

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

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

Reviewed: https://review.openstack.org/296067
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=0e22281bddc52a91aa7f88945bd6d7a0c4150ac5
Submitter: Jenkins
Branch: stable/8.0

commit 0e22281bddc52a91aa7f88945bd6d7a0c4150ac5
Author: Oleg Gelbukh <email address hidden>
Date: Tue Mar 22 00:06:35 2016 +0300

    Set keystone auth context for fuel client

    This context is required for the proper initialization of the
    fuel client. Set password to the value parsed from CLI argument
    --admin-password in for 'fuel-restore' command.

    Set the context in the upgrade handler class since different
    archivers can potentially have different auth contexts (i.e.
    before and after restore of Keystone DB the passwords for
    'admin' user may be different).

    Change-Id: If3a41a332f2422053c8cacfb7b0834616649bc32
    Closes-bug: 1560179
    Co-Authored-By: Sergey Abramov <email address hidden>
    (cherry picked from commit 9f0c9c3afcf1db65b0bbeb5c2b6526e10671a08c)

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

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

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

Reviewed: https://review.openstack.org/296238
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=51c28e90b713ab8f3bb066dc9e814c967aff9d12
Submitter: Jenkins
Branch: stable/7.0

commit 51c28e90b713ab8f3bb066dc9e814c967aff9d12
Author: Oleg Gelbukh <email address hidden>
Date: Tue Mar 22 00:06:35 2016 +0300

    Set keystone auth context for fuel client

    This context is required for the proper initialization of the
    fuel client. Set password to the value parsed from CLI argument
    --admin-password in for 'fuel-restore' command.

    Set the context in the upgrade handler class since different
    archivers can potentially have different auth contexts (i.e.
    before and after restore of Keystone DB the passwords for
    'admin' user may be different).

    Change-Id: If3a41a332f2422053c8cacfb7b0834616649bc32
    Closes-bug: 1560179
    Co-Authored-By: Sergey Abramov <email address hidden>
    (cherry picked from commit 9f0c9c3afcf1db65b0bbeb5c2b6526e10671a08c)

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.