Then you need to remove the host from engine, change the IP manually on the
host, via ifcfg-file, restart network service and install the host again
via the new IP address.
On Tue, Mar 20, 2018 at 2:50 PM, zois roupas <roupas_zois(a)hotmail.com>
wrote:
Hi again all,
"Unless i miss understood you here, do you use a different IP address
when switching to static or the same IP that you got from dhcp? if yes,
then this is another flow.."
To answer your question Michael , i'm trying to configure a different ip
outside of my dhcp pool. The dhcp ip is 10.0.0.245 from the range
10.0.0.245-10.0.0.250 and i want to configure the ip 10.0.0.9 as the hosts
ip
"One thing to note if you are changing the IP to different one that was
assigned by DHCP you should uncheck "Verify connectivity between Host and
Engine""
Ales, i also tried to follow your advise and uncheck the "Verify
connectivity between Host and Engine" as proposed. Again the same results,
it keeps reverting to previous dhcp ip
I will extract the vdsm log and i'll get back to you, in the meanwhile
this is the error that i see after the assignment of the static ip in the
log
2018-03-20 14:16:57,576+0200 ERROR (monitor/38f4464) [storage.Monitor]
Error checking domain 38f4464b-74b9-4468-891b-03cd65d72fec (monitor:424)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line
405, in _checkDomainStatus
self.domain.selftest()
File "/usr/lib/python2.7/site-packages/vdsm/storage/fileSD.py", line
688, in selftest
self.oop.os.statvfs(self.domaindir)
File "/usr/lib/python2.7/site-packages/vdsm/storage/outOfProcess.py",
line 243, in statvfs
return self._iop.statvfs(path)
File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line
488, in statvfs
resdict = self._sendCommand("statvfs", {"path": path},
self.timeout)
File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line
455, in _sendCommand
raise Timeout(os.strerror(errno.ETIMEDOUT))
Timeout: Connection timed out
Best Regards
Zois
------------------------------
*From:* Ales Musil <amusil(a)redhat.com>
*Sent:* Tuesday, March 20, 2018 11:28 AM
*To:* Michael Burman
*Cc:* zois roupas; users
*Subject:* Re: [ovirt-users] Change ovirtmgmt ip from dhcp to static in a
One thing to note if you are changing the IP to different one that was
assigned by DHCP you should uncheck "Verify connectivity between Host and
Engine". This makes sure that the engine won't lost connectivity and in
case of switching IP it happens.
On Tue, Mar 20, 2018 at 10:15 AM, Michael Burman <mburman(a)redhat.com>
wrote:
Indeed very odd, this shouldn't behave this way, just tested it my self
and it is working as expected. Unless i miss understood you here, do you
use a different IP address when switching to static or the same IP that you
got from dhcp? if yes, then this is another flow..
Can you please share the vdsm version and vdsm log with us?
Edy, any idea what can cause this?
On Tue, Mar 20, 2018 at 11:10 AM, zois roupas <roupas_zois(a)hotmail.com>
wrote:
Hi Michael and thanks a lot for the time
Great step by step instructions but something strange is happening while
trying to change to static ip. I tried to do the change while the host
was in maintenance mode and in activate mode but again after some minutes
the system reverts to the ip that dhcp is serving!
What am i missing here? Do you have any ideas?
Best Regards
Zois
------------------------------
*From:* Michael Burman <mburman(a)redhat.com>
*Sent:* Tuesday, March 20, 2018 8:46 AM
*To:* zois roupas
*Cc:* users(a)ovirt.org
*Subject:* Re: [ovirt-users] Change ovirtmgmt ip from dhcp to static in a
Hello Zois,
It pretty easy to do, via the webadmin UI , go to Hosts main tab > Choose
host > go to 'Network Interfaces' sub tab > Press the 'Setup Host
Networks'
button > press the pencil icon on your management network > and choose
Static IP > press OK and OK to approve the operation.
- Note that in some cases, specially if this is a SPM host you will loose
connectivity to host for few seconds and host may go to non-responsive
state, on a non-SPM host usually this woks without any specific issues.
- If the spoken host is a SPM host, I recommend to set it first to
maintenance mode, do the switch and then activate. For non-SPM host this
will work fine as well when the host is UP.
Cheers)
On Mon, Mar 19, 2018 at 12:15 PM, zois roupas <roupas_zois(a)hotmail.com>
wrote:
Hello everyone
I've made a rookie mistake by installing ovirt 4.2 in centos 7 with dhcp
instead of a static ip configuration. Both engine and host are in the same
machine cause of limited resources and i was so happy that everything
worked so well that i kept configuring and installing vm's ,adding local
and nfs storage and setting up the backup!
As you understand i must change the configuration to static ip and i can't
find any guide describing the correct procedure. Is there an official guide
to change configuration without causing any trouble?
I've found this thread
http://lists.ovirt.org/
pipermail/users/2014-May/024432.html but this is for a hosted engine and
doesn't help when both engine and host are in the same machine
Thanx in advance
Best Regards
Zois
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--
Michael Burman
Senior Quality engineer - rhv network - redhat israel
Red Hat
<
https://www.redhat.com>
mburman(a)redhat.com M: 0545355725 IM: mburman
<
https://red.ht/sig>
--
Michael Burman
Senior Quality engineer - rhv network - redhat israel
Red Hat
<
https://www.redhat.com>
mburman(a)redhat.com M: 0545355725 IM: mburman
<
https://red.ht/sig>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--
ALES MUSIL
INTERN - rhv network
Red Hat EMEA <
https://www.redhat.com/>
amusil(a)redhat.com IM: amusil
<
https://red.ht/sig>
--
Michael Burman
Senior Quality engineer - rhv network - redhat israel
Red Hat
<