neutron agents

Peter Sabaini peter.sabaini at canonical.com
Mon Nov 2 14:52:55 UTC 2015


On 02.11.15 03:12, Pshem Kowalczyk wrote:
> Hi,
> 
> I'm trying to get openstack installed using juju. 
> The configuration of the nova and neutron is fairly simple:
> 
> nova-cloud-controller:
>  openstack-origin: cloud:trusty-kilo
>  network-manager: Neutron
>  neutron-external-network: "ext-net"
>  console-access-protocol: vnc
> 
> neutron-api:
>  openstack-origin: cloud:trusty-kilo
>  neutron-external-network: "ext-net"
>  neutron-security-groups: true
>  enable-dvr: true
>  manage-neutron-plugin-legacy-mode: true
> 
> neutron-gateway:
>  openstack-origin: cloud:trusty-kilo
>  ext-port: eth3
> 
> nova-compute:
>  openstack-origin: cloud:trusty-kilo
> 
> Reading the documentation I got the impression that the default
> value of 'manage-neutron-plugin-legacy-mode' in the neutron-api
> charm should force the installation of necessary plugins.
> 
> Yet, after the setup is build (using 2 nodes, each with nova-compute
> and neutron-gateway), I get the following:
> ubuntu at juju-machine-0-lxc-6:~$ neutron agent-list
> +--------------------------------------+--------------------+-------+-------+----------------+---------------------------+
> | id                                   | agent_type         | host
>  | alive | admin_state_up | binary                    |
> +--------------------------------------+--------------------+-------+-------+----------------+---------------------------+
> | 09989b3d-6aab-44a8-b595-84c7505833dd | Metering agent     | node2
> | :-)   | True           | neutron-metering-agent    |
> | 0e34444b-4218-43be-9fc3-726486cba6e4 | Open vSwitch agent | node1
> | :-)   | True           | neutron-openvswitch-agent |
> | 2051a1a5-2740-4d39-813a-34caa4ca23c9 | L3 agent           | node1
> | xxx   | True           | neutron-l3-agent          |
> | 3e57cfda-570c-42f9-a9f6-bf3a9374ad8b | Loadbalancer agent | node1
> | :-)   | True           | neutron-lbaas-agent       |
> | 58d849eb-a604-4273-bcaf-f65ff07fc2c0 | Metadata agent     | node2
> | xxx   | True           | neutron-metadata-agent    |
> | 81b4702c-8b6e-41ed-81bc-938b5ca974d8 | Metering agent     | node1
> | :-)   | True           | neutron-metering-agent    |
> | ae13892e-5e6b-48b3-9b7f-0f0a9e4e09c6 | Metadata agent     | node1
> | xxx   | True           | neutron-metadata-agent    |
> | bd98fdc6-d156-4934-84f9-fe0a3d6a38fc | Loadbalancer agent | node2
> | :-)   | True           | neutron-lbaas-agent       |
> | cda24198-1862-4694-8f57-0bac4ec67676 | DHCP agent         | node1
> | xxx   | True           | neutron-dhcp-agent        |
> | d2bc081c-5689-4a29-9c68-eac80a322885 | L3 agent           | node2
> | xxx   | True           | neutron-l3-agent          |
> | eb7b927d-9ca3-4229-a25d-0d8aebc1334b | Open vSwitch agent | node2
> | :-)   | True           | neutron-openvswitch-agent |
> +--------------------------------------+--------------------+-------+-------+----------------+---------------------------+
> 
> (i.e L3 agent, DHCP agent and metadata agent are not running).
> 
> a quick look at the packages installed on the nodes reveals that
> both neutron-l3-agent and neutron-dhcp-agent are actually not
> installed.  After manual installation of those packages (they pull
> in neutron-metadata-agent too) it all works as expected:

Might be charm bug. FWIW we're using rev 116 of neutron-api (which
doesn't yet have the manage-neutron-plugin-legacy-mode config) and
we're getting the python-dhcp-agent and python-vpn-agent packages.

Did you check /var/log/juju/unit-neutron*log for install errors?



> 
> ubuntu at juju-machine-0-lxc-6:~$ neutron agent-list
> +--------------------------------------+--------------------+-------+-------+----------------+---------------------------+
> | id                                   | agent_type         | host
>  | alive | admin_state_up | binary                    |
> +--------------------------------------+--------------------+-------+-------+----------------+---------------------------+
> | 09989b3d-6aab-44a8-b595-84c7505833dd | Metering agent     | node2
> | :-)   | True           | neutron-metering-agent    |
> | 0e34444b-4218-43be-9fc3-726486cba6e4 | Open vSwitch agent | node1
> | :-)   | True           | neutron-openvswitch-agent |
> | 2051a1a5-2740-4d39-813a-34caa4ca23c9 | L3 agent           | node1
> | :-)   | True           | neutron-l3-agent          |
> | 3e57cfda-570c-42f9-a9f6-bf3a9374ad8b | Loadbalancer agent | node1
> | :-)   | True           | neutron-lbaas-agent       |
> | 58d849eb-a604-4273-bcaf-f65ff07fc2c0 | Metadata agent     | node2
> | :-)   | True           | neutron-metadata-agent    |
> | 81b4702c-8b6e-41ed-81bc-938b5ca974d8 | Metering agent     | node1
> | :-)   | True           | neutron-metering-agent    |
> | ae13892e-5e6b-48b3-9b7f-0f0a9e4e09c6 | Metadata agent     | node1
> | :-)   | True           | neutron-metadata-agent    |
> | bd98fdc6-d156-4934-84f9-fe0a3d6a38fc | Loadbalancer agent | node2
> | :-)   | True           | neutron-lbaas-agent       |
> | cda24198-1862-4694-8f57-0bac4ec67676 | DHCP agent         | node1
> | :-)   | True           | neutron-dhcp-agent        |
> | d2bc081c-5689-4a29-9c68-eac80a322885 | L3 agent           | node2
> | :-)   | True           | neutron-l3-agent          |
> | eb7b927d-9ca3-4229-a25d-0d8aebc1334b | Open vSwitch agent | node2
> | :-)   | True           | neutron-openvswitch-agent |
> +--------------------------------------+--------------------+-------+-------+----------------+---------------------------+
> 
> I'm using juju 1.25 on ubuntu 14.04.3
> 
> Should those 3 agents be installed automatically or not? 
> 
> kind regards
> Pshem
> 
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151102/e3156526/attachment.pgp>


More information about the Juju mailing list