openstack overcloud image upload command is broken

Bug #1631052 reported by John Trowbridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
John Trowbridge

Bug Description

We stopped pinning the glance API in the stackrc file created during undercloud install[1]. This passed CI only because we do that pinning in tripleo.sh[2].

If a user simply runs the documented `openstack overcloud image upload` they will see:

[stack@undercloud ~]$ openstack overcloud image upload
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Unable to set 'is_public' to 'True'

After doing pinning to the V1 glance API as tripleo.sh does, the command works as expected.

Not sure if we should revert the patch[1] that unpinned us, or try to fix the actual root issue in tripleoclient.

[1] https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=b2e5648fda8815dd448777339e6a24d95e0d48bb
[2] https://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/scripts/tripleo.sh#n161

Revision history for this message
Julie Pichon (jpichon) wrote :

A quick workaround is to run "openstack --os-image-api-version 1 overcloud image upload"

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

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

Changed in tripleo:
assignee: nobody → John Trowbridge (trown)
status: Confirmed → In Progress
Changed in tripleo:
status: In Progress → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/383091
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=567330695fb86b72668e28092708e135ae5192eb
Submitter: Jenkins
Branch: master

commit 567330695fb86b72668e28092708e135ae5192eb
Author: John Trowbridge <email address hidden>
Date: Thu Oct 6 16:21:38 2016 +0000

    Revert "Stop pinning Glance API version on stackrc"

    This passed CI only because we are doing this in tripleo.sh[1].

    We need to remove the pin in tripleo.sh (or at least make it
    conditional on release) if we remove the "user-facing" pin.

    As is, the tripleoclient image commands are broken for anyone
    not using tripleo.sh.

    [1] https://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/scripts/tripleo.sh?id=49b00c54cdb2525e50cbea9d12881167eecf198f#n161

    Closes-Bug: 1631052

    This reverts commit b2e5648fda8815dd448777339e6a24d95e0d48bb.

    Change-Id: I28b7130ac10c3220786c198945cae16406442b14

Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 6.0.0.0b2

This issue was fixed in the openstack/instack-undercloud 6.0.0.0b2 development milestone.

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.