[ovirt-users] Cinderlib db not contained in engine-backup
Dear oVirt users, I just noticed that the ovirt_cinderlib database does not seem to be contained in the archive file created by engine-backup. Is it missing there? Or is there any other way to restore the data of the ovirt_cinderlib database in case a restore the engine-backup would be required? Best regards, Thomas ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/ETFRES2BHB2I6K3JNK2PYX7SSMYK5UVN/
Re: [ovirt-users] Duplicate host_id after deployment via GUI, how is the hosted engine host_id selected?
Dear Martin, yes, that's a good improvement! Just to let you know: The alignment of database and host ids did work and thus we now have everything aligned and will have an improved output because of your changes, thanks! Best regards, Thomas > Hi Thomas, > > I posted https://gerrit.ovirt.org/#/c/90549/ in an attempt to see how > to improve the clarity. The result is in the attachment. > > The ID is still different, but the section header shows the hostname > as well. Do you think it would be enough for you? We can't expect > people to touch the DB every time they add a host out of order and the > SPM ID is not selectable by user, because it needs to fit some storage > constraints (we use it for protecting storage metadata) and must match > the hosted engine ID now. > > Best regards > > Martin Sivak > > On Mon, Apr 23, 2018 at 2:47 PM, Thomas Klute <kl...@ingenit.com> wrote: >> Hi Martin, >> >> I fully understand. >> The only reason is that it's not only me administering this oVirt setup, >> it's a setup for a client that has 2 local administrators. >> We are trying to eliminate any configuration that might cause confusion. >> When doing a >> >> hosted-engine --vm-status >> >> a list like this is shown: >> >> --== Host 1 status ==-- >> ... >> Hostname : ovirt1.munk.de >> Host ID: 1 >> ... >> >> --== Host 2 status ==-- >> ... >> Hostname : ovirt3.munk.de >> Host ID: 2 >> ... >> >> and so on. >> This "Host 2" -> ovirt3 will sooner or later cause confusion and will >> lead to administrative actions applied to the wrong hosts. >> >> I'll give it a try and try to align the hosts and ids. I'll backup the >> old values in order to be able to roll back the changes if it does not work. >> >> Thanks for your help!! >> Best regards, >> Thomas >> >> >> >>> Hi Thomas, >>> >>> is there a real need to have them aligned? Both SPM ID and Hosted >>> engine ids are quite hidden and accompanied by hostname where visible. >>> >>> I understand the urge to have everything neatly organized, but playing >>> with hosted engine IDs and SPM IDs will bring you nothing but trouble. >>> >>> Theoretically you could put all hosts to maintenance, hosted engine to >>> global maintenance, stop the engine service and update the DB and >>> hosted engine config files. Changing anything when active is a big >>> NO-NO. And I can't promise stability even if you stop everything >>> first. >>> >>> The short version: Please change hosted engine ID to match SPM ID >>> (/etc/ovirt-hosted-engine/hosted-engine.conf) and ignore the hostname >>> vs ID mismatch. All other options might cost you.. >>> >>> Best regards >>> >>> -- >>> Martin Sivak >>> SLA / oVirt >>> >>> On Mon, Apr 23, 2018 at 2:26 PM, Thomas Klute <kl...@ingenit.com> wrote: >>>> Dear Simone, >>>> >>>> thanks for the help, I already have noticed, that there is a mismatch >>>> between SPM IDs and the hosts. >>>> From my knowledge this may be our fault. >>>> >>>> vds_name | vds_spm_id >>>> oVirt4 | 3 >>>> oVirt2 | 4 >>>> oVirt6 | 6 >>>> oVirt5 | 5 >>>> oVirt1 | 1 >>>> oVirt3 | 2 >>>> >>>> oVirt3 was re-installed using the node ng image - and was assigned id 2 >>>> that >>>> was available at that time (taken into account this database query). >>>> It was not available in fact because of the host ovirt2 having the >>>> host_id=2 >>>> entry in the configuration on the host and the sanlock having locked the >>>> appropriate space. >>>> >>>> I can't remember where this mismatch came from but I assume that some time >>>> ago someone maybe manually changed the entry on oVirt2 host in order to >>>> match with the hostname (oVirtX -> Host id X). >>>> Thus I think it is not a bug at the moment. >>>> >>>> But that leads me to the next question: >>>> >>>> Is there a manual way to align numbers in the hostnames with the SPM IDs? >>>> (oVirt4 should be spm id 4) >>>> >>>> Does this work? Update the database, chan
Re: [ovirt-users] Hosted Engine won't start, how to debug?
Dear Martin, a follow up question regarding this case: we managed to get the hosted engine up and running again, but we'd like to permanently add the missing graphics device to the vm.conf (instead of starting with the vm-custom.conf in case of trouble). How do I add this line to the vm.conf config file (it seems to be overwritten after a few seconds - I suppose it's copied from somewhere?) Thanks, Thomas > Hi, > > the vnc device is there by default (I copied it out of my own hosted > engine instance), I do not know why it was missing in your case. > > Best regards > > Martin Sivak > > On Fri, Apr 13, 2018 at 5:13 PM, Thomas Klute <kl...@ingenit.com> wrote: >> Dear Martin, >> >> yes, that worked. Thank you so much!! >> We were able to see that the latest kernel update failed and did not >> create the initramfs file and thus the boot process failed with a kernel >> panic. >> >> Debugging this problem took us many hours... It felt so complicated to >> connect a vnc to this vm - compared to a bare metal setup with display >> and keyboard. >> Wouldn't it be a good idea to have the vnc device in the config by default? >> >> Best regards, >> Thomas >> >>> You need to be in global maintenance, but I think you already know that. >>> Then try updating the vm.conf like you already did and add this line: >>> >>> devices={device:vnc,type:graphics,deviceId:f1d0394e-b077-4ea6-99e5-b9b6b8fe073c,address:None} >>> >>> Then restart the VM using hosted-engine commands and try the VNC approach >>> again. >>> >>> Best regards >>> >>> Martin Sivak >>> >>> On Fri, Apr 13, 2018 at 2:35 PM, Thomas Klute <kl...@ingenit.com> wrote: >>>> Dear Martin, >>>> >>>> thanks for the feedback. >>>> We already read this and tried it. >>>> It seems to me that the graphics device was removed from the hosted >>>> engine by some ovirt release. >>>> >>>> If I try to set a console password I see this message: >>>> >>>> hosted-engine --add-console-password >>>> Enter password: >>>> no graphics devices configured >>>> >>>> Furthermore, there is nothing listening on port 5900 after that. >>>> The HostedEngine qemu process shows a " -display none " as parameter and >>>> I have no idea where this can be changed. >>>> >>>> I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf >>>> containing: >>>> display=vnc >>>> kvmEnable=true >>>> >>>> But nothing changed. >>>> I also edited the HostedEngine VM config using virsh and added a vnc >>>> display: >>>> /usr/bin/virsh -c >>>> qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit >>>> HostedEngine >>>> >>>> >>>> >>>> >>>> >>>> >>> heads='1' primary='yes'/> >>>> >>> function='0x0'/> >>>> >>>> >>>> But there is still "display none" passed as command line parameter to >>>> qemu and thus, I suppose, there's no display. >>>> >>>> Any help is appreciated, thanks, >>>> Thomas >>>> >>>> >>>>> Hi, >>>>> >>>>> the serial console will show output if the kernel knows to use it. >>>>> >>>>> The VNC approach is also possible and I believe we already have a >>>>> graphical device present. What you are looking for is probably this >>>>> (VNC method is described there): >>>>> https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems >>>>> >>>>> Best regards >>>>> >>>>> -- >>>>> Martin Sivak >>>>> SLA / oVirt >>>>> >>>>> On Fri, Apr 13, 2018 at 11:26 AM, Thomas Klute <kl...@ingenit.com> wrote: >>>>>> Dear oVirt Team, >>>>>> >>>>>> after trying to reboot a hosted engine setup on oVirt 4.2 the VM won't >>>>>> come up anymore. >>>>>> The qemu-kvm process is there but we're unable to access the VM using >>>>>> - the serial console (simply does not show anything, does not react to >>>>>> characters typed) >>>>>> - VNC / Spice because
Re: [ovirt-users] Duplicate host_id after deployment via GUI, how is the hosted engine host_id selected?
Hi Martin, I fully understand. The only reason is that it's not only me administering this oVirt setup, it's a setup for a client that has 2 local administrators. We are trying to eliminate any configuration that might cause confusion. When doing a hosted-engine --vm-status a list like this is shown: --== Host 1 status ==-- ... Hostname : ovirt1.munk.de Host ID : 1 ... --== Host 2 status ==-- ... Hostname : ovirt3.munk.de Host ID : 2 ... and so on. This "Host 2" -> ovirt3 will sooner or later cause confusion and will lead to administrative actions applied to the wrong hosts. I'll give it a try and try to align the hosts and ids. I'll backup the old values in order to be able to roll back the changes if it does not work. Thanks for your help!! Best regards, Thomas > Hi Thomas, > > is there a real need to have them aligned? Both SPM ID and Hosted > engine ids are quite hidden and accompanied by hostname where visible. > > I understand the urge to have everything neatly organized, but playing > with hosted engine IDs and SPM IDs will bring you nothing but trouble. > > Theoretically you could put all hosts to maintenance, hosted engine to > global maintenance, stop the engine service and update the DB and > hosted engine config files. Changing anything when active is a big > NO-NO. And I can't promise stability even if you stop everything > first. > > The short version: Please change hosted engine ID to match SPM ID > (/etc/ovirt-hosted-engine/hosted-engine.conf) and ignore the hostname > vs ID mismatch. All other options might cost you.. > > Best regards > > -- > Martin Sivak > SLA / oVirt > > On Mon, Apr 23, 2018 at 2:26 PM, Thomas Klute <kl...@ingenit.com> wrote: >> Dear Simone, >> >> thanks for the help, I already have noticed, that there is a mismatch >> between SPM IDs and the hosts. >> From my knowledge this may be our fault. >> >> vds_name | vds_spm_id >> oVirt4 | 3 >> oVirt2 | 4 >> oVirt6 | 6 >> oVirt5 | 5 >> oVirt1 | 1 >> oVirt3 | 2 >> >> oVirt3 was re-installed using the node ng image - and was assigned id 2 that >> was available at that time (taken into account this database query). >> It was not available in fact because of the host ovirt2 having the host_id=2 >> entry in the configuration on the host and the sanlock having locked the >> appropriate space. >> >> I can't remember where this mismatch came from but I assume that some time >> ago someone maybe manually changed the entry on oVirt2 host in order to >> match with the hostname (oVirtX -> Host id X). >> Thus I think it is not a bug at the moment. >> >> But that leads me to the next question: >> >> Is there a manual way to align numbers in the hostnames with the SPM IDs? >> (oVirt4 should be spm id 4) >> >> Does this work? Update the database, change the entry in hosted-engine.conf >> and then reboot the node? >> >> Thanks & best regards, >> Thomas >> >> >> >> >> On Mon, Apr 23, 2018 at 1:04 PM, Martin Sivak <msi...@redhat.com> wrote: >>> Hello, >>> >>> the ID should be coming from the SPM ID of the host as assigned by the >>> engine and duplicates should not be happening indeed. >>> >>> Can you please tell us what version of engine you have and how was >>> first hosted engine node deployed? We recently changed the default >>> deployment method (4.2.2 in fact) and we would like to know whether >>> this might be related to that change or not. >>> >>> Simone, do you know how to debug this? Are there logs we could use to >>> check the behavior? The host-deploy logs maybe? >> >> Thomas, >> can you please share the output of >> sudo -u postgres scl enable rh-postgresql95 -- psql -d engine -c "select >> vds_id, vds_name, vds_spm_id from vds" >> executed on the engine VM >> >> and the content of /var/log/ovirt-engine/host-deploy (still from the engine >> VM)? >> >>> >>> Best regards >>> >>> -- >>> Martin Sivak >>> SLA / oVirt >>> >>> On Mon, Apr 23, 2018 at 12:54 PM, Thomas Klute <kl...@ingenit.com> wrote: >>>> Dear oVirt Users, >>>> >>>> we installed a third ovirt node using the ovirt node ng image (4.2.2), >>>> and >>>> added that node using the web interface of the hosted engine: >>>> &g
Re: [ovirt-users] Duplicate host_id after deployment via GUI, how is the hosted engine host_id selected?
Dear Simone, thanks for the help, I already have noticed, that there is a mismatch between SPM IDs and the hosts. >From my knowledge this may be our fault. vds_name | vds_spm_id oVirt4 | 3 oVirt2 | 4 oVirt6 | 6 oVirt5 | 5 oVirt1 | 1 oVirt3 | 2 oVirt3 was re-installed using the node ng image - and was assigned id 2 that was available at that time (taken into account this database query). It was not available in fact because of the host ovirt2 having the host_id=2 entry in the configuration on the host and the sanlock having locked the appropriate space. I can't remember where this mismatch came from but I assume that some time ago someone maybe manually changed the entry on oVirt2 host in order to match with the hostname (oVirtX -> Host id X). Thus I think it is not a bug at the moment. But that leads me to the next question: Is there a manual way to align numbers in the hostnames with the SPM IDs? (oVirt4 should be spm id 4) Does this work? Update the database, change the entry in hosted-engine.conf and then reboot the node? Thanks & best regards, Thomas > > > On Mon, Apr 23, 2018 at 1:04 PM, Martin Sivak <msi...@redhat.com > <mailto:msi...@redhat.com>> wrote: > > Hello, > > the ID should be coming from the SPM ID of the host as assigned by the > engine and duplicates should not be happening indeed. > > Can you please tell us what version of engine you have and how was > first hosted engine node deployed? We recently changed the default > deployment method (4.2.2 in fact) and we would like to know whether > this might be related to that change or not. > > Simone, do you know how to debug this? Are there logs we could use to > check the behavior? The host-deploy logs maybe? > > > Thomas, > can you please share the output of > sudo -u postgres scl enable rh-postgresql95 -- psql -d engine -c > "select vds_id, vds_name, vds_spm_id from vds" > executed on the engine VM > > and the content of /var/log/ovirt-engine/host-deploy (still from the > engine VM)? > > > > Best regards > > -- > Martin Sivak > SLA / oVirt > > On Mon, Apr 23, 2018 at 12:54 PM, Thomas Klute <kl...@ingenit.com > <mailto:kl...@ingenit.com>> wrote: > > Dear oVirt Users, > > > > we installed a third ovirt node using the ovirt node ng image > (4.2.2), and > > added that node using the web interface of the hosted engine: > > > > Compute->Hosts->New - including the Hosted engine option "Choose > hosted > > engine deployment action" set to "Deploy" > > > > After that we found out, that on the new node the host_id entry > was causing > > problems. In > > > > /etc/ovirt-hosted-engine/hosted-engine.conf > > > > we found the entry > > > > ... > > host_id=2 > > ... > > > > But that host id already exists and was alive during deployment > process. > > So my questions are: > > > > How is the host id chosen (when adding a new host via GUI)? > > Is there an option to preselect the host id in the GUI for a new > node? > > How can we prevent further duplicate host ids? > > > > Thanks and best regards, > > Thomas > > > > > > -- > > > > > > > Dipl.-Inform. Thomas Klute > kl...@ingenit.com <mailto:kl...@ingenit.com> > > Geschäftsführer / CEO > > > ------ > > ingenit GmbH & Co. KG Tel. +49 (0)231 58 > 698-120 > > Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 > 698-121 > > D-44227 Dortmund > www.ingenit.com <http://www.ingenit.com> > > > > Registergericht: Amtsgericht Dortmund, HRA 13 914 > > Gesellschafter : Thomas Klute, Marc-Christian Schröer > > > > > > > > > ___ > > Users mailing list > > Users@ovirt.org <mailto:Users@ovirt.org> > > http://lists.ovirt.org/mailman/listinfo/users > <http://lists.ovirt.org/mailman/listinfo/users> >
[ovirt-users] Duplicate host_id after deployment via GUI, how is the hosted engine host_id selected?
Dear oVirt Users, we installed a third ovirt node using the ovirt node ng image (4.2.2), and added that node using the web interface of the hosted engine: Compute->Hosts->New - including the Hosted engine option "Choose hosted engine deployment action" set to "Deploy" After that we found out, that on the new node the host_id entry was causing problems. In /etc/ovirt-hosted-engine/hosted-engine.conf we found the entry ... host_id=2 ... But that host id already exists and was alive during deployment process. So my questions are: * How is the host id chosen (when adding a new host via GUI)? * Is there an option to preselect the host id in the GUI for a new node? * How can we prevent further duplicate host ids? Thanks and best regards, Thomas -- ________ Dipl.-Inform. Thomas Klute kl...@ingenit.com Geschäftsführer / CEO -- ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120 Emil-Figge-Strasse 76-80Fax. +49 (0)231 58 698-121 D-44227 Dortmund www.ingenit.com Registergericht: Amtsgericht Dortmund, HRA 13 914 Gesellschafter : Thomas Klute, Marc-Christian Schröer ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Hosted Engine won't start, how to debug?
Dear Martin, thanks, ok, good to know. We have a hosted engine that was created on ovirt 3.x and after that has only been updated. Maybe this is the cause. Thanks for your help again. Best regards, Thomas > Hi, > > the vnc device is there by default (I copied it out of my own hosted > engine instance), I do not know why it was missing in your case. > > Best regards > > Martin Sivak > > On Fri, Apr 13, 2018 at 5:13 PM, Thomas Klute <kl...@ingenit.com> wrote: >> Dear Martin, >> >> yes, that worked. Thank you so much!! >> We were able to see that the latest kernel update failed and did not >> create the initramfs file and thus the boot process failed with a kernel >> panic. >> >> Debugging this problem took us many hours... It felt so complicated to >> connect a vnc to this vm - compared to a bare metal setup with display >> and keyboard. >> Wouldn't it be a good idea to have the vnc device in the config by default? >> >> Best regards, >> Thomas >> >>> You need to be in global maintenance, but I think you already know that. >>> Then try updating the vm.conf like you already did and add this line: >>> >>> devices={device:vnc,type:graphics,deviceId:f1d0394e-b077-4ea6-99e5-b9b6b8fe073c,address:None} >>> >>> Then restart the VM using hosted-engine commands and try the VNC approach >>> again. >>> >>> Best regards >>> >>> Martin Sivak >>> >>> On Fri, Apr 13, 2018 at 2:35 PM, Thomas Klute <kl...@ingenit.com> wrote: >>>> Dear Martin, >>>> >>>> thanks for the feedback. >>>> We already read this and tried it. >>>> It seems to me that the graphics device was removed from the hosted >>>> engine by some ovirt release. >>>> >>>> If I try to set a console password I see this message: >>>> >>>> hosted-engine --add-console-password >>>> Enter password: >>>> no graphics devices configured >>>> >>>> Furthermore, there is nothing listening on port 5900 after that. >>>> The HostedEngine qemu process shows a " -display none " as parameter and >>>> I have no idea where this can be changed. >>>> >>>> I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf >>>> containing: >>>> display=vnc >>>> kvmEnable=true >>>> >>>> But nothing changed. >>>> I also edited the HostedEngine VM config using virsh and added a vnc >>>> display: >>>> /usr/bin/virsh -c >>>> qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit >>>> HostedEngine >>>> >>>> >>>> >>>> >>>> >>>> >>> heads='1' primary='yes'/> >>>> >>> function='0x0'/> >>>> >>>> >>>> But there is still "display none" passed as command line parameter to >>>> qemu and thus, I suppose, there's no display. >>>> >>>> Any help is appreciated, thanks, >>>> Thomas >>>> >>>> >>>>> Hi, >>>>> >>>>> the serial console will show output if the kernel knows to use it. >>>>> >>>>> The VNC approach is also possible and I believe we already have a >>>>> graphical device present. What you are looking for is probably this >>>>> (VNC method is described there): >>>>> https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems >>>>> >>>>> Best regards >>>>> >>>>> -- >>>>> Martin Sivak >>>>> SLA / oVirt >>>>> >>>>> On Fri, Apr 13, 2018 at 11:26 AM, Thomas Klute <kl...@ingenit.com> wrote: >>>>>> Dear oVirt Team, >>>>>> >>>>>> after trying to reboot a hosted engine setup on oVirt 4.2 the VM won't >>>>>> come up anymore. >>>>>> The qemu-kvm process is there but we're unable to access the VM using >>>>>> - the serial console (simply does not show anything, does not react to >>>>>> characters typed) >>>>>> - VNC / Spice because the hosted engine vm.conf does not contain any >>>>>> graphics device. >>>>>> >>>>>> Before trying to reinstall, we'd like to recover an
Re: [ovirt-users] Hosted Engine won't start, how to debug?
Dear Martin, yes, that worked. Thank you so much!! We were able to see that the latest kernel update failed and did not create the initramfs file and thus the boot process failed with a kernel panic. Debugging this problem took us many hours... It felt so complicated to connect a vnc to this vm - compared to a bare metal setup with display and keyboard. Wouldn't it be a good idea to have the vnc device in the config by default? Best regards, Thomas > You need to be in global maintenance, but I think you already know that. > Then try updating the vm.conf like you already did and add this line: > > devices={device:vnc,type:graphics,deviceId:f1d0394e-b077-4ea6-99e5-b9b6b8fe073c,address:None} > > Then restart the VM using hosted-engine commands and try the VNC approach > again. > > Best regards > > Martin Sivak > > On Fri, Apr 13, 2018 at 2:35 PM, Thomas Klute <kl...@ingenit.com> wrote: >> Dear Martin, >> >> thanks for the feedback. >> We already read this and tried it. >> It seems to me that the graphics device was removed from the hosted >> engine by some ovirt release. >> >> If I try to set a console password I see this message: >> >> hosted-engine --add-console-password >> Enter password: >> no graphics devices configured >> >> Furthermore, there is nothing listening on port 5900 after that. >> The HostedEngine qemu process shows a " -display none " as parameter and >> I have no idea where this can be changed. >> >> I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf >> containing: >> display=vnc >> kvmEnable=true >> >> But nothing changed. >> I also edited the HostedEngine VM config using virsh and added a vnc >> display: >> /usr/bin/virsh -c >> qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit >> HostedEngine >> >> >> >> >> >> > heads='1' primary='yes'/> >> > function='0x0'/> >> >> >> But there is still "display none" passed as command line parameter to >> qemu and thus, I suppose, there's no display. >> >> Any help is appreciated, thanks, >> Thomas >> >> >>> Hi, >>> >>> the serial console will show output if the kernel knows to use it. >>> >>> The VNC approach is also possible and I believe we already have a >>> graphical device present. What you are looking for is probably this >>> (VNC method is described there): >>> https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems >>> >>> Best regards >>> >>> -- >>> Martin Sivak >>> SLA / oVirt >>> >>> On Fri, Apr 13, 2018 at 11:26 AM, Thomas Klute <kl...@ingenit.com> wrote: >>>> Dear oVirt Team, >>>> >>>> after trying to reboot a hosted engine setup on oVirt 4.2 the VM won't >>>> come up anymore. >>>> The qemu-kvm process is there but we're unable to access the VM using >>>> - the serial console (simply does not show anything, does not react to >>>> characters typed) >>>> - VNC / Spice because the hosted engine vm.conf does not contain any >>>> graphics device. >>>> >>>> Before trying to reinstall, we'd like to recover and debug what is going >>>> on. >>>> We mounted a Centos7 install .iso and started the VM using >>>> hosted-engine --vm-start >>>> --vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf >>>> But we still have to problem, that the serial console does not show >>>> anything and there is no way to connect using VNC. >>>> >>>> So, what is the recommended way to move forward in such situation? >>>> IMHO the classical way would be to add a graphics device and connect via >>>> VNC? >>>> I did not use the serial console much, up to now. Should the serial >>>> console show any output during boot? >>>> >>>> Thanks for your help, >>>> Thomas >>>> >>>> -- >>>> >>>> >>>> Dipl.-Inform. Thomas Klute kl...@ingenit.com >>>> Geschäftsführer / CEO >>>> ------ >>>> ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120 >>>> Emil-Figge-Strasse 76-80F
Re: [ovirt-users] Hosted Engine won't start, how to debug?
Dear Martin, thanks for the feedback. We already read this and tried it. It seems to me that the graphics device was removed from the hosted engine by some ovirt release. If I try to set a console password I see this message: hosted-engine --add-console-password Enter password: no graphics devices configured Furthermore, there is nothing listening on port 5900 after that. The HostedEngine qemu process shows a " -display none " as parameter and I have no idea where this can be changed. I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf containing: display=vnc kvmEnable=true But nothing changed. I also edited the HostedEngine VM config using virsh and added a vnc display: /usr/bin/virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit HostedEngine But there is still "display none" passed as command line parameter to qemu and thus, I suppose, there's no display. Any help is appreciated, thanks, Thomas > Hi, > > the serial console will show output if the kernel knows to use it. > > The VNC approach is also possible and I believe we already have a > graphical device present. What you are looking for is probably this > (VNC method is described there): > https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems > > Best regards > > -- > Martin Sivak > SLA / oVirt > > On Fri, Apr 13, 2018 at 11:26 AM, Thomas Klute <kl...@ingenit.com> wrote: >> Dear oVirt Team, >> >> after trying to reboot a hosted engine setup on oVirt 4.2 the VM won't >> come up anymore. >> The qemu-kvm process is there but we're unable to access the VM using >> - the serial console (simply does not show anything, does not react to >> characters typed) >> - VNC / Spice because the hosted engine vm.conf does not contain any >> graphics device. >> >> Before trying to reinstall, we'd like to recover and debug what is going on. >> We mounted a Centos7 install .iso and started the VM using >> hosted-engine --vm-start >> --vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf >> But we still have to problem, that the serial console does not show >> anything and there is no way to connect using VNC. >> >> So, what is the recommended way to move forward in such situation? >> IMHO the classical way would be to add a graphics device and connect via >> VNC? >> I did not use the serial console much, up to now. Should the serial >> console show any output during boot? >> >> Thanks for your help, >> Thomas >> >> -- >> >> >> Dipl.-Inform. Thomas Klute kl...@ingenit.com >> Geschäftsführer / CEO >> -- >> ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120 >> Emil-Figge-Strasse 76-80Fax. +49 (0)231 58 698-121 >> D-44227 Dortmund www.ingenit.com >> >> Registergericht: Amtsgericht Dortmund, HRA 13 914 >> Gesellschafter : Thomas Klute, Marc-Christian Schröer >> ________ >> >> ___ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users > Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit gerne zur Verfügung. Mit Grüßen aus Dortmund, Thomas Klute -- Dipl.-Inform. Thomas Klute kl...@ingenit.com Geschäftsführer / CEO ------ ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120 Emil-Figge-Strasse 76-80Fax. +49 (0)231 58 698-121 D-44227 Dortmund www.ingenit.com Registergericht: Amtsgericht Dortmund, HRA 13 914 Gesellschafter : Thomas Klute, Marc-Christian Schröer ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Hosted Engine won't start, how to debug?
Dear oVirt Team, after trying to reboot a hosted engine setup on oVirt 4.2 the VM won't come up anymore. The qemu-kvm process is there but we're unable to access the VM using - the serial console (simply does not show anything, does not react to characters typed) - VNC / Spice because the hosted engine vm.conf does not contain any graphics device. Before trying to reinstall, we'd like to recover and debug what is going on. We mounted a Centos7 install .iso and started the VM using hosted-engine --vm-start --vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf But we still have to problem, that the serial console does not show anything and there is no way to connect using VNC. So, what is the recommended way to move forward in such situation? IMHO the classical way would be to add a graphics device and connect via VNC? I did not use the serial console much, up to now. Should the serial console show any output during boot? Thanks for your help, Thomas -- Dipl.-Inform. Thomas Klute kl...@ingenit.com Geschäftsführer / CEO -- ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120 Emil-Figge-Strasse 76-80Fax. +49 (0)231 58 698-121 D-44227 Dortmund www.ingenit.com Registergericht: Amtsgericht Dortmund, HRA 13 914 Gesellschafter : Thomas Klute, Marc-Christian Schröer ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Cloning a VM with Ceph/Cinder based disk leaves disk in locked state
ploader-4.0.1-1.el7.centos.noarch ovirt-engine-sdk-python-3.6.9.1-1.el7.centos.noarch ovirt-release40-4.0.5-2.noarch ovirt-engine-tools-4.0.5.5-1.el7.centos.noarch ovirt-engine-dashboard-1.0.5-1.el7.centos.noarch ovirt-engine-backend-4.0.5.5-1.el7.centos.noarch ovirt-engine-4.0.5.5-1.el7.centos.noarch ovirt-engine-dwh-4.0.5-1.el7.centos.noarch ovirt-engine-cli-3.6.8.1-1.el7.centos.noarch ovirt-imageio-proxy-0.4.0-0.201608310602.gita9b573b.el7.centos.noarch ovirt-guest-tools-iso-4.0-1.fc23.noarch ovirt-engine-dwh-setup-4.0.5-1.el7.centos.noarch python-ovirt-engine-sdk4-4.0.2-1.el7.centos.x86_64 ovirt-engine-vmconsole-proxy-helper-4.0.5.5-1.el7.centos.noarch ovirt-engine-tools-backup-4.0.5.5-1.el7.centos.noarch ovirt-engine-webadmin-portal-4.0.5.5-1.el7.centos.noarch ovirt-engine-userportal-4.0.5.5-1.el7.centos.noarch Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit gerne zur Verfügung. Mit Grüßen aus Dortmund, Thomas Klute -- ________ Dipl.-Inform. Thomas Klute kl...@ingenit.com Geschäftsführer / CEO -- ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120 Emil-Figge-Strasse 76-80Fax. +49 (0)231 58 698-121 D-44227 Dortmund www.ingenit.com Registergericht: Amtsgericht Dortmund, HRA 13 914 Gesellschafter : Thomas Klute, Marc-Christian Schröer ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Foreign key constraint violation on oVirt Node removal
Dear oVirt Users, using the most recent (stable) hosted engine release (4.0.4) we are unable to remove an oVirt node using the GUI: Engine.log says: - 2016-10-25 17:14:59,300 INFO [org.ovirt.engine.core.bll.RemoveVdsCommand] (default task-10) [4bde1aa7] Lock Acquired to object 'EngineLock:{exclusiveLocks='[1014c79a-5565-430d-8076-778893948f0f=]', sharedLocks='null'}' 2016-10-25 17:14:59,324 INFO [org.ovirt.engine.core.bll.RemoveVdsCommand] (org.ovirt.thread.pool-8-thread-36) [4bde1aa7] Running command: RemoveVdsCommand internal: false. Entities affected : ID: 1014c79a-5565-430d-8076-778893948f0f Type: VDSAction group DELETE_HOST with role type ADMIN 2016-10-25 17:14:59,369 INFO [org.ovirt.engine.core.utils.transaction.TransactionSupport] (org.ovirt.thread.pool-8-thread-36) [4bde1aa7] transaction rolled back 2016-10-25 17:14:59,370 ERROR [org.ovirt.engine.core.bll.RemoveVdsCommand] (org.ovirt.thread.pool-8-thread-36) [4bde1aa7] Command 'org.ovirt.engine.core.bll.RemoveVdsCommand' failed: CallableStatementCallback; SQL [{call deletevdsstatic(?)}]; ERROR: update or delete on table "vds_static" violates foreign key constraint "vds_static_vm_dynamic_m" on table "vm_dynamic" Detail: Key (vds_id)=(1014c79a-5565-430d-8076-778893948f0f) is still referenced from table "vm_dynamic". Where: SQL statement "DELETE FROM vds_static WHERE vds_id = v_vds_id" PL/pgSQL function deletevdsstatic(uuid) line 11 at SQL statement; nested exception is org.postgresql.util.PSQLException: ERROR: update or delete on table "vds_static" violates foreign key constraint "vds_static_vm_dynamic_m" on table "vm_dynamic" Detail: Key (vds_id)=(1014c79a-5565-430d-8076-778893948f0f) is still referenced from table "vm_dynamic". Where: SQL statement "DELETE FROM vds_static WHERE vds_id = v_vds_id" PL/pgSQL function deletevdsstatic(uuid) line 11 at SQL statement 2016-10-25 17:14:59,370 ERROR [org.ovirt.engine.core.bll.RemoveVdsCommand] (org.ovirt.thread.pool-8-thread-36) [4bde1aa7] Exception: org.springframework.dao.DataIntegrityViolationException: CallableStatementCallback; SQL [{call deletevdsstatic(?)}]; ERROR: update or delete on table "vds_static" violates foreign key constraint "vds_static_vm_dynamic_m" on table "vm_dynamic" Detail: Key (vds_id)=(1014c79a-5565-430d-8076-778893948f0f) is still referenced from table "vm_dynamic". Where: SQL statement "DELETE FROM vds_static WHERE vds_id = v_vds_id" PL/pgSQL function deletevdsstatic(uuid) line 11 at SQL statement; nested exception is org.postgresql.util.PSQLException: ERROR: update or delete on table "vds_static" violates foreign key constraint "vds_static_vm_dynamic_m" on table "vm_dynamic" Detail: Key (vds_id)=(1014c79a-5565-430d-8076-778893948f0f) is still referenced from table "vm_dynamic". Where: SQL statement "DELETE FROM vds_static WHERE vds_id = v_vds_id" PL/pgSQL function deletevdsstatic(uuid) line 11 at SQL statement at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:1094) [spring-jdbc.jar:4.2.4.RELEASE] The RPMs installed are: ovirt-engine-jboss-as-7.1.1-1.el7.centos.x86_64 ovirt-vmconsole-proxy-1.0.4-1.el7.centos.noarch ovirt-engine-lib-4.0.4.4-1.el7.centos.noarch ovirt-engine-setup-plugin-ovirt-engine-4.0.4.4-1.el7.centos.noarch ovirt-engine-extension-aaa-jdbc-1.1.0-1.el7.noarch ovirt-host-deploy-java-1.5.2-1.el7.centos.noarch ovirt-engine-wildfly-overlay-10.0.0-1.el7.noarch ovirt-engine-wildfly-10.0.0-1.el7.x86_64 ovirt-iso-uploader-4.0.1-1.el7.centos.noarch ovirt-engine-webadmin-portal-4.0.4.4-1.el7.centos.noarch ovirt-engine-restapi-4.0.4.4-1.el7.centos.noarch ovirt-guest-agent-common-1.0.12-3.el7.noarch ovirt-vmconsole-1.0.4-1.el7.centos.noarch ovirt-engine-dwh-4.0.2-1.el7.centos.noarch ovirt-release36-3.6.6-1.noarch ovirt-engine-dashboard-1.0.3-1.el7.centos.noarch ovirt-engine-tools-4.0.4.4-1.el7.centos.noarch ovirt-engine-backend-4.0.4.4-1.el7.centos.noarch ovirt-engine-4.0.4.4-1.el7.centos.noarch ovirt-setup-lib-1.0.2-1.el7.centos.noarch ovirt-engine-setup-base-4.0.4.4-1.el7.centos.noarch ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.0.4.4-1.el7.centos.noarch ovirt-engine-setup-4.0.4.4-1.el7.centos.noarch ovirt-imageio-common-0.4.0-1.el7.noarch ovirt-imageio-proxy-setup-0.4.0-0.201608310602.gita9b573b.el7.centos.noarch ovirt-image-uploader-4.0.1-1.el7.centos.noarch ovirt-engine-sdk-python-3.6.9.1-1.el7.centos.noarch ovirt-engine-extensions-api-impl-4.0.4.4-1.el7.centos.noarch ovirt-release40-4.0.4-1.noarch ovirt-engine-dwh-setup-4.0.2-1.el7.centos.noarch
[ovirt-users] Stable Next Generation Node Image for 4.0.2?
Dear oVirt community, what is the correct way to set up a next generation node of the latest stable version (4.0.2)? Take the image from http://resources.ovirt.org/pub/ovirt-4.0/iso/ovirt-node-ng-installer/ ? Seems to be 4.0.0 and then update? Or take the image from http://resources.ovirt.org/pub/ovirt-4.0-snapshot/iso/ Seems to be 4.0.2 but nightly and thus unstable? Thanks for the clarification, best regards, Thomas ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users