volume backed snapshots are NOT private by default

Bug #1255316 reported by Joel Cooklin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Joel Cooklin
Havana
Fix Released
Undecided
Unassigned
Revision history for this message
Joel Cooklin (joel-cooklin) wrote :

The patch https://review.openstack.org/#/c/58629/ needs to be approved.

Changed in nova:
assignee: nobody → Joel Cooklin (joel-cooklin)
status: New → Fix Committed
status: Fix Committed → In Progress
status: In Progress → New
Revision history for this message
Matt Fischer (mfisch) wrote :

Even before the patch when I made snapshots of instances the Public flag is set to "No" by default, how did you repro this?

Revision history for this message
Charles V Bock (charles-v-bock) wrote :

@Matt Fischer

This bug is only reproducible when snapshotting a volume backed Instance.
If you use standard image based instances then you wont see the bug.

Were the ones you tested volume based? (boot from volume)?

Revision history for this message
Matt Fischer (mfisch) wrote :

@Charles:

No they were not. I'll try again with that.

Changed in nova:
status: New → In Progress
summary: - volumen backed snapshots are NOT private by default
+ volume backed snapshots are NOT private by default
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/58629
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0530e02004578a36039111beddf472fcf3e48df6
Submitter: Jenkins
Branch: master

commit 0530e02004578a36039111beddf472fcf3e48df6
Author: jcooklin <email address hidden>
Date: Tue Nov 26 14:33:47 2013 -0700

    Set is_public to False by default for volume backed snapshots

    This update results in the same behavior that is already implemented
    in _create_image where the meta_data for is_public is set to False.

    Change-Id: Ie0720d5c847871527db7d9477ca6cb05abe7a1a5
    Closes-Bug: #1255316

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
Matt Riedemann (mriedem) wrote :

Around the time this merged (1/17), we started seeing bug 1270608 in the gate. So I'm wondering if the change introduced a race condition somehow.

Revision history for this message
Matt Riedemann (mriedem) wrote :

@Joel, were you using glance v1 or v2 API when you tested this?

tags: added: api volumes
Revision history for this message
Matt Riedemann (mriedem) wrote :

Also, which cinder API and what backends for glance and cinder?

Revision history for this message
Joel Cooklin (joel-cooklin) wrote :

@mriedem glance v2 with ceph backing both glance and cinder

Thierry Carrez (ttx)
Changed in nova:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-2 → 2014.1
John Dewey (retr0h)
tags: added: havana-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/112662

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/havana)

Reviewed: https://review.openstack.org/112662
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5d2b9576cb29465ff99f127d5fc1c5a2f3a0651c
Submitter: Jenkins
Branch: stable/havana

commit 5d2b9576cb29465ff99f127d5fc1c5a2f3a0651c
Author: jcooklin <email address hidden>
Date: Tue Nov 26 14:33:47 2013 -0700

    Set is_public to False by default for volume backed snapshots

    This update results in the same behavior that is already implemented
    in _create_image where the meta_data for is_public is set to False.

    Change-Id: Ie0720d5c847871527db7d9477ca6cb05abe7a1a5
    Closes-Bug: #1255316
    (cherry picked from commit 0530e02004578a36039111beddf472fcf3e48df6)

tags: added: in-stable-havana
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.