Creating a guest snapshot fails when Glance and Nova uses Ceph

Bug #1632285 reported by Giulio Fidente
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Giulio Fidente

Bug Description

Currently glance v2 doesn't allow to specify custom locations for image by default, it returns 403. To enable this 'show_multiple_locations' param must be set to True. When Nova is doing snapshots with Ceph it provides location to activate image, which fails when we use Glance v2.

Changed in tripleo:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
assignee: nobody → Giulio Fidente (gfidente)
status: Confirmed → In Progress
tags: added: newton-backport-potential
Changed in tripleo:
milestone: none → ocata-1
Erno Kuvaja (jokke)
summary: - Creating a guest snapshot fails when Glance uses Ceph
+ Creating a guest snapshot fails when Glance and Nova uses Ceph
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/384926
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=4794154d71a7a566bb0c75cb8e0b4adb5fc52bfd
Submitter: Jenkins
Branch: master

commit 4794154d71a7a566bb0c75cb8e0b4adb5fc52bfd
Author: Giulio Fidente <email address hidden>
Date: Tue Oct 11 12:51:44 2016 +0200

    Enable Glance multiple locations when using Ceph

    Currently Glance v2 doesn't allow to specify custom locations for
    images by default, it returns 403. To enable this, the
    'show_multiple_locations' param must be set to True.

    Also see similar change introduced in devstack [1].

    1. Id0f1c398b8b48f2ffc2488b29bc7cbd279069337

    Change-Id: Ia7e0558e4f318640981abb44d188e3479b5eae69
    Closes-Bug: 1632285

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/386462

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/386462
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=45924eb273f1acd8fc489578ac1a4dc6208c66fe
Submitter: Jenkins
Branch: stable/newton

commit 45924eb273f1acd8fc489578ac1a4dc6208c66fe
Author: Giulio Fidente <email address hidden>
Date: Tue Oct 11 12:51:44 2016 +0200

    Enable Glance multiple locations when using Ceph

    Currently Glance v2 doesn't allow to specify custom locations for
    images by default, it returns 403. To enable this, the
    'show_multiple_locations' param must be set to True.

    Also see similar change introduced in devstack [1].

    1. Id0f1c398b8b48f2ffc2488b29bc7cbd279069337

    Change-Id: Ia7e0558e4f318640981abb44d188e3479b5eae69
    Closes-Bug: 1632285
    (cherry picked from commit 4794154d71a7a566bb0c75cb8e0b4adb5fc52bfd)

tags: added: in-stable-newton
Revision history for this message
Attila Fazekas (afazekas) wrote :

NovaEnableRbdBackend: should be true in the condition,
in the false case this change does not seams to required.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/387299

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/387186
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=0ff21f83f34212127252773a77e843c6344152db
Submitter: Jenkins
Branch: master

commit 0ff21f83f34212127252773a77e843c6344152db
Author: Attila Fazekas <email address hidden>
Date: Mon Oct 17 08:39:28 2016 +0200

    glance_multiple_locations when NovaEnableRbdBackend=true

    glance_multiple_locations does not needed when the
    NovaEnableRbdBackend=false, but it is neede when both the
    image and the instance storage is rbd and
    the show_image_direct_url is enabled.

    The condition introduced in Ia7e0558e4f318640981abb44d188e3479b5eae69

    Change-Id: Ia8a8cd9aeda69e9a7db6f95dcf418f56e29cae00
    Closes-Bug: 1632285

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0rc3

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0rc3 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/387299
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=75adc9f031a43effddf0e16bd74f0c9ead9dbf3a
Submitter: Jenkins
Branch: stable/newton

commit 75adc9f031a43effddf0e16bd74f0c9ead9dbf3a
Author: Attila Fazekas <email address hidden>
Date: Mon Oct 17 08:39:28 2016 +0200

    glance_multiple_locations when NovaEnableRbdBackend=true

    glance_multiple_locations does not needed when the
    NovaEnableRbdBackend=false, but it is neede when both the
    image and the instance storage is rbd and
    the show_image_direct_url is enabled.

    The condition introduced in Ia7e0558e4f318640981abb44d188e3479b5eae69

    Change-Id: Ia8a8cd9aeda69e9a7db6f95dcf418f56e29cae00
    Closes-Bug: 1632285
    (cherry picked from commit 0ff21f83f34212127252773a77e843c6344152db)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.1.0

This issue was fixed in the openstack/tripleo-heat-templates 5.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.1.0

This issue was fixed in the openstack/tripleo-heat-templates 5.1.0 release.

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.