yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07821
[Bug 1265002] [NEW] nova client prints dictionary/array etc. with a u'string'
Public bug reported:
When the value returned is a dictionary or an array the value is printed
with a u'tag. For example:
nicira@Ubuntu1204Server:/opt/stack/python-novaclient$ nova diagnostics X
+-----------------+------------------------------------------------------------------+
| Property | Value |
+-----------------+------------------------------------------------------------------+
| cpu_details | [{u'time': 44700000000}] |
| disk_details | [{u'read_requests': 241, u'reads': 1038336, u'errors': -1, |
| | u'write_requests': 687, u'writes': 16026624}, {u'read_requests': |
| | 45, u'reads': 98574, u'errors': -1, u'write_requests': 0, |
| | u'writes': 0}] |
| driver | libvirt |
| memory_details | {u'used': 524288, u'maximum': 524288} |
| network_details | [{u'rx_packets': 542, u'rx_drop': 0, u'tx_octets': 103536, |
| | u'tx_errors': 0, u'rx_octets': 103666, u'rx_errors': 0, |
| | u'tx_drop': 0, u'tx_packets': 475}] |
| num_cpus | 1 |
| num_disks | 2 |
| num_vnics | 1 |
| raw_data | {u'hdd_errors': -1, u'vnet0_tx_errors': 0, u'vda_errors': -1, |
| | u'cpu0_time': 44700000000, u'vda_read': 1038336, u'vda_write': |
| | 16026624, u'vda_write_req': 687, u'vnet0_tx_packets': 475, |
| | u'memory': 524288, u'vnet0_tx': 103536, u'vnet0_rx_drop': 0, |
| | u'vnet0_rx_packets': 542, u'vnet0_rx_errors': 0, |
| | u'hdd_read_req': 45, u'hdd_read': 98574, u'hdd_write_req': 0, |
| | u'vda_read_req': 241, u'vnet0_rx': 103666, u'vnet0_tx_drop': 0, |
| | u'hdd_write': 0} |
| state | 1 |
+-----------------+------------------------------------------------------------------+
** Affects: nova
Importance: Undecided
Assignee: Gary Kotton (garyk)
Status: New
** Changed in: nova
Assignee: (unassigned) => Gary Kotton (garyk)
** Changed in: nova
Milestone: None => icehouse-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1265002
Title:
nova client prints dictionary/array etc. with a u'string'
Status in OpenStack Compute (Nova):
New
Bug description:
When the value returned is a dictionary or an array the value is
printed with a u'tag. For example:
nicira@Ubuntu1204Server:/opt/stack/python-novaclient$ nova diagnostics X
+-----------------+------------------------------------------------------------------+
| Property | Value |
+-----------------+------------------------------------------------------------------+
| cpu_details | [{u'time': 44700000000}] |
| disk_details | [{u'read_requests': 241, u'reads': 1038336, u'errors': -1, |
| | u'write_requests': 687, u'writes': 16026624}, {u'read_requests': |
| | 45, u'reads': 98574, u'errors': -1, u'write_requests': 0, |
| | u'writes': 0}] |
| driver | libvirt |
| memory_details | {u'used': 524288, u'maximum': 524288} |
| network_details | [{u'rx_packets': 542, u'rx_drop': 0, u'tx_octets': 103536, |
| | u'tx_errors': 0, u'rx_octets': 103666, u'rx_errors': 0, |
| | u'tx_drop': 0, u'tx_packets': 475}] |
| num_cpus | 1 |
| num_disks | 2 |
| num_vnics | 1 |
| raw_data | {u'hdd_errors': -1, u'vnet0_tx_errors': 0, u'vda_errors': -1, |
| | u'cpu0_time': 44700000000, u'vda_read': 1038336, u'vda_write': |
| | 16026624, u'vda_write_req': 687, u'vnet0_tx_packets': 475, |
| | u'memory': 524288, u'vnet0_tx': 103536, u'vnet0_rx_drop': 0, |
| | u'vnet0_rx_packets': 542, u'vnet0_rx_errors': 0, |
| | u'hdd_read_req': 45, u'hdd_read': 98574, u'hdd_write_req': 0, |
| | u'vda_read_req': 241, u'vnet0_rx': 103666, u'vnet0_tx_drop': 0, |
| | u'hdd_write': 0} |
| state | 1 |
+-----------------+------------------------------------------------------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1265002/+subscriptions
Follow ups
References