Real Noob question- setting a static IP on host

--_000_78BA09B27208464C8062331367F3EA13baicanadacom_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SSBhbSBpbmNyZWRpYmx5IHNvcnJ5IG92ZXIgdGhpcyBub29iIHF1ZXN0aW9uIGJ1dCBJIGFtIHJl YWxseSBiYXNoaW5nIG15IGhlYWQgdHJ5aW5nIHRvIHNpbXBseSBjaGFuZ2UgYW4gSVAgYWRkcmVz cyBvbiBhbiBPdmlydCBob3N0LiAgb1ZpcnQgd2FzIHB1c2hlZCB0byB0aGlzIGhvc3QgdGhyb3Vn aCB0aGUgc2VydmVyIHdlYiBpbnRlcmZhY2UuICBJdCBpcyBydW5uaW5nIG9uIHRvcCBvZiBDZW50 b3MgNy4NCg0KRnJvbSB0aGUgZG9jcyBpdCBzYXlzIHRvIGxvZyBpbnRvIHRoZSBob3N0IGFuZCBl ZGl0IHRoZSBpZmNmZy1vdmlydG1nbXQgZmlsZSBhbmQgSSBoYXZlIGRvbmUgYW5kIGhlcmUgYXJl IHRoZSBsYXRlc3Qgc2V0dGluZ3M6DQoNCiNHZW5lcmF0ZWQgYnkgVkRTTSB2ZXJzaW9uIDQuMTku MjgtMS5lMTcuY2VudG9zDQpERVZJQ0U6b3ZpcnRtZ210DQpUWVBFOkJyaWRnZQ0KREVMQVk9MA0K U1RQPW9mZg0KT05CT09UPXllcw0KQk9PVFBST1RPPW5vbmUNCk1UVT0xNTAwDQpERUZST1VURT15 ZXMNCk5NX0NPTlRST0xMRUQ9bm8NCklQVjZJTklUPXllcw0KSVBWNl9BVVRPQ09ORj15ZXMNCklQ QUREUj0xMC4wLjAuMjI2DQpHQVRFV0FZPTEwLjAuMC4xDQpQUkVGSVg9MTMNCkROUzE9MTAuMC4w LjkNCkROUzI9OC44LjguOA0KDQpUaGUgc2VydmVyIGNhbiByZWFjaCBldmVyeXRoaW5nIG9uIHRo ZSBuZXR3b3JrIGZpbmUuICBBbHRob3VnaCBpdCBjYW5ub3QgYmUgcmVhY2hlZCB0aHJvdWdoIHRo ZSBvVmlydCB3ZWIgaW50ZXJmYWNlIGFuZCB0aGUgaG9zdCBpcyBpbiBhIOKAnGNvbm5lY3Rpbmfi gJ0gc3RhdHVzLiAgSW4gdGhlIG9WaXJ0IHdlYiBpbnRlcmZhY2UgaWYgSSBhdHRlbXB0IHRvIGVk aXQgdGhlIE5JQyBzZXR0aW5ncyBmcm9tIERIQ1AgdG8gU3RhdGljIHRvIHJlZmxlY3QgdGhlIGNo YW5nZXMgSXZlIG1hZGUgYWJvdmUgSSBydW4gaW50byB0aGlzIGVycm9yOg0KDQoNCiAgKiAgIENh bm5vdCBzZXR1cCBOZXR3b3Jrcy4gQW5vdGhlciBTZXR1cCBOZXR3b3JrcyBvciBIb3N0IFJlZnJl c2ggcHJvY2VzcyBpbiBwcm9ncmVzcyBvbiB0aGUgaG9zdC4gUGxlYXNlIHRyeSBsYXRlci4NCg0K V2hhdCBpcyB0aGUgY29ycmVjdCBwcm9jZWR1cmUgdG8gY2hhbmdlIGEgaG9zdCBtYW5hZ2VtZW50 IElQIGZyb20gREhDUCB0byBTVEFUSUM/ICBTaG91bGQgSSBtYWtlIHRoZXNlIGNoYW5nZXMgbWFu dWFsbHkgb24gdGhlIGhvc3Qgb3IgdGhyb3VnaCB0aGUgTklDIHNldHRpbmdzIGluIHRoZSBvVmly dCB3ZWIgaW50ZXJmYWNlICh3aGVuIEkgdHJpZWQgdGhpcyBpdCBqdXN0IHNlZW1lZCB0byBoYW5n Li4pDQoNCkFueSBoZWxwIGlzIGdyZWF0bHkgYXBwcmVjaWF0ZWQuDQoNClRoYW5rcyEhDQoNCg0K QWxleA0KDQoNCg== --_000_78BA09B27208464C8062331367F3EA13baicanadacom_ Content-Type: text/html; charset="utf-8" Content-ID: <6FB4F688113E0C42AD7DBCD1BEC27217@baicanada.local> Content-Transfer-Encoding: base64 PGh0bWw+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSI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Rlci13aGl0ZS1zcGFjZTsiIGNsYXNzPSIiPg0KPGRp diBzdHlsZT0iY29sb3I6IHJnYigwLCAwLCAwKTsgZm9udC1mYW1pbHk6IEhlbHZldGljYTsgZm9u dC1zaXplOiAxMnB4OyBmb250LXN0eWxlOiBub3JtYWw7IGZvbnQtdmFyaWFudC1jYXBzOiBub3Jt YWw7IGZvbnQtd2VpZ2h0OiBub3JtYWw7IGxldHRlci1zcGFjaW5nOiBub3JtYWw7IHRleHQtYWxp Z246IHN0YXJ0OyB0ZXh0LWluZGVudDogMHB4OyB0ZXh0LXRyYW5zZm9ybTogbm9uZTsgd2hpdGUt c3BhY2U6IG5vcm1hbDsgd29yZC1zcGFjaW5nOiAwcHg7IC13ZWJraXQtdGV4dC1zdHJva2Utd2lk dGg6IDBweDsiPg0KQWxleDxiciBjbGFzcz0iIj4NCjxiciBjbGFzcz0iIj4NCjwvZGl2Pg0KPC9k aXY+DQo8L2Rpdj4NCjxiciBjbGFzcz0iIj4NCjwvYm9keT4NCjwvaHRtbD4NCg== --_000_78BA09B27208464C8062331367F3EA13baicanadacom_--

2017-09-18 18:13 GMT+02:00 Alexander Witte <alexander.witte@baicanada.com>:
I am incredibly sorry over this noob question but I am really bashing my head trying to simply change an IP address on an Ovirt host. oVirt was pushed to this host through the server web interface. It is running on top of Centos 7.
From the docs it says to log into the host and edit the ifcfg-ovirtmgmt file and I have done and here are the latest settings:
#Generated by VDSM version 4.19.28-1.e17.centos DEVICE:ovirtmgmt TYPE:Bridge DELAY=0 STP=off ONBOOT=yes BOOTPROTO=none MTU=1500 DEFROUTE=yes NM_CONTROLLED=no IPV6INIT=yes IPV6_AUTOCONF=yes IPADDR=10.0.0.226 GATEWAY=10.0.0.1 PREFIX=13 DNS1=10.0.0.9 DNS2=8.8.8.8
The server can reach everything on the network fine. Although it cannot be reached through the oVirt web interface and the host is in a “connecting” status. In the oVirt web interface if I attempt to edit the NIC settings from DHCP to Static to reflect the changes Ive made above I run into this error:
- Cannot setup Networks. Another Setup Networks or Host Refresh process in progress on the host. Please try later.
Dan, Marcin can you help here?
What is the correct procedure to change a host management IP from DHCP to STATIC? Should I make these changes manually on the host or through the NIC settings in the oVirt web interface (when I tried this it just seemed to hang..)
The administration guide related to host management is here: https://ovirt.org/documentation/admin-guide/chap-Hosts/ but it doesn't cover the change of the host network configuration. Dan and Marcin or some other sysadmin in this list may correct me, but I think the correct procedure here is: - Put the host to maintenance in the ovirt interface - change the nic settings in ovirt web interface - activate the host Derek, we should probably ensure this case is covered in the Admin guide.
Any help is greatly appreciated.
Thanks!!
Alex
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- SANDRO BONAZZOLA ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D Red Hat EMEA <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> <http://www.teraplan.it/redhat-osd-2017/>

On Fri, Sep 29, 2017 at 9:13 AM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2017-09-18 18:13 GMT+02:00 Alexander Witte <alexander.witte@baicanada.com> :
I am incredibly sorry over this noob question but I am really bashing my head trying to simply change an IP address on an Ovirt host. oVirt was pushed to this host through the server web interface. It is running on top of Centos 7.
From the docs it says to log into the host and edit the ifcfg-ovirtmgmt file
Which docs exactly? I am asking because the ifcfg is autogenerated and would be rewritten on boot based on /var/lib/vdsm/persistence and I have done and here are the latest settings:
#Generated by VDSM version 4.19.28-1.e17.centos DEVICE:ovirtmgmt TYPE:Bridge DELAY=0 STP=off ONBOOT=yes BOOTPROTO=none MTU=1500 DEFROUTE=yes NM_CONTROLLED=no IPV6INIT=yes IPV6_AUTOCONF=yes IPADDR=10.0.0.226 GATEWAY=10.0.0.1 PREFIX=13 DNS1=10.0.0.9 DNS2=8.8.8.8
The server can reach everything on the network fine. Although it cannot be reached through the oVirt web interface and the host is in a “connecting” status. In the oVirt web interface if I attempt to edit the NIC settings from DHCP to Static to reflect the changes Ive made above I run into this error:
- Cannot setup Networks. Another Setup Networks or Host Refresh process in progress on the host. Please try later.
Dan, Marcin can you help here?
I am afraid that there is no reliable way to change the management network address of a host. Well, if you've added the host via its fqdn, you could modify its DNS entry in parallel to modifying its local address, but that is not fun either. I'd suggest to remove the host from Engine, remove on-host network configuration (in ovirt-4.2 that would be possible to be done via `vdsm-tool remove-nets`. At the moment, you'd have to edit ifcfg and not reboot), and re-add the host via a new address. I hope that helps. If anybody has a smarter way to improve this process, please speak up.
What is the correct procedure to change a host management IP from DHCP to STATIC? Should I make these changes manually on the host or through the NIC settings in the oVirt web interface (when I tried this it just seemed to hang..)
The administration guide related to host management is here: https://ovirt.org/documentation/admin-guide/chap-Hosts/ but it doesn't cover the change of the host network configuration. Dan and Marcin or some other sysadmin in this list may correct me, but I think the correct procedure here is: - Put the host to maintenance in the ovirt interface - change the nic settings in ovirt web interface - activate the host
Derek, we should probably ensure this case is covered in the Admin guide.
Any help is greatly appreciated.
Thanks!!
Alex
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
SANDRO BONAZZOLA
ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
Red Hat EMEA <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> <http://www.teraplan.it/redhat-osd-2017/>

Thanks Sandro, I'll put it in the plan. Kind regards, *Derek Cadzow* Content Strategist , OSP, RHV, RHCLS, RHCI, QCI Customer Content Services dcadzow@redhat.com | mobile: 9 19.917.1195 On Fri, Sep 29, 2017 at 2:13 AM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2017-09-18 18:13 GMT+02:00 Alexander Witte <alexander.witte@baicanada.com> :
I am incredibly sorry over this noob question but I am really bashing my head trying to simply change an IP address on an Ovirt host. oVirt was pushed to this host through the server web interface. It is running on top of Centos 7.
From the docs it says to log into the host and edit the ifcfg-ovirtmgmt file and I have done and here are the latest settings:
#Generated by VDSM version 4.19.28-1.e17.centos DEVICE:ovirtmgmt TYPE:Bridge DELAY=0 STP=off ONBOOT=yes BOOTPROTO=none MTU=1500 DEFROUTE=yes NM_CONTROLLED=no IPV6INIT=yes IPV6_AUTOCONF=yes IPADDR=10.0.0.226 GATEWAY=10.0.0.1 PREFIX=13 DNS1=10.0.0.9 DNS2=8.8.8.8
The server can reach everything on the network fine. Although it cannot be reached through the oVirt web interface and the host is in a “connecting” status. In the oVirt web interface if I attempt to edit the NIC settings from DHCP to Static to reflect the changes Ive made above I run into this error:
- Cannot setup Networks. Another Setup Networks or Host Refresh process in progress on the host. Please try later.
Dan, Marcin can you help here?
What is the correct procedure to change a host management IP from DHCP to STATIC? Should I make these changes manually on the host or through the NIC settings in the oVirt web interface (when I tried this it just seemed to hang..)
The administration guide related to host management is here: https://ovirt.org/documentation/admin-guide/chap-Hosts/ but it doesn't cover the change of the host network configuration. Dan and Marcin or some other sysadmin in this list may correct me, but I think the correct procedure here is: - Put the host to maintenance in the ovirt interface - change the nic settings in ovirt web interface - activate the host
Derek, we should probably ensure this case is covered in the Admin guide.
Any help is greatly appreciated.
Thanks!!
Alex
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
SANDRO BONAZZOLA
ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
Red Hat EMEA <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> <http://www.teraplan.it/redhat-osd-2017/>
participants (4)
-
Alexander Witte
-
Dan Kenigsberg
-
Derek Cadzow
-
Sandro Bonazzola