Unable to deploy demo service

Bug #1263047 reported by Sergey Murashov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Timur Sufiev

Bug Description

Steps to reproduce:
1. Install murano from 0.4 branh
2. Log in WebUI
3. Navigate to Murano > Environments
4. Create environment
5. Add demo service
6. Send created environment to deploy

Actual result:
Deploy fails with the following trace:
ubuntu@murano-demo-release-04:~$ tail -n 200 /var/log/murano/murano-conductor.log
2013-12-20 09:28:33.293 16190 ERROR muranoconductor.app [-] [Errno 2] No such file or directory: '88ab8c9356c24854ba806b97d7907b7d/templates/agent/Demo.template'
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app Traceback (most recent call last):
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/app.py", line 122, in _task_received
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app if workflow.execute():
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/workflow.py", line 54, in execute
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app return self._engine.execute(context)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/xml_code_engine.py", line 88, in execute
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app return self.evaluate(root, parent_context)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/xml_code_engine.py", line 57, in evaluate
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app return self._execute_function(element.tag, element, parent_context)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/xml_code_engine.py", line 54, in _execute_function
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app return definition(**args)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/workflow.py", line 280, in _workflow_func
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app engine.evaluate(element, context)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/xml_code_engine.py", line 57, in evaluate
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app return self._execute_function(element.tag, element, parent_context)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/xml_code_engine.py", line 54, in _execute_function
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app return definition(**args)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/workflow.py", line 254, in _rule_func
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app engine.evaluate(element, context)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/xml_code_engine.py", line 57, in evaluate
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app return self._execute_function(element.tag, element, parent_context)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/xml_code_engine.py", line 54, in _execute_function
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app return definition(**args)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/vm_agent.py", line 123, in send_command
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app metadata_id=metadata_id)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/commands/dispatcher.py", line 36, in execute
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app self._command_map[name].execute(**kwargs)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/commands/vm_agent.py", line 34, in execute
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app template, msg_id = self.build_execution_plan(template_path)
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app File "/usr/local/lib/python2.7/dist-packages/muranoconductor/commands/vm_agent.py", line 55, in build_execution_plan
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app with open(path) as stream:
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app IOError: [Errno 2] No such file or directory: '88ab8c9356c24854ba806b97d7907b7d/templates/agent/Demo.template'
2013-12-20 09:28:33.293 16190 TRACE muranoconductor.app

Changed in murano:
importance: Undecided → High
assignee: nobody → Timur Sufiev (tsufiev-x)
milestone: none → 0.4
importance: High → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-repository (release-0.4)

Fix proposed to branch: release-0.4
Review: https://review.openstack.org/63371

Timur Sufiev (tsufiev-x)
Changed in murano:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-repository (release-0.4)

Reviewed: https://review.openstack.org/63371
Committed: https://git.openstack.org/cgit/stackforge/murano-repository/commit/?id=7f9bc3d8bcf2e52f0d6b3f8c37d24b9e06790d3e
Submitter: Jenkins
Branch: release-0.4

commit 7f9bc3d8bcf2e52f0d6b3f8c37d24b9e06790d3e
Author: Timur Sufiev <email address hidden>
Date: Fri Dec 20 14:17:46 2013 +0400

    Return agent/Demo.template to the Services.

    Change-Id: I1edeb9c6060f42d7cf4df4a07b922da6fcfaa589
    Closes-bug: #1263047

Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-repository (master)

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

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

Reviewed: https://review.openstack.org/64020
Committed: https://git.openstack.org/cgit/stackforge/murano-repository/commit/?id=9ffa00a2bdbcb52d8d839b2d0437261ef70bfea3
Submitter: Jenkins
Branch: master

commit 9ffa00a2bdbcb52d8d839b2d0437261ef70bfea3
Author: Timur Sufiev <email address hidden>
Date: Fri Dec 20 14:17:46 2013 +0400

    Return agent/Demo.template to the Services.

    Change-Id: I1edeb9c6060f42d7cf4df4a07b922da6fcfaa589
    Closes-bug: #1263047
    Cherry-picked from I1edeb9c6060f42d7cf4df4a07b922da6fcfaa589 (master)

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

Fix proposed to branch: release-0.4
Review: https://review.openstack.org/66295

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-repository (release-0.4)

Reviewed: https://review.openstack.org/66295
Committed: https://git.openstack.org/cgit/stackforge/murano-repository/commit/?id=a282a578ff732054297bca78e99b5b3387546723
Submitter: Jenkins
Branch: release-0.4

commit a282a578ff732054297bca78e99b5b3387546723
Author: Ekaterina Fedorova <email address hidden>
Date: Thu Dec 12 20:34:07 2013 +0400

    Cherry-pick the following commits from master:

    * Handle situation when there is no manifest in uploading archive
      I66b1e55561f8a1bfeb7a6475ef36916c22f28cb4
    * Lead all manifests to the one style
      Fix service_version to increment it easier
      Fixes bug: #1262242
      I42d10f43f7febaf57aa942aa9713df350197acb1
    * Restrict hostname template length for Windows services by 15 symbols.
      This restriction still does not consider '#' transferring into 2-digit
      number, because it's not very likely to have more than 10 instances of
      one service.
      I5d76bbbfc1bf6b0a549218c817fcf0219b5ac386
      Fixes-bug: #1263662
    * Return agent/Demo.template to the Services.
      I1edeb9c6060f42d7cf4df4a07b922da6fcfaa589
      Closes-bug: #1263047
    * Remove spam in logs from iso8601
      I0c1ef8ba25312a8081f28f0dbb7a9c2203f2f7c7

    Change-Id: I5d1b3105eef223f7b8eeed34b8999ba38bb2a4c1

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.