Result of dashboard api call "murano/packages" depends from packages service backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-muranoclient |
Fix Released
|
High
|
Valerii Kovalchuk | ||
Liberty |
Fix Committed
|
High
|
Valerii Kovalchuk | ||
Mitaka |
Fix Released
|
High
|
Valerii Kovalchuk | ||
Newton |
Fix Released
|
High
|
Valerii Kovalchuk |
Bug Description
Steps to reproduce
1. Install DevStack, glare plugin, murano service. Don`t set glare as packages service
2. Import package 'io.murano.
3. Set glare as packages service, enable glare in openstack_dashboard settings
4. Import package 'io.murano.
5. Log in to Horizon, open developers console in browser. Type in console
$.get('http://
Result (in Resourses tab) :
{
"has_
"packages": [{
"id": "72a7dab0-
"name": "Apache HTTP Server",
"owner_id": ""
}
]
}
6. Disable glare usage in openstack_dashboard settings. Repeat step 5
Result :
{
"has_
"packages": [{
"author": "Mirantis, Inc",
"created": "2016-03-
"enabled": true,
"id": "cd6e6148928d41
"name": "Apache HTTP Server",
"owner_id": "9bc59070e24f4e
"supplier": {},
"tags": ["HTTP", "Server", "WebServer", "HTML", "Apache"],
"type": "Application",
"updated": "2016-03-
}
]
}
Expected: the same set of fields in result objects
Observed: different set of fields in result objects
Changed in python-muranoclient: | |
status: | Invalid → In Progress |
If you had glare enabled at the time you uploaded packages — it is uploaded to glare. There is no way we can (or should) provide sync between glare and murano db.