share_network_subnets not parsed properly in "openstack share network show"
Bug #2065771 reported by
Morozov Aleksey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-manilaclient |
Fix Released
|
Medium
|
Morozov Aleksey |
Bug Description
When create a share network with the command:
openstack share network create --neutron-net-id <neutron-net-id> --neutron-subnet-id <neutron-subnet-id> --name share-network
You get output:
`share_
instead of table with chars. The same thing happens when calling the show function. This is due to the absence of the key "share_
```python
share_network_data = share_network._info
if 'share_
share_
```
description: | updated |
Changed in python-manilaclient: | |
status: | New → In Progress |
description: | updated |
summary: |
- share network show + share_network_subnets not parsed properly in share network show |
summary: |
- share_network_subnets not parsed properly in share network show + share_network_subnets not parsed properly in "openstack share network + show" |
Changed in python-manilaclient: | |
assignee: | nobody → Morozov Aleksey (morozovalekseywot) |
milestone: | none → dalmation-1 |
importance: | Undecided → Medium |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /python- manilaclient/ +/919758 /opendev. org/openstack/ python- manilaclient/ commit/ 48fbad6f62e13ac cd99225d92007cd 2eb2a47833
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 48fbad6f62e13ac cd99225d92007cd 2eb2a47833
Author: morozovalekseywot <email address hidden>
Date: Wed May 15 20:13:38 2024 +0300
Fix show info about share network
Add check for _info dict, without this check an exception will occur and user doesn't get info.
Closes- Bug:#2065771 264921dc32644ee 8e5b86fc1e2
Change-Id: I0b0dba95c53aad