[CLI] delete operation is missed in fuel2 openstack-config client

Bug #1587028 reported by Ksenia Svechnikova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Anastasia Balobashina
Mitaka
Fix Released
High
Anastasia Balobashina
Newton
Fix Committed
High
Anastasia Balobashina

Bug Description

Description of the environment: 9.0 mos iso #416

Detailed bug description:

In fuel help for openstack-config we can see the delete option:

[root@nailgun ~]# fuel openstack-config
usage: fuel openstack-config [-h] [--env ENV] [--file FILE]
                             [--node NODE [NODE ...]] [--role ROLE]
                             [--config-id CONFIG-ID] [--deleted] [--force]
                             (--list | --download | --upload | --delete | --execute)
fuel openstack-config: error: one of the arguments --list/-l --download/-d --upload/-u --delete --execute is required
[root@nailgun ~]#

It's missed in fuel2

Steps to reproduce:

1) root@nailgun ~]# fuel2 openstack-config
fuel2: 'openstack-config' is not a fuel2 command. See 'fuel2 --help'.
Did you mean one of these?
  openstack-config download
  openstack-config execute
  openstack-config list
  openstack-config upload
2) fuel2 openstack-config --delete
fuel2: 'openstack-config' is not a fuel2 command. See 'fuel2 --help'.
Did you mean one of these?
  openstack-config download
  openstack-config execute
  openstack-config list
  openstack-config upload

Expected results:
we can find delete operation in fuel2 and use it like in fuel
fuel openstack-config --delete --config-id 5
fuel2 openstack-config delete --config-id 5

Actual result:
delete is no available in fuel2

Workaround: Use delete from fuel

description: updated
description: updated
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/323189

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

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

commit 9365e35411d56e347bf1e6e3383064322ce5f51c
Author: Anastasiya <email address hidden>
Date: Tue May 31 10:55:21 2016 +0300

    Add delete operation to fuel2 openstack-config

    Change-Id: I6dd022231dd1b16a8fc1eeebe3e57f11079517aa
    Closes-Bug: #1587028

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/325338

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

Reviewed: https://review.openstack.org/325338
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=5f215011e2c4055ff64305f82da838d015d3c161
Submitter: Jenkins
Branch: stable/mitaka

commit 5f215011e2c4055ff64305f82da838d015d3c161
Author: Anastasiya <email address hidden>
Date: Tue May 31 10:55:21 2016 +0300

    Add delete operation to fuel2 openstack-config

    Change-Id: I6dd022231dd1b16a8fc1eeebe3e57f11079517aa
    Closes-Bug: #1587028
    (cherry picked from commit 9365e35411d56e347bf1e6e3383064322ce5f51c)

tags: added: on-verification
Revision history for this message
Alisa Tselovalnikova (atselovalnikova) wrote :

Verified on http://paste.openstack.org/show/508684
The config was deleted with command 'fuel2 openstack-config delete', but newline symbol is missed after the node's config deletion message.

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-fuelclient (stable/mitaka)

Change abandoned by Anastasia Tolochkova (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/326904

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

Reviewed: https://review.openstack.org/327090
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=67d8c693a670d27c239d5d175f3ea2a0512c498c
Submitter: Jenkins
Branch: stable/mitaka

commit 67d8c693a670d27c239d5d175f3ea2a0512c498c
Author: Anastasiya <email address hidden>
Date: Wed Jun 8 16:14:14 2016 +0300

    Add newline symbol to deletion message

    Change-Id: I75315207e15752ef32f100018745c4941f65a084
    Closes-Bug: #1587028

tags: added: on-verification
Revision history for this message
Dmitriy Kruglov (dkruglov) wrote :

Verified on MOS 9.0, ISO #467.
The issue is fixed.

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.