Network Not Coming Up in Instances
I've done a pretty thorough search of the Q&A's here using as many keywords I can think of and can't seem to find an answer to my issue (though I'm finding a lot of people with similar issues but no resolution)
I've followed the Quickstart Guide in RDO for creating an allinone Openstack installation and configured it to work with an existing network. I have an existing network (192.168.1.0/24) on my LAN to which this new CentOS 7 running OpenStack Kilo is connected. I followed the guide and made modifications to the startup scripts of my host OS to configure the br-ex bridge and enp7s0 interface as an interface on that bridge. I've also created a private network (192.168.100.0/24 following the defaults of the guide). I've imported 3 different images (CentOS 7, Fedora 22 and CirrOS qcow2 images from the official repositories and started instances assigning private and public interfaces to all. In all cases, I cannot access the VM instances from my host (either via ICMP ping or SSH). I can access the console but cannot login as the images don't have passwords. The trick to override the passwords either via the Post-Creation script (password: mypassword) or the API ('nova root-password <instance-id>') don't seem to work (the last one resulting in a:
ERROR (HTTPNotImplemented): Unable to set password on instance (HTTP 501) (Request-ID: req-65fa3132-4003-45dd-ab15-4070404ed2f2)). From the Fedora console-log, it looks like the network interfaces aren't coming up:
A start job is running for LSB: Bring up/down networking (1min 6s / 5min 3s)[K[[32m OK [0m] Started LSB: Bring up/down networking. [[32m OK [0m] Reached target Network is Online. Starting Initial cloud-init job (metadata service crawler)... [ 70.053248] cloud-init[614]: Cloud-init v. 0.7.6 running 'init' at Fri, 19 Jun 2015 20:02:43 +0000. Up 70.03 seconds. [ 70.098909] cloud-init[614]: 2015-06-19 20:02:43,197 - util.py[WARNING]: Route info failed: Unexpected error while running command. [ 70.099204] cloud-init[614]: Command: ['netstat', '-rn'] [ 70.099384] cloud-init[614]: Exit code: 1 [ 70.099542] cloud-init[614]: Reason: - [ 70.099700] cloud-init[614]: Stdout: 'Kernel IP routing table\nDestination Gateway Genmask Flags MSS Window irtt Iface\n' [ 70.099859] cloud-init[614]: Stderr: '' [ 70.122800] cloud-init[614]: ci-info: +++++++++++++++++++++++Net device info++++++++++++++++++++++++ [ 70.130341] cloud-init[614]: ci-info: +--------+-------+-----------+-----------+-------------------+ [ 70.136699] cloud-init[614]: ci-info: | Device | Up | Address | Mask | Hw-Address | [ 70.136877] cloud-init[614]: ci-info: +--------+-------+-----------+-----------+-------------------+ [ 70.137122] cloud-init[614]: ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | [ 70.137325] cloud-init[614]: ci-info: | eth1: | False | . | . | fa:16:3e:8d:1e:65 | [ 70.137525] cloud-init[614]: ci-info: | eth0: | True | . | . | fa:16:3e:50:a2:a6 | [ 70.137717] cloud-init[614]: ci-info: +--------+-------+-----------+-----------+-------------------+ [ 70.137905] cloud-init[614]: ci-info: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Route info failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [ 70.408174] cloud-init[614]: 2015-06-19 20:02:43,506 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [0/120s]: request error [('Connection aborted.', error(101, 'Network is unreachable'))]
(the last ...
You cannot access Nova Metadata-server. Hence cloud-init cannot obtain meta-data for instance and doesn't inject ssh keypair.
This message :-
is a fair.