[python-fuelclient] It's not possible to remove nodes from cluster in fuel2 CLI

Bug #1603440 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
Newton
Fix Committed
High
Vitalii Kulanov

Bug Description

Detailed bug description:
Now new fuel2 cli supports adding nodes to some environment:

[root@fuel ~]# fuel2 env add nodes
usage: fuel2 env add nodes [-h] -e ENV -n NODES [NODES ...] -r ROLES [ROLES ...]

but there is no support for removing them (in fuel2).
So a new command 'fuel2 env remove nodes' should be released.

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

Changed in fuel:
assignee: nobody → Vitalii Kulanov (vitaliy-t)
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/342922

Changed in fuel:
status: New → In Progress
Revision history for this message
Dmitry Klenov (dklenov) wrote :

@Vitalii, please check this issue for 9.1 as well.

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

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

commit a245303ef51218e705540f56e0d75a5cbb259357
Author: tivaliy <email address hidden>
Date: Fri Jul 15 16:43:06 2016 +0300

    Add 'fuel2 env remove nodes' command

    Release new 'env remove nodes' command in fuel2
    to support remove nodes procedure from specific
    environment (cluster):

      fuel2 env remove nodes [-h] -e ENV
                (-n NODES [NODES ...] | --nodes-all)

    DocImpact
    Closes-Bug: 1603440

    Change-Id: Ibc14966996ae046307299348f62f758980d31ace

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

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

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

commit fd75673f6712980f1474fbfbf87338b47e36117d
Author: tivaliy <email address hidden>
Date: Fri Jul 15 16:43:06 2016 +0300

    Add 'fuel2 env remove nodes' command

    Release new 'env remove nodes' command in fuel2
    to support remove nodes procedure from specific
    environment (cluster):

      fuel2 env remove nodes [-h] -e ENV
                (-n NODES [NODES ...] | --nodes-all)

    DocImpact
    Closes-Bug: 1603440

    Change-Id: Ibc14966996ae046307299348f62f758980d31ace
    (cherry picked from commit a245303ef51218e705540f56e0d75a5cbb259357)

tags: added: on-verification
Revision history for this message
ElenaRossokhina (esolomina) wrote :

Verified on 9.0 + snapshot#103
CUSTOM_VERSION=snapshot #103
MAGNET_LINK=magnet:?xt=urn:btih:bfec808dd71ff42c5613a3527733d9012bb1fabc&dn=MirantisOpenStack-9.0.iso&tr=http%3A%2F%2Ftracker01-bud.infra.mirantis.net%3A8080%2Fannounce&tr=http%3A%2F%2Ftracker01-scc.infra.mirantis.net%3A8080%2Fannounce&tr=http%3A%2F%2Ftracker01-msk.infra.mirantis.net%3A8080%2Fannounce&ws=http%3A%2F%2Fvault.infra.mirantis.net%2FMirantisOpenStack-9.0.iso
FUEL_QA_COMMIT=1026e687d0478b026e3184c82045a0c99f854a29
UBUNTU_MIRROR_ID=ubuntu-2016-08-03-174238
CENTOS_MIRROR_ID=centos-7.2.1511-2016-05-31-083834
MOS_UBUNTU_MIRROR_ID=9.0-2016-08-05-174321
MOS_CENTOS_OS_MIRROR_ID=os-2016-06-23-135731
MOS_CENTOS_PROPOSED_MIRROR_ID=proposed-2016-08-05-174321
MOS_CENTOS_UPDATES_MIRROR_ID=updates-2016-06-23-135916
MOS_CENTOS_HOLDBACK_MIRROR_ID=holdback-2016-06-23-140047
MOS_CENTOS_HOTFIX_MIRROR_ID=hotfix-2016-07-18-162958
MOS_CENTOS_SECURITY_MIRROR_ID=security-2016-06-23-140002

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.