Provide ability to view deployment tasks snapshot for dry_run

Bug #1590002 reported by Ilya Kutukov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Ilya Kutukov
Mitaka
Fix Released
High
Ilya Kutukov
Newton
Fix Committed
High
Ilya Kutukov

Bug Description

Now it is possible to view deployment tasks parameters only if task was actually run through Astute.
During dry-run we don't running any tasks and tasks parameters are unavailable to be seen other way than direct access to Nailgun database.

Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

version

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Ilya Kutukov (ikutukov)
Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Ilya Kutukov (<email address hidden>) on branch: master
Review: https://review.openstack.org/326502

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/326661

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

Reviewed: https://review.openstack.org/326579
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=375700091fe5b6c752d414febb9fcf21efc7cb82
Submitter: Jenkins
Branch: master

commit 375700091fe5b6c752d414febb9fcf21efc7cb82
Author: Ilya Kutukov <email address hidden>
Date: Tue Jun 7 18:30:37 2016 +0300

    Provide ability to view deployment tasks for dry_run

    Now if task in graph snapshot but have no history records it will
    be presented as surrogate history record with no start/end time, node_id
    and status: 'skipped'

    Normally this records will be created only during dry_run

    Change-Id: Ie69ee1a632386e7bcd968505ab6fbab0bf0486dc
    Closes-Bug: #1590002

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/326661
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=fb6bd4a3bcd576a05d3170a592e89ba50e64090f
Submitter: Jenkins
Branch: stable/mitaka

commit fb6bd4a3bcd576a05d3170a592e89ba50e64090f
Author: Ilya Kutukov <email address hidden>
Date: Tue Jun 7 18:30:37 2016 +0300

    Provide ability to view deployment tasks for dry_run

    Now if task in graph snapshot but have no history records it will
    be presented as surrogate history record with no start/end time, node_id
    and status: 'skipped'

    Normally this records will be created only during dry_run

    Change-Id: Ie69ee1a632386e7bcd968505ab6fbab0bf0486dc
    Closes-Bug: #1590002

tags: added: on-verification
Revision history for this message
Ekaterina Shutova (eshutova) wrote :

It's possible to see deployment tasks for dry_run:

[root@nailgun ~]# fuel2 task history show 10
+---------------------------+---------+---------+------------+----------+
| task_name | node_id | status | time_start | time_end |
+---------------------------+---------+---------+------------+----------+
| custom_task_on_compute | None | skipped | None | None |
| custom_task_on_ceph-osd | None | skipped | None | None |
| custom_task_on_controller | None | skipped | None | None |
| custom_task_on_cinder | None | skipped | None | None |
+---------------------------+---------+---------+------------+----------+
Verified on:
[root@nailgun /]# shotgun2 short-report
cat /etc/fuel_build_id:
 467
cat /etc/fuel_build_number:
 467
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:

tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.