Openstack conjure-up compute instances not getting ip addresses

asked 2019-04-22 09:21:26 -0500

nickdude22 gravatar image

Hello, I'm new to the community so if I've missed any required info please let me know and I'll try to provide it.

Essentially what I've been able to identify, is that while the conjure-up of the cluster works and I'm able to reach the dashboard and create instances, the IP's shown for those instances don't appear to be on the machine itself if I connect via lxc exec container-name bash

Preliminary info:

$ uname -a
Linux aio 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release 

 $ sudo snap list
Name        Version              Rev    Tracking   Publisher   Notes
conjure-up  2.6.6-20190314.2303  1045   candidate  canonical✓  classic
core        16-2.38              6673   stable     canonical✓  core
lxd         3.12                 10601  stable     canonical✓  -

$ lxd init
Would you like to use LXD clustering? (yes/no) [default=no]:
Do you want to configure a new storage pool? (yes/no) [default=yes]:
Name of the new storage pool [default=default]:
Name of the storage backend to use (btrfs, ceph, dir, lvm, zfs) [default=zfs]: dir
Would you like to connect to a MAAS server? (yes/no) [default=no]:
Would you like to create a new local network bridge? (yes/no) [default=yes]:
What should the new bridge be called? [default=lxdbr0]:br0
What IPv4 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]:
What IPv6 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]: none
Would you like LXD to be available over the network? (yes/no) [default=no]:
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]: yes
config: {}
- config:
    ipv4.address: auto
    ipv6.address: none
  description: ""
  managed: false
  name: lxdbr0
  type: ""
- config: {}
  description: ""
  name: default
  driver: dir
- config: {}
  description: ""
      name: eth0
      nictype: bridged
      parent: br0
      type: nic
      path: /
      pool: default
      type: disk
  name: default
cluster: null

ifconfig prior to running conjure-up

$ ifconfig
en01: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet  netmask  broadcast
        inet6 fe80::2e0:4cff:fe68:9509  prefixlen 64  scopeid 0x20<link>
        inet6 2605:a000:123c:8495:50cf:cd75:fca5:383f  prefixlen 64  scopeid 0x0<global>
        inet6 2605:a000:123c:8495:2e0:4cff:fe68:9509  prefixlen 64  scopeid 0x0<global>
        ether 00:e0:4c:68:95:09  txqueuelen 1000  (Ethernet)
        RX packets 10253846  bytes 15436722548 (15.4 GB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2501429  bytes 190189087 (190.1 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet  netmask
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets ...
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2019-04-22 12:03:42 -0500

nickdude22 gravatar image

I believe I solved this by adding rules for dhcp in the security rules, the machines still do not get external IP's but internal IP's are assigned and via floating IP's I can reach the instances. I hope this helps someone in the future.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-04-22 09:21:26 -0500

Seen: 94 times

Last updated: Apr 22 '19