[python-fuelclient] fuelclient doesn't support delete deployment graph operation, i.e. 'fuel2 graph delete' command is not implemented

Bug #1624918 reported by Vitalii Kulanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Vitalii Kulanov
Mitaka
Fix Released
High
Vitalii Kulanov

Bug Description

Detailed bug description:
python-fuelclient doesn't implement delete deployment graph operation (http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-user-guide/cli/cli_graphs.html):

[root@fuel ~]# fuel2 graph
download execute list upload

However Nailgun supports it https://github.com/openstack/fuel-web/blob/master/nailgun/nailgun/api/v1/handlers/deployment_graph.py#L146-L167

So 'fuel2 graph delete' command has to be implemented in order to allow user to remove deployment graphs.

Reproducibility:
Always

Description of the environment:
[root@fuel ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 667
cat /etc/fuel_build_number:
 667
cat /etc/fuel_release:
 10.0
cat /etc/fuel_openstack_version:
 newton-10.0

Changed in fuel:
assignee: nobody → Vitalii Kulanov (vitaliy-t)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: none → 10.0
status: New → Confirmed
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (master)

Reviewed: https://review.openstack.org/374326
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=d4140d54726cbcabde75acb856546026a5f40295
Submitter: Jenkins
Branch: master

commit d4140d54726cbcabde75acb856546026a5f40295
Author: tivaliy <email address hidden>
Date: Wed Sep 21 21:23:09 2016 +0300

    Add 'fuel2 graph delete' command

    Currently Nailgun supports DELETE deployment graph operation
    3d1f96e529c62b34877216411fc7545b84666d4b. However
    python-fuelclient doesn't implement this feature. This patch
    adds 'fuel2 graph delete' command to support deployment graph
    removal process:

     fuel2 graph delete [-h] (-e ENV | -r RELEASE | -p PLUGIN)
                        -t GRAPH_TYPE

    DocImpact
    Closes-Bug: 1624918

    Change-Id: If49d4f10d404edbd04bb9f1a976b36de1cb1dcfe

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (stable/mitaka)

Reviewed: https://review.openstack.org/375402
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=1cfc3493357b5cda10be7920ba9d6874b5697d97
Submitter: Jenkins
Branch: stable/mitaka

commit 1cfc3493357b5cda10be7920ba9d6874b5697d97
Author: tivaliy <email address hidden>
Date: Wed Sep 21 21:23:09 2016 +0300

    Add 'fuel2 graph delete' command

    Currently Nailgun supports DELETE deployment graph operation
    3d1f96e529c62b34877216411fc7545b84666d4b. However
    python-fuelclient doesn't implement this feature. This patch
    adds 'fuel2 graph delete' command to support deployment graph
    removal process:

     fuel2 graph delete [-h] (-e ENV | -r RELEASE | -p PLUGIN)
                        -t GRAPH_TYPE

    DocImpact
    Closes-Bug: 1624918

    Change-Id: If49d4f10d404edbd04bb9f1a976b36de1cb1dcfe
    (cherry picked from commit d4140d54726cbcabde75acb856546026a5f40295)

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.2 snapshot #464.

tags: removed: on-verification
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.