Bad task status after graph execution

Bug #1619302 reported by Mikhail Samoylov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel Sustaining
Mitaka
Invalid
High
Fuel Sustaining

Bug Description

Scenario:
1. Setup master node
2. Create env with 3 controller nodes and 1 compute+cinder node
3. Upload two simple graphs
4. Execute graph (fuel2 graph execute --env 1 -t my_graph)
5. Check that graph tasks was executed and finished without any errors

Expected result:
Test passed

Actual result:
Graph don't executed and hangs in running state :
http://paste.openstack.org/show/565705/
My graph :
http://paste.openstack.org/show/565701/

Tags: area-python
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 9.1 → 10.0
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

please provide fuel version

Changed in fuel:
status: New → Incomplete
tags: added: area-python
removed: area-library
Revision history for this message
Bulat Gaifullin (bulat.gaifullin) wrote :

Please re-recheck on stable build 9.1

Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

It works on my local env.

[root@nailgun ~]# fuel node
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---+-------------+------------------+---------+------------+-------------------+------------+---------------+--------+---------
 1 | ready | Untitled (02:d8) | 1 | 10.109.0.3 | 5a:2e:8d:4e:ab:d9 | controller | | 1 | 1
 3 | provisioned | Untitled (3a:04) | 3 | 10.109.0.4 | 64:4b:8f:9b:3a:04 | | controller | 1 | 3
[root@nailgun ~]# cat > /tmp/new_graph.yaml
- id: test_1
  type: shell
  version: 2.1.0
  role: ['/.*/']
  parameters:
    cmd: echo "test_1" >> /etc/test_file
    timeout: 30
- id: test_2
  type: shell
  version: 2.1.0
  role: ['/.*/']
  parameters:
    cmd: echo "test_2" >> /etc/test_file
    timeout: 30
^C
[root@nailgun ~]# fuel2 graph upload -e1 -t testgraph -f /tmp/new_graph.yaml
Deployment graph was successfully uploaded.
[root@nailgun ~]# fuel2 graph execute -e1 -t testgraph
Deployment task with id 55 for the environment 1 has been started.
[root@nailgun ~]# fuel2 task list
+----+--------+------------------+------------------+---------+--------+---------+----------+
| id | status | name | graph_type | cluster | result | dry_run | progress |
+----+--------+------------------+------------------+---------+--------+---------+----------+
<...>
| 55 | ready | deploy | None | 1 | {} | False | 100 |
| 56 | ready | deployment | testgraph | 1 | {} | False | 100 |
+----+--------+------------------+------------------+---------+--------+---------+----------+
[root@nailgun ~]# fuel2 task history show 56
+-----------+---------+--------+----------------------------+----------------------------+
| task_name | node_id | status | time_start | time_end |
+-----------+---------+--------+----------------------------+----------------------------+
| test_1 | 1 | ready | 2016-10-18T12:38:57.583700 | 2016-10-18T12:39:04.777456 |
| test_2 | 1 | ready | 2016-10-18T12:38:46.444014 | 2016-10-18T12:38:57.410797 |
+-----------+---------+--------+----------------------------+----------------------------+
[root@nailgun ~]# ssh node-1 "cat /etc/test_file"
Warning: Permanently added 'node-1' (ECDSA) to the list of known hosts.
test_2
test_1

So, closed as invalid.

Changed in fuel:
status: Incomplete → 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.