[Bug 1655327] Re: Ironic client can't display local_link_connection for a port

George Shuklin 1655327 at bugs.launchpad.net
Tue Jan 10 12:50:12 UTC 2017


** Description changed:

  Ironic display empty space at local_link_connection even it is not empty
  in database.
  
  versions:
  (xenial/newton)
  python-ironicclient 1.7.0-0ubuntu1~cloud0
  python-ironic 1:6.2.1-0ubuntu1~cloud0
  
  Steps to reproduce:
  
  ironic port-update a9c45d04-a3f8-4787-9147-a808c4ecfc81 add
  local_link_connection/switch_id=60:9c:9f:49:a8:84
  local_link_connection/port_id=1/1/25
  
  ironic port-show a9c45d04-a3f8-4787-9147-a808c4ecfc81
  
+ ```
  +-----------------------+--------------------------------------+
  | Property              | Value                                |
  +-----------------------+--------------------------------------+
  | address               | 18:66:da:5e:fd:47                    |
  | created_at            | 2017-01-02T10:17:39+00:00            |
  | extra                 | {}                                   |
  | internal_info         |                                      |
  | local_link_connection |                                      |
  | node_uuid             | a93c9183-c057-46e4-a314-2e6982523c4d |
  | pxe_enabled           |                                      |
  | updated_at            | 2017-01-10T12:31:05+00:00            |
  | uuid                  | a9c45d04-a3f8-4787-9147-a808c4ecfc81 |
  +-----------------------+--------------------------------------+
- 
+ ```
  Actual info from database:
- 
+ ```
  mysql> select uuid, local_link_connection from ports;
  +--------------------------------------+---------------------------------------------------------+
  | uuid                                 | local_link_connection                                   |
  +--------------------------------------+---------------------------------------------------------+
  | a9c45d04-a3f8-4787-9147-a808c4ecfc81 | {"port_id": "1/1/25", "switch_id": "60:9c:9f:49:a8:84"} |
  +--------------------------------------+---------------------------------------------------------+
- 
- 
+ ```
  Expected behavior: see non-empty port/switch_id.
  Actual behavior: empty local_link_connection field.

** Also affects: python-ironicclient (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-ironicclient in Ubuntu.
https://bugs.launchpad.net/bugs/1655327

Title:
  Ironic client can't display local_link_connection for a port

Status in python-ironicclient:
  New
Status in python-ironicclient package in Ubuntu:
  New

Bug description:
  Ironic display empty space at local_link_connection even it is not
  empty in database.

  versions:
  (xenial/newton)
  python-ironicclient 1.7.0-0ubuntu1~cloud0
  python-ironic 1:6.2.1-0ubuntu1~cloud0

  Steps to reproduce:

  ironic port-update a9c45d04-a3f8-4787-9147-a808c4ecfc81 add
  local_link_connection/switch_id=60:9c:9f:49:a8:84
  local_link_connection/port_id=1/1/25

  ironic port-show a9c45d04-a3f8-4787-9147-a808c4ecfc81

  ```
  +-----------------------+--------------------------------------+
  | Property              | Value                                |
  +-----------------------+--------------------------------------+
  | address               | 18:66:da:5e:fd:47                    |
  | created_at            | 2017-01-02T10:17:39+00:00            |
  | extra                 | {}                                   |
  | internal_info         |                                      |
  | local_link_connection |                                      |
  | node_uuid             | a93c9183-c057-46e4-a314-2e6982523c4d |
  | pxe_enabled           |                                      |
  | updated_at            | 2017-01-10T12:31:05+00:00            |
  | uuid                  | a9c45d04-a3f8-4787-9147-a808c4ecfc81 |
  +-----------------------+--------------------------------------+
  ```
  Actual info from database:
  ```
  mysql> select uuid, local_link_connection from ports;
  +--------------------------------------+---------------------------------------------------------+
  | uuid                                 | local_link_connection                                   |
  +--------------------------------------+---------------------------------------------------------+
  | a9c45d04-a3f8-4787-9147-a808c4ecfc81 | {"port_id": "1/1/25", "switch_id": "60:9c:9f:49:a8:84"} |
  +--------------------------------------+---------------------------------------------------------+
  ```
  Expected behavior: see non-empty port/switch_id.
  Actual behavior: empty local_link_connection field.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-ironicclient/+bug/1655327/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list