Ceph-mon fails deployment looking for IP address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
conjure-up |
Invalid
|
Critical
|
Mike McCracken | ||
2.0 |
Invalid
|
Critical
|
Mike McCracken |
Bug Description
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 INFO unit.ceph-
unit-ceph-mon-2: 17:21:44 ERROR juju.worker.
In the advanced config of the charm I put in
CEPH-MON
ceph-public-network = 10.115.0.0/16
ceph-cluster-
Monitor-secret = AQDwFf5XLiNALhA
so not sure why it has the ip addresses it has??
Trying to find out why
If I ssh into the container if has two ip addresses assigned
eth0 Link encap:Ethernet HWaddr 00:16:3e:97:a9:51
inet addr:10.135.0.3 Bcast:10.
inet6 addr: fe80::216:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20529 errors:0 dropped:0 overruns:0 frame:0
TX packets:18084 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:121810552 (121.8 MB) TX bytes:1276532 (1.2 MB)
eth1 Link encap:Ethernet HWaddr 00:16:3e:20:c5:b9
inet addr:10.100.0.8 Bcast:10.
inet6 addr: fe80::216:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4556 errors:0 dropped:0 overruns:0 frame:0
TX packets:5255 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:23144109 (23.1 MB) TX bytes:940176 (940.1 KB)
neither on the network defined
It looks like the containers are inheriting the configuration from the MAAS node that is chosen at random.
If conjure-up can use the spaces and can support targeting this would work
otherwise I will need to configure every node for every OS network - otherwise the random selection will cause issues