Installing devstack with murano

Bug #1683362 reported by Artem Tiumentcev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Undecided
zhurong

Bug Description

I got an error then I trid install devstack

++/opt/stack/murano/devstack/plugin.sh:setup_core_library:347 murano --os-username admin --os-password 'password' --os-tenant-nam
e admin --os-auth-url http://127.0.0.1:5000 --os-region-name RegionOne --murano-url http://127.0.0.1:8082 --glare-url http:// --murano-
packages-service murano package-import /opt/stack/murano/meta/io.murano.applications.zip /opt/stack/murano/meta/io.murano.zip --is-publ
ic
Importing package io.murano.applications
Error 400 Bad Request: The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) occ
urred while installing package io.murano.applications
Importing package io.murano
+----------------------------------+--------------+-----------+-----------+--------+-----------+---------+---------+
| ID | Name | FQN | Author | Active | Is Public | Type | Version |
+----------------------------------+--------------+-----------+-----------+--------+-----------+---------+---------+
| 5e5c45418ee2461d9dda0c7303531098 | Core library | io.murano | murano.io | True | True | Library | |
+----------------------------------+--------------+-----------+-----------+--------+-----------+---------+---------+
Warning: there were some errors during the operation.
+/opt/stack/murano/devstack/plugin.sh:setup_core_library:1 exit_trap
+./stack.sh:exit_trap:488 local r=1
++./stack.sh:exit_trap:489 jobs -p
+./stack.sh:exit_trap:489 jobs=
+./stack.sh:exit_trap:492 [[ -n '' ]]
+./stack.sh:exit_trap:498 kill_spinner
+./stack.sh:kill_spinner:384 '[' '!' -z '' ']'
+./stack.sh:exit_trap:500 [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:501 echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:502 generate-subunit 1492432055 1445 fail
+./stack.sh:exit_trap:503 [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:506 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-04-17-125141.txt for details
+./stack.sh:exit_trap:512 exit 1

description: updated
Revision history for this message
Artem Tiumentcev (darland-maik) wrote :

I found in murano api log

│2017-04-17 18:15:32.058 ERROR murano.common.wsgi [req-002857d0-dd18-4da4-afb4-1d89eaa2ea93 None None] Exception handling resource: '
│NoneType' object is not iterable
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi Traceback (most recent call last):
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi File "/opt/stack/murano/murano/common/wsgi.py", line 441, in __call__
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi action_result = self.execute_action(action, request, **action_args)
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi File "/opt/stack/murano/murano/common/wsgi.py", line 456, in execute_action
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi return self.dispatch(self.controller, action, request, **action_args)
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi File "/opt/stack/murano/murano/common/wsgi.py", line 464, in dispatch
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi return method(*args, **kwargs)
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi File "/opt/stack/murano/murano/api/v1/catalog.py", line 266, in upload
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi if hasattr(pkg_to_upload, k):
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi File "/opt/stack/murano/murano/packages/package_base.py", line 106, in tags
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi return list(self._tags)
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi TypeError: 'NoneType' object is not iterable
│2017-04-17 18:15:32.058 TRACE murano.common.wsgi

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

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

Changed in murano:
assignee: nobody → Artem Tiumentcev (darland-maik)
status: New → In Progress
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

Please share your local.rc? I'd say that the problem is that you're using glare and glare 0.1 has been deprecated by glance community

Changed in murano:
status: In Progress → Incomplete
Revision history for this message
Artem Tiumentcev (darland-maik) wrote :

This is my local.conf for devstack and I'm not using glare.

[[local|localrc]]
ADMIN_PASSWORD='password'
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

HOST_IP=127.0.0.1
SERVICE_HOST=127.0.0.1
MYSQL_HOST=127.0.0.1
RABBIT_HOST=127.0.0.1

#PUBLIC_INTERFACE=lo
#IP_VERSION=4
#USE_SSL=True
USE_PYTHON3=True

enable_plugin murano git://git.openstack.org/openstack/murano

Changed in murano:
assignee: Artem Tiumentcev (darland-maik) → zhurong (zhu-rong)
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/457269
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=25281380b25e48fd55a11b2d21f3fabf308fef17
Submitter: Jenkins
Branch: master

commit 25281380b25e48fd55a11b2d21f3fabf308fef17
Author: Artem Tiumentcev <email address hidden>
Date: Mon Apr 17 18:51:22 2017 +0300

    Added opportunity import packages without tags

    Change-Id: Iaa8c2cf297008932739025b0c907bb70bdff08f6
    Closes-Bug: #1683362

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano 4.0.0.0b2

This issue was fixed in the openstack/murano 4.0.0.0b2 development milestone.

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.