[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
This bug was fixed in the package horizon - 2:9.1.2-0ubuntu5 --- horizon (2:9.1.2-0ubuntu5) xenial; urgency=medium [ Seyeong Kim ] * Hide unused consistency groups tab (LP: #1582725) - d/p/hide-unused-consistency-groups.patch: Pick some policies from upstream commit 388708b251b0487bb22fb3ebb8fcb36ee4ffdc4f to hide unused consistency groups tab. [ Corey Bryant ] * d/openstack-dashboard.postinst: Ensure permissions are not world-readable for /etc/openstack-dashboard/local_settings.py (LP: #1755027). [ Shane Peters ] * d/p/let-nova-to-pick-availability-zone.patch: In the Angular Launch Instance, if there is more than one availability zone default to the option for the Nova scheduler to pick. This is regression from the legacy Launch Instance feature (LP: #1613900). -- Corey BryantThu, 15 Mar 2018 13:57:14 -0400 ** Changed in: horizon (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Remember: right now we accept only per-release verification-done tags, so a verification-done-xenial tag was needed. ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
This bug was fixed in the package horizon - 2:9.1.2-0ubuntu5~cloud0 --- horizon (2:9.1.2-0ubuntu5~cloud0) trusty-mitaka; urgency=medium . * New update for the Ubuntu Cloud Archive. . horizon (2:9.1.2-0ubuntu5) xenial; urgency=medium . [ Seyeong Kim ] * Hide unused consistency groups tab (LP: #1582725) - d/p/hide-unused-consistency-groups.patch: Pick some policies from upstream commit 388708b251b0487bb22fb3ebb8fcb36ee4ffdc4f to hide unused consistency groups tab. . [ Corey Bryant ] * d/openstack-dashboard.postinst: Ensure permissions are not world-readable for /etc/openstack-dashboard/local_settings.py (LP: #1755027). . [ Shane Peters ] * d/p/let-nova-to-pick-availability-zone.patch: In the Angular Launch Instance, if there is more than one availability zone default to the option for the Nova scheduler to pick. This is regression from the legacy Launch Instance feature (LP: #1613900). ** Changed in: cloud-archive/mitaka Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Hello Tested -proposed pkg 1. deploy trusty-mitaka openstack env. 2. check if there is consistency groups tab ( there is ) 3. upgrade opesntack-dashboard pkg in -proposed 4. check if there is consistency groups tab ( it is gone ) Thanks! dpkg -l | grep openstack-dashboard ii openstack-dashboard 2:9.1.2-0ubuntu5~cloud0 all Django web interface for OpenStack ii openstack-dashboard-ubuntu-theme 2:9.1.2-0ubuntu5~cloud0 all Ubuntu theme for the OpenStack dashboard ** Tags removed: verification-mitaka-needed ** Tags added: verification-mitaka-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Hello I tested this 1. deploy xenial openstack env. 2. check if there is consistency groups tab 3. upgrade openstack-dashboard pkg in -proposed 4. check if there is consistency groups tab ( it is gone ) thanks. dpkg -l | grep openstack-dashboard ii openstack-dashboard 2:9.1.2-0ubuntu5 all Django web interface for OpenStack ii openstack-dashboard-ubuntu-theme 2:9.1.2-0ubuntu5 all Ubuntu theme for the OpenStack dashboard ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Hello Doug, or anyone else affected, Accepted horizon into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/horizon/2:9.1.2-0ubuntu5 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: horizon (Ubuntu Xenial) Status: Triaged => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Ah I see, Thanks a lot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Seyeong, There were no problems found with this fix. There is another fix currently in xenial-proposed that failed testing and we need to reject and that will have to be removed from the upload for this bug. I'm working on it and have another SRU to pair up with it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
@corey.bryant horizon uploaded for -proposed queue has rejected I just checked it. something wrong in this? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
This has been uploaded to the xenial review queue and is awaiting SRU review: https://launchpad.net/ubuntu/xenial/+queue?queue_state=1_text= -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
** Changed in: horizon (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
** Changed in: cloud-archive/mitaka Assignee: (unassigned) => Seyeong Kim (xtrusia) ** Changed in: horizon (Ubuntu Xenial) Assignee: (unassigned) => Seyeong Kim (xtrusia) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
** Also affects: horizon (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: horizon (Ubuntu) Status: New => Fix Released ** Also affects: cloud-archive/mitaka Importance: Undecided Status: New ** Changed in: cloud-archive Status: New => Fix Released ** Changed in: cloud-archive/mitaka Status: New => Triaged ** Changed in: cloud-archive/mitaka Importance: Undecided => Medium ** Changed in: horizon (Ubuntu Xenial) Status: New => Triaged ** Changed in: horizon (Ubuntu Xenial) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
@corey thanks for review. I re-attached simple version of patches. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
** Patch added: "lp1582725_xenial_v2.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1582725/+attachment/5051070/+files/lp1582725_xenial_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
** Patch added: "lp1582725_mitaka_v2.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1582725/+attachment/5051071/+files/lp1582725_mitaka_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Ah, right you are. I'll turn off my alerts; sorry about that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Seyeong, I'm hesitant to backport a large batch of policy changes to a stable release that can change access behavior. Can we limit the policy changes to the specific issue with the consistency groups tab? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Rob, I think you can ignore updates to this bug. These are just for Ubuntu support at this point. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Why are you commenting on a 2 year old bug? It's is certainly. It's backportable to Kilo, which was end of life more than a year ago now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
Not backportable** -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
for kilo and prior to it. need more 6 commits.. I'm not sure it is backportable. Somebody can confirm this is backportable or not? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
** Description changed: [Impact] cinder policies are not in horizon's policy.json so unset tab "consistency groups" is enabled by default. + + Affected to Xenial, UCA_Mitaka + [Test Case] 1. deploy simple openstack deployments via juju 2. horizon -> volume -> check if there is consistency groups tab [Regression] after this patch, horizon needs to be restarted. so it is down shortly. this patch is actually config file changed ( and little source code ). so limited affection to behavior it self. [Other] related commit https://git.openstack.org/cgit/openstack/horizon/commit/?id=388708b251b0487bb22fb3ebb8fcb36ee4ffdc4f [Original Description] The horizon/openstack_dashboard/conf/cinder_policy.json actions do not match the policy action that are used by the Cinder component. Cinder uses "volume_extension:volume_actions:upload_public" and Horizon policy.json and code uses "volume:upload_to_image" This is the only miss match of policy action between the 2 components. This also does not allow a user of Cinder and Horizon to update the Cinder policy.json and copy it to the Horizon directly and have the button function according to Cinder policy.json rules. This can be missed as the Cinder policy.json file is update and the Horizon file is updated. I think that the action that the Horizon code is using should match it component that it is supporting. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
** Patch added: "lp1582725_mitaka.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1582725/+attachment/5050164/+files/lp1582725_mitaka.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582725] Re: cinder_policy.json action does not match the Cinder policy.json file
** Also affects: horizon (Ubuntu) Importance: Undecided Status: New ** Also affects: cloud-archive Importance: Undecided Status: New ** Description changed: + [Impact] + cinder policies are not in horizon's policy.json + so unset tab "consistency groups" is enabled by default. + + [Test Case] + 1. deploy simple openstack deployments via juju + 2. horizon -> volume -> check if there is consistency groups tab + + [Regression] + after this patch, horizon needs to be restarted. so it is down shortly. this patch is actually config file changed ( and little source code ). so limited affection to behavior it self. + + [Other] + + related commit + + https://git.openstack.org/cgit/openstack/horizon/commit/?id=388708b251b0487bb22fb3ebb8fcb36ee4ffdc4f + + [Original Description] + The horizon/openstack_dashboard/conf/cinder_policy.json actions do not match the policy action that are used by the Cinder component. Cinder uses "volume_extension:volume_actions:upload_public" and Horizon policy.json and code uses "volume:upload_to_image" This is the only miss match of policy action between the 2 components. This also does not allow a user of Cinder and Horizon to update the Cinder policy.json and copy it to the Horizon directly and have the button function according to Cinder policy.json rules. This can be missed as the Cinder policy.json file is update and the Horizon file is updated. I think that the action that the Horizon code is using should match it component that it is supporting. ** Tags added: sts ** Tags added: sts-sru-needed ** Patch added: "lp1582725_xenial.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1582725/+attachment/5050163/+files/lp1582725_xenial.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582725 Title: cinder_policy.json action does not match the Cinder policy.json file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1582725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs