0

we started using MAAS (v2.4.2) but have troubles on deployment.

We can start commission on the nodes, we can also start the nodes in rescue-mode and can reach it in the rescue-mode, but if we deploy Ubuntu or Centos on the node, it doesnt get an IP-Address after the deployment and cant reach MAAS server afterwards.

We can start the node in rescue mode, mount the system-disk and check for logs, in the cloud-init-output.log we can see that there is no IP-Address:

ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
ci-info: +------------+-------+-----------------------------+-----------+-------+-------------------+
ci-info: |   Device   |   Up  |           Address           |    Mask   | Scope |     Hw-Address    |
ci-info: +------------+-------+-----------------------------+-----------+-------+-------------------+
ci-info: | enp195s0f0 | False |              .              |     .     |   .   | MAC |
ci-info: | enp195s0f1 | False |              .              |     .     |   .   | MAC |
ci-info: | enp68s0f0  |  True | fe80::6d4:c4ff:fe5c:51d4/64 |     .     |  link | MAC |
ci-info: | enp68s0f1  |  True | fe80::6d4:c4ff:fe5c:51d5/64 |     .     |  link | MAC |
ci-info: |     lo     |  True |          127.0.0.1          | 255.0.0.0 |  host |         .         |
ci-info: |     lo     |  True |           ::1/128           |     .     |  host |         .         |
ci-info: +------------+-------+-----------------------------+-----------+-------+-------------------+
ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: |   1   |  fe80::/64  |    ::   | enp68s0f1 |   U   |
ci-info: |   2   |  fe80::/64  |    ::   | enp68s0f0 |   U   |
ci-info: |   4   |    local    |    ::   | enp68s0f0 |   U   |
ci-info: |   5   |    local    |    ::   | enp68s0f1 |   U   |
ci-info: |   6   |   ff00::/8  |    ::   | enp68s0f1 |   U   |
ci-info: |   7   |   ff00::/8  |    ::   | enp68s0f0 |   U   |
ci-info: +-------+-------------+---------+-----------+-------+

on the rescue-mode-disk, we can see the right config in cloud-init-output.log:

ci-info: +++++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++++
ci-info: +------------+-------+-----------------------------+---------------+--------+-------------------+
ci-info: |   Device   |   Up  |           Address           |      Mask     | Scope  |     Hw-Address    |
ci-info: +------------+-------+-----------------------------+---------------+--------+-------------------+
ci-info: | enp195s0f0 | False |              .              |       .       |   .    | MAC |
ci-info: | enp195s0f1 | False |              .              |       .       |   .    | MAC |
ci-info: | enp68s0f0  |  True |        192.168.x.x          | 255.255.255.0 | global | MAC |
ci-info: | enp68s0f0  |  True | fe80::6d4:c4ff:fe5c:51d4/64 |       .       |  link  | MAC |
ci-info: | enp68s0f1  | False |              .              |       .       |   .    | MAC |
ci-info: |     lo     |  True |          127.0.0.1          |   255.0.0.0   |  host  |         .         |
ci-info: |     lo     |  True |           ::1/128           |       .       |  host  |         .         |
ci-info: +------------+-------+-----------------------------+---------------+--------+-------------------+
ci-info: +++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++
ci-info: +-------+--------------+--------------+-----------------+-----------+-------+
ci-info: | Route | Destination  |   Gateway    |     Genmask     | Interface | Flags |
ci-info: +-------+--------------+--------------+-----------------+-----------+-------+
ci-info: |   0   |   0.0.0.0    | 192.168.x.x |     0.0.0.0     | enp68s0f0 |   UG  |
ci-info: |   1   |   0.0.0.0    | 192.168.x.x |     0.0.0.0     | enp68s0f0 |   UG  |
ci-info: |   2   | 192.168.x.x |   0.0.0.0    |  255.255.255.0  | enp68s0f0 |   U   |
ci-info: |   3   | 192.168.x.x |   0.0.0.0    | 255.255.255.255 | enp68s0f0 |   UH  |
ci-info: +-------+--------------+--------------+-----------------+-----------+-------+

Anybody can help us?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.