It is possible that importing package will not import your package

Bug #1609365 reported by Alex Kholkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-muranoclient
Invalid
High
Alexander Tivelkov

Bug Description

After merging this patch https://review.openstack.org/#/c/349452/ we found this problem.

Steps to reproduce:
1) Go to applications > manage > packages
2) Import package from a.o.o. (for example "BIND DNS server (package)")

Expected result:
package is imported

Actual result:
package is not imported

Reproducibility:
It reproduces not every time. If it will not be reproduced you should delete the package and import it again.

Part of the horizon log:

2016-08-03 09:58:12.506526 ERROR:muranodashboard.packages.views:Uploading package failed.
2016-08-03 09:58:12.506553 Traceback (most recent call last):
2016-08-03 09:58:12.506558 File "/opt/stack/murano-dashboard/muranodashboard/packages/views.py", line 510, in process_step
2016-08-03 09:58:12.506563 data, files)
2016-08-03 09:58:12.506567 File "/opt/stack/python-muranoclient/muranoclient/v1/artifact_packages.py", line 29, in inner
2016-08-03 09:58:12.506570 return func(*args, **kwargs)
2016-08-03 09:58:12.506574 File "/opt/stack/python-muranoclient/muranoclient/v1/artifact_packages.py", line 234, in create
2016-08-03 09:58:12.506578 pkg = self.glare.create(fqn, files[fqn], **data)
2016-08-03 09:58:12.506581 File "/opt/stack/python-muranoclient/muranoclient/v1/artifact_packages.py", line 58, in create
2016-08-03 09:58:12.506585 package.resolvers)
2016-08-03 09:58:12.506588 AttributeError: 'Package' object has no attribute 'resolvers'
2016-08-03 09:58:12.507010 Recoverable error: 'Package' object has no attribute 'resolvers'

Tags: glare
tags: added: glare
Revision history for this message
Victor Ryzhenkin (vryzhenkin) wrote :

The dashboard wasn't restarted after the client fix. So, this error was appeared about dashboard using the cached client. The problem gone after dashboard was restarted.

Changed in python-muranoclient:
status: Confirmed → Invalid
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.