[cli] fuel2 openstack-config list raises ValueError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Alexander Saprykin |
Bug Description
fuel2 openstack-config list commands raises ValueError
[root@fuel ~]# fuel2 openstack-config list --env 1
500 Server Error: Internal Server Error (Traceback (most recent call last):
File "/usr/lib/
valid_data = method(data, **kwargs)
File "/usr/lib/
cls.
File "/usr/lib/
data[field] = int(data[field])
ValueError: invalid literal for int() with base 10: 'True'
)
Steps to reproduce:
Call the command above.
Expected results:
List of configuration records is displayed.
Reproducibility:
100%
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: feature-openstack-config-change |
tags: | added: team-mixed |
Changed in fuel: | |
status: | Confirmed → In Progress |
@Alexander, I guess I found the problem. /github. com/openstack/ python- fuelclient/ blob/master/ fuelclient/ commands/ openstack_ config. py#L93 . Here you should convert is_active parameter to int:
Please take a look at this code https:/
is_ active= int(not args.deleted)