ordinary user cannot see/use any package in environment

Bug #1451703 reported by Radek Pospisil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Ekaterina Chernova
Kilo
Fix Released
Critical
Kirill Zaitsev
Liberty
Fix Released
Critical
Ekaterina Chernova

Bug Description

I've two Devstack installations - first one for stable/kilo (core + Murano/Congress/Mistral), second one with master.
Both have same issue - ordinary user (e.g., 'demo') cannot see any public package (when editing environment via drag-n-drop), so he cannot add an application into environment.
As 'admin' I can see and use all packages.

More info
* see https://wiki.openstack.org/wiki/PolicyGuidedFulfillmentDemo for packages and import into Murano
* Murano/Application Catalog/Environments - env edit - applications are not listed for 'demo'
* Murano/Application Catalog/Applications - public application are listed here, but if 'add to env' or 'quick deploy' is used, then deployment fails with
2015-05-05 07:13:17 - Package for class io.murano.Environment is not found

In the murano-api.log there are entries referring to policy

2015-05-04 10:26:58.211 24015 INFO murano.openstack.common.policy [-] Can not find policy directory: policy.d
...
2015-05-04 10:26:58.286 24015 DEBUG murano.common.config [-] policy_dirs = ['policy.d'] log_opt_values /usr/local/lib
2015-05-04 10:26:58.287 24015 DEBUG murano.common.config [-] policy_file = policy.json log_opt_values /usr/local/lib/
...

But even if I copy /etc/murano/policy.json to /etc/murano/policy.d/policy.json, the packages/applications are not visible to ordinary users.

Revision history for this message
Radek Pospisil (radek-pospisil) wrote :
Changed in murano:
milestone: none → 2015.1.1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

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

Changed in murano:
assignee: nobody → Ekaterina Chernova (efedorova)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in murano:
assignee: Ekaterina Chernova (efedorova) → Kirill Zaitsev (kzaitsev)
assignee: Kirill Zaitsev (kzaitsev) → Ekaterina Chernova (efedorova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on murano-dashboard (master)

Change abandoned by Ekaterina Chernova (<email address hidden>) on branch: master
Review: https://review.openstack.org/180132

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/180454

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (stable/kilo)

Reviewed: https://review.openstack.org/180454
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=c63a2c2ec16ab7a2fb2c456de47db9e126b5d46e
Submitter: Jenkins
Branch: stable/kilo

commit c63a2c2ec16ab7a2fb2c456de47db9e126b5d46e
Author: Kirill Zaitsev <email address hidden>
Date: Tue May 5 15:59:44 2015 +0300

    Add catalog parameter to packages list API call

    Add missed catalog=True params at environmnetns page and during
    pagination next/prev button check at catalog page.
    This allows to browse and add public apps to non-admin users on
    respective pages.

    Change-Id: I33b2a5b88975b9116f10926de1981d7d329237db
    Closes-Bug: #1451703

Changed in murano:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/180136
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=6a6f2a692e8c74b2939607b956d4a42c6ea8ace3
Submitter: Jenkins
Branch: master

commit 6a6f2a692e8c74b2939607b956d4a42c6ea8ace3
Author: Kirill Zaitsev <email address hidden>
Date: Tue May 5 15:59:44 2015 +0300

    Add catalog parameter to packages list API call

    Add missed catalog=True params at environmnetns page and during
    pagination next/prev button check at catalog page.
    This allows to browse and add public apps to non-admin users on
    respective pages.

    Change-Id: I33b2a5b88975b9116f10926de1981d7d329237db
    Closes-Bug: #1451703

tags: added: in-stable-kilo
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: liberty-1 → 1.0.0
Changed in murano:
milestone: 1.0.0 → 1.0.1
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/murano-dashboard 2015.1.1

This issue was fixed in the openstack/murano-dashboard 2015.1.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

This issue was fixed in the openstack/murano-dashboard 2015.1.1 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.