Unable to delete Solum resources using CLI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-solumclient |
Fix Released
|
Critical
|
Arati Mahimane |
Bug Description
Expected Result:
I should be able to delete an app or an assembly using "solum app delete <name|uuid>" or "solum assembly delete <name|uuid>" respectively.
Actual Result:
I get a usage screen.
Steps to Reproduce:
1) Create an app.
2) Create an assembly using that app.
3) Try to delete either the assembly or the app using the CLI
Example Transcript:
vagrant@devstack:~$ solum assembly list
+------
| uuid | name | description | status |
+------
| 1abd6398-
| dbfc8999-
+------
vagrant@devstack:~$ solum app list
+------
| uuid | name | description |
+------
| d7a9c0ad-
| f26af290-
+------
vagrant@devstack:~$ solum app delete ex1
usage: solum [-h] [--os-username OS_USERNAME] [--os-password OS_PASSWORD]
positional arguments:
{app,
action Action to perform on resource
plan_uuid Tenant/project-wide unique plan uuid or name
optional arguments:
-h, --help show this help message and exit
--os-username OS_USERNAME
--os-password OS_PASSWORD
--os-tenant-name OS_TENANT_NAME
--os-auth-url OS_AUTH_URL
--os-auth-token OS_AUTH_TOKEN
--solum-url SOLUM_URL
--solum-
delete
vagrant@devstack:~$ solum app delete f26af290-
usage: solum [-h] [--os-username OS_USERNAME] [--os-password OS_PASSWORD]
positional arguments:
{app,
action Action to perform on resource
plan_uuid Tenant/project-wide unique plan uuid or name
optional arguments:
-h, --help show this help message and exit
--os-username OS_USERNAME
--os-password OS_PASSWORD
--os-tenant-name OS_TENANT_NAME
--os-auth-url OS_AUTH_URL
--os-auth-token OS_AUTH_TOKEN
--solum-url SOLUM_URL
--solum-
delete
vagrant@devstack:~$ solum assembly list
+------
| uuid | name | description | status |
+------
| 1abd6398-
| dbfc8999-
+------
vagrant@devstack:~$ solum assembly delete ex1
usage: solum [-h] [--os-username OS_USERNAME] [--os-password OS_PASSWORD]
positional arguments:
{app,
action Action to perform on resource
assembly_uuid Assembly uuid or name
optional arguments:
-h, --help show this help message and exit
--os-username OS_USERNAME
--os-password OS_PASSWORD
--os-tenant-name OS_TENANT_NAME
--os-auth-url OS_AUTH_URL
--os-auth-token OS_AUTH_TOKEN
--solum-url SOLUM_URL
--solum-
delete
vagrant@devstack:~$ solum assembly delete 1abd6398-
usage: solum [-h] [--os-username OS_USERNAME] [--os-password OS_PASSWORD]
positional arguments:
{app,
action Action to perform on resource
assembly_uuid Assembly uuid or name
optional arguments:
-h, --help show this help message and exit
--os-username OS_USERNAME
--os-password OS_PASSWORD
--os-tenant-name OS_TENANT_NAME
--os-auth-url OS_AUTH_URL
--os-auth-token OS_AUTH_TOKEN
--solum-url SOLUM_URL
--solum-
delete
Changed in python-solumclient: | |
status: | Fix Committed → Fix Released |
About my environment:
I am using Devstack from the demo environment: https:/ /wiki.openstack .org/wiki/ Solum/Demo python- solumclient" to run code from our Git master.
I did a "git pull" in /opt/stack/