It is possible to import package twice via plugin with enabled glance artifact repository

Bug #1623567 reported by Alex Kholkin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Invalid
Critical
Mike Fedosin

Bug Description

Bug description:
Currently it is possible to import any app several times via murano cli if you are using fuel murano plugin with enabled glance artifact repository.

Steps to reproduce:
1) deploy fuel 9.0
2) install fuel murano plugin
3) add 1 controller and 1 compute
4) enable fuel murano plugin and enable glance artifact repository
5) deploy environment
6) ssh to the controller
7) use "murano --murano-repo-url=http://storage.apps.openstack.org package-import com.example.databases.MySql" to import MySql. Use this command second time to import in again.

Expected results:
the second time command should tell that MySql is already exist. So it will be only one MySql package

Actual results:
MySql will be imported twice(see screenshot)

Revision history for this message
Alex Kholkin (akholkin) wrote :
Changed in fuel-plugin-murano:
assignee: nobody → Kirill Zaitsev (kzaitsev)
Mike Fedosin (mfedosin)
Changed in fuel-plugin-murano:
assignee: Kirill Zaitsev (kzaitsev) → Mike Fedosin (mfedosin)
affects: fuel-plugin-murano → glance
Changed in glance:
milestone: 1.0.0 → none
Changed in glance:
status: Confirmed → In Progress
Revision history for this message
Mike Fedosin (mfedosin) wrote :
Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

No longer relevant to glance.

Changed in glance:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.