← Back to team overview

openstack team mailing list archive

A strange quantum agent-list.

 

Hi,

I installed a Grizzly Quantum server node and a Quantum network node based
on Ubuntu 12.04, it can works.

When I used CML quantum agent-list, I got the strange result as below:
*root@nnode01:~# quantum agent-list*
*
+--------------------------------------+--------------------+-------------------------------------------+-------+----------------+
*
*| id
        |          agent_type         |                   host
                         | alive | admin_state_up |*
*
+--------------------------------------+--------------------+-------------------------------------------+-------+----------------+
*
*| 0e541238-2e3d-4e51-8bde-ecc9831d8498  | Open vSwitch agent |
nnode01.ctrl.cloud.huawei.com      | :-)    | True           |*
*| 47ac932f-5f87-4e8f-b6d2-1fe06aaa2b16       | L3 agent
    | nnode01                                                | xxx   | True
          |*
*| 498a10dd-76af-49b0-89a2-3a1e481183e4   | DHCP agent                |
nnode01.ctrl.cloud.huawei.com        | :-)     | True           |*
*| 551690c1-25bb-410a-a6a6-75264335fb18   | Open vSwitch agent | nnode01
                                             | xxx   | True           |*
*| 7c2a1c43-513d-48f9-9ffe-fd69c0c0da2f          | Open vSwitch agent   |
abc.ctrl.cloud.huawei.com                 | xxx   | True           |*
*| b0b62895-432a-49b7-b806-427715860c37 | DHCP agent                |
nnode01                                                | xxx   | True
    |*
*| babfd8ef-a349-4faa-aa1d-4c80a216c00c      | L3 agent
  | nnode01.ctrl.cloud.huawei.com        | :-)     | True           |*
*| bf1a0bf9-9269-4224-b212-9339a89666b7   | Open vSwitch agent   | abc
                                                     | :-)     | True
    |*
*
+--------------------------------------+--------------------+-------------------------------------------+-------+----------------+
*

Every host get two records in the agent list, the only difference is the
field "host" and the field "alive".

As my understanding, each host should only get one record in the agent-list
table.

I am wondering how to just get one record per host.

If need more info, please let me know.

Much appreciated for any hints.

Thanks,
Sam