[murano][heat] environment deployment failure

Bug #1465745 reported by Alexey Deryugin
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Murano
Confirmed
Critical
Unassigned

Bug Description

Unable to deploy murano environment due to heat stack failure

Application: Apache HTTP Server
Deploy Method: Quick Deploy
Flavor: m1.medium

Murano mark deployment as failed with following exception:

  exceptions.EnvironmentError: Unexpected stack state UPDATE_FAILED: BadRequest: Image e3f215e0-b123-41ac-914b-c739559bf870 is not active. (HTTP 400) (Request-ID: req-c7c24198-3dbc-4b8b-938a-db6cf9a84c7a)
  Traceback (most recent call last):
    File "/tmp/murano-packages-cache/160e09c7-5aea-45c6-bc29-eebec34a507b/io.murano/Classes/Environment.yaml", line 74:9 in method deploy of class io.murano.Environment
        $.applications.pselect($.deploy())
    File "/tmp/murano-packages-cache/160e09c7-5aea-45c6-bc29-eebec34a507b/io.murano.apps.apache.ApacheHttpServer/Classes/ApacheHttpServer.yaml", line 55:13 in method deploy of class io.murano.apps.apache.ApacheHttpServer
        $.instance.deploy()
    File "/tmp/murano-packages-cache/160e09c7-5aea-45c6-bc29-eebec34a507b/io.murano/Classes/resources/Instance.yaml", line 126:9 in method deploy of class io.murano.resources.Instance
        $.environment.stack.push()
    File "/opt/stack/murano/murano/engine/system/heat_stack.py", line 193 in method push
        lambda status: status == 'UPDATE_COMPLETE')
    File "/opt/stack/murano/murano/engine/system/heat_stack.py", line 143 in method _wait_state
        "Unexpected stack state {0}{1}".format(status, reason))

Steps to reproduce:
1. Deploy devstack with murano
2. Create murano environment and add Apache HTTP Server
3. Deploy environment

Tags: murano
Changed in murano:
milestone: none → liberty-1
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Ekaterina Chernova (efedorova) wrote :

Is it full heat log?

where app that you've deployed? - please, add

how often does it reproduce?

try to clear murano-packages-cache folder

Changed in murano:
status: Confirmed → Incomplete
description: updated
description: updated
Changed in murano:
status: Incomplete → Confirmed
Changed in murano:
status: Confirmed → Incomplete
Changed in murano:
status: Incomplete → Fix Released
Changed in murano:
status: Fix Released → Incomplete
Changed in murano:
milestone: liberty-1 → liberty-2
Revision history for this message
Liyingjun (liyingjun) wrote :

Just encounter this error too: LOG FROM HORIZON:

Deployment Logs
2015-07-06 06:39:54 — Action deploy is scheduled
2015-07-06 06:40:01 — Creating VM for Apache Server.
2015-07-06 06:40:01 — Ensuring Apache is deployed.
2015-07-06 06:40:01 — Creating VM for MySql
2015-07-06 06:40:02 — Creating VM for Apache Server.
2015-07-06 06:40:44 — Instance is created. Deploying MySql
2015-07-06 06:41:08 — Instance is created. Deploying Apache
2015-07-06 06:43:05 — Creating database and user.
2015-07-06 06:43:05 — MySql application is installed.
2015-07-06 06:43:26 — Apache is available at http://172.24.4.8
2015-07-06 06:43:26 — Apache is installed.
2015-07-06 06:44:32 — Deployment finished with errors
2015-07-06 06:44:32 — [exceptions.EnvironmentError]: Unexpected stack state CREATE_COMPLETE: Stack CREATE completed successfully

Revision history for this message
Nikolay Starodubtsev (starodubcevna) wrote :

Here is murano log from devstack. eventually can't catch heat log.

Changed in murano:
status: Incomplete → New
Revision history for this message
Nikolay Starodubtsev (starodubcevna) wrote :
Revision history for this message
Nikolay Starodubtsev (starodubcevna) wrote :
Revision history for this message
Nikolay Starodubtsev (starodubcevna) wrote :
Changed in murano:
status: New → Confirmed
Changed in murano:
milestone: liberty-2 → liberty-3
Revision history for this message
Victor Ryzhenkin (vryzhenkin) wrote :

@Liyingjun, I've hit this bug too.
Here the trace
http://paste.openstack.org/show/411919/

Revision history for this message
Stan Lagun (slagun) wrote :

 Unexpected stack state CREATE_COMPLETE: Stack CREATE completed successfully is unrelated to a subject of this bug. Will fill separate ticket for it

Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

Image e3f215e0-b123-41ac-914b-c739559bf870 is not active.

Well this issue is mitigated by fixing this https://bugs.launchpad.net/murano/+bug/1480984 bug

and will be completely fixed as part of https://blueprints.launchpad.net/murano/+spec/better-image-filtering

marking as duplicate for 1480984

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.