neutron agents

Pshem Kowalczyk pshem.k at gmail.com
Mon Nov 2 18:56:02 UTC 2015


Hi,

It doesn't look like those two packages are on the list at all:

2015-11-02 01:41:33 INFO install The following extra packages will be
installed:
2015-11-02 01:41:33 INFO install   dnsmasq-utils haproxy ipset
iputils-arping libipset3 libpq5 neutron-common
2015-11-02 01:41:33 INFO install   neutron-metadata-agent
neutron-metering-agent neutron-plugin-ml2
2015-11-02 01:41:33 INFO install   openvswitch-common python-barbicanclient
python-egenix-mxdatetime
2015-11-02 01:41:33 INFO install   python-egenix-mxtools python-httplib2
python-jsonrpclib python-neutron
2015-11-02 01:41:33 INFO install   python-neutron-lbaas
python-neutron-vpnaas python-novaclient
2015-11-02 01:41:33 INFO install   python-pyasn1-modules
2015-11-02 01:41:33 INFO install Suggested packages:
2015-11-02 01:41:33 INFO install   vim-haproxy openswan-modules-source
openswan-modules-dkms openswan-doc
2015-11-02 01:41:33 INFO install   python-egenix-mxdatetime-dbg
python-egenix-mxdatetime-doc
2015-11-02 01:41:33 INFO install   python-egenix-mxtools-dbg
python-egenix-mxtools-doc python-psycopg2-doc
2015-11-02 01:41:33 INFO install The following NEW packages will be
installed:
2015-11-02 01:41:33 INFO install   dnsmasq-utils haproxy ipset
iputils-arping libipset3 libpq5 neutron-common
2015-11-02 01:41:33 INFO install   neutron-dhcp-agent neutron-lbaas-agent
neutron-metadata-agent
2015-11-02 01:41:33 INFO install   neutron-metering-agent
neutron-plugin-metering-agent neutron-plugin-ml2
2015-11-02 01:41:33 INFO install   neutron-plugin-openvswitch-agent
neutron-vpn-agent nova-api-metadata
2015-11-02 01:41:33 INFO install   openswan openvswitch-common
openvswitch-switch python-barbicanclient
2015-11-02 01:41:33 INFO install   python-egenix-mxdatetime
python-egenix-mxtools python-httplib2
2015-11-02 01:41:33 INFO install   python-jsonrpclib python-neutron
python-neutron-fwaas python-neutron-lbaas
2015-11-02 01:41:33 INFO install   python-neutron-vpnaas python-novaclient
python-psycopg2
2015-11-02 01:41:33 INFO install   python-pyasn1-modules

That's why I wonder if that's a result of some sort of settings I've used
(or not used).

kind regards
Pshem


On Tue, 3 Nov 2015 at 03:53 Peter Sabaini <peter.sabaini at canonical.com>
wrote:

> 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
> >
> >
> >
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151102/6b6f0964/attachment.html>


More information about the Juju mailing list