I'm using ovirt-engine 4.3.5.5-1.el7. I installed the Metrics
Store
using this guide and its CentOS settings:
https://ovirt.org/documentation/metrics-install-guide/Installing_Metrics_...
I tried to set a static IP on the created master0 VM per the guide by
setting the network settings under the Initial Run tab of the VM
settings, but they are not applied. If I start the VM with Run Once and
the network settings, they are applied, but if I shut it down and go
back to a regular run, the VM reverts back to DHCP.
From my understanding cloud-init oVirt should only provide the data source
for cloud-init during the initial run.
But the cloud-init data should be provided during the initial run if the VM
is started by "Run" or "Run once".
Once upon a time, Dominik Holler <dholler(a)redhat.com> said:
> On Sun, Aug 11, 2019 at 3:42 PM Liran Rotenberg <lrotenbe(a)redhat.com>
wrote:
>
> > Hi again,
> > Adding +Dominik Holler
> >
>
> Thanks for the heads up.
>
>
> > If you deployed the static configuration to the VM using cloud-init
> > you might be hitting this bug:
> >
https://bugzilla.redhat.com/show_bug.cgi?id=1593010
> >
> > Let me know if this is the case. If not, please elaborate on the steps
> > you did to this VM.
> >
> >
> Which version of ovirt-engine do you use?
> Which cloud image do you use?
> Which network setting is not applied as you expect?
>
>
> > Regards,
> > Liran.
> >
> >
> >
> > On Thu, Aug 8, 2019 at 8:32 PM Chris Adams <cma(a)cmadams.net> wrote:
> > >
> > > How do you keep it from reverting back to DHCP on the next reboot?
> > >
> > > Once upon a time, Jayme <jaymef(a)gmail.com> said:
> > > > I found this a bit confusing myself. I ended up having to do it
> > manually
> > > > by logging in to the VM and changing the IP afterward.
> > > >
> > > > On Thu, Aug 8, 2019 at 11:21 AM Chris Adams <cma(a)cmadams.net>
wrote:
> > > >
> > > > > I'm following this guide:
> > > > >
> > > > >
> > > > >
> >
https://ovirt.org/documentation/metrics-install-guide/Installing_Metrics_...
> > > > >
> > > > > Specifically, the step "Setup virtual machine static IP and
Mac
> > > > > address". The deploy does a bunch of stuff automatically,
so the
> > first
> > > > > opportunity I have to do anything is after the VM is already
booted.
> > > > >
> > > > > It seems that having a DHCP server, with matching
reverse/forward DNS
> > > > > entries for each IP, is a requirement, and that there's not
a
way to
> > set
> > > > > the metrics store VM to a static IP (despite having to have a
DNS
> > entry
> > > > > pointing to an IP).
> > > > >
> > > > > Once upon a time, Liran Rotenberg <lrotenbe(a)redhat.com>
said:
> > > > > > Hi Chris,
> > > > > > Run Once option is different from normal run.
> > > > > > For cloud-init you shall need the pre-requirement:
> > > > > > A sealed VM, for example if you wish to create a template:
> > > > > >
> > > > >
> >
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/...
> > > > > > Cloud-init service should be installed and enabled on the
VM
(make
> > > > > > sure before sealing the VM).
> > > > > > Run will consume the cloud-init configuration only if it is
the
> > VM's
> > > > > first run.
> > > > > >
> > > > > > Regards,
> > > > > > Liran.
> > > > > >
> > > > > > On Thu, Aug 8, 2019 at 4:07 PM Chris Adams
<cma(a)cmadams.net>
> > wrote:
> > > > > > >
> > > > > > > I am trying to set up the oVirt Metrics Store, which
uses
> > cloud-init
> > > > > for
> > > > > > > network settings, so I set the info under the
"Initial Run"
tab.
> > > > > > > However, it doesn't seem to actually apply the
network
settings
> > unless
> > > > > I
> > > > > > > "run once" and enable clout-init there.
> > > > > > >
> > > > > > > I haven't used cloud-init before (been on my to-do
list to
check
> > out) -
> > > > > > > am I missing something?
> > > > > > >
> > > > > > > --
> > > > > > > Chris Adams <cma(a)cmadams.net>
> > > > > > > _______________________________________________
> > > > > > > Users mailing list -- users(a)ovirt.org
> > > > > > > To unsubscribe send an email to users-leave(a)ovirt.org
> > > > > > > Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
> > > > > > > oVirt Code of Conduct:
> > > > >
https://www.ovirt.org/community/about/community-guidelines/
> > > > > > > List Archives:
> > > > >
> >
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UKBKKLQQBFD...
> > > > > > _______________________________________________
> > > > > > Users mailing list -- users(a)ovirt.org
> > > > > > To unsubscribe send an email to users-leave(a)ovirt.org
> > > > > > Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
> > > > > > oVirt Code of Conduct:
> > > > >
https://www.ovirt.org/community/about/community-guidelines/
> > > > > > List Archives:
> > > > >
> >
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TAATB64XMPF...
> > > > >
> > > > > --
> > > > > Chris Adams <cma(a)cmadams.net>
> > > > > _______________________________________________
> > > > > Users mailing list -- users(a)ovirt.org
> > > > > To unsubscribe send an email to users-leave(a)ovirt.org
> > > > > Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
> > > > > oVirt Code of Conduct:
> > > > >
https://www.ovirt.org/community/about/community-guidelines/
> > > > > List Archives:
> > > > >
> >
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PKZJG2AXVMW...
> > > > >
> > >
> > > > _______________________________________________
> > > > Users mailing list -- users(a)ovirt.org
> > > > To unsubscribe send an email to users-leave(a)ovirt.org
> > > > Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
> > > > oVirt Code of Conduct:
> >
https://www.ovirt.org/community/about/community-guidelines/
> > > > List Archives:
> >
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UDRDSQQ4NJR...
> > >
> > >
> > > --
> > > Chris Adams <cma(a)cmadams.net>
> >
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OBWYGFOXDG3...
--
Chris Adams <cma(a)cmadams.net>