[Openstack] struggling with neutron inside VM

Dmitry S. Makovey dmitry at athabascau.ca
Fri Jun 20 18:57:29 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

I'm having a heck of a time trying to get my own setup going. I've got
as far as having all the components installed and 'openstack-status'
reporting things as expected.

The setup in using CentOS 6 VM with RDO IceHouse repo (I'm
test-driving here, so doing everything within VM). Ansible playbook
used to setup environment is here:
https://github.com/droopy4096/openstack-ng/tree/multinode (it is
heavily based on online docs for Fedora/RHEL/CentOS manuals, so using
ml2 for neutron etc.)

When trying to spawn VM I get the error:

http://pastebin.com/n0pvzy3Q

Setup is "vanilla" from above playbook with several additions:

$ PRIVATE_NET_ID=`neutron net-create private | awk '/ id / { print $4 }'`
$ PRIVATE_SUBNET1_ID=`neutron subnet-create --name private-subnet1
$PRIVATE_NET_ID 10.0.0.0/24 | awk '/ id / { print $4 }'`

$ glance image-create --name cirros --container-format bare
- --disk-format qcow2 --file /tmp/images/cirros-0.3.2-x86_64-disk.img
- --is-public True

Was I supposed to tune something specific to VM? (already added
cpu_mode=none and virt_type=qemu. Am I having trouble because my
bridge br-int is not set up completely (I didn't add any interfaces to
it)? I found  https://bugs.launchpad.net/neutron/+bug/1244255 but am
unsure whether it is relevant in my case).

Also I have had to change core_plugin and service_plugin to fully
qualified names as my DB init was failing (see
https://github.com/droopy4096/openstack-ng/blob/multinode/roles/neutron-controller/templates/neutron.conf.j2
)

I am also seeing Timeouts in agent logs (dhcp, l3, metadata):

2014-06-20 06:32:52.305 1673 TRACE neutron.agent.dhcp_agent   File
"/usr/lib/python2.6/site-packages/neutron/agent/dhcp_agent.py", line
564, in _report_state
2014-06-20 06:32:52.305 1673 TRACE neutron.agent.dhcp_agent
self.state_rpc.report_state(ctx, self.agent_state, self.use_call)
2014-06-20 06:32:52.305 1673 TRACE neutron.agent.dhcp_agent   File
"/usr/lib/python2.6/site-packages/neutron/agent/rpc.py", line 72, in
report_state
2014-06-20 06:32:52.305 1673 TRACE neutron.agent.dhcp_agent     return
self.call(context, msg, topic=self.topic)
2014-06-20 06:32:52.305 1673 TRACE neutron.agent.dhcp_agent   File
"/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/proxy.py",
line 129, in call
2014-06-20 06:32:52.305 1673 TRACE neutron.agent.dhcp_agent
exc.info, real_topic, msg.get('method'))
2014-06-20 06:32:52.305 1673 TRACE neutron.agent.dhcp_agent Timeout:
Timeout while waiting on RPC response - topic: "q-plugin", RPC method:
"report_state" info: "<unknown>"
2014-06-20 06:32:52.305 1673 TRACE neutron.agent.dhcp_agent

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iD8DBQFTpIQZyDrVuGfS98QRAo9dAKDG8s5in072VRcvQwOz6V9yVGA7tgCgxqj7
T0mMvG9kKGRfg9VPo2MOBJk=
=1mWA
-----END PGP SIGNATURE-----

-- 
    This communication is intended for the use of the recipient to whom it
    is addressed, and may contain confidential, personal, and or privileged
    information. Please contact us immediately if you are not the intended
    recipient of this communication, and do not copy, distribute, or take
    action relying on it. Any communications received in error, or
    subsequent reply, should be deleted or destroyed.
---




More information about the Openstack mailing list