Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: Ia3bcca2dd70b2e43b59041bf9c9cf7eced723fce
VMware not supported since Fuel 10. So this commit removes
vmware-related part of CLI fuel client.
Change-Id: I8da5aad94d34fc458fadfad4d38aa6607060b4a3
Implements: blueprint remove-vmware
We need to use stable/mitaka branch both in python-fuelclient
and fuel-web
Switching to full repo cloning since for now we need
checkout to other branches
Change-Id: Ib3018bcda4e9e89a1ca9f80447883896f4db3b8c
Related-bug: #1558589
(cherry picked from commit a2388bc910)
Now setup.cfg file contains entry point for nonexistent
'fuel2 tag show' command. So let's remove it.
Change-Id: Iec87f0b8cffe948539b6965f61b4d85a29718926
Releases new fuel2 commands to operate on tags:
fuel2 tag create
fuel2 tag delete
fuel2 tag download
fuel2 tag list
fuel2 tag update
DocImpact
Change-Id: I71ae78b4a733d83a5441ff0ac5ba627502e7f2b3
Implements: blueprint role-decomposition
Now if we try to download graph with any task level parameters
without specifying any filename the result (by default) will be
stored in 'cluster_graph.yaml'.
This patch:
* makes default filename more accurate based on input parameters
(environment id, task level graph value and format)
* adds support to download graph in JSON format
fuel2 graph download [-h] -e ENV (-a | -c | -p | -r)
[-t GRAPH_TYPE][-f FILE]
[--format {json,yaml}]
DocImpact
Change-Id: Ia7aa03cbbcde3d63e4ade5e76ea1242a2939b71e
Now 'fuel2 graph download' command can be executed without
specifying any task level parameters that leads to erroneous
behavior, i.e. plugins task level graph is downloading by default.
This patch fixes such behavior and makes task level parameters
mandatory, e.g.:
fuel2 graph download [-h] -e ENV (-a | -c | -p | -r)
[-t GRAPH_TYPE] [-f FILE]
Change-Id: I5ed561cda9b0d35043822d01b6bb0b37df451fcb
Releases new fuel2 commands to operate on tags:
fuel2 tag assign
fuel2 tag create
fuel2 tag delete
fuel2 tag download
fuel2 tag list
fuel2 tag unassign
fuel2 tag update
Advanced mode has been introduced.
DocImpact
Change-Id: Ib0f48598552f6b066fd375966594cb3a934574e2
Implements: blueprint role-decomposition
Now in python-fuelclient if we try to get help message
for specific command with '--help' option, e.g.:
fuel2 node list --help
the output result looks very ugly, because it prints
all available commands in fuel2 instead of detailed
description for exact command. Also we have similar
behavior if we try to specify non-existing command.
This patch makes help message more accurate and
user-friendly, e.g.:
#fuel2 env add nodes --help
usage: fuel2 env add nodes [-h] -e ENV -n NODES [NODES ...]
-r ROLES [ROLES ...]
Adds nodes to an environment with the specified roles.
optional arguments:
-h, --help show this help message and exit
-e ENV, --env ENV Id of the environment to add nodes to
-n NODES [NODES ...], --nodes NODES [NODES ...]
Ids of the nodes to add.
-r ROLES [ROLES ...], --roles ROLES [ROLES ...]
Target roles of the nodes.
#fuel2 non-existing --help
Unknown command ['non-existing']
Change-Id: I89afb39d92ffb01c37fbf558e6d62091ac6112e7
Partial-Bug: 1629285
Now fuel2 graph download and upload commands contain wrong
parameter name that doesn't meet Fuel Graph Concept Extension
And Usage specification I1d0b9844a2603774f261b7d933e0c720ecd0e112.
This patch replaces '--type' name parameter with respective
'--graph-type' one according to the spec above
Change-Id: I3f1665c807614107883415fb9291a921d780f535
Closes-Bug: 1618449
Add -S option to support subgraph execution. This would allow a user
to pick which tasks to stop on.
Example:
fuel2 graph execute -S keystone-db:openstack-controller/1
will start with all keystone-db tasks and end at openstack-controller at
node-1
DocImpact
Change-Id: I42f9caf2e9c18072a2ae0447df2ba3500f687d5e
Closes-bug: 1612616
There is a set of commands that operate on vms.
But the API and respective fuel2 commands are
only available if 'advanced' feature is active
in 'feature_group' (from fuelmenu). In other case
Nailgun reports '(not found)'. This patch adds more
verbosity to fuel2 vms commands if 'advanced' feature
is not active instead '(not found)' responce.
Change-Id: Idc1a2612ca20125ed54bdd35bfb048a81fa22cdd
Closes-Bug: 1603980
Code for operating with roles in release
has to be refactored in order to meet
code consistency and UX:
fuelclient/objects/role.py
fuelclient/v1/role.py
fuelclient/cli/actions/role.py
Change-Id: Ifdfa537f99249d1af8ab857e7f6ada313eb2c578
As we deprecate old cli a new 'fuel2 health *' commands
with extended functionality were implemented:
fuel2 health list
fuel2 health start
fuel2 health stop
fuel2 health restart
fuel2 health status list
fuel2 health status show
DocImpact
Change-Id: Ib9ba1912d0e0b391500d6bc257232fee0184620b
Closes-Bug: 1619196
Now Nailgun reports about successful upload of deployment graph
from directory that can even not contain any 'tasks.yaml' files.
This patch fixes:
* check if at least one 'tasks.yaml' file exists in specified
directory path
* check if at least one 'tasks.yaml' file in specified
directory path is not empty
Change-Id: I5de2474b8fbb46780450ee3873af6189a6cf17cc
Closes-Bug: 1619586
Before this patch it was possible only to view list of graphs
that are related to cluster level of given env and no more.
Now graphs list for env is returning all graphs
related to it (release, plugins and cluster level).
Now the following commands are possible:
fuel2 graph list [--env ENV_ID] [--cluster] [--plugins] [--release]
All options working as filter narrowing list to the given environment
related graphs and/or graphs levels.
Change-Id: I006cf6767a9bf0d89af5026728bd13ddc42c4aa8
Partial-Bug: #1563851
Closes-Bug: #1621585
Since 9.1 the nailgun returns separated facts for cluster
and nodes, so some client expects that node facts also
contains cluster fact. this patch adds possibility
to get merged facts for each node, by default this flag is true
Change-Id: I29f0cc0090abca2826e273dcbe7ac4249cf7a731
Closes-Bug: 1623854
Releases new fuel2 commands to operate on extensions:
fuel2 env extension enable
fuel2 env extension disable
fuel2 env extension show
fuel2 extension list
DocImpact
Also, this change introduces the option for BaseListCommand for
specifying the default fields to sort by.
Change-Id: Idee06633689efece18838766de5c4afcd24190d7
Implements: blueprint extensions-management
Partial-Bug: #1614526
New option 'format' for commands 'graph execute' and
'sequence execute' will allow to specify the expected
format of output: json or yaml.
By default the text message will be produced.
Change-Id: I68be70bf317ea9fe4c0197073bd5dd41c3ba9d32
Closes-Bug: 1623014
The names of arguments was update according to specification.
Also added additional argument '--trace' which enables
debugging mode in tasks executor.
Change-Id: I7565e79059138ea28533e495e9d773195128f358
Closes-Bug: 1621831
Also changed behaviour of method get_display_data_single,
it uses special value for missing fields instead of raising
exception.
Change-Id: I2b92b66f47e4e5c866790f486571f69ff5ae14dd
Closes-Bug: 1622563