Unexpected behavior when "-d" is specified twice on ironic chassis-create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ironicclient |
Triaged
|
Medium
|
Unassigned |
Bug Description
when the user enters a command "ironic chassis-create -d "test" -d "testing", it takes "testing" as a description and it avoids "test".So its avoiding the first argument and even it is not showing any erros messages.
# ironic chassis-create -d "test" -d "testing"
+------
| Property | Value |
+------
| description | testing |
| extra | {} |
| uuid | 306acc4b-
+------
So we can do some changes in code so that when user enters this type of commands ,ironic client should give a error messages to restrict the usage of "-d" option twice in a command.
This problem is exist for ironic port-create too, for -n and -a options.
Changed in python-ironicclient: | |
assignee: | nobody → abdul nizamuddin (abdul-nizamuddin) |
description: | updated |
summary: |
- option -d is not throwing any erros if user uses -d option twice + Unexpected behavior when "-d" is specified twice on ironic chassis- + create |
Changed in python-ironicclient: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in python-ironicclient: | |
assignee: | abdul nizamuddin (abdul-nizamuddin) → M V P Nitesh (m-nitesh) |
Changed in python-ironicclient: | |
assignee: | M V P Nitesh (m-nitesh) → nobody |
Changed in python-ironicclient: | |
assignee: | nobody → Thomas Maddox (thomas-maddox) |
Changed in python-ironicclient: | |
assignee: | Thomas Maddox (thomas-maddox) → nobody |
Hi Abdul, are you still working on this?