Bug 1464043
Summary: | Cloud-init network configuraton doesn't work | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Vladimir <vshypygu> | ||||||||||||
Component: | BLL.Virt | Assignee: | eraviv | ||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Vladimir <vshypygu> | ||||||||||||
Severity: | high | Docs Contact: | |||||||||||||
Priority: | high | ||||||||||||||
Version: | 4.2.0 | CC: | 754267513, bugs, danken, eraviv, michal.skrivanek, rmccabe, tjelinek, vshypygu | ||||||||||||
Target Milestone: | ovirt-4.2.0 | Flags: | rule-engine:
ovirt-4.2+
|
||||||||||||
Target Release: | 4.2.0 | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | No Doc Update | |||||||||||||
Doc Text: |
undefined
|
Story Points: | --- | ||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2017-12-20 10:57:41 UTC | Type: | Bug | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Bug Depends On: | |||||||||||||||
Bug Blocks: | 1462654 | ||||||||||||||
Attachments: |
|
Description
Vladimir
2017-06-22 10:31:40 UTC
your meta_data.json show that you use ipv6. can you reproduce the problem with ipv4 alone? { "network-interfaces" : "iface eth1 inet static\n address 10.0.0.1\n netmask 255.255.255.0\n gateway 10.0.0.254\n dns-nameservers 8.8.8.8\niface eth1 inet6 static\n address 2620:0052:0000:2342:021a:4aff:fe16:8890\n gateway 2620:52:0:2342::1\n", "availability_zone" : "nova", "hostname" : "cloud_init_latest_vm", "launch_index" : "0", "meta" : { "role" : "server", "dsmode" : "local", "essential" : "false" }, "name" : "cloud_init_latest_vm", "network_config" : { "path" : "/etc/network/interfaces", "content_path" : "/content/0000" }, "uuid" : "40469774-b99e-4f11-9d3f-a596835cbef0" } Checked with IPv4 only for cloud-init 0.7.2 and 0.7.8 - None of them work cat /mnt/openstack/latest/meta_data.json { "network-interfaces" : "iface eth1 inet static\n address 10.0.0.1\n netmask 255.255.255.0\n gateway 10.0.0.254\n dns-nameservers 8.8.8.8\n dns-search search.testing.com\niface eth1 inet6 none\n", "availability_zone" : "nova", "hostname" : "cloud-init", "launch_index" : "0", "meta" : { "role" : "server", "dsmode" : "local", "essential" : "false" }, "name" : "cloud-init", "network_config" : { "path" : "/etc/network/interfaces", "content_path" : "/content/0000" }, "uuid" : "55a3dab7-3797-4a63-9e27-e82713d13cbb" - what is the guest operating system you are using? - can you please provide also the cloud init logs from inside of the guest? Created attachment 1292900 [details]
cloud_init log
Guest operating system is RHEL 7.3 Anything on cloud-init logs? What does 'ip addr show' on the VM show? I attached cloud-init log to the bug, see attachments Here is 'ip addr show' oputput [root@cloud222_1 ~]# ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:1a:4a:16:10:79 brd ff:ff:ff:ff:ff:ff inet 10.35.72.121/24 brd 10.35.72.255 scope global dynamic eth0 valid_lft 43122sec preferred_lft 43122sec inet6 2620:52:0:2348:21a:4aff:fe16:1079/64 scope global mngtmpaddr dynamic valid_lft 2591924sec preferred_lft 604724sec inet6 fe80::21a:4aff:fe16:1079/64 scope link valid_lft forever preferred_lft forever 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:1a:4a:16:10:7a brd ff:ff:ff:ff:ff:ff 1. Does it work with 'eth0' ? 2. Can you configure 'eth1' with DHCP and try again? I could not see the real difference in the logs, expect to suspect for some reason it only changes the config on an interface with an address (which makes sense if you use cloud-init over the 169.x network, not with a config-drive) - but I did not dive into its code to verify it, only via the logs. 1. No, it doesn't work for eth0 2. It also doesn't works I'm adding new cloud_init log to attachments Created attachment 1294893 [details]
Cloud_init log for eth0 interface
it works on 4.1 - targeting 4.2 Created attachment 1307131 [details]
7_4_cloud_init_0_7_9
Created attachment 1307132 [details]
7_3_cloud-init_0_7_9-8
Created attachment 1307138 [details]
7_3_cloud_init_output_0_7_2
Hi all, I've uploaded cloud-init logs for various RHEL & cloud_init version combinations. Neither of them worked on 4.2 networking configuration, moreover for RHEL 7.3 & cloud_init 0.7.2 cloud-init log was empty, so I attached cloud-init-output.log P.S. User configuration worked for RHEL 7.4 & cloud_init 0.7.9-9 though seems everything is working besides network. Dan, you wanted to reassign? Verified on 4.2.0-0.0.master.20171112130303.git8bc889c.el7.centos This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |