On Mon, Aug 12, 2019 at 3:25 PM Chris Adams <cma@cmadams.net> wrote:
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_Store.html

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@redhat.com> said:
> On Sun, Aug 11, 2019 at 3:42 PM Liran Rotenberg <lrotenbe@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@cmadams.net> wrote:
> > >
> > > How do you keep it from reverting back to DHCP on the next reboot?
> > >
> > > Once upon a time, Jayme <jaymef@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@cmadams.net> wrote:
> > > >
> > > > > I'm following this guide:
> > > > >
> > > > >
> > > > >
> > https://ovirt.org/documentation/metrics-install-guide/Installing_Metrics_Store.html
> > > > >
> > > > > 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@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/html/virtual_machine_management_guide/chap-templates#Sealing_Virtual_Machines_in_Preparation_for_Deployment_as_Templates
> > > > > > 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@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@cmadams.net>
> > > > > > > _______________________________________________
> > > > > > > Users mailing list -- users@ovirt.org
> > > > > > > To unsubscribe send an email to users-leave@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/UKBKKLQQBFDNSVEIKETOD5GQPVVX2LBT/
> > > > > > _______________________________________________
> > > > > > Users mailing list -- users@ovirt.org
> > > > > > To unsubscribe send an email to users-leave@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/TAATB64XMPFMBV3TGO6BZOQ3RNGX7Q6A/
> > > > >
> > > > > --
> > > > > Chris Adams <cma@cmadams.net>
> > > > > _______________________________________________
> > > > > Users mailing list -- users@ovirt.org
> > > > > To unsubscribe send an email to users-leave@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/PKZJG2AXVMWDXIT4R65DQ2BJI3OZF3OQ/
> > > > >
> > >
> > > > _______________________________________________
> > > > Users mailing list -- users@ovirt.org
> > > > To unsubscribe send an email to users-leave@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/UDRDSQQ4NJRN36WTKEKAJLQLOMK6B5FG/
> > >
> > >
> > > --
> > > Chris Adams <cma@cmadams.net>
> >

> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-leave@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/OBWYGFOXDG3K7IDB7VBGC6BIQQ7X4JNG/


--
Chris Adams <cma@cmadams.net>