Re: [ovirt-users] getting 404 after fresh install of oVirt 3.4 on CentOS 6.5 (+ solution)
- Original Message - From: Steven Van Acker steven.vanac...@cs.kuleuven.be To: users@ovirt.org Sent: Tuesday, May 13, 2014 10:39:03 AM Subject: [ovirt-users] getting 404 after fresh install of oVirt 3.4 on CentOS 6.5 (+ solution) Hello all, I was asked to post the following problem on this mailinglist. After installing a clean CentOS 6.5 with a clean oVirt 3.4, following the instructions from http://www.ovirt.org/Download#Red_Hat_Enterprise_Linux_6.2FCentOS_Installation_Instructions I went to http://localhost.localdomain:80/ovirt-engine as indicated and was redirected to a 404 page. The same happened when using https. During the installation, engine-setup will print out the following on my VM with 512MB RAM: [WARNING] Warning: Not enough memory is available on the host. Minimum requirement is 4096MB, and 16384MB is recommended. SSH fingerprint: 4B:DE:48:26:99:AA:C0:72:E3:C8:B5:64:5F:6E:6D:00 Internal CA FB:82:FE:14:35:3A:BE:1A:B1:E6:99:C2:DC:CD:6D:E0:44:64:0F:47 Web access is enabled at: http://localhost.localdomain:80/ovirt-engine https://localhost.localdomain:443/ovirt-engine Please use the user admin and password specified in order to login into oVirt Engine The consequence of not having enough RAM for oVirt is that it will silently fail to start up, without apparent errors or warnings. You mean, in the log? In my view, the warning above should be rephrased as Not enough memory is available on the host, oVirt will refuse to start and colored red. Did it 'refuse' to start, or simply failed to start? With what conditions exactly you want this error? What if the engine does manage to start (e.g. because you did some weird tweaking and managed to make it run in 256MB)? What if it later fails, after you add a few tens of hosts/VMs? I know I regularly use a 1GB VM for testing setup, never had problems. Generally, red stuff in setup is reserved to real errors - when something failed. The solution to this problem is to have at least 4GB of RAM, after which oVirt seems to start up fine (with only 1.2GB of RAM in use). How did you measure that? On my current test VM, I have: # ps aux | grep ovirt-engine ovirt10840 0.0 0.2 207952 2168 ?Ss 10:08 0:00 /usr/bin/python /usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py --redirect-output --systemd=notify start ovirt10879 0.8 52.4 2247040 534892 ? Sl 10:08 0:46 ovirt-engine -server -XX:+TieredCompilation -Xms1g -Xmx1g -XX:PermSize=256m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djava.awt.headless=true -Djsse.enableSNIExtension=false -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/ovirt-engine/dump -Djava.util.logging.manager=org.jboss.logmanager -Dlogging.configuration=file:///var/tmp/ovirt-engine/config/ovirt-engine-logging.properties -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.modules.write-indexes=false -Djboss.server.default.config=ovirt-engine -Djboss.home.dir=/usr/share/jboss-as -Djboss.server.base.dir=/usr/share/ovirt-engine -Djboss.server.data.dir=/var/lib/ovirt-engine -Djboss.server.log.dir=/var/log/ovirt-engine -Djboss.server.config.dir=/var/tmp/ovirt-engine/config -Djboss.server.temp.dir=/var/tmp/ovirt-engine/tmp -D jboss.controller.temp.dir=/var/tmp/ovirt-engine/tmp -jar /usr/share/jboss-as/jboss-modules.jar -mp /var/tmp/ovirt-engine/modules/00-ovirt-engin -modules:/var/tmp/ovirt-engine/modules/01-jboss-as-modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -c ovirt-engine.xml ovirt10900 0.0 0.2 286084 2604 ?Ss 10:08 0:01 /usr/bin/python /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py --systemd=notify start root 12200 0.0 0.0 112636 964 pts/10 S+ 11:38 0:00 grep --color=auto ovirt-engine # free total used free sharedbuffers cached Mem: 1019660 936780 82880 0 5068 259496 -/+ buffers/cache: 672216 347444 Swap: 14749692 164328 14585364 So the engine uses 2.2GB of virtual memory, but only 530MB rss, and total system use is, without caches, 670MB. So it's likely that a 512MB VM will not be enough. Thanks for the report! -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] jboss deployments timeout (was: getting 404 after fresh install of oVirt 3.4 on CentOS 6.5 (+ solution))
I am the reporter of the below bz, and the author of the fix [1]. However, I don't know jboss at all - just searched around, found somewhere the option 'deployment-timeout' (not sure where, probably a quick search can find this) and verified that the fix works. It seems like neither any of the reviewers of the change know enough about jboss to do some more analysis. Can anyone else, that knows jboss, please look at this issue? Specifically: 1. Was anything related to the maximum time for deployments changed in relevant jboss versions? 2. What is affected? What isn't? - fedora 19/20(/21?), el6 - ovirt repos (3.3, 3.4, master) and minimum requirements John: If this is reproducible for you, you might want to try the fix [1] (linked to from the bug). If you do, please report - what exact versions (OS, jboss, ovirt, etc) you used, and (according to the logs) how long did the deployment take. Thanks! [1] http://gerrit.ovirt.org/25895 Best Regards, -- Didi - Original Message - From: John Taylor jtt77...@gmail.com To: R P Herrold herr...@owlriver.com Cc: users@ovirt.org Sent: Tuesday, May 13, 2014 11:36:57 PM Subject: Re: [ovirt-users] getting 404 after fresh install of oVirt 3.4 on CentOS 6.5 (+ solution) I've seen a similar problem (404 on webadmin) on my 4GB physical ovirt engine box, but it turned out to be the jboss timeout in deployment Relevant bz https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=1078291 so it might have been that it wasn't a memory limit in the OP that caused failure, but the time it took jboss to deploy -John On Tue, May 13, 2014 at 12:31 PM, R P Herrold herr...@owlriver.com wrote: On Tue, 13 May 2014, Sven Kieske wrote: Doesn't this make you wonder where the minimum requirements come from? If it runs with less than 1 GB RAM, why do the docs say you need 4 GB and recommend even 16 GB ? certainly a fair question ... There is also a statement in that setup script as to needed filesystem space which seems to have been simply 'pulled out of the air', rather than documented / explained Is it just a matter of scale(number of vms/hosts/DCs) ? What would make engine consume more RAM? Can you maybe lower the minimum requirements? Or isolate the recommendations to a flat file which is commented, and sourced by the script, so a person can discern the difference between 'hard' requirements, and simple 'recommendations' for a stated use case -- Russ herrold ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] getting 404 after fresh install of oVirt 3.4 on CentOS 6.5 (+ solution)
- Original Message - From: R P Herrold herr...@owlriver.com To: Sven Kieske s.kie...@mittwald.de Cc: users@ovirt.org Sent: Tuesday, May 13, 2014 7:31:14 PM Subject: [ovirt-users] getting 404 after fresh install of oVirt 3.4 on CentOS 6.5 (+ solution) On Tue, 13 May 2014, Sven Kieske wrote: Doesn't this make you wonder where the minimum requirements come from? If it runs with less than 1 GB RAM, why do the docs say you need 4 GB and recommend even 16 GB ? certainly a fair question ... There is also a statement in that setup script as to needed filesystem space which seems to have been simply 'pulled out of the air', rather than documented / explained I searched a bit and can't find a sizing guide etc. for the engine. You can find stuff for the hosts if you search a bit. My current guess is that 1. It's based on anecdotal real-world use 2. It's meant to prevent people from wasting time on not-enough-memory (and disk space) issues etc. 3. In practice, people that use ovirt for more than a minimal setup, will have to have some nice hardware for the hosts, and so dedicating part of that to the engine is not a big issue. Especially with hosted-engine where you do not need a dedicated physical machine. No-one prevents anyone from doing some research and publishing the results, you know - e.g. a table showing An engine managing X VMs on Y hosts used such-and-such disk space over the first day/week/month/year of use, and had this-and-that average response time (or something more complex) when running with such-and-such RAM. If, based on that, you think we can/should provide more info regarding minimal/recommended RAM/disk for specific use cases, you are then welcome to update the wiki. Patches to setup are welcome too :-) Note that current limitations are never failing setup - they are always just warnings. You are welcome to ignore them (and feed that to your answer files if you run setup repeatedly). Is it just a matter of scale(number of vms/hosts/DCs) ? What would make engine consume more RAM? Can you maybe lower the minimum requirements? Or isolate the recommendations to a flat file which is commented, and sourced by the script, so a person can discern the difference between 'hard' requirements, and simple 'recommendations' for a stated use case Not sure I completely got you here, but if you meant to a file summarizing the results of such a hypothetical research, then I think that would be great. Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Recovering from an aborted hosted-engine --deploy
- Original Message - From: Bob Doolittle bdoolit...@teradici.com To: users users@ovirt.org Sent: Friday, May 16, 2014 10:12:43 PM Subject: [ovirt-users] Recovering from an aborted hosted-engine --deploy Hi, I had an issue at the end of my hosted-engine --deploy. My VM was stuck during OS installation because I was unable to configure the network for some reason. So I chose the final option 3 to abort the deployment. Now, I seem to be stuck. If I try to re-run --deploy it says it's already installed. If I try to run --vm-status, it says: Cannot connect to the HA daemon, please check the logs. But it's not clear what logs I should look at to get more info. I've attached the most recently modified logs. I can't get useful information out of them I'm afraid. There is no log for /var/log/ovirt-hosted-engine-ha Any clues? There is currently no cleanup tool for hosted-engine. You can remove all relevant packages (*ovirt*, *vdsm*, *libvirt*) and conf files of them (/etc/*ovirt* /etc/*vdsm* /etc/*libvirt* /etc/pki/vdsm) and then try again. The sources of ovirt-hosted-engine-setup include a script cleanup.sh that cleans up some things. During development, and especially while working on bugzilla bug #1034634, I did the following: 1. Keep in /root/clean-files copies of parts of /etc from a clean installation (e.g. after deleting stuff as explained above and yum install hosted engine setup but before deploy): [root@didi-box1 clean-files]# tree . ├── libvirt │ ├── libvirtd.conf │ ├── qemu.conf │ └── qemu-sanlock.conf ├── logrotate.d │ └── libvirtd ├── ovirt-hosted-engine-ha │ └── broker.conf └── sysconfig └── libvirtd 4 directories, 6 files 2. To clean up, I ran this script: = #!/bin/sh -x CLEAN=$HOME/clean-files service vdsmd stop service supervdsmd stop initctl stop libvirtd /bin/rm /etc/init/libvirtd.conf /bin/cp $CLEAN/libvirt/* /etc/libvirt/ /bin/rm /etc/libvirt/nwfilter/vdsm-no-mac-spoofing.xml ln -s ../default.xml /etc/libvirt/qemu/networks/autostart /bin/cp $CLEAN/logrotate.d/* /etc/logrotate.d/ /bin/rm /etc/ovirt-hosted-engine/answers.conf rm -rf /etc/ovirt-hosted-engine/firewalld /bin/cp $CLEAN/ovirt-hosted-engine-ha/* /etc/ovirt-hosted-engine-ha/ /bin/cp $CLEAN/sysconfig/* /etc/sysconfig/ /bin/rm /etc/vdsm/vdsm.conf /bin/rm /etc/pki/vdsm/*/*.pem /bin/rm /etc/pki/CA/cacert.pem /bin/rm /etc/pki/libvirt/*.pem /bin/rm /etc/pki/libvirt/private/*.pem chkconfig --levels 345 libvirtd on = And: Deleted on the nfs server the content of the data domain export. This does not revert the changes to network interfaces (e.g. addition of ovirtmgmt bridge). Best regards, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Migrate to Hosted Engine - problem with doc/web page
Hi, Migrating an engine between machines using engine-backup is unrelated to hosted-engine. For details about that, please see [1], especially the howto section. In general, if you want to use a local database, you have to prepare it yourself prior to restore - engine-backup will not do that for you. [1] http://www.ovirt.org/Ovirt-engine-backup - Original Message - From: Bob Doolittle b...@doolittle.us.com To: users users@ovirt.org Sent: Tuesday, May 20, 2014 4:13:49 AM Subject: Re: [ovirt-users] Migrate to Hosted Engine - problem with doc/web page For the record, I'm pretty sure the How-To at http://www.ovirt.org/Migrate_to_Hosted_Engine actually requires an external database, although it never states so. You are right that it is written for a case in which both old and new engines use the same remote database. This was done to simplify the howto, as dealing with the database is unrelated to hosted-engine, which is the subject of this howto. The instructions as written will not work otherwise, because it presumes a pre-existing database before running engine-backup restore. If somebody can confirm I can open a bug on the page. You are welcome to do that, or better yet, document your own process and post that somewhere :-) In any case I have started over with a fresh engine-setup in a fresh VM. Having some issues I'll state in a different thread for clarity. -Bob Best regards, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Hosted engine problem - Engine VM will not start
Actually you opened a bug about this... https://bugzilla.redhat.com/show_bug.cgi?id=1080823 - Original Message - From: Sven Kieske s.kie...@mittwald.de To: users@ovirt.org Sent: Tuesday, May 20, 2014 4:53:32 PM Subject: Re: [ovirt-users] Hosted engine problem - Engine VM will not start does it configure iptables under all circumstances? I hope you can tell host-deploy to not configure it, as you can with engine-setup ? Am 20.05.2014 15:41, schrieb Sandro Bonazzola: iptables configuration is performed by the engine when adding the host. please attach iptables-save output from the host and host-deploy logs from the hosted-engine vm. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational...
- Original Message - From: Andrew Lau and...@andrewklau.com To: Artyom Lukianov aluki...@redhat.com Cc: users users@ovirt.org Sent: Sunday, May 25, 2014 1:02:18 PM Subject: Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational... On Sun, May 25, 2014 at 4:04 PM, Artyom Lukianov aluki...@redhat.com wrote: I see that I verified it on version ovirt-hosted-engine-setup-1.1.2-5.el6ev.noarch, so it must work from this version and above. Thanks I can only seem to get 1.1.2.1 is the patched version being released soon? ovirt-hosted-engine-setup-1.1.2-5.el6ev.noarch is an internal version and should not be confused with those on ovirt.org. [1] contains 1.1.3-1 . The 3.4.1 release notes also mention that BZ 1088572 was solved by it. [1] http://resources.ovirt.org/pub/ovirt-3.4/rpm/fc19/noarch/ - Original Message - From: Andrew Lau and...@andrewklau.com To: Artyom Lukianov aluki...@redhat.com Cc: users users@ovirt.org, Sandro Bonazzola sbona...@redhat.com Sent: Saturday, May 24, 2014 2:51:15 PM Subject: Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational... Simply starting the ha-agents manually seems to bring up the VM however it doesn't come up in the chkconfig list. The next host that gets configured works fine. What steps get configured in that final stage that perhaps I could manually run rather than rerolling for a third time? On Sat, May 24, 2014 at 9:42 PM, Andrew Lau and...@andrewklau.com wrote: Hi, Are these patches merged into 3.4.1? I seem to be hitting this issue now, twice in a row. The second BZ is also marked as private. On Fri, May 2, 2014 at 1:21 AM, Artyom Lukianov aluki...@redhat.com wrote: It have number of the same bugs: https://bugzilla.redhat.com/show_bug.cgi?id=1080513 https://bugzilla.redhat.com/show_bug.cgi?id=1088572 - fix for this already merged, so if you take the last ovirt it must include it The one thing you can do until it, it try to restart host and start deployment process from beginning. Thanks - Original Message - From: Tobias Honacker tob...@honacker.info To: users@ovirt.org Sent: Thursday, May 1, 2014 6:06:47 PM Subject: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational... Hi all, i hit this bug yesterday. Packages: ovirt-host-deploy-1.2.0-1.el6.noarch ovirt-engine-sdk-python-3.4.0.7-1.el6.noarch ovirt-hosted-engine-setup-1.1.2-1.el6.noarch ovirt-release-11.2.0-1.noarch ovirt-hosted-engine-ha-1.1.2-1.el6.noarch After setting up the hosted engine (running great) the setup canceled with this MSG: [ INFO ] The VDSM Host is now operational [ ERROR ] Waiting for cluster 'Default' to become operational... [ ERROR ] Failed to execute stage 'Closing up': 'NoneType' object has no attribute '__dict__' [ INFO ] Stage: Clean up [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination What is the next step i have to do that t he HA features of the hosted-engine will take care of keeping the VM alive. best regards tobias ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational...
- Original Message - From: Andrew Lau and...@andrewklau.com To: Yedidyah Bar David d...@redhat.com Cc: Artyom Lukianov aluki...@redhat.com, users users@ovirt.org Sent: Sunday, May 25, 2014 2:00:24 PM Subject: Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational... On Sun, May 25, 2014 at 8:52 PM, Yedidyah Bar David d...@redhat.com wrote: - Original Message - From: Andrew Lau and...@andrewklau.com To: Artyom Lukianov aluki...@redhat.com Cc: users users@ovirt.org Sent: Sunday, May 25, 2014 1:02:18 PM Subject: Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational... On Sun, May 25, 2014 at 4:04 PM, Artyom Lukianov aluki...@redhat.com wrote: I see that I verified it on version ovirt-hosted-engine-setup-1.1.2-5.el6ev.noarch, so it must work from this version and above. Thanks I can only seem to get 1.1.2.1 is the patched version being released soon? ovirt-hosted-engine-setup-1.1.2-5.el6ev.noarch is an internal version and should not be confused with those on ovirt.org. I wonder why I get 1.1.2.1 when ran the install only just yesterday.. although I do see 1.1.3.1 in the repo No idea - verified now that it works for me. Perhaps some local caching? Did you try 'yum clean all'? [1] contains 1.1.3-1 . The 3.4.1 release notes also mention that BZ 1088572 was solved by it. [1] http://resources.ovirt.org/pub/ovirt-3.4/rpm/fc19/noarch/ - Original Message - From: Andrew Lau and...@andrewklau.com To: Artyom Lukianov aluki...@redhat.com Cc: users users@ovirt.org, Sandro Bonazzola sbona...@redhat.com Sent: Saturday, May 24, 2014 2:51:15 PM Subject: Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational... Simply starting the ha-agents manually seems to bring up the VM however it doesn't come up in the chkconfig list. The next host that gets configured works fine. What steps get configured in that final stage that perhaps I could manually run rather than rerolling for a third time? On Sat, May 24, 2014 at 9:42 PM, Andrew Lau and...@andrewklau.com wrote: Hi, Are these patches merged into 3.4.1? I seem to be hitting this issue now, twice in a row. The second BZ is also marked as private. On Fri, May 2, 2014 at 1:21 AM, Artyom Lukianov aluki...@redhat.com wrote: It have number of the same bugs: https://bugzilla.redhat.com/show_bug.cgi?id=1080513 https://bugzilla.redhat.com/show_bug.cgi?id=1088572 - fix for this already merged, so if you take the last ovirt it must include it The one thing you can do until it, it try to restart host and start deployment process from beginning. Thanks - Original Message - From: Tobias Honacker tob...@honacker.info To: users@ovirt.org Sent: Thursday, May 1, 2014 6:06:47 PM Subject: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational... Hi all, i hit this bug yesterday. Packages: ovirt-host-deploy-1.2.0-1.el6.noarch ovirt-engine-sdk-python-3.4.0.7-1.el6.noarch ovirt-hosted-engine-setup-1.1.2-1.el6.noarch ovirt-release-11.2.0-1.noarch ovirt-hosted-engine-ha-1.1.2-1.el6.noarch After setting up the hosted engine (running great) the setup canceled with this MSG: [ INFO ] The VDSM Host is now operational [ ERROR ] Waiting for cluster 'Default' to become operational... [ ERROR ] Failed to execute stage 'Closing up': 'NoneType' object has no attribute '__dict__' [ INFO ] Stage: Clean up [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination What is the next step i have to do that t he HA features of the hosted-engine will take care of keeping the VM alive. best regards tobias ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational...
- Original Message - From: Andrew Lau and...@andrewklau.com To: Yedidyah Bar David d...@redhat.com Cc: Artyom Lukianov aluki...@redhat.com, users users@ovirt.org Sent: Sunday, May 25, 2014 3:38:07 PM Subject: Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational... On Sun, May 25, 2014 at 10:25 PM, Yedidyah Bar David d...@redhat.com wrote: - Original Message - From: Andrew Lau and...@andrewklau.com To: Yedidyah Bar David d...@redhat.com Cc: Artyom Lukianov aluki...@redhat.com, users users@ovirt.org Sent: Sunday, May 25, 2014 2:00:24 PM Subject: Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational... On Sun, May 25, 2014 at 8:52 PM, Yedidyah Bar David d...@redhat.com wrote: - Original Message - From: Andrew Lau and...@andrewklau.com To: Artyom Lukianov aluki...@redhat.com Cc: users users@ovirt.org Sent: Sunday, May 25, 2014 1:02:18 PM Subject: Re: [ovirt-users] Hosted Engine - Waiting for cluster 'Default' to become operational... On Sun, May 25, 2014 at 4:04 PM, Artyom Lukianov aluki...@redhat.com wrote: I see that I verified it on version ovirt-hosted-engine-setup-1.1.2-5.el6ev.noarch, so it must work from this version and above. Thanks I can only seem to get 1.1.2.1 is the patched version being released soon? ovirt-hosted-engine-setup-1.1.2-5.el6ev.noarch is an internal version and should not be confused with those on ovirt.org. I wonder why I get 1.1.2.1 when ran the install only just yesterday.. although I do see 1.1.3.1 in the repo No idea - verified now that it works for me. Perhaps some local caching? Did you try 'yum clean all'? It was a fresh install, I just tried yum clean all and a yum update, nothing. Are my repos correct? [root@ov-hv1-2a-08-23 ~]# cat /etc/yum.repos.d/ovirt.repo [ovirt-stable] name=Latest oVirt Releases baseurl=http://ovirt.org/releases/stable/rpm/EL/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 # Latest oVirt 3.4 releases [ovirt-3.4-stable] name=Latest oVirt 3.4.z Releases baseurl=http://ovirt.org/releases/3.4/rpm/EL/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-3.4-prerelease] name=Latest oVirt 3.4 Pre Releases (Beta to Release Candidate) baseurl=http://resources.ovirt.org/releases/3.4_pre/rpm/EL/$releasever/ enabled=0 skip_if_unavailable=1 gpgcheck=0 # Latest oVirt 3.3 releases [ovirt-3.3-stable] name=Latest oVirt 3.3.z Releases baseurl=http://resources.ovirt.org/releases/3.3/rpm/EL/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-3.3-prerelease] name=Latest oVirt 3.3.z Pre Releases (Beta to Release Candidate) baseurl=http://resources.ovirt.org/releases/3.3_pre/rpm/EL/$releasever/ enabled=0 skip_if_unavailable=1 gpgcheck=0 Seems ok, but note that the 'resources.ovirt.org/releases' URLs are obsolete and recent release packages (e.g. the one pointed at from the 3.4.1 release notes) point at 'resources.ovirt.org/pub'. I still seem to be getting: [root@ov-hv1-2a-08-23 ~]# rpm -qa | grep ovirt ovirt-hosted-engine-setup-1.1.2-1.el6.noarch ovirt-release-11.2.0-1.noarch ovirt-host-deploy-1.2.0-1.el6.noarch ovirt-hosted-engine-ha-1.1.2-1.el6.noarch ovirt-engine-sdk-python-3.4.0.7-1.el6.noarch This shows what you have installed. What do you get from 'yum list ovirt-hosted-engine-setup' ? -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Adding Fedora 20 Support
- Original Message - From: Justin Brown justin.br...@fandingo.org To: users@ovirt.org Sent: Monday, June 2, 2014 9:59:34 PM Subject: [ovirt-users] Adding Fedora 20 Support Hello, I recently came across the LWN article on oVirt 3.4 (http://lwn.net/SubscriberLink/600370/dfa9cdd4f5ee0bb3/) and was discussing the lack of Fedora 20 support with an oVirt contributor, bkp. It's been 4 months since I last looked at running oVirt. I use Fedora 20 on all of my infrastructure, so I was quite surprised that there is still not support for running the engine on F20. Anyways, rather than just complaining, I figured it would be more helpful to volunteer some time to fix the issue. 1) I've tried looking through the oVirt bug reports to see what's happening with Fedora 20. So far, I have identified three issues that prevent 3.4 from working. Fedora includes sos-3, sos doesn't have support for all ovirt plugins, and only has Wildfly instead of JBoss-as. The full list of bugs is listed in https://bugzilla.redhat.com/show_bug.cgi?id=1060198. This is a tracker bug, depending on various other bugs. One of them is https://bugzilla.redhat.com/show_bug.cgi?id=1055604 . As can be seen there, it was intended to be supported in 3.4.2, but was then reverted due to last-minute issues. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt Self Hosted Engine question
- Original Message - From: kevint...@umac.mo To: users@ovirt.org Sent: Monday, June 9, 2014 6:56:53 AM Subject: [ovirt-users] oVirt Self Hosted Engine question Dear all, Dear Sean Cohen Sandro Bonazzola, I found your toturial about oVirt Self Hosted Engine from here, I have a question about it. Would you help me? http://www.ovirt.org/Features/Self_Hosted_Engine My problem is: First, I am Following the tutorial, In machine 'Srv1', type these two command to install oVirt Host Engine: # yum install ovirt-hosted-engine-setup # hosted-engine --deploy Then I success create a Engine, and I can use web browser to access the Engine in other PC. Then, in second machine 'Srv2', type these two command to install second oVirt Host. # yum install ovirt-hosted-engine-setup # hosted-engine --deploy Did you supply there the same storage domain path used for the hosted engine on first host? Because you should, if you want HA. It will then notice that this path already has a VM image and will behave differently. See section 3.3 in that page - it should ask something like: The specified storage location already contains a data domain. Is this an additional host setup (Yes, No)[Yes]? yes'). My first problem is: in second machine 'Srv2', after issue command 'hosted-engine --deploy', and it prompt '[ INFO ] Waiting for VDSM hardware info'. System will ask me and wait my input for (1. Setup finish, 2. Restart VM, 3. Exit). I don't know what should I do now. My second problem is: I use another PC web browser connect to my oVirt Engine, and ask Engine to add Host 'Srv2' into Cluster. This should not be needed, deploy should have done that for you. It is done and successful. But when I try to keep 'Srv2' is running, and make 'Srv1' to reboot. How do you reboot it? Did you move to global/local maintenance? I found that I cannot connect to oVirt Engine anymore. I try to type 'hosted-engine --vm-start' in first machine 'Srv1', but it has error and cannot start my Engine virtual machine. Therefore, I cannot connect to my Engine anymore. How should I do now? If you still do not have data there, I think it will be easiest to just reinstall everything from the beginning. Make sure to supply the same path when running deploy on the second host. If you do have, or just feel like trying to fix this anyway: 1. Please supply relevant logs from both hosts (/var/log/ovirt*, /var/log/vdsm*) 2. After you fix the problem with the engine not starting, I think you can run again deploy on the second host and supply the same path. Not sure it will work without cleaning a bit (removing configuration of hosted-engine and/or vdsm). My three question is: How to make my Engine become HA? Since when 'Srv1' reboot, the Engine cannot jump to 'Srv2' automatically. It should have happened automatically. Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Upgrade to 3.4.2 failed
- Original Message - From: Demeter Tibor tdeme...@itsmart.hu To: users@ovirt.org Sent: Tuesday, June 17, 2014 3:11:54 PM Subject: [ovirt-users] Upgrade to 3.4.2 failed Hi, I just did an upgrade to my 3.4.0 box. I did a yum update and an engine-setup After the package downloading process got this: [ INFO ] Yum Verify: 14/14: ovirt-engine.noarch 0:3.4.0-1.el6 - ud [ INFO ] Stage: Misc configuration [ INFO ] Backing up database localhost:engine_20140130075536 to '/var/lib/ovirt-engine/backups/engine-20140617140129.QZGO9x.dump'. [ INFO ] Updating Engine database schema [ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/upgrade.sh' failed to execute [ INFO ] Yum Performing yum transaction rollback [ INFO ] Yum Status: Downloading Packages [ INFO ] Yum Download/Verify: ovirt-engine-3.4.0-1.el6.noarch A cut from the log file: running upgrade sql script upgrade/03_04_0720_add_host_interface_high_network_use_event.sql ... Running upgrade sql script upgrade/03_04_0730_change_group_ids.sql ... Running upgrade sql script upgrade/03_04_0740_update_user_ids.sql ... 2014-06-17 14:01:41 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:866 execute-output: ['/usr/share/ovirt-engine/dbscripts/upgrade.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine_20140130075536', '-d', 'engine_20140130075536', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20140617135909-a7zbn6.log', '-g'] stderr: psql:upgrade/03_04_0740_update_user_ids.sql:41: ERROR: duplicate key value violates unique constraint pk_users CONTEXT: SQL statement UPDATE users SET user_id = temp_id PL/pgSQL function __temp_update_user_ids_03_04_0740 line 30 at SQL statement 2014-06-17 14:01:41 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File /usr/lib/python2.6/site-packages/otopi/context.py, line 142, in _executeMethod method['method']() File /usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py, line 345, in _miscUpgrade osetupcons.DBEnv.PGPASS_FILE File /usr/lib/python2.6/site-packages/otopi/plugin.py, line 871, in execute command=args[0], RuntimeError: Command '/usr/share/ovirt-engine/dbscripts/upgrade.sh' failed to execute 2014-06-17 14:01:41 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/upgrade.sh' failed to execute 2014-06-17 14:01:41 DEBUG otopi.transaction transaction.abort:131 aborting 'Yum Transaction' 2014-06-17 14:01:41 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:92 Yum Performing yum transaction rollback 2014-06-17 14:01:41 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Building transaction 2014-06-17 14:01:42 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Transaction built 2014-06-17 14:01:42 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Transaction Summary: 2014-06-17 14:01:42 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum install- ovirt-engine-3.4.0-1.el6.noarch Anybody help me? Is it possible that you use an external directory and have two users pointing at the same directory user? Does the following query return anything? select count(*), external_id from users group by external_id having count(*)1; -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Upgrade to 3.4.2 failed
Hi, - Original Message - From: Demeter Tibor tdeme...@itsmart.hu To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Wednesday, June 18, 2014 7:37:24 PM Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed Hi, Yes, I have a FreeIPA server, but it was a running virtual server on ovirt :) Yes, I know, it was a stupid idea, Not necessarily, if you can also use admin@internal for maintenance. but it's only a test system for testing ovirt capabilites. So, this vm (the freeipa) at this moment doesn't running and I cannot run without ovirt. Is ovirt down? Didn't the upgrade rollback cleanly? If not, please provide logs, it should have. If it did, you can simply 'service ovirt-engine start'. - Can I re-run this vm without ovirt? I guess you can, but it won't be easy. - If no, then how can I remove the ipaserver from ovirt configuration ? Same :-) But I do not think that the upgrade failure was caused due to ipa being down. There is something else. Did you try running the below query? Did it return anything? You run it inside psql, with: # su - postgres $ psql engine engine=# select count(*), external_id from users group by external_id having count(*)1; (All in one line, in case it's cut during mail processing) Thank in advance. Tibor - Eredeti üzenet - - Original Message - From: Demeter Tibor tdeme...@itsmart.hu To: users@ovirt.org Sent: Tuesday, June 17, 2014 3:11:54 PM Subject: [ovirt-users] Upgrade to 3.4.2 failed Hi, I just did an upgrade to my 3.4.0 box. I did a yum update and an engine-setup After the package downloading process got this: [ INFO ] Yum Verify: 14/14: ovirt-engine.noarch 0:3.4.0-1.el6 - ud [ INFO ] Stage: Misc configuration [ INFO ] Backing up database localhost:engine_20140130075536 to '/var/lib/ovirt-engine/backups/engine-20140617140129.QZGO9x.dump'. [ INFO ] Updating Engine database schema [ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/upgrade.sh' failed to execute [ INFO ] Yum Performing yum transaction rollback [ INFO ] Yum Status: Downloading Packages [ INFO ] Yum Download/Verify: ovirt-engine-3.4.0-1.el6.noarch A cut from the log file: running upgrade sql script upgrade/03_04_0720_add_host_interface_high_network_use_event.sql ... Running upgrade sql script upgrade/03_04_0730_change_group_ids.sql ... Running upgrade sql script upgrade/03_04_0740_update_user_ids.sql ... 2014-06-17 14:01:41 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:866 execute-output: ['/usr/share/ovirt-engine/dbscripts/upgrade.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine_20140130075536', '-d', 'engine_20140130075536', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20140617135909-a7zbn6.log', '-g'] stderr: psql:upgrade/03_04_0740_update_user_ids.sql:41: ERROR: duplicate key value violates unique constraint pk_users CONTEXT: SQL statement UPDATE users SET user_id = temp_id PL/pgSQL function __temp_update_user_ids_03_04_0740 line 30 at SQL statement 2014-06-17 14:01:41 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File /usr/lib/python2.6/site-packages/otopi/context.py, line 142, in _executeMethod method['method']() File /usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py, line 345, in _miscUpgrade osetupcons.DBEnv.PGPASS_FILE File /usr/lib/python2.6/site-packages/otopi/plugin.py, line 871, in execute command=args[0], RuntimeError: Command '/usr/share/ovirt-engine/dbscripts/upgrade.sh' failed to execute 2014-06-17 14:01:41 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/upgrade.sh' failed to execute 2014-06-17 14:01:41 DEBUG otopi.transaction transaction.abort:131 aborting 'Yum Transaction' 2014-06-17 14:01:41 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:92 Yum Performing yum transaction rollback 2014-06-17 14:01:41 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Building transaction 2014-06-17 14:01:42 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Transaction built 2014-06-17 14:01:42 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Transaction Summary: 2014-06-17 14:01:42 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum install- ovirt-engine-3.4.0-1.el6.noarch Anybody help me? Is it possible that you use an external directory and have two users pointing at the same directory user? Does the following query return anything? select
Re: [ovirt-users] Upgrade to 3.4.2 failed
- Original Message - From: Demeter Tibor tdeme...@itsmart.hu To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Friday, June 20, 2014 10:00:43 AM Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed Ok, I have listed my databases: postgres-# \list List of databases Name | Owner | Encoding | Collation | Ctype| Access privileges ---+---+--+-+-+--- engine_20140130075536 | engine_20140130075536 | UTF8 | en_US.UTF-8 | en_US.UTF-8 | ovirt_engine_history | ovirt_engine_history | UTF8 | en_US.UTF-8 | en_US.UTF-8 | ovirt_engine_reports | ovirt_engine_reports | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres : postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres : postgres=CTc/postgres ... and I have used these command for engine_2014 -bash-4.1$ psql engine_20140130075536 Password: psql (8.4.20) Type help for help. engine_20140130075536=# select count(*), external_id from users group by external_id having count(*)1; count |external_id ---+--- 2 | \031\250_\336\265\234\021\343\2168\000\032JP_\022 (1 row) Ok, so there lies your problem... You have two users (in the ovirt engine db) that use the same external id. Not sure what's the best way to proceed. If you do not use them, might be simplest to just drop them. If you use one and not the other, might be possible to drop the unused one, but this might be a bit more delicate. If you use both, I think you should somehow change the external id of one of them. Also not sure if this condition is expected or a result of some bug. Adding Yair, the owner of [1]. Yair - any idea how to proceed? [1] http://www.ovirt.org/Features/Authentication-Rewrite Best regards, -- Didi Tibor - Eredeti üzenet - Hi, I got this: -bash-4.1$ psql engine Password: psql: FATAL: database engine does not exist Is this mean, my engine database does not exist? Thanks, Tibor - Eredeti üzenet - Hi, - Original Message - From: Demeter Tibor tdeme...@itsmart.hu To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Wednesday, June 18, 2014 7:37:24 PM Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed Hi, Yes, I have a FreeIPA server, but it was a running virtual server on ovirt :) Yes, I know, it was a stupid idea, Not necessarily, if you can also use admin@internal for maintenance. but it's only a test system for testing ovirt capabilites. So, this vm (the freeipa) at this moment doesn't running and I cannot run without ovirt. Is ovirt down? Didn't the upgrade rollback cleanly? If not, please provide logs, it should have. If it did, you can simply 'service ovirt-engine start'. - Can I re-run this vm without ovirt? I guess you can, but it won't be easy. - If no, then how can I remove the ipaserver from ovirt configuration ? Same :-) But I do not think that the upgrade failure was caused due to ipa being down. There is something else. Did you try running the below query? Did it return anything? You run it inside psql, with: # su - postgres $ psql engine engine=# select count(*), external_id from users group by external_id having count(*)1; (All in one line, in case it's cut during mail processing) Thank in advance. Tibor - Eredeti üzenet - - Original Message - From: Demeter Tibor tdeme...@itsmart.hu To: users@ovirt.org Sent: Tuesday, June 17, 2014 3:11:54 PM Subject: [ovirt-users] Upgrade to 3.4.2 failed Hi, I just did an upgrade to my 3.4.0 box. I did a yum update and an engine-setup After the package downloading process got this: [ INFO ] Yum Verify: 14/14: ovirt-engine.noarch 0:3.4.0-1.el6 - ud [ INFO ] Stage: Misc configuration [ INFO ] Backing up database localhost:engine_20140130075536 to '/var/lib/ovirt-engine/backups/engine-20140617140129
[ovirt-users] [ANN] oVirt 3.5 Test Day - Tomorrow Jul 1st
Hi all, Tomorrow Jul 1st we'll have oVirt 3.5.0 test day. On this day all relevant engineers will be online ready to support any issues you find during install / operating this new release. Just make sure you have 1 host or more to test drive the new release. If you're curious to see how it works, this is your chance. Thanks again for everyone who will join us tomorrow! Location #ovirt irc channel Please communicate here to allow others to see any issues What In this test day you have a license to kill ;) Follow the documentation to setup your environment, and test drive the new features. Please remember we expect to see some issues, and anything you come up with will save you when you'll install final release Remember to try daily tasks you'd usually do in the engine, to see there are no regressions. Write down the configuration you used (HW, console, etc) in the report etherpad[1]. Documentation Release notes: http://www.ovirt.org/OVirt_3.4.0_release_notes Features pages links: http://bit.ly/17qBn6F If you find errors in the wiki please annotate it as well in report etherpad [1] Prerequisites / recommendations Use CentOS or RHEL 6.5 only. 6.4 is unsupported due to various issues (sanlock, libvirt, etc). Use Fedora 19 or 20. Latest RPMs repository to be enabled for testing the release are listed in the release notes page [2]. NEW issues / reports For any new issue, please update the reports etherpad [1] Feature owners, please make sure: your feature is updated and referenced on release page [2]. you have testing instruction for your feature either on test day page [3] or in your feature page. your team regression testing section is organized and up to date on test day page [3]. [1] http://etherpad.ovirt.org/p/3.5-testday-1 [2] http://www.ovirt.org/OVirt_3.5_Release_Notes [3] http://www.ovirt.org/OVirt_3.5_TestDay Thanks. -- Yedidyah Bar David, RHEV Integration team ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [ANN] oVirt 3.5 Test Day - Tomorrow Jul 1st
(Sorry - fixed links inline) - Original Message - From: Yedidyah Bar David d...@redhat.com To: users users@ovirt.org, de...@ovirt.org Sent: Monday, June 30, 2014 11:12:20 PM Subject: [ovirt-users] [ANN] oVirt 3.5 Test Day - Tomorrow Jul 1st Hi all, Tomorrow Jul 1st we'll have oVirt 3.5.0 test day. On this day all relevant engineers will be online ready to support any issues you find during install / operating this new release. Just make sure you have 1 host or more to test drive the new release. If you're curious to see how it works, this is your chance. Thanks again for everyone who will join us tomorrow! Location #ovirt irc channel Please communicate here to allow others to see any issues What In this test day you have a license to kill ;) Follow the documentation to setup your environment, and test drive the new features. Please remember we expect to see some issues, and anything you come up with will save you when you'll install final release Remember to try daily tasks you'd usually do in the engine, to see there are no regressions. Write down the configuration you used (HW, console, etc) in the report etherpad[1]. Documentation Release notes: http://www.ovirt.org/OVirt_3.4.0_release_notes http://www.ovirt.org/OVirt_3.5_Release_Notes Features pages links: http://bit.ly/17qBn6F http://bit.ly/1k7n6fv If you find errors in the wiki please annotate it as well in report etherpad [1] Prerequisites / recommendations Use CentOS or RHEL 6.5 only. 6.4 is unsupported due to various issues (sanlock, libvirt, etc). Use Fedora 19 or 20. Latest RPMs repository to be enabled for testing the release are listed in the release notes page [2]. NEW issues / reports For any new issue, please update the reports etherpad [1] Feature owners, please make sure: your feature is updated and referenced on release page [2]. you have testing instruction for your feature either on test day page [3] or in your feature page. your team regression testing section is organized and up to date on test day page [3]. [1] http://etherpad.ovirt.org/p/3.5-testday-1 [2] http://www.ovirt.org/OVirt_3.5_Release_Notes [3] http://www.ovirt.org/OVirt_3.5_TestDay Thanks. -- Yedidyah Bar David, RHEV Integration team ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Ovirt Reporting Portal not Working
- Original Message - From: Anish Mohan1 anish.moh...@tcs.com To: users@ovirt.org Sent: Monday, June 30, 2014 6:41:44 PM Subject: [ovirt-users] Ovirt Reporting Portal not Working Hello All, We are facing issue while configuring Ovirt Reporting Portal . We are going to setup Ovirt in our environment . I have installed ovirt-engine and ovirt-engine-reports packages on Manager ( CentOS ) Server. After that we have executed engine-setup command, but it is giving below error. Please refer the attached putty Logs for error details. Can anyone help in sloving this issue Can you please try to manually install also ovirt-engine-dwh? It seems like setup fails doing that for some reason. Thanks, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Ovirt Reporting Portal not Working
- Original Message - From: Yaniv Dary yd...@redhat.com To: Yedidyah Bar David d...@redhat.com Cc: Anish Mohan1 anish.moh...@tcs.com, users@ovirt.org Sent: Tuesday, July 1, 2014 12:36:25 PM Subject: Re: [ovirt-users] Ovirt Reporting Portal not Working - Original Message - From: Yedidyah Bar David d...@redhat.com To: Anish Mohan1 anish.moh...@tcs.com Cc: users@ovirt.org Sent: Tuesday, July 1, 2014 12:31:03 PM Subject: Re: [ovirt-users] Ovirt Reporting Portal not Working - Original Message - From: Anish Mohan1 anish.moh...@tcs.com To: users@ovirt.org Sent: Monday, June 30, 2014 6:41:44 PM Subject: [ovirt-users] Ovirt Reporting Portal not Working Hello All, We are facing issue while configuring Ovirt Reporting Portal . We are going to setup Ovirt in our environment . I have installed ovirt-engine and ovirt-engine-reports packages on Manager ( CentOS ) Server. After that we have executed engine-setup command, but it is giving below error. Please refer the attached putty Logs for error details. Can anyone help in sloving this issue Can you please try to manually install also ovirt-engine-dwh? It seems like setup fails doing that for some reason. This is not a solution. If we release an update he won't get it unless we resolve this issue. I would rerun setup and if not works, check yum configuration. The setup log just says that the package can't be found. setup can't do much about that. I just guess it's easier to debug such problems directly with yum than with setup. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Thin Provision Not Work
- Original Message - From: Paul.LKW paul@gmail.com To: users@ovirt.org Users@ovirt.org Sent: Thursday, July 10, 2014 7:49:17 AM Subject: [ovirt-users] Thin Provision Not Work Hi All: I find an issue in Thin Provision with oVirt, when I create a virtual disk I click the option Thin Provision (assign disk space 30G and actually it use 1G only), so I should see in the storage this disk for nearly 1G image file too. However it shows 30G image file. Any hints could fix this for using Thin Provision? Please check the file size with 'ls -ls'. http://en.wikipedia.org/wiki/Sparse_file -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Upgrade to 3.4.2 failed
Sorry for the late reply - was this solved? -- Didi - Original Message - From: Demeter Tibor tdeme...@itsmart.hu To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org, Yair Zaslavsky yzasl...@redhat.com Sent: Tuesday, June 24, 2014 7:36:31 PM Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed Hi, Thank you for your help. Please help me in psql how can I drop the second record because I don't know how can I made it. Best Regards, Demeter Tibor - Eredeti üzenet - - Original Message - From: Demeter Tibor tdeme...@itsmart.hu To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Friday, June 20, 2014 10:00:43 AM Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed Ok, I have listed my databases: postgres-# \list List of databases Name | Owner | Encoding | Collation | Ctype| Access privileges ---+---+--+-+-+--- engine_20140130075536 | engine_20140130075536 | UTF8 | en_US.UTF-8 | en_US.UTF-8 | ovirt_engine_history | ovirt_engine_history | UTF8 | en_US.UTF-8 | en_US.UTF-8 | ovirt_engine_reports | ovirt_engine_reports | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres : postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres : postgres=CTc/postgres ... and I have used these command for engine_2014 -bash-4.1$ psql engine_20140130075536 Password: psql (8.4.20) Type help for help. engine_20140130075536=# select count(*), external_id from users group by external_id having count(*)1; count |external_id ---+--- 2 | \031\250_\336\265\234\021\343\2168\000\032JP_\022 (1 row) Ok, so there lies your problem... You have two users (in the ovirt engine db) that use the same external id. Not sure what's the best way to proceed. If you do not use them, might be simplest to just drop them. If you use one and not the other, might be possible to drop the unused one, but this might be a bit more delicate. If you use both, I think you should somehow change the external id of one of them. Also not sure if this condition is expected or a result of some bug. Adding Yair, the owner of [1]. Yair - any idea how to proceed? [1] http://www.ovirt.org/Features/Authentication-Rewrite Best regards, -- Didi Tibor - Eredeti üzenet - Hi, I got this: -bash-4.1$ psql engine Password: psql: FATAL: database engine does not exist Is this mean, my engine database does not exist? Thanks, Tibor - Eredeti üzenet - Hi, - Original Message - From: Demeter Tibor tdeme...@itsmart.hu To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Wednesday, June 18, 2014 7:37:24 PM Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed Hi, Yes, I have a FreeIPA server, but it was a running virtual server on ovirt :) Yes, I know, it was a stupid idea, Not necessarily, if you can also use admin@internal for maintenance. but it's only a test system for testing ovirt capabilites. So, this vm (the freeipa) at this moment doesn't running and I cannot run without ovirt. Is ovirt down? Didn't the upgrade rollback cleanly? If not, please provide logs, it should have. If it did, you can simply 'service ovirt-engine start'. - Can I re-run this vm without ovirt? I guess you can, but it won't be easy. - If no, then how can I remove the ipaserver from ovirt configuration ? Same :-) But I do not think that the upgrade failure was caused due to ipa being down. There is something else. Did you try running the below query? Did it return anything? You run it inside psql, with: # su - postgres $ psql engine engine=# select count(*), external_id from users
Re: [ovirt-users] change ovirt-engine's IP
- Original Message - From: 力波 王 wlblea...@126.com To: users@ovirt.org Sent: Wednesday, July 16, 2014 10:49:34 AM Subject: [ovirt-users] change ovirt-engine's IP Hi,all: How could I change overt-engine’s IP and host’s IP For the engine please see [1]. AFAIK changing just the IP address has no effect, assuming you make sure the fqdn input during setup remains working (by updating the dns or /etc/hosts). [1] http://www.ovirt.org/Changing_Engine_Hostname Best regards, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Ovirt Reporting Portal not Working
- Original Message - From: Yaniv Dary yd...@redhat.com To: Anish Mohan1 anish.moh...@tcs.com Cc: Yedidyah Bar David d...@redhat.com, users@ovirt.org Sent: Tuesday, July 22, 2014 6:20:19 PM Subject: Re: [ovirt-users] Ovirt Reporting Portal not Working Your DNS name is not resolvable to IP. This is a requirement for installing engine and all plugins. Some more details: engine-setup asks for the FQDN of the engine's host. That's the only thing used by the engine itself. jasperreports, which is used by the Reports component, also requires that the local hostname (output of 'hostname') be resolvable. We might want to make the reports setup plugin check this too and alert. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Adding new Host - Connection to localhost:54321 refused
- Original Message - From: Udaya Kiran P ukiran...@yahoo.in To: users users@ovirt.org Sent: Wednesday, July 23, 2014 11:11:49 AM Subject: [ovirt-users] Adding new Host - Connection to localhost:54321 refused Hi Everyone, I am trying to add a new fedora host to the oVirt Engine 3.4.0-1.fc19. It fails with below error in event list, Host Bay9 installation failed. Network error during communication with the host Host-deploy log doesn't have any errors logged. Below error logged in engine.log 2014-07-23 13:49:21,445 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-6) Command GetCapabilitiesVDSCommand(HostName = Bay9, HostId = f508a64b-6a2f-41a6-8a3c-4de4ed22747c, vds=Host[Bay9]) execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused On the Host, vdsClient -s localhost getVdsCaps Connection to localhost:54321 refused Please help me resolve this, Perhaps vdsm is down? What do you see in its logs? Did you try to start it? -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Setting up all-in-one
- Original Message - From: Jaco bakgat...@gmail.com To: Users@ovirt.org Sent: Tuesday, July 29, 2014 5:22:44 AM Subject: [ovirt-users] Setting up all-in-one Hi folks, I'm new to the project, so please pardon my ignorance. I came to oVirt by way of looking for a suitable KVM/libvirt-based IaaS stack to supersede my old Ubuntu 12.04 setup, that I've been running since KVM came to Ubuntu-town. I've looked tried a number of solutions - Eucalyptus, Enomalism, OpenStack - but most proved too cumbersome or admin-heavy for us. Well, hopefully you'll find oVirt best :-) A while back I set up oVirt on CentOS (whatever was stable at the time), but had to shelve the project for a while, because... reasons. Fired it back up again did all the requisite updates/upgrades to bring the host up to snuff. Unfortunately oVirt did not work as well, so I tried removing/purging it from the host reinstalling it - both the 3.4.* stable 3.5 beta - but both get hit up by the same issue when running the engine-setup. Details follow - Environment: Linux $REDACTED 2.6.32-431.20.5.el6.centos.plus.x86_64 #1 SMP Fri Jul 25 07:10:09 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux CentOS release 6.5 (Final) terminal-out: [ INFO ] Starting engine service [ ERROR ] Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140727140628-g0z922.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20140727141521-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed log portion corresponding to the above error: 2014-07-27 13:25:01 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File /usr/lib/python2.6/site-packages/otopi/context.py, line 142, in _executeMethod method['method']() File /usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/system/engine.py, line 51, in _closeup state=True, File /usr/share/otopi/plugins/otopi/services/rhel.py, line 188, in state 'start' if state else 'stop' File /usr/share/otopi/plugins/otopi/services/rhel.py, line 96, in _executeServiceCommand raiseOnError=raiseOnError File /usr/lib/python2.6/site-packages/otopi/plugin.py, line 871, in execute command=args[0], RuntimeError: Command '/sbin/service' failed to execute 2014-07-27 13:25:01 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute 2014-07-27 17:40:58 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:866 execute-output: ('/sbin/service', 'ovirt-engine', 'start') stderr: 2014-07-27 17:40:58 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File /usr/lib/python2.6/site-packages/otopi/context.py, line 142, in _executeMethod method['method']() File /usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/system/engine.py, line 57, in _closeup state=True, File /usr/share/otopi/plugins/otopi/services/rhel.py, line 188, in state 'start' if state else 'stop' File /usr/share/otopi/plugins/otopi/services/rhel.py, line 96, in _executeServiceCommand raiseOnError=raiseOnError File /usr/lib/python2.6/site-packages/otopi/plugin.py, line 871, in execute command=args[0], RuntimeError: Command '/sbin/service' failed to execute 2014-07-27 17:40:58 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute 2014-07-27 17:40:58 DEBUG otopi.context context.dumpEnvironment:468 ENVIRONMENT DUMP - BEGIN 2014-07-27 17:40:58 DEBUG otopi.context context.dumpEnvironment:478 ENV BASE/error=bool:'True' 2014-07-27 17:40:58 DEBUG otopi.context context.dumpEnvironment:478 ENV BASE/exceptionInfo=list:'[(type 'exceptions.RuntimeError', RuntimeError(Command '/sbin/service' failed to execute,), traceback object at 0x27fdf80)]' 2014-07-27 17:40:58 DEBUG otopi.context context.dumpEnvironment:482 ENVIRONMENT DUMP - END 2014-07-27 17:40:58 INFO otopi.context context.runSequence:395 Stage: Clean up 2014-07-27 17:40:58 DEBUG otopi.context context.runSequence:399 STAGE cleanup 2014-07-27 17:40:58 DEBUG otopi.context context._executeMethod:138 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._cleanup These snippets are not enough to see *which* service failed to start - you should look a few lines before that. If it's the engine itself, you should look at its logs (/var/log/ovirt-engine/*.log). If it's vdsm, its own (/var/log/vdsm), etc. So please post relevant portions from the logs of the failing service. I've had a dig around from what I can tell this (possibly) related to bugs
Re: [ovirt-users] REQUEST: MD5 for images
- Original Message - From: Jaco bakgat...@gmail.com To: Users@ovirt.org Sent: Tuesday, July 29, 2014 10:15:43 AM Subject: [ovirt-users] REQUEST: MD5 for images I downloaded the latest Live ISO image I could find - ovirt-live-el6-3.4.3-1.iso - but it's not working as expected. I'd like to request form the repo maintainers to add MD5sum's to the service so that I can verify the integrity of the images I'm running. Adding infra. Cheers - Jaco ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt 3.5 2 nd test day report- make ovirt easy configurable to allow redirection of all logs to syslog
Maybe we should package these extra components? Or at least document clearly? I do not think we can move this bug to verified if it requires this kind of manual work. - Original Message - From: Alona Kaplan alkap...@redhat.com To: users users@ovirt.org Sent: Tuesday, July 29, 2014 5:27:58 PM Subject: [ovirt-users] oVirt 3.5 2 nd test day report- make ovirt easy configurable to allow redirection of all logs to syslog Ive re-tested this feature on f19 and f20. fileappender and syslogappender were tested separately and in parallel. Everything seems to work fine. ovirt-engine-extension-logger-log4j is still not part of the build and had to be built manually. Alona. - Forwarded Message - From: Alona Kaplan alkap...@redhat.com To: de...@ovirt.org Sent: Sunday, July 6, 2014 9:14:52 AM Subject: ovirt test day report - make ovirt easy configurable to allow redirection of all logs to syslog During the test day I tested - Bug 1078738 - OVIRT35 - [RFE] make ovirt easy configurable to allow redirection of all logs to syslog There was no feature page so it was very hard to understand how this feature should be tested. The build contains only a patch that tailors the api to the engine. abarlev sent me an external rpm with the syslog extension- tested it on f19, seems to work fine. Alona. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt mirror health report
- Original Message - From: Jiri Belka jbe...@redhat.com To: users@ovirt.org Sent: Wednesday, July 30, 2014 12:31:59 PM Subject: [ovirt-users] oVirt mirror health report Hi, oVirt mirrors are not really great, could you consider to make a health status reporting - out of sync, broken,...? This way you could remove bogus mirrors which would just make people upset. Inspiration: http://spacehopper.org/mirmon/ Might be done with something like mirrormanager, mirrorbrain, mirrorbits etc. Never used any of them personally. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Proper way to change and persist vdsm configuration options
It seems that you should be able to change it: http://www.supermicro.com/support/faqs/faq.cfm?faq=15869 Did not try that myself. Not sure it's better than simply managing vdsm.id manually. -- Didi - Original Message - From: Trey Dockendorf treyd...@gmail.com To: Joop jvdw...@xs4all.nl Cc: users users@ovirt.org Sent: Tuesday, August 5, 2014 10:17:06 PM Subject: Re: [ovirt-users] Proper way to change and persist vdsm configuration options Yep, these are Supermicro servers. # facter serialnumber 1234567890 On Tue, Aug 5, 2014 at 2:07 PM, Joop jvdw...@xs4all.nl wrote: On 5-8-2014 20:54, Alon Bar-Lev wrote: * ensure vdsm.conf exists * Populates /etc/vdsm/vdsm.id (IIRC a bug in previous ovirt required this) why? you machine should have valid bios uuid. There are manufactures that don't set a unique bios uuid. Supermicro is one of them. I had a RFE but that has been closed but I feel that it should be reopened and implemented. The change is minimal and guarantees that there is a unique uuid. Regards, Joop ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] list of answer file parameters?
- Original Message - From: Alon Bar-Lev alo...@redhat.com To: Jorick Astrego j.astr...@netbulae.eu Cc: users@ovirt.org Sent: Friday, August 15, 2014 1:59:41 PM Subject: Re: [ovirt-users] list of answer file parameters? - Original Message - From: Jorick Astrego j.astr...@netbulae.eu To: users@ovirt.org Sent: Friday, August 15, 2014 1:27:23 PM Subject: [ovirt-users] list of answer file parameters? Hi, I'm looking everywhere for a full list of OVESETUP parameters that can be used in the installer answerfile. Searched the red hat manual and found some in: 3.6. Passwords in Red Hat Enterprise Virtualization Manager But there are more. I can get it from a finished install but some parameters only apply to some types of installation. I found this one form lzap: https://gist.github.com/lzap/7a8cbb7f44d41e4ad171 But I don't know if it's complete or just for his personal use. No hurry, I know you are all busy ;-) Hi, The simplest way is to perform setup and record the answer file. You can even CtrlC at the summary confirmation question and answer file will be generated for you without installing anything. Full list is available at /usr/share/ovirt-engine/setup/ovirt_engine_setup/, seek *.py and look for @osetupattrs with answerfile=True. Maybe in future we can have utility to extract all with description. Also note: 1. The files there are separated between different packages, so you'll not necessarily have all, if you did not install some optional ones. 2. Not all combinations are supported, and in principle it's possible to manually create answer files that will cause setup to fail, or even to succeed but leave an unsupported, unexpected system setup. I started writing about this some time ago in [1] but got stuck in the middle, and Alon said I should not call it Otopi because it does not document Otopi but engine-setup, and he is largely right. See also [2], which is not directly related (key is not answerfile=True), but does give a relevant example. [1] http://www.ovirt.org/Otopi [2] https://bugzilla.redhat.com/show_bug.cgi?id=1101001 -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] list of answer file parameters?
- Original Message - From: Jorick Astrego j.astr...@netbulae.eu Cc: users@ovirt.org Sent: Friday, August 15, 2014 3:32:09 PM Subject: Re: [ovirt-users] list of answer file parameters? On 08/15/2014 02:21 PM, Yedidyah Bar David wrote: - Original Message - From: Alon Bar-Lev alo...@redhat.com To: Jorick Astrego j.astr...@netbulae.eu Cc: users@ovirt.org Sent: Friday, August 15, 2014 1:59:41 PM Subject: Re: [ovirt-users] list of answer file parameters? - Original Message - From: Jorick Astrego j.astr...@netbulae.eu To: users@ovirt.org Sent: Friday, August 15, 2014 1:27:23 PM Subject: [ovirt-users] list of answer file parameters? Hi, I'm looking everywhere for a full list of OVESETUP parameters that can be used in the installer answerfile. Searched the red hat manual and found some in: 3.6. Passwords in Red Hat Enterprise Virtualization Manager But there are more. I can get it from a finished install but some parameters only apply to some types of installation. I found this one form lzap: https://gist.github.com/lzap/7a8cbb7f44d41e4ad171 But I don't know if it's complete or just for his personal use. No hurry, I know you are all busy ;-) Hi, The simplest way is to perform setup and record the answer file. You can even CtrlC at the summary confirmation question and answer file will be generated for you without installing anything. Full list is available at /usr/share/ovirt-engine/setup/ovirt_engine_setup/, seek *.py and look for @osetupattrs with answerfile=True. Maybe in future we can have utility to extract all with description. Also note: 1. The files there are separated between different packages, so you'll not necessarily have all, if you did not install some optional ones. 2. Not all combinations are supported, and in principle it's possible to manually create answer files that will cause setup to fail, or even to succeed but leave an unsupported, unexpected system setup. I started writing about this some time ago in [1] but got stuck in the middle, and Alon said I should not call it Otopi because it does not document Otopi but engine-setup, and he is largely right. See also [2], which is not directly related (key is not answerfile=True), but does give a relevant example. [1] http://www.ovirt.org/Otopi [2] https://bugzilla.redhat.com/show_bug.cgi?id=1101001 Yes that was my problem, I was trying to do AIO install but engine-cleanup didn't work because a version mismatch. Perhaps because you upgraded ovirt-engine-setup without running engine-setup. You should have been able to fix by downgrading it. So I tried removing everything by hand but the installer never asked me the install local VDSM question... Then I thought I'd get smart and just Perhaps you did not have the allinone plugin itself? Or removed its /etc/ovirt-engine-setup.conf.d/10-packaging-aio.conf ? Or something like that? edit the answer the installer generated and add the AIO lines to it. But nearly all the settings are undocumented so I had to resort to searching on what to set them to on pastebin etc. In the end, I reinstalled the host as it was quicker to do a fresh install. Also I want to create puppet files and deploy engine through foreman. I think as a workaround, I'll do a couple of different installs and rip the generated answer file from them. But when a new parameter get's introduced, I will never know about it until I run into an issue. I think that using the kept files during the same minor (e.g. generate on 3.4.2, use for 3.4.3) should usually be safe (but not always). When upgrading to 3.5, I suggest to run again interactively to generate new answer files. Something like ovirt-installer --list-answerfile should be possible IMHO, as the installer uses and verifies the parameters on install. I'm not a programmer but it should be able to spit out a list them. We had several discussions in the past re this. We'd rather not do that. Main reason is what I explained above - some combinations will not work well. I think the main flows to using answer files are: 1. Most common - you have a specific env you want to be able to generate (including specific packages/plugins installed, specific answers you want to give etc). You just run engine-setup interactively and keep the generated answer file, and do not edit it. It will in principle be good only for an exact copy (same versions of packages etc.). 2. You do some testing of engine-setup and need to run it lots of times, interactively, and just not want to have to answer all the questions, just some of them. So you run engine-setup, edit the answer file and remove the answers you want to give interactively and use that. 3. Similar to 2. above, but you just want to keep very few answers (such as the one for the question warning you against running setup with not enough memory :-) ). So
Re: [ovirt-users] list of answer file parameters?
- Original Message - From: Jorick Astrego j.astr...@netbulae.eu Cc: users@ovirt.org Sent: Sunday, August 17, 2014 3:23:05 PM Subject: Re: [ovirt-users] list of answer file parameters? On 08/17/2014 02:01 PM, Yedidyah Bar David wrote: - Original Message - From: Jorick Astrego j.astr...@netbulae.eu To: users@ovirt.org Sent: Friday, August 15, 2014 5:24:04 PM Subject: Re: [ovirt-users] list of answer file parameters? [snip] As ovirt-cleanup is not working and reinstall fails with detail: Cannot create Data Center. The Data Center name is already in use., I'd like to drop the database when I rerun the installer. I found: OVESETUP_REMOVE But I don't know what to tell it.. Kind regards, Jorick Astrego Just to head you off, I can drop the database myself that's no problem. But I like to do less and less manual work ;-) If that's your goal you should use engine-cleanup. When does it say when failing? What version(s)? That was one off the goals. For the rest I just want to skip manual install in the future... I've been installing ovirt so many times the last year that I'm getting bored with it. And that is where I use If it's for non-production work, I think you can simply use the existing files you created, and recreate them for newer versions if the old ones break... answer files for when they are used. When I did IBM work in the past, I exclusively used answer files as they were very extensively documented and installations could run for hours. I even built scripts that generated the needed answer files to make installation easy and without errors. For the cleanup bug https://bugzilla.redhat.com/show_bug.cgi?id=1130137 Thanks for the report. Already solved in the code, should be fixed soon in a new build. Or use the nightly builds... -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ?
- Original Message - From: Ryan Groten ryan.gro...@stantec.com To: Chao Xie xiec.f...@cn.fujitsu.com, users@ovirt.org Sent: Friday, September 5, 2014 5:27:06 PM Subject: Re: [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ? In my case I actually have a spare server (physical) that I keep patched and up-to-date, the engine backups are automatically transferred there. If my hosted-engine goes down I restore the engine database on the physical spare and run like that until I can get the hosted-engine back up. I’ve never tried restoring onto a newly deployed hosted-engine VM using hosted-engine --deploy, but I can’t see why that wouldn’t work (maybe someone else knows if this is possible?). I’ll give it a try too. Please see also [1] which describes a similar flow. I never tried your exact flow. Main difference is that the database already has the engine's VM and knows it's a hosted engine. [1] http://www.ovirt.org/Migrate_to_Hosted_Engine -- Didi From: Xie, Chao [mailto:xiec.f...@cn.fujitsu.com] Sent: September-05-14 3:23 AM To: Groten, Ryan; users@ovirt.org Subject: 答复 : How to backup/restore the rhevm-VM in hosted-engine ? Hi, Ryan Thanks for replying. I know your meaning and engine-backup command. But I have some questions with your way: “ If the hosted-engine needs to be restored for some reason I will just recreate the OS and restore the engine database ”. Do you recreate the Guest using original host? And the host needn’t to be fresh installed and just excute hosted-engine –deployed again, we can recreate another OS? 发件人 : Groten, Ryan [ mailto:ryan.gro...@stantec.com ] 发送时间 : 2014 年 9 月 5 日 4:29 收件人 : Xie, Chao/ 谢 超 ; users@ovirt.org 主题 : RE: How to backup/restore the rhevm-VM in hosted-engine ? In 3.4 there is a backup/restore utility called engine-backup. You can use this to backup the RHEV-M database(s) as well as restore. Of course this won’t backup the Guest OS itself. My DR strategy is to simply copy off these engine-backup files to another location. If the hosted-engine needs to be restored for some reason I will just recreate the OS and restore the engine database. Check this link for documentation: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Administration_Guide/chap-Backups.html From: users-boun...@ovirt.org [ mailto:users-boun...@ovirt.org ] On Behalf Of xiec.f...@cn.fujitsu.com Sent: September-03-14 9:54 PM To: users@ovirt.org Subject: [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ? Hi,All As the mauual, I can’t find anyway to backup/restore the rhevm-VM in the hosted-engine. The I just try to backup the storage of rhevm-VM (using cp –prf to make a copy of folder). Then I make some change and replace the origin RHEVM-VM content with my backup folder (of course I shutdown the rhevm-vm first). At last the vm can be up,but the status is NOT health but as below: Status up-to-date : False Hostname : 193.168.195.248 Host ID : 1 Engine status : unknown stale-data Score : 2400 Local maintenance : False Host timestamp : 1409743461 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=1409743461 (Wed Sep 3 07:24:21 2014) host-id=1 score=2400 maintenance=False state=EngineUp = So are there some proper way to backup the rhevm-vm? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [QE][ACTION REQUIRED] oVirt 3.5.0 RC2 status
- Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: Sandro Bonazzola sbona...@redhat.com Cc: de...@ovirt.org, Piotr Kliczewski pklic...@redhat.com, mgr...@redhat.com, Users@ovirt.org, rk...@redhat.com Sent: Monday, September 8, 2014 9:55:26 AM Subject: Re: [ovirt-users] [QE][ACTION REQUIRED] oVirt 3.5.0 RC2 status On Mon, Sep 8, 2014 at 8:41 AM, Sandro Bonazzola sbona...@redhat.com wrote: Hi, We were supposed to start composing oVirt 3.5.0 RC2 today from 3.5 branch, however we still have blockers open so we should postpone the build. In order to re-schedule the build I need ETA on the open blockers, please provide it. Hello, to test and see the current status of 3.5 is it still sufficient to use this repo file http://resources.ovirt.org/pub/yum-repo/ovirt-release35.rpm as detailed in http://www.ovirt.org/OVirt_3.5_Release_Notes#Install_.2F_Upgrade_from_previous_versions ? Or anything else? This should work, but provides manually-built milestone points, last of which was built on 2014-08-21 (and iirc announced here). You can use instead the 3.5 snapshot (and snapshot-static) repos instead to get the latest 3.5 nightly builds. See [1]. [1] http://www.ovirt.org/OVirt_3.5_release-management#Nightly_Builds Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Installing 3.4.3 Centos 6.5
- Original Message - From: Neil nwilson...@gmail.com To: users@ovirt.org Sent: Monday, September 15, 2014 10:17:45 AM Subject: [ovirt-users] Installing 3.4.3 Centos 6.5 Hi guys, Please could someone assist me, I'm trying to install ovirt 3.4.3 so I can move my current ovirt engine from one server to another. I've done a minimal install of Centos 6.5, did a yum update, then I've added in the repo and when I run engine-setup and go through all the options, it eventually errors out with the following error... [ ERROR ] Failed to execute stage 'Transaction commit': Command '/bin/rpm' failed to execute It failed with (among other output): package ovirt-engine-webadmin-portal is not installed What exactly did you install with 'yum install'? If 'ovirt-engine', you should have also installed 'ovirt-engine-webadmin-portal' which is a dependency of it. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Move ovirt-engine to a new server
- Original Message - From: Neil nwilson...@gmail.com To: users@ovirt.org Sent: Monday, September 15, 2014 6:26:18 PM Subject: [ovirt-users] Move ovirt-engine to a new server Hi guys, Please could someone try assist me. I'm starting to lose hair over this :) I'm trying to migrate my current engine to a new host with the same OS and hostname. Centos 6.5, ovirt-engine-3.4.3-1.el6.noarch I've installed all the packages, I run engine-setup and go through the options keeping the details the same as before, I then restore my config back to /etc/ovirt-engine as well as to /etc/pki/ovirt-engine, but when it gets to trying to restore my database I get the following error... [root@backup dbscripts]# ./restore.sh -u postgres -f /mnt/fw-ovirt-backup/engine-db-2014-09-15-16-48.sql psql: FATAL: Ident authentication failed for user postgres Database engine does not exist, please create an empty database named engine. [root@backup dbscripts]# su - postgres -c psql -d template1 -c 'drop database engine;' DROP DATABASE [root@backup dbscripts]# su - postgres -c psql -d template1 -c 'create database engine owner engine;' CREATE DATABASE [root@backup dbscripts]# ./restore.sh -u postgres -f /mnt/fw-ovirt-backup/engine-db-2014-09-15-16-48.sql psql: FATAL: Ident authentication failed for user postgres Database engine does not exist, please create an empty database named engine. or even [root@backup dbscripts]# ./restore.sh -u engine -f /mnt/fw-ovirt-backup/engine-db-2014-09-15-16-48.sql psql: FATAL: Ident authentication failed for user engine Database engine does not exist, please create an empty database named engine. This is my pg_hba.conf as well.. # TYPE DATABASEUSERCIDR-ADDRESS METHOD # local is for Unix domain socket connections only local all all ident hostengine engine 0.0.0.0/0 md5 hostengine engine ::0/0 md5 # IPv4 local connections: hostall all 127.0.0.1/32 ident # IPv6 local connections: hostall all ::1/128 ident I've done this a couple time before and haven't encountered this issue, so it seems rather odd. What guide are you following? You should be able to do this with engine-backup, see [1]. That said, your problems above seem to be caused by some postgres-specific issues, which might not be solved by simply using engine-backup. I suggest that you try and report if you still have problems. Good luck! [1] http://www.ovirt.org/Ovirt-engine-backup -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Fwd: shortcut keys
- Original Message - From: Fernando Fuentes ffuen...@aasteel.com To: users@ovirt.org Sent: Monday, October 13, 2014 2:24:57 AM Subject: [ovirt-users] Fwd: shortcut keys Second round maybe somebody can shed some light on the issue below? =] Thanks! Original Message Team, New here to the list... Been using ovirt for some time now I just updated from 3.3.5 to 3.4.1. We have Windows 7 Guest and use putty to connect to our DB System. We use specific hot keys set in our termcap, etc... putty? To be straight to the point... on oVirt branch 3.3.XX the hotkeys Shift + F8 Shift + F9 where capture by our terminals and where been read correctly... I just updated oVirt to 3.4.1 and all went fine EXCEPT =] That now those hotkeys are no longer working... Running putty to our DB server via ssh and than running the command read does nothing... It reads all hotkeys and key combinations from F1 to F12 and Shift F1 to F7 and skips F8 and F9... putty? What changed on oVirt 3.4.1 that I can no longer use this hotkeys? I also try to use them on windows and they are just not coming though at all... It seems to me that spice is catching the key sequence and capturing it before delivering it to the guest or spice? Please be more specific. What exactly you are doing, what happened in 3.3, what happens in 3.4. Include exact versions of all relevant software etc. - including version of ovirt, vdsm, qemu, spice client. I can hardly believe that an ovirt version has anything to do with putty accessing a vm. spice is a different matter. My data center/cluster runs on Centos 6.5 x86_64 All have 96GB of RAM and all have the same CPU Family... My ovirt manager runs as well on Centos 6.5 x86_64 on a different hosts that runs luci/kvm for HA clustering. Any ideas? -- Fernando Fuentes Technical Lead Systems Administrator Email: ffuen...@aasteel.com American Alloy Steel, Inc. Houston, Texas Website: http://www.aasteel.com Phone: 713-462-8081 Fax: 713-462-0527 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] html slideshow (was: Re: ovirt presentation template -- google docs format?)
I prepared a presentation about separate engine/dwh/reports hosts using slidy [1] and pandoc [2] to convert markdown to an html slideshow and am trying preparing an ovirt template for that. Any opinions about that? Client side web developers are welcome to help and/or take over... You can see the current presentation (unstyled) at [3]. Note that the content is also not uptodate, stay tuned. [1] http://www.w3.org/Talks/Tools/Slidy2/ [2] http://johnmacfarlane.net/pandoc/ [3] http://www.ovirt.org/Features/Separate-Reports-Host#Presentation Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] html slideshow (was: Re: ovirt presentation template -- google docs format?)
- Original Message - From: Greg Sheremeta gsher...@redhat.com To: Yedidyah Bar David d...@redhat.com Cc: Brian Proffitt bprof...@redhat.com, Dave Neary dne...@redhat.com, users users@ovirt.org Sent: Tuesday, October 14, 2014 10:52:16 PM Subject: Re: html slideshow (was: Re: [ovirt-users] ovirt presentation template -- google docs format?) - Original Message - From: Yedidyah Bar David d...@redhat.com To: Greg Sheremeta gsher...@redhat.com Cc: Brian Proffitt bprof...@redhat.com, Dave Neary dne...@redhat.com, users users@ovirt.org Sent: Tuesday, October 14, 2014 12:48:55 PM Subject: html slideshow (was: Re: [ovirt-users] ovirt presentation template -- google docs format?) I prepared a presentation about separate engine/dwh/reports hosts using slidy [1] and pandoc [2] to convert markdown to an html slideshow and am trying preparing an ovirt template for that. Any opinions about that? Client side web developers are welcome to help and/or take over... You can see the current presentation (unstyled) at [3]. Note that the content is also not uptodate, stay tuned. [1] http://www.w3.org/Talks/Tools/Slidy2/ [2] http://johnmacfarlane.net/pandoc/ [3] http://www.ovirt.org/Features/Separate-Reports-Host#Presentation Best, -- Didi My opinion: the more template formats, the better -- as long as they all look the same. OK, updated the file [3] (above), now it looks mostly the same. Copied the color(s) and logo from the ooo template, tried a bit copying also the proportions, did not manage to make the logo larger :-( help is appreciated :-) I copied the css from w3c-blue and edited, but if you check you'll see there lots of unneeded cruft. I, however, prefer point-and-click over markdown / latex / etc. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] AllInOne Installation ovirt3.5 on CentOS 6.5 fails
- Original Message - From: Patrick Werner patrick.wer...@hs-heilbronn.de To: users@ovirt.org Sent: Monday, October 20, 2014 4:44:45 PM Subject: [ovirt-users] AllInOne Installation ovirt3.5 on CentOS 6.5 fails Hi, i’ve tried to install ovirt on a fresh CentOS 6.5 Install. I’ve used the Instruction from: http://www.ovirt.org/Download (Chapter: Red Hat Enterprise Linux 6/CentOS Installation Instructions) using the All in One Plugin. At the end of the engine-setup process i get the following error: [ ERROR ] The VDSM host was found in a failed state. Please check engine and bootstrap installation logs. [WARNING] Local storage domain not added because the VDSM host was not up. Please add it manually. and i can’t access the host from the ovirt webadmin (Host local_host became non responsive. It has no power management configured. Please check the host status, manually reboot it, and click Confirm Host Has Been Rebooted) Rebooting doesn’t solve the problem. Another Error is: Failed to verify Power Management configuration for Host local_host I didn’t install gluster support and haven’t enabled NFS share for ISO domain (i suppose i don’t need this feature on an all-in-one host). here is what i have entered in engine-setup: http://pastebin.com/XjFMpzkh ovirt-setup-log: https://paste.ee/p/jJDkQ Any help is very appreciated. Please provide more logs - vdsm: /var/log/vdsm/vdsm.log* host-deploy: /var/log/ovirt-engine/host-deploy/* engine, although it doesn't see like the problem is there: /var/log/ovirt-engine/*.log Thanks. Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Fwd: options for root and password]
- Original Message - From: Hoot Thompson h...@ptpnow.com To: users@ovirt.org Sent: Tuesday, October 21, 2014 3:52:24 AM Subject: [ovirt-users] [Fwd: options for root and password] Is there an alternative to the root/paasword approach to managing hosts (by the engine)? Our preference would be keys/passphrase if that's possible. IIRC we already allow that, no? In the new host dialog you can choose ssh public key. Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Fwd: options for root and password]
- Original Message - From: Sven Kieske s.kie...@mittwald.de To: users@ovirt.org Sent: Tuesday, October 21, 2014 10:21:17 AM Subject: Re: [ovirt-users] [Fwd: options for root and password] On 21/10/14 09:05, Yedidyah Bar David wrote: - Original Message - From: Hoot Thompson h...@ptpnow.com To: users@ovirt.org Sent: Tuesday, October 21, 2014 3:52:24 AM Subject: [ovirt-users] [Fwd: options for root and password] Is there an alternative to the root/paasword approach to managing hosts (by the engine)? Our preference would be keys/passphrase if that's possible. IIRC we already allow that, no? In the new host dialog you can choose ssh public key. Best, Well there is this wiki page: http://www.ovirt.org/Features/Ssh_Abilities but it is from 2013 and has this security hole: Currently we don't enforce fingerprint validation. I don't know if this is still valid, I don't find any options regarding public/private keys in ovirt 3.3. but I would be very interested in this topic to tighten security. I agree. Not sure about the current status. Note that there are two different issues here: 1. Letting ssh using a key pair instead of a password - already done 2. verifying the fingerprint, whether input by user or saved after first login - not sure -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] AllInOne Installation ovirt3.5 on CentOS 6.5 fails
- Original Message - From: Patrick Werner patrick.wer...@hs-heilbronn.de To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Tuesday, October 21, 2014 11:37:47 AM Subject: Re: [ovirt-users] AllInOne Installation ovirt3.5 on CentOS 6.5 fails Hi Didi, i’ve uploaded all logs to: https://dl.dropboxusercontent.com/u/31918578/logs.zip engine.log is full of: 2014-10-21 03:17:06,292 WARN [org.ovirt.vdsm.jsonrpc.client.utils.retry.Retryable] (SSL Stomp Reactor) Retry failed: java.net.ConnectException: Connection refused warnings. I see that vdsm.log is empty. Is it indeed? What's the output of ls -l /var/log/vdsm/vdsm.log* ? If it's indeed empty, and is owned by root, that it means that some process ran by root created it, and later the vdsm user fails to write to it. We had several cases like that in the past, some of them failed to be fully diagnosed. Some relevant links: http://gerrit.ovirt.org/25912 https://bugzilla.redhat.com/show_bug.cgi?id=1080580 https://bugzilla.redhat.com/show_bug.cgi?id=912308 https://bugzilla.redhat.com/show_bug.cgi?id=1055153 A trivial workaround is: chown vdsm:kvm /var/log/vdsm/vdsm.log If you can come up with any idea about how this happened (e.g. if you can correlate the timestamp of the file with something else that happened on the system, etc.), we'd love to hear about it. Adding some vdsm people. Thanks! -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] vdsmd start fails during unified_network_persistence_upgrade (was: AllInOne Installation ovirt3.5 on CentOS 6.5 fails)
- Patrick Werner patrick.wer...@hs-heilbronn.de wrote: Hi Didi, vdsm.log is empty and not owned by root: -rw-r--r-- 1 vdsm kvm 0 Oct 21 13:44 /var/log/vdsm/vdsm.log OK, false alarm. Your host-deploy log ([1], from your previous report) has: 2014-10-20 14:42:41 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:861 execute-output: ('/sbin/service', 'vdsmd', 'start') stdout: Starting multipathd daemon: [ OK ] Starting rpcbind: [ OK ] Starting ntpd: [ OK ] Starting wdmd: [ OK ] Starting sanlock: [ OK ] supervdsm start[ OK ] Starting iscsid: [ OK ] [ OK ] vdsm: Running mkdirs vdsm: Running configure_coredump vdsm: Running configure_vdsm_logs vdsm: Running run_init_hooks vdsm: Running check_is_configured libvirt is already configured for vdsm vdsm: Running validate_configuration SUCCESS: ssl configured to true. No conflicts vdsm: Running prepare_transient_repository vdsm: Running syslog_available vdsm: Running nwfilter vdsm: Running dummybr vdsm: Running load_needed_modules vdsm: Running tune_system vdsm: Running test_space vdsm: Running test_lo vdsm: Running unified_network_persistence_upgrade vdsm: stopped during execute unified_network_persistence_upgrade task (task returned with error code 1). vdsm start[FAILED] 2014-10-20 14:42:41 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:866 execute-output: ('/sbin/service', 'vdsmd', 'start') stderr: initctl: Job is already running: libvirtd libvir: Network Filter Driver error : Network filter not found: no nwfilter with matching name 'vdsm-no-mac-spoofing' [1] ovirt-20141020144241-ex1.gecko.hs-heilbronn.de-2f64814a.log In order to identify when this empty log is created i just reinstalled ovirt 3.5 AllInOne on a fresh installed Centos 6.5 as root user (the ls -l /var/log/vdsm/vdsm.log* output from above is from the fresh install) the empty vdsm log is created after the installation step: yum install -y ovirt-engine-setup-plugin-allinone Then i did the engine-setup step (Complete settings/log at the end of this mail). Again with the error: [ ERROR ] The VDSM host was found in a failed state. Please check engine and bootstrap installation logs. [WARNING] Local storage domain not added because the VDSM host was not up. Please add it manually. What happens if you manually try to start the vdsmd service on the host (not vm)? If it still fails with the above error, try to fix that first. Not sure what might cause this - perhaps non-standard network configuration or something like that. You might search other logs for relevant errors from the time you do that. Changed the subject to attract vdsm people's attention... -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore
- Original Message - From: Hans-Joachim r...@chef.net To: users@ovirt.org Sent: Wednesday, October 22, 2014 2:48:19 PM Subject: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore Hello, after updating from 3.4 to 3.5, I've a issue with the reports. On the welcome screen, when I click on the reports link, I get the Status 404 type Status report message /ovirt-engine-reports description The requested resource (/ovirt-engine-reports) is not available. You can try restarting the engine (service ovirt-engine restart). If it doesn't work, please check/post: /etc/httpd/conf.d/z-ovirt-engine-reports-proxy.conf /etc/ovirt-engine/engine.conf.d/10-setup-reports-access.conf relevant part of httpd logs Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore
- Original Message - From: Hans-Joachim r...@chef.net To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org, Shirly Radco sra...@redhat.com Sent: Wednesday, October 22, 2014 6:22:54 PM Subject: Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore Hello, well, I can't find anything special within the httpd logs. Only ssl_error_log shows some, but there is no relation to the connection tries. [Wed Oct 22 11:35:59 2014] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8702 (localhost) failed [Wed Oct 22 11:35:59 2014] [error] ap_proxy_connect_backend disabling worker for (localhost) [Wed Oct 22 11:35:59 2014] [error] proxy: AJP: failed to make connection to backend: localhost This is an error while trying to connect to the engine, not to reports. In 3.5, engine and reports have each its own jboss instance listening on its own local ports. 8702 is the engine's, 8712 is reports'. /etc/httpd/conf.d/z-ovirt-engine-reports-proxy.conf: IfModule proxy_ajp_module Location /ovirt-engine-reports ProxyPassMatch ajp://127.0.0.1:8712 timeout=3600 retry=5 This one ^^, and IfModule deflate_module AddOutputFilterByType DEFLATE text/javascript text/css text/html text/xml text/json application/xml application/json application/x-yaml /IfModule /Location /IfModule /etc/ovirt-engine/engine.conf.d/10-setup-reports-access.conf: ENGINE_REPORTS_BASE_URL=https://myserver.domain/ovirt-engine-reports this one ^^ are a bit weird for me. I'd expect the same hostname in both. Normally, you should input, when asked for the host's fqdn, a hostname, and not an ip address, and this name should point to a public ip address, not 127.0.0.1. Since this is an upgrade, iirc you were not even asked about this. Were you? What do you have in /etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf ? If not an ip address but a hostname, does this name resolve to an external address? If not, I think you can fix this simply by changing it to point to an external address - edit /etc/hosts or your dns server. If you have there 127.0.0.1, not sure where 'myserver.domain' came from. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Hosted engine - not redefine iptables
- Original Message - From: Ludek Finstrle lfinst...@netsuite.com To: users@ovirt.org Sent: Thursday, October 23, 2014 7:01:19 PM Subject: [ovirt-users] Hosted engine - not redefine iptables Hi, I'm installing hosted engine oVirt 3.5 and I try to avoid iptables changes from ovirt. I set OVEHOSTED_NETWORK/firewallManager=str:disable and it's working during first phase of installation. The problem I see is when the hosted node (physical host) is added into engine the iptables changes for the ovirt node (physical host). I'm using --config-append for both ovirt-hosted-engine-setup and engine-setup also. Is there any way to suppress changing iptables rules during the last phase (adding ovirt node into engine)? I know there is check box during adding node from GUI (but I can't use it for additional hosted node). Seems like https://bugzilla.redhat.com/show_bug.cgi?id=1080823 . -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Problem installing hosted engine on CentOS 7 host
- Original Message - From: Justin Clacherty jus...@redfish.com.au To: Users@ovirt.org Sent: Monday, October 27, 2014 3:25:44 AM Subject: [ovirt-users] Problem installing hosted engine on CentOS 7 host Hi, I'm just trying to set up ovirt 3.5 for testing and am unable to get hosted engine installed. The problem appears to be something to do with multipath iscsi setup. I run 'hosted-engine --deploy' and answer all the questions. See the config preview below. --== CONFIGURATION PREVIEW ==-- Engine FQDN : ovirt.domain.local Bridge name : ovirtmgmt SSH daemon port : 22 Firewall manager : iptables Gateway address : 192.168.42.254 Host name for web application : hosted_engine iSCSI Target Name : iqn.2014-10.storage.domain.san0:iscsi0 iSCSI Portal port: 3260 Host ID : 1 iSCSI LUN ID : 0 Image size GB : 25 iSCSI Portal IP Address : 10.50.0.200 iSCSI Portal user : myuser Console type: vnc Memory size MB: 4096 MAC address : 00:16:3e:23:b4:c2 Boot type : cdrom Number of CPUs: 2 ISO image (for cdrom boot) : /tmp/CentOS-7.0-1406-x86_64-DVD.iso CPU Type : model_Nehalem At the iscsi target question it shows both target names (for each of the multipath options) but you only seem to be able to choose one. After confirming the settings above I get the following. [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Creating Volume Group [ ERROR ] Failed to execute stage 'Misc configuration': Failed to initialize physical device: (['/dev/mapper/36001405fbaac4f30dd647b083c6a0116'],) [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Answer file '/etc/ovirt-hosted-engine/answers.conf' has been updated [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue. https://bugzilla.redhat.com/show_bug.cgi?id=1154353 Seems similar indeed. Can you please attach your logs to that bug? Thanks! -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Problem installing hosted engine on CentOS 7 host
- Original Message - From: Justin Clacherty jus...@redfish.com.au To: Yedidyah Bar David d...@redhat.com Cc: Users@ovirt.org Sent: Monday, October 27, 2014 9:15:13 AM Subject: RE: [ovirt-users] Problem installing hosted engine on CentOS 7 host -Original Message- From: Yedidyah Bar David [mailto:d...@redhat.com] - Original Message - From: Justin Clacherty jus...@redfish.com.au The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue. https://bugzilla.redhat.com/show_bug.cgi?id=1154353 Seems similar indeed. Can you please attach your logs to that bug? Thanks! -- Didi Log attached. Let me know if you need anything else. I just noticed in that bug report that there's a workaround listed. If you can let me know how to kill the partial nfs deployment I did I'll retry iscsi with the workaround. At the moment if I try to deploy I get: [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20141027171154-mct4mj.log Version: otopi-1.3.0 (otopi-1.3.0-1.el7) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ ERROR ] The following VMs has been found: 55bae22d-03dd-40b8-830d-67fcb73066e1 [ ERROR ] Failed to execute stage 'Environment setup': Cannot setup Hosted Engine with other VMs running [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Answer file '/etc/ovirt-hosted-engine/answers.conf' has been updated [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination You can try: hosted-engine --vm-poweroff -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Problem installing hosted engine on CentOS 7 host
- Original Message - From: Justin Clacherty jus...@redfish.com.au To: Yedidyah Bar David d...@redhat.com Cc: Users@ovirt.org Sent: Monday, October 27, 2014 9:15:13 AM Subject: RE: [ovirt-users] Problem installing hosted engine on CentOS 7 host -Original Message- From: Yedidyah Bar David [mailto:d...@redhat.com] - Original Message - From: Justin Clacherty jus...@redfish.com.au The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue. https://bugzilla.redhat.com/show_bug.cgi?id=1154353 Seems similar indeed. Can you please attach your logs to that bug? Thanks! -- Didi Log attached. Let me know if you need anything else. Thanks a lot! Please attach vdsm logs (/var/log/vdsm/*). Thanks, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Problem installing hosted engine on CentOS 7 host
- Original Message - From: Justin Clacherty jus...@redfish.com.au To: Yedidyah Bar David d...@redhat.com Cc: Users@ovirt.org Sent: Monday, October 27, 2014 12:17:28 PM Subject: RE: [ovirt-users] Problem installing hosted engine on CentOS 7 host - Original Message - From: Justin Clacherty jus...@redfish.com.au The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue. https://bugzilla.redhat.com/show_bug.cgi?id=1154353 Seems similar indeed. Can you please attach your logs to that bug? Thanks! -- Didi Log attached. Let me know if you need anything else. Thanks a lot! Please attach vdsm logs (/var/log/vdsm/*). Thanks, -- Didi Those logs were a bit of a mess as I'd deployed and re-deployed a few times. I've just reinstalled the host from scratch and run deploy. The new vdsm and hosted-engine logs are attached to the bug. Thanks! -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] CoreOS can not install on Ovirt
- Original Message - From: Punit Dambiwal hypu...@gmail.com To: users@ovirt.org, Itamar Heim ih...@redhat.com, Dan Kenigsberg dan...@redhat.com, Oved Ourfali ov...@redhat.com Sent: Tuesday, October 28, 2014 5:22:23 AM Subject: [ovirt-users] CoreOS can not install on Ovirt Hi, I try to install the CoreOS ( https://coreos.com/ ) as guest VM under ovirt 3.5 by ISO...but if i choose this CoreOS iso But if i choose Centos iso...it start the installation without any problem i already checked the ISO of CoreOS is perfectly fine...i can install it with physical machine...but stuck in the OVirt... You might want to try another OS type for the VM. I guess you chose something that causes the cd to use virtio, and this does not work with your image (e.g. the boot loader on it). -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Certificate Enrollment Failed
- Original Message - From: Dinuwan dinu...@seychelles.sc To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Monday, November 3, 2014 11:05:39 AM Subject: Re: [ovirt-users] Certificate Enrollment Failed Hi Alon, Thank you for your reply. I just checked the serial.txt file and indeed it is empty. How do you think I should proceed with it? If that's your only problem, you can simply write there a number larger than the largest one issued so far, as can be seen by 'ls -l /etc/pki/ovirt-engine/certs'. E.g. if the largest there is '1007.pem', you can 'echo 1008 /etc/pki/ovirt-engine/serial.txt'. However, this file should not be empty normally at this point. You might better check what caused it to be empty and what other damage this caused. E.g. check your logs etc for the timestamp(s) of this file. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Upgrade question
- Original Message - From: Alan Murrell li...@murrell.ca To: users users@ovirt.org Sent: Sunday, November 9, 2014 8:31:08 PM Subject: [ovirt-users] Upgrade question Hello, I just wanted to clarify the upgrade procedure for when I am ready to go from my 3.4 - 3.5. I have a single server running oVirt 3.4 (host+storage) with a self-hosted engine setup. The hosted engine and the host are both on CentOS 6.5. According to the release notes for 3.5, I would install the ovirt-release35.rpm RPM, which gives me the oVirt 3.5 repositories. Is the upgrade path at that point then as simple as running yum upgrade on both the host and the hosted-engine or do I still need to run yum update ovirt-engine-setup then engine-setup after upgrading both? It isn't clear (to me) if the yum ovirt-engine-setup and engine-setup steps on the 3.5 Release Notes are for a clean install only, or if they still need to be run on a system being upgraded. Generally speaking, the upgrade instructions at [1] still apply (just replace there 3.4 with 3.5). [1] http://www.ovirt.org/Hosted_Engine_Howto#Upgrade_Hosted_Engine Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [ANN] oVirt snapshots available for testing on EL7
- Original Message - From: Sandro Bonazzola sbona...@redhat.com To: annou...@ovirt.org, de...@ovirt.org, Users@ovirt.org Sent: Monday, November 10, 2014 9:47:56 AM Subject: [ovirt-users] [ANN] oVirt snapshots available for testing on EL7 The oVirt team is pleased to announce that the 3.5 and master nightly snapshot repositories[1] have been update including builds for Red Hat Enterprise Linux 7 (or similar) for testing. Please note that mirrors may need usually one day before being synchronized. If you want to be sure to use latest rpms and don't want to wait for the mirrors, you can edit /etc/yum.repos.d/ovirt-3.5-snapshot.repo or /etc/yum.repos.d/ovirt-master-snapshot.repo commenting the mirror line and removing the comment on baseurl line. Thanks to everyone who will join us testing oVirt! If you're testing oVirt 3.5 nightly snapshot, please add yourself to the test page [2] [1] http://www.ovirt.org/Install_nightly_snapshot [2] http://www.ovirt.org/Testing/oVirt_3.5.1_Testing Now tried that, to make it work I had to: 1. Add the following dependencies to the epel repo: python-crypto,python-cheetah,python-ecdsa,python-markdown Pushed http://gerrit.ovirt.org/34993 for that 2. Manually download vdsm-jsonrpc-java from jenkins. David Caro already made it be published in the yum repos, mirrors will probably take time to sync. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [ANN] oVirt snapshots available for testing on EL7
- Original Message - From: Yedidyah Bar David d...@redhat.com To: Sandro Bonazzola sbona...@redhat.com Cc: de...@ovirt.org, Users@ovirt.org Sent: Monday, November 10, 2014 3:04:13 PM Subject: Re: [ovirt-users] [ANN] oVirt snapshots available for testing on EL7 - Original Message - From: Sandro Bonazzola sbona...@redhat.com To: annou...@ovirt.org, de...@ovirt.org, Users@ovirt.org Sent: Monday, November 10, 2014 9:47:56 AM Subject: [ovirt-users] [ANN] oVirt snapshots available for testing on EL7 The oVirt team is pleased to announce that the 3.5 and master nightly snapshot repositories[1] have been update including builds for Red Hat Enterprise Linux 7 (or similar) for testing. Please note that mirrors may need usually one day before being synchronized. If you want to be sure to use latest rpms and don't want to wait for the mirrors, you can edit /etc/yum.repos.d/ovirt-3.5-snapshot.repo or /etc/yum.repos.d/ovirt-master-snapshot.repo commenting the mirror line and removing the comment on baseurl line. Thanks to everyone who will join us testing oVirt! If you're testing oVirt 3.5 nightly snapshot, please add yourself to the test page [2] [1] http://www.ovirt.org/Install_nightly_snapshot [2] http://www.ovirt.org/Testing/oVirt_3.5.1_Testing Now tried that, to make it work I had to: 1. Add the following dependencies to the epel repo: python-crypto,python-cheetah,python-ecdsa,python-markdown Pushed http://gerrit.ovirt.org/34993 for that 2. Manually download vdsm-jsonrpc-java from jenkins. David Caro already made it be published in the yum repos, mirrors will probably take time to sync. This still was not enough - services (engine, fence-kdump-listener etc) were not configured correctly. Tried now with latest 3.5 nightly snapshot and it worked. Note that yum update to it didn't work - I guess it's because services are configured only on yum install and not yum update, didn't check this. Also, I needed to start nfs services prior to running engine-setup, or it would emit what seems like a non-fatal error in the end when running 'exportfs -ar'. Pushed [3] to fix that. [3] http://gerrit.ovirt.org/35070 -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] replace ovirt engine host
Sorry, no idea. Does not seem very related to hosted-engine. Perhaps better to change the subject (add 'gluster'?) to attract other people. Also please post all relevant logs - hosted-engine, vdsm, all engine logs. -- Didi - Original Message - From: Ml Ml mliebher...@googlemail.com To: Matt . yamakasi@gmail.com Cc: users@ovirt.org Sent: Wednesday, November 12, 2014 3:06:04 PM Subject: Re: [ovirt-users] replace ovirt engine host Anyone? :-( On Tue, Nov 11, 2014 at 6:39 PM, Ml Ml mliebher...@googlemail.com wrote: I dunno why this is all so simple for you. I just replaced the ovirt-engine like described in the docs. I ejected the CD ISOs on every vm so i was able to delete the ISO_DOMAIN. But i have still problems with my storage. Its a replicated glusterfs. It looks healthy on the nodes itself. But somehow my ovirt-engine gets confused. Can someone explain me what the actual error is? Note: i only replaced the ovirt-engine host and delete the ISO_DOMAIN: 2014-11-11 18:32:37,832 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetTaskStatusVDSCommand] (org.ovirt.thread.pool-6-thread-39) [71891fe3] Failed in HSMGetTaskStatusVDS method 2014-11-11 18:32:37,833 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (org.ovirt.thread.pool-6-thread-39) [71891fe3] spmStart polling ended: taskId = 8c5fae2c-0ddb-41cd-ac54-c404c943e00f task status = finished 2014-11-11 18:32:37,834 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (org.ovirt.thread.pool-6-thread-39) [71891fe3] Start SPM Task failed - result: cleanSuccess, message: VDSGenericException: VDSErrorException: Failed to HSMGetTaskStatusVDS, error = Storage domain does not exist, code = 358 2014-11-11 18:32:37,888 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (org.ovirt.thread.pool-6-thread-39) [71891fe3] spmStart polling ended, spm status: Free 2014-11-11 18:32:37,889 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] (org.ovirt.thread.pool-6-thread-39) [71891fe3] START, HSMClearTaskVDSCommand(HostName = ovirt-node01.foobar.net, HostId = 2e8cec66-23d7-4a5c-b6f3-9758d1d87f5c, taskId=8c5fae2c-0ddb-41cd-ac54-c404c943e00f), log id: 547e26fd 2014-11-11 18:32:37,937 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] (org.ovirt.thread.pool-6-thread-39) [71891fe3] FINISH, HSMClearTaskVDSCommand, log id: 547e26fd 2014-11-11 18:32:37,938 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (org.ovirt.thread.pool-6-thread-39) [71891fe3] FINISH, SpmStartVDSCommand, return: org.ovirt.engine.core.common.businessentities.SpmStatusResult@5027ed97, log id: 461eb5b5 2014-11-11 18:32:37,941 INFO [org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand] (org.ovirt.thread.pool-6-thread-39) [6d5f7d9d] Running command: SetStoragePoolStatusCommand internal: true. Entities affected : ID: b384b3da-02a6-44f3-a3f6-56751ce8c26d Type: StoragePool 2014-11-11 18:32:37,948 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (org.ovirt.thread.pool-6-thread-39) [6d5f7d9d] IrsBroker::Failed::ActivateStorageDomainVDS due to: IrsSpmStartFailedException: IRSGenericException: IRSErrorException: SpmStart failed 2014-11-11 18:32:38,006 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (org.ovirt.thread.pool-6-thread-39) [6d5f7d9d] Irs placed on server 2e8cec66-23d7-4a5c-b6f3-9758d1d87f5c failed. Proceed Failover 2014-11-11 18:32:38,044 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-29) START, GlusterVolumesListVDSCommand(HostName = ovirt-node01.foobar.net, HostId = 2e8cec66-23d7-4a5c-b6f3-9758d1d87f5c), log id: 7a110756 2014-11-11 18:32:38,045 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (org.ovirt.thread.pool-6-thread-39) [6d5f7d9d] hostFromVds::selectedVds - ovirt-node02.foobar.net, spmStatus Free, storage pool HP_Proliant_DL180G6 2014-11-11 18:32:38,048 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (org.ovirt.thread.pool-6-thread-39) [6d5f7d9d] starting spm on vds ovirt-node02.foobar.net, storage pool HP_Proliant_DL180G6, prevId -1, LVER -1 2014-11-11 18:32:38,050 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (org.ovirt.thread.pool-6-thread-39) [6d5f7d9d] START, SpmStartVDSCommand(HostName = ovirt-node02.foobar.net, HostId = 6948da12-0b8a-4b6d-a9af-162e6c25dad3, storagePoolId = b384b3da-02a6-44f3-a3f6-56751ce8c26d, prevId=-1, prevLVER=-1, storagePoolFormatType=V3, recoveryMode=Manual, SCSIFencing=false), log id: 1a6ccb9c 2014-11-11 18:32:38,108 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (org.ovirt.thread.pool-6-thread-39) [6d5f7d9d] spmStart polling started: taskId = 78d31638-70a5-46aa-89e7-1d1e8126bdba
Re: [ovirt-users] Which machine provides the computing power for the clients?
- Original Message - From: Harald Wolf ov...@online.de To: users@ovirt.org Sent: Monday, November 17, 2014 10:46:21 AM Subject: [ovirt-users] Which machine provides the computing power for the clients? Hi, im not sure if understand the oVirt concept right. Is the oVirt node hypervisor the machine that provides the computing power for the client consoles (User Applications)? Not sure what exactly you refer to. The applications run in the VMs. Is the VM running on the node Hypervisor? Yes. Can i use 1 PC for the complete oVirt environment + the consoles? You can try it by simply booting a pc with ovirt-live and see how it works. I suggest that you give a bit more details about the setup you have in mind and what you want to do. Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] iptables management
- Original Message - From: Alon Bar-Lev alo...@redhat.com To: Chris Adams c...@cmadams.net Cc: users@ovirt.org Sent: Monday, November 17, 2014 8:53:25 PM Subject: Re: [ovirt-users] iptables management - Original Message - From: Chris Adams c...@cmadams.net To: users@ovirt.org Sent: Monday, November 17, 2014 8:48:59 PM Subject: [ovirt-users] iptables management During setup, I allowed the script to change iptables rules. Is this necessary? Also, is it an active management (where oVirt will make changes), or just a one-time thing? Just to clarify - it's a one-time, per run of engine-setup as Alon explained. The engine does not touch iptables of its machine. I ask because I have some other iptables setup I want (such as limited SSH access), and I don't want to make changes to iptables that oVirt will override later or anything like that. I guess you mean engine setup, right? Each time you run engine-setup you will be prompt if you want to override iptables settings. If you choose to override, the current settings will be backed up and you can diff and re-apply your own. And since recently (will be in 3.6 when it's out) we also try to notify when manual changes were made to iptables since previous engine-setup, see [1]. [1] http://gerrit.ovirt.org/33085 If you choose to keep your settings, setup will write the iptables rules into own location and you can diff and apply the changes manually. And also show details on the console in the end of engine-setup. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] iptables management
- Original Message - From: Chris Adams c...@cmadams.net To: users@ovirt.org Sent: Monday, November 17, 2014 11:22:42 PM Subject: Re: [ovirt-users] iptables management Once upon a time, Alon Bar-Lev alo...@redhat.com said: I guess you mean engine setup, right? Yes, that and hosted-engine --deploy. hosted-engine --deploy does not touch iptables of the engine VM. engine-setup inside that VM does that. hosted-engine --deploy does two other things: 1. It changes iptables to let you access the engine VM console (spice/vnc) 2. Later, when it adds itself as a host to the engine, it tells the engine to configure iptables for itself as a host (just as is the default when adding hosts through the gui). We have an open bug [1] to make that configurable. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1080823 Each time you run engine-setup you will be prompt if you want to override iptables settings. If you choose to override, the current settings will be backed up and you can diff and re-apply your own. If you choose to keep your settings, setup will write the iptables rules into own location and you can diff and apply the changes manually. Okay, so that's the only time iptables are changed? That makes sense, and I can work with that. Thanks. -- Chris Adams c...@cmadams.net ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Ubuntu/Debian support?
- Original Message - From: Itamar Heim ih...@redhat.com To: users@ovirt.org Sent: Monday, November 17, 2014 9:41:32 AM Subject: [ovirt-users] Ubuntu/Debian support? So, a quick non-scientific poll... Motivation: It has been suggested that adding ubuntu or debian distro support could broaden the reach of the oVirt community. To date, there has been some work towards this goal, but it is not coming to a conclusion. Questions that comes to mind: 1) Is this still an issue? Define issue. iow, define what our goal is. If it's make it possible to easily run ovirt on debian, that's one thing, perhaps easily achieved by your points 4-5 below. If it's have ovirt packaged inside the Debian archive that's a considerably different issue. I think we should aim for the latter, the former is a start. 2) Can we afford to dilute the focus we have as it is hard enough to stabilize the currently supported distro's? is it worth the potential impact? imho yes. I agree with the other replies already posted. 3) Would it have maintainers catering to it so it won't be left behind / delay development? For Debian, generally speaking, it's up to us to support. AFAIK almost all Debian developers are volunteers, and do whatever they find interesting or need for their own use. So we should either try to contact existing such developers dealing with virtualisation-related packages there and see how interested they are in ovirt, or try to do this on our own. To get things into the archive you do not necessarily need to be a developer yourself, they have a system of mentors etc. for that. For Ubuntu, if Canonical is interested, they are of course more than welcome to help! This will obviously help also Debian, although AFAIK not necessarily every package that is accepted to the Ubuntu archive is automatically or easily accepted to Debian's. 4) Why bother with host support, ovirt-node can be used? As long as we see value in developing and supporting hosts based on el/fedora, this value also exists for Debian-based hosts. If we decide one day to support only ovirt-node, it's not as important what distro it's based on. 5) Why bother with engine support, a virtual appliance or a docker image could be used? Because many users will find it a higher barrier to implement, for various reasons. 6) if we do it, should we focus on Ubuntu or Debian distro first? IMO Debian, I agree with other replies already posted. 7) if we do it, should we focus on host or engine first? Not sure I can see a strong preference for one of them. I'd like to add my own question, since none of the replies so far replied to it: 8. Do we have here existing users that are interested in this? If it worked equally well, would you (re?)install on Debian? Because if the answer is 'No', we might be discussing this on the wrong list, and better approach Debian lists/forums/etc. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Ubuntu/Debian support?
- Original Message - From: Itamar Heim ih...@redhat.com To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Tuesday, November 18, 2014 10:58:08 AM Subject: Re: [ovirt-users] Ubuntu/Debian support? On 11/18/2014 03:54 AM, Yedidyah Bar David wrote: Define issue. iow, define what our goal is. If it's make it possible to easily run ovirt on debian, that's one thing, perhaps easily achieved by your points 4-5 below. If it's have ovirt packaged inside the Debian archive that's a considerably different issue. I think we should aim for the latter, the former is a start. I'm fine with for not inside - that's the current status for fedora and we are not there yet even for centos. IIRC 3.1 was (is?) in the archive. The fact that recent versions aren't, is a different issue. oVirt is at least currently developing quite fast, and the release processes of distributions mean that users that use only stuff from the official archive will get older versions, which I think for oVirt wasn't very acceptable until recently, perhaps still is - I do not think anyone (here or elsewhere) would like to support 3.1, as recent versions are so much better. Even if we do not aim for inclusion in the official archive any time soon, we can still try to make our packages as nice as possible for that - including e.g. carefully checking the Debian policy documents and adhering to them, try to consult experienced Debian packagers for whatever pitfalls we should try to avoid, etc. All of this is not as important if you merely want to make using ovirt on Debian possible or easy. 8. Do we have here existing users that are interested in this? If it worked equally well, would you (re?)install on Debian? Because if the answer is 'No', we might be discussing this on the wrong list, and better approach Debian lists/forums/etc. that's one of the reasons i qualified this as a quick non-scientific poll... Not sure this question makes it any more scientific :-) -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] change ovirt and node hostname.fqdn - all in one installation
- Original Message - From: Grzegorz Szypa grzegorz.sz...@gmail.com To: users@ovirt.org Sent: Saturday, October 25, 2014 12:02:47 PM Subject: [ovirt-users] change ovirt and node hostname.fqdn - all in one installation Hi. Sorry for not replying earlier. I have a problem with changing ovirt hostname: I change the following: 1. config in /etc/hosts and /etc/sysconfig/network and restart machine 2. /usr/share/ovirt-engine/setup/bin/ovirt-engine-rename --newname=new hostname.fqdn This script changes only the fqdn of the engine, not of hosts. In all-in-one, the same machines plays both roles. 3. engine-setup But still a problem with changing address in node in webadmin portal. Indeed. In principle you can try to move your host to maintenance, remove it, then install again from the gui using the new name. In practice this has more than one way to fail/loose data/etc., so if you try, better do that on a test env and/or have good backups. Have somebody any idea how to do it? The only sure way I can think of is to start from scratch. You might be able to do that by exporting all your VMs to an export domain, engine-cleanup, engine-setup again with all-in-one and the new name, then import your VMs. I didn't try that myself. If all you care about is the name displayed in the web admin interface for the node, and not its actual name in the dns, you might be able to easily change that in the db - didn't try that either. Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore
- Original Message - From: Hans-Joachim r...@chef.net To: Yedidyah Bar David d...@redhat.com, users@ovirt.org Sent: Friday, November 21, 2014 2:24:02 PM Subject: Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore Sent: Thursday, November 20, 2014 at 1:22 PM From: Yedidyah Bar David d...@redhat.com To: Hans-Joachim r...@chef.net Subject: Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore - Original Message - From: Hans-Joachim r...@chef.net To: Yedidyah Bar David d...@redhat.com Sent: Thursday, November 20, 2014 1:30:10 PM Subject: Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore OK. Please run: service ovirt-engine restart service ovirt-engine-reports restart service httpd restart done Try to connect to: http://myserver.domain And from there, the link Reports Portal will puts me to http://myserver.domain/ovirt-engine/services/reports-redirect and afterwards redirect me to https://myserver.domain/ovirt-engine-reports with a 404 ERROR Which URL were you redirected to? If it does not work, please post: /etc/ovirt-engine* /etc/httpd /var/log/ovirt-engine* /var/log/httpd Please reply to the list, so that others can try to help and also find in the future (especially after it's solved :-) ) Best Hans-Joachim Seems to me that the problem is in /etc/httpd/conf.d/ovirt-engine.conf, which seems like a left-over from 3.2. This should have been deleted by the upgrade from 3.2 to 3.3. Couldn't see in your attachments a log of this upgrade (done probably 1+ years ago). Such a log should have been in /var/log/ovirt-engine/setup. If you can't find such a log, and/or if you suspect other problems you encountered due to problems in this upgrade, I suggest that you install another engine (e.g. in a temp VM) with configuration as similar as possible to your existing one, and compare all relevant files (/etc/httpd, /etc/ovirt-engine*) between them and try to understand what needs fixing. This specific file can (and should) safely be deleted. Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Ovirt on CentOS 7
- Original Message - From: Subba Rao kv...@tanucoo.com To: users@ovirt.org Sent: Tuesday, November 25, 2014 12:04:40 AM Subject: [ovirt-users] Ovirt on CentOS 7 Hi, I have 2 Dell Poweredge servers which are not connected to the network. We are trying to create a Virtual lab using these 2 servers and a couple of Cisco switches. I have installed Centos 7 with the Virtualization option. Now I would like to use Ovirt as the Hypervisor/VM management tool. Since my servers are not connected to any network, how/what should I download from Ovirt and install on the system. I did download ELServer rpm for noarch and x86-64 directories. For Ovirt to work, I need to install this manually without the network. How can I get this to work? It's not clear what exactly you want to do. hosted-engine? all-in-one? local or shared (how?) storage? Is this for production? Do you want high availability? Please give more details. Also, if this is your first installation, I suggest that you start with a test install and read a bit to get a feeling of how it works, the terminology used, etc. Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore
- Original Message - From: Hans-Joachim r...@chef.net To: Yedidyah Bar David d...@redhat.com, users@ovirt.org Sent: Tuesday, November 25, 2014 5:59:26 PM Subject: Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore Hi, as requested by Didi, I've done an fresh install Here, what a diff -c of the different locate jboss shows... (/tmp/jboss_ok.. fresh install, reports working /tmp/jboss_ko running system, no reports working) BTW. After the update 3.4 - 3.5, the structure in /usr/share/jboss-as-7.1.1.Final stayed. I've deleted it right now. So.. any hints, what to delete, copy, .. ??? Please compare /etc/httpd between setups, also content and not just filenames. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Failed to execute stage 'Environment setup': Command'/bin/systemctl' failed to execute
- Original Message - From: Jürgen Brandl li...@jbrandl.com To: 鎖心□愛妳 mzcwl...@vip.qq.com Cc: users users@ovirt.org Sent: Sunday, November 30, 2014 2:12:32 PM Subject: Re: [ovirt-users] Failed to execute stage 'Environment setup': Command'/bin/systemctl' failed to execute Hello, I did a bit of debugging the issue, here are all the errors, which i found useful: # yum install ovirt-hosted-engine-setup [...] Installing : vdsm-4.16.7-1.gitdb83943.el7.x86_64 277/281 SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.29, searching for an older version. SELinux: Could not open policy file = /etc/selinux/targeted/policy/policy.29: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.29, searching for an older version. SELinux: Could not open policy file = /etc/selinux/targeted/policy/policy.29: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. Traceback (most recent call last): File /usr/bin/vdsm-tool, line 209, in main return tool_command[cmd][command](*args) File /usr/lib/python2.7/site-packages/vdsm/tool/seboolsetup.py, line 66, in sebool_config setup_booleans(True) File /usr/lib/python2.7/site-packages/vdsm/tool/seboolsetup.py, line 53, in setup_booleans sebool_obj.finish() File /usr/lib/python2.7/site-packages/seobject/__init__.py, line 281, in finish self.commit() File /usr/lib/python2.7/site-packages/seobject/__init__.py, line 274, in commit raise ValueError(_(Could not commit semanage transaction)) ValueError: Could not commit semanage transaction [...] Since I assume you did this (yum install) prior to the next steps, I'd first try to solve this one. Seems like some failure running vdsm-tool related to selinux, during the %post scriptlet, perhaps 'vdsm-tool sebool-config'. What happens when you run this one? Is selinux generally installed/configured/enabled/working well? Please check/post also /var/log/yum.log and /var/log/vdsm. Thanks, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] hosted-engine setup/migration features for 3.6
Hi all, We already have quite a lot of open ovirt-hosted-engine-setup bugs for 3.6 [1]. Yesterday I tried helping someone on irc who planned to migrate to hosted-engine manually, and without knowing (so it seems) that such a feature exists. He had an engine set up on a physical host, prepared a VM for it, and asked about migrating the engine to the VM. In principle this works, but the final result will be a hosted-engine, where the engine manages a VM the runs itself, without knowing it, and without HA. The current recommended migration flow is described in [2]. This page is perhaps a bit outdated, perhaps missing some details etc., but principally works. The main issue with it, AFAICT after discussing this a bit with few people, is that it requires a new clean host. I'd like to hear what people here think about such and similar flows. If you already had an engine and migrated to hosted-engine, what was good, what was bad, what would you like to change? If you plan such a migration, what do you find missing currently? [1] http://red.ht/1vle8Vv [2] http://www.ovirt.org/Migrate_to_Hosted_Engine Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [Engine-devel] [Feedback required][host-deploy] Fedora-19 misses tar at minimal setup
Hi all, +1 for Alon's summary - first preference to remain as-is, second pyar. In addition: - Original Message - From: Nicholas Kesick cybertimber2...@hotmail.com To: oVirt Mailing List users@ovirt.org, arch a...@ovirt.org, engine-devel engine-de...@ovirt.org, Alon Bar-Lev alo...@redhat.com Sent: Tuesday, August 6, 2013 4:57:41 AM Subject: Re: [Users] [Engine-devel] [Feedback required][host-deploy] Fedora-19 misses tar at minimal setup I did some testing with Fedora 18 (waiting for the Fedora 19 dvd to finish downloading) and I think that the behavior was the same way in Fedora 18. In Fedora 18 when installing from DVD if you select “Minimal Install”, you do not get tar. Indeed. blockquote However, if you select “Minimal install” and “standard” under the add-on list, you *do* get tar. And if memory serves I learned the hard way in Fedora 18 that a lot of familiar commands are missing in minimal install without the standard add-on items including “ifconfig”. Yea, you can’t even easily tell what your IP address is!... unless you are used to the ip command. /blockquote I think they are trying to educate us... and for me it partially worked :-) I have some machines on which I did not install ifconfig, and (partially) learned to use ip (after refusing to do so for perhaps 10 or so years). blockquote Is there any other commands that are missing on the “minimal” install that are needed? /blockquote Needed by vdsm? They are listed as dependencies for it. Needed by me? Yes, but that's a personal preference. blockquote Would it be easier to mention in the install directions to use the standard add-on if selecting the minimal package set for host deployment? /blockquote The wiki page already tells to install tar, and I think that's enough. blockquote Just thoughts. I also wonder if it would be possible to include tar as a dependency for the RPMs (like ovirt-engine or vdsm) so when installed using a package manager, tar would be checked for. /blockquote This won't help in our case, as Alon explained in previous mails in this subject - these RPMs are installed by the bundle (a set of scripts/data files) that we are now discussing how should be made to arrive and run. Best regards, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-setup's forcing update
From: lof yer lof...@gmail.com To: users users@ovirt.org Sent: Sunday, August 18, 2013 10:46:46 AM Subject: [Users] engine-setup's forcing update If it detected some updates online, it will force me to choose 'Yes'. If I choose 'No', I'll be 'quitted' Must I update? Yes. A simple workaround: Change the relevant yum repo(s) to 'enabled=0'. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] 503 error on Engine Login
From: Matt . yamakasi@gmail.com To: users users@ovirt.org Sent: Sunday, August 18, 2013 3:01:32 PM Subject: [Users] 503 error on Engine Login Hi guys, On a test machine that got a scheduled poweroutage I get a 503 error when I login. I thought about routing because there are two network interfaces but this is not the problem because it even happens when I set one nic to down. The logfiles don't give me information about this error, anyone an idea ? If both apache and the engine are up, you might try to restart apache. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-setup fails on CentOS 6.4 because of postgresql
Hi, - Original Message - From: Nux! n...@li.nux.ro To: users@ovirt.org Sent: Wednesday, August 28, 2013 11:14:55 AM Subject: [Users] engine-setup fails on CentOS 6.4 because of postgresql Hello, Installed ovirt engine from the official repos, but engine-setup fails because of the database. Logs here: http://paste.fedoraproject.org/35360/77293137/ http://paste.fedoraproject.org/35361/76773031/ This file says: createdb: database creation failed: ERROR: encoding UTF8 does not match locale en_GB DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1. Can you try with a UTF-8 locale? -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-setup fails on CentOS 6.4 because of postgresql
Hi, - Original Message - From: Nux! n...@li.nux.ro To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Wednesday, August 28, 2013 11:59:59 AM Subject: Re: [Users] engine-setup fails on CentOS 6.4 because of postgresql On 28.08.2013 09:23, Yedidyah Bar David wrote: Hi, - Original Message - From: Nux! n...@li.nux.ro To: users@ovirt.org Sent: Wednesday, August 28, 2013 11:14:55 AM Subject: [Users] engine-setup fails on CentOS 6.4 because of postgresql Hello, Installed ovirt engine from the official repos, but engine-setup fails because of the database. Logs here: http://paste.fedoraproject.org/35360/77293137/ http://paste.fedoraproject.org/35361/76773031/ This file says: createdb: database creation failed: ERROR: encoding UTF8 does not match locale en_GB DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1. Can you try with a UTF-8 locale? Hi What exactly should I do? I tried changing lc_ stuff in postgresql.conf to en_GB.UTF-8 but it doesn't help. I think it's the OS's locale. What do you have in /etc/locale.conf ? You can try changing that to: LANG=en_US.UTF-8 Then login again (or just open a new shell), and verify that it worked by running: locale and verifying that there are no errors. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Guest to guest multicast
Hi, - Original Message - From: Frank Wall f...@moov.de To: users@ovirt.org Sent: Friday, September 6, 2013 8:05:21 PM Subject: [Users] Guest to guest multicast Hi, I'm trying to use the VRRP protocol between two VMs, but the multicast traffic never gets through. On the oVirt host I can see the VRRP advertisements coming in for both VMs: aio:~# tcpdump -n -X -i vnet3 net 224.0.0.0/4 listening on vnet3, link-type EN10MB (Ethernet), capture size 65535 bytes 18:58:31.841220 IP 10.1.2.3 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 0, authtype none, intvl 1s, length 36 aio:~# tcpdump -n -X -i vnet8 net 224.0.0.0/4 listening on vnet8, link-type EN10MB (Ethernet), capture size 65535 bytes 19:02:26.907054 IP 10.1.2.4 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 100, authtype none, intvl 1s, length 36 What is required to enable guest-to-guest multicast communication on an oVirt node? Are they on the same virtual network/bridge? Did you check iptables? You can add a rule to log such things and see if it was iptables that blocked it (or something else). Check both host and VMs. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] iptables settings/scripts ovirt 3.3
Hi, - Original Message - From: Sven Kieske s.kie...@mittwald.de To: oVirt Users ML users@ovirt.org Sent: Wednesday, October 2, 2013 9:58:43 AM Subject: Re: [Users] iptables settings/scripts ovirt 3.3 Hi, thanks for your answer on list, Russ. But I still don't know which mechanism(s?) do(es) change firewall settings on the oVirt Management Node? Do you have on the management node also VDSM? The allinone plugin? Is that intended? You need it if you want to run VMs on it. VDSM manages networking on nodes (hypervisors), which includes the management node if you have chosen so during setup. Regards, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] iptables settings/scripts ovirt 3.3
Hi, - Original Message - From: Sven Kieske s.kie...@mittwald.de To: Yedidyah Bar David d...@redhat.com Cc: oVirt Users ML users@ovirt.org Sent: Wednesday, October 2, 2013 10:40:39 AM Subject: Re: [Users] iptables settings/scripts ovirt 3.3 Hi, no, this is _no_ all in one installation, as was clearly stated in my first messsage. Sorry, could not understand that from your message. Can you please provide the setup log? It's in /var/log/ovirt-engine/setup. I do not try to run VMs on the management node. Maybe I should rearrange my question: What is the recommended way of adding additional iptables rules on the management node? We need to make sure our additional rules do not get overwritten by ovirt. On the management node, iptables rules are changed only during setup, if you choose so. Can you just append rules to /etc/sysconfig/iptables or does this file get overwritten under any circumstances from this vdsm bootstrap script or any other ovirt related component? vdsm-bootstrap was deprecated in 3.2 and replaced with ovirt-host-deploy. Both of them affect hypervisors, not the engine host. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Low cost OOB management device
- Original Message - From: Mario Giammarco mgiamma...@gmail.com To: users@ovirt.org Sent: Tuesday, October 8, 2013 11:29:26 AM Subject: Re: [Users] Low cost OOB management device Eli Mesika emesika@... writes: I would look for a APC strip (in ebay for example) APC just disconnects the device from the AC power Thanks, I have tried but I have found very few items. Most of them have no ethernet or are not for 220volt lines. Other suggestions? Build one yourself with a raspberry pi - search e.g. for raspberry pi remote power... -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] A security issue in ovirt 3.2 on fedora - setup leaves a world-writable /etc/sysconfig/nfs
Hi all, The setup code of ovirt releases 3.2 and older set wrong permissions for several files, depending on options chosen during setup/upgrade. The potentially-affected files are: /etc/sysconfig/nfs /etc/sysconfig/iptables /etc/httpd/conf/httpd.conf.BACKUP* /etc/httpd/conf.d/ssl.conf.BACKUP* files under the ISO domain copied there by setup, by default under /var/lib/exports The bug does not affect systems with linux kernels older than 3.1, which included undocumented behavior that prevented it from occurring. Here is a link to the kernel patch that dropped this undocumented behavior: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/fs/open.c?id=e57712ebebbb9db7d8dcef216437b3171ddcf115 In practice this means that among the distributions supported by ovirt, only ovirt on Fedora is affected. ovirt 3.3 is not affected as-is. Systems upgraded from 3.2 might still have the files with wrong permissions, and should follow the actions below. How to fix an existing system? Change the permissions of existing files by running the following commands as root: chmod 600 /etc/sysconfig/nfs chmod 600 /etc/sysconfig/iptables chmod 600 /etc/httpd/conf/httpd.conf.BACKUP* chmod 600 /etc/httpd/conf.d/ssl.conf.BACKUP* find /var/lib/exports -perm /002 -type f -exec chmod 600 {} \; For the last command, replace /var/lib/exports with the appropriate directory, if you did not accept the default during setup and configured another directory to hold the ISO domain. A fix for this bug was pushed to gerrit: http://gerrit.ovirt.org/19557 Security implications: This bug allows local users escalate their privileges by editing /etc/sysconfig/nfs and waiting until the nfs service will be started/stopped (e.g. a reboot of the machine). -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Change main datastore's IP address
- Original Message - From: Itamar Heim ih...@redhat.com To: emi...@gmail.com, Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Monday, October 21, 2013 7:23:44 AM Subject: Re: [Users] Change main datastore's IP address On 10/18/2013 06:12 PM, emi...@gmail.com wrote: Hi, I'm using oVirt 3.2 and I need to change the IP address of the main datastore of a cluster. Through the UI I'm not able to do it. How could I do this? IIRC, if you only change the IP address and not the hostname, the engine does not care. You'll naturally have to take care of keeping network access working (firewalling etc), might need to reboot the engine and/or hosts. I didn't try that. i don't recall the steps for 3.2, but worth mentioning that in 3.3 this should work via: http://gerrit.ovirt.org/17408 http://www.ovirt.org/Changing_Engine_Hostname It provides a script /usr/share/ovirt-engine/setup/bin/ovirt-engine-rename which allows changing the engine's hostname. Indeed. And this script is only needed when changing the hostname, not the IP address. It's otopi-based. This means, among other things, that it looks similar to the new engine-setup/cleanup, and provides similar logging, options, etc. Options specific to it: --newname=newname An example run, which does everything in batch and does not ask questions, if possible: /usr/share/ovirt-engine/setup/bin/ovirt-engine-rename --newname=ovirte1n.home.local --otopi-environment=OSETUP_RENAME/forceIgnoreAIAInCA=bool:'True' OVESETUP_CORE/engineStop=bool:'True' OSETUP_RENAME/confirmForceOverwrite=bool:'False' didi - i think above example should be added to the wiki feature page? Added to the link above. It has no feature page, as in something under ovirt.org/Features with the format of the pages there. Also removed DRAFT and a few other minor changes, as what's there is basically correct. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.3.0.1 Update Release now available
- Original Message - From: Itamar Heim ih...@redhat.com To: Nicolas Ecarnot nico...@ecarnot.net Cc: users@ovirt.org Sent: Monday, October 21, 2013 7:27:08 AM Subject: Re: [Users] oVirt 3.3.0.1 Update Release now available On 10/18/2013 12:57 PM, Nicolas Ecarnot wrote: Le 18/10/2013 12:48, Mike Burns a écrit : The oVirt Team is pleased to announce the availability of the 3.3.0.1 Update Release. This release fixes a number of issues with the 3.3.0 release. As I have installed a 3.3 on Centos 6.4 on my manager and my nodes, how safe is it to just run a yum update on everything and hope for the best? Previous similar attempts went nightmarish on a 3.1 setup... 3.3.0.1 should be a safe/small update. 3.3.1 is bigger update, hence it has a beta cycle for testing it. please remember to also run ovirt-engine-setup to upgrade the engine on top of yun update. You mean 'engine-setup'. It's indeed in a package called 'ovirt-engine-setup'. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Management DB-Backup
Hi Sven, all, In 3.3 there is a new utility called engine-backup. Documentation is currently somewhat lacking. 'engine-backup --help' will tell you its options. As Eli implied below, there is no need to take down the engine/jboss services while backing up. Restore should be done to an empty database. Some improvements for it were merged in recently, some of them will be included in 3.3.1. -- Didi - Original Message - From: Eli Mesika emes...@redhat.com To: users@oVirt.org users@ovirt.org Sent: Thursday, October 24, 2013 12:54:47 PM Subject: [Users] Management DB-Backup - Original Message - From: Yedidyah Bar David d...@redhat.com To: Ofer Schreiber oschr...@redhat.com, Eli Mesika emes...@redhat.com Sent: Thursday, October 24, 2013 12:13:16 PM Subject: Fwd: [Users] Management DB-Backup engine-backup.sh --mode=backup does not check/stop the engine/jboss and does not alert the user. Should it? No I have zero knowledge regarding the way the engine works with the database. Are we completely certain that any logical transaction is translated one-to-one to a single database transaction? If so, in principle we can back it up without taking the engine down. IMHO... I see no reason to force engine down in backup , only in restore when we are stopping the existing database and creating a new clean one , so we have to verify that engine does not lock some objects Anyway, we should definitely pick up one of the existing relevant wiki pages, update it, and add a link to it from all the others. http://www.google.com/search?q=backup+site%3Awww.ovirt.org -- Didi - Forwarded Message - From: Sven Kieske s.kie...@mittwald.de To: users@ovirt.org Sent: Thursday, October 24, 2013 10:35:00 AM Subject: [Users] Management DB-Backup Hi, just a short question: is this procedure still valid for a full DB-Backup and Restore? http://www.ovirt.org/Backup_engine_db I already figured out that it's tailored just for fedora setups, not el6 (systemctl). -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] File or directory /usr/share/ovirt-host-deploy/interface-3 not found though it's there
Hi, - Original Message - From: Stefan Wendler stefan.wend...@tngtech.com To: users@ovirt.org Sent: Thursday, October 24, 2013 5:04:45 PM Subject: [Users] File or directory /usr/share/ovirt-host-deploy/interface-3 not found though it's there Hi, I have a problem installing ovirt nodes the ovirt version is 3.3 Whenever I try to install a node I get the following error (more log output at the end of the mail): Cannot create tarball '/var/cache/ovirt-engine/ovirt-ho st-deploy.tar': java.io.FileNotFoundException: File or directory /usr/share/ovirt-host-deploy/interface-3 not found The missing directory ist available on the node ls -la /usr/share/ovirt-host-deploy/interface-3 total 16 drwxr-xr-x 4 root root 4096 Oct 24 15:14 . drwxr-xr-x 4 root root 4096 Oct 24 15:14 .. -rw-r--r-- 1 root root0 Sep 7 22:47 .bundled lrwxrwxrwx 1 root root 19 Oct 24 15:14 otopi - ../../../sbin/otopi drwxr-xr-x 2 root root 4096 Oct 24 15:14 otopi-plugins lrwxrwxrwx 1 root root 31 Oct 24 15:14 ovirt-host-deploy - ../../../sbin/ovirt-host-deploy drwxr-xr-x 2 root root 4096 Oct 24 15:14 pythonlib lrwxrwxrwx 1 root root 17 Oct 24 15:14 setup - ovirt-host-deploy Do you guys have any idea? I only found one earlier posting regarding this problem but that didn't help. I have tar and javatar and the engine-host- deploy packages on both engine and node (I don't think I need the deploy package on the engine) Actually I think you do. Can you please try installing it? Thanks. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [libvirt] Host local_host running without virtualization hardware acceleration
- Original Message - From: Sandro Bonazzola sbona...@redhat.com To: Martin Kletzander mklet...@redhat.com Cc: libvir-l...@redhat.com, vdsm-devel vdsm-de...@fedorahosted.org, users users@ovirt.org Sent: Tuesday, November 5, 2013 11:56:24 AM Subject: Re: [Users] [libvirt] Host local_host running without virtualization hardware acceleration Il 05/11/2013 10:49, Martin Kletzander ha scritto: On Tue, Nov 05, 2013 at 09:08:33AM +0100, Sandro Bonazzola wrote: Hi, I had to reinstall ovirt yesterday and now it seems that it doesn't work anymore. I'm running nightly on Fedora 18. kernel-3.11.4-101.fc18.x86_64 sanlock-2.8-1.fc18.x86_64 libvirt-1.1.4-1.fc18.x86_64 qemu-1.5.1-1.fc18.x86_64 vdsm-4.13.0-93.gitea8c8f0.fc18.x86_64 ovirt-engine-3.4.0-0.2.master.20131104192919.git3b65870.fc18.noarch engine-setup with all-in-one detects hardware virtualization and allow me to configure the system. (it fails detecting engine health status due probably to recent changes in its URL, I'm already looking into it) Once added localhost to the engine, it has been moved to non operational mode saying I don't have virtualization hardware acceleration anymore. I've found that: # modinfo kvm filename: /lib/modules/3.11.4-101.fc18.x86_64/kernel/arch/x86/kvm/kvm.ko license:GPL author: Qumranet depends: intree: Y vermagic: 3.11.4-101.fc18.x86_64 SMP mod_unload parm: min_timer_period_us:uint parm: ignore_msrs:bool parm: tsc_tolerance_ppm:uint parm: allow_unsafe_assigned_interrupts:Enable device assignment on platforms without interrupt remapping support. (bool) This is good, but AFAIK this module is not what provides /dev/kvm. Depending on the processor you're using, try checking 'kvm_intel' or 'kvm_amd'. Also make sure both are loaded. I've found that, missing kvm_intel. # /usr/bin/qemu-kvm Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory looking at strace: open(/dev/kvm, O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory) What does ls -lZ /dev/kvm tell you? it doesn't existed, now it's working again after modprobe kvm_intel Any clue on what may be happened? No idea, but I'm basing everything on the fact that it worked before the re-install, am I right? right. something was loading that module automatically before reinstall and now I needed to create a conf file for having it loaded. Perhaps it was libvirtd, and in your new setup it's not started automatically on boot? -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Installation of self hosted engine
Hi, - Original Message - From: Pavel Gandalipov pgandali...@gmail.com To: users@ovirt.org Sent: Wednesday, November 13, 2013 9:22:05 AM Subject: [Users] Installation of self hosted engine Hello, could you help me with installation of self hosted engine on bare Ovirt 3.3. It's actually on bare metal, with bare ovirt 3.3 inside it. Where can i find any packages for installation? For now you can use the nightly repo. As a minimum, install 'ovirt-hosted-engine-setup' and run 'hosted-engine --deploy'. I don't think we have yet any wiki page for it. You can have a look at [1], which is for migrating an existing 3.3 engine to hosted-engine, but instead of backup/restore simply do a new setup inside the VM. [1] http://www.ovirt.org/Migrate_to_Hosted_Engine -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Installation of self hosted engine
Hi, - Original Message - From: Pavel Gandalipov pgandali...@gmail.com To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Wednesday, November 13, 2013 10:29:32 AM Subject: Re: [Users] Installation of self hosted engine Thank you, Yedidyah for fast reply. As a minimum, install 'ovirt-hosted-engine-setup' and run 'hosted-engine --deploy'. These are my repositories from your docs. [root@master02 ~]# ls -ls /etc/yum yum/ yum.conf yum.repos.d/ [root@master02 ~]# ls -ls /etc/yum.repos.d/ total 24 4 -rw-r--r--. 1 root root 1199 Aug 31 02:32 fedora-updates-testing.repo 4 -rw-r--r--. 1 root root 1141 Aug 31 02:32 fedora-updates.repo 4 -rw-r--r--. 1 root root 782 Aug 22 21:57 fedora-virt-preview.repo 4 -rw-r--r--. 1 root root 782 Jun 5 2012 fedora-virt-preview.repo.1 4 -rw-r--r--. 1 root root 1180 Aug 31 02:32 fedora.repo 4 -rw-r--r--. 1 root root 831 Aug 22 21:57 ovirt.repo [root@master02 ~]# You need to enable the nightly repo in ovirt.repo. Either manually with an editor or with: yum-config-manager --enable ovirt-nightly -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] RFE question
- Original Message - From: Jakub Bittner j.bitt...@nbu.cz To: Itamar Heim ih...@redhat.com, users@ovirt.org Sent: Wednesday, November 20, 2013 10:31:52 AM Subject: Re: [Users] RFE question Dne 19.11.2013 22:57, Itamar Heim napsal(a): On 11/19/2013 08:33 AM, Jakub Bittner wrote: Hello, I would like to ask how to post RFE to oVirt. I know about google spreadsheet, but should I post RFE to users mailing list and after some discussion post it to bugzilla? I have 2 rfe on oVirt web interface: 1) I think that nice to have feature would be to have fourth column with disk usage in Virtual Machine tab. you should open a bugzilla, flagged with FutureFeature keyword (to mark it as an RFE) please note just adding items to the googledoc isn't enough - someone needs to volunteer to develop it as well. what happens if VM has multiple disks, one at 99% and one at 1%? 2) Great improvement wold also be possibility to sort Virtual Machine tab by clicking on column name. For example: When I click on Memory all VMs get sorted by memory usage. If this RFE already exists, I am sorry. But I did not find it. Thank you. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users what happens if VM has multiple disks, one at 99% and one at 1%? It should report that disk which has higher utilization, because from my point of view I use those columns as first warning, that something should be changed. But what about the user that wants to find out which machine has most free space, to temporarily host some large set of files? -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] moving ovirt controller
- Original Message - From: Itamar Heim ih...@redhat.com To: Vered Volansky ve...@redhat.com, Rob Abshear rabsh...@citytwist.net, Yedidyah Bar David d...@redhat.com Cc: users users@ovirt.org Sent: Monday, December 16, 2013 10:14:18 AM Subject: Re: [Users] moving ovirt controller On 12/12/2013 12:22 PM, Vered Volansky wrote: Hi Rob, What you need to do is upgrade the engine using engine-setup and the SHA of the version you want. If you have the rpm for the newer version use it with engine-seyup. If not, you'll have to build on your own, the use engine-setup. Then you can migrate the DB. This, BTW, is highly not recommended, though this is the way to work. It's recommended to work with stable versions. Let me know us this works for you. didi - how does the backup/restore utility plays into this? engine-backup is not really relevant to the current discussion - it can assist in the manual process that needs to be done, but it does not solve the issues with versions. So if the problem was with some conf file not copied, engine-backup might help, but if the problem is incompatibility between database and code, it won't. engine-backup does not have much documentation currently - see its '--help', also copied to [1]. [1] http://www.ovirt.org/Ovirt-engine-backup Regards, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Blank web page after database migration
- Original Message - From: Itamar Heim ih...@redhat.com To: Rob Abshear rabsh...@citytwist.net, users@ovirt.org, Yedidyah Bar David d...@redhat.com Sent: Monday, December 16, 2013 10:18:42 AM Subject: Re: [Users] Blank web page after database migration On 12/11/2013 06:48 PM, Rob Abshear wrote: I followed the instructions from the following URLs http://www.ovirt.org/User:Adrian15/oVirt_engine_migration http://www.ovirt.org/Backup_engine_db I backed up and restored the certificates and the configuration without any issues. But the DB restore in the first set of instructions did not work for me. So I used the method in the second document to backup and restore the DB. I wasn't able to perform the Update encrypted password step in the first document, because that script does not exist. However, further down the document, it states that, You can avoid this editing by choosing same password at both managers (old one and new one. So I am assuming I am OK there. Not enough information to know that, though. The issue I'm having is that, when I browse into the new controller, the page loads, but it's completely blank. No errors or anything. All the services seem to be running normally on the controller. I feel like I'm close. What am I missing? *NADA Convention Expo*: January 24-27, 2014 - New Orleans, LA - Booth 5001 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users didi? I did not follow closely the above links. They might miss some files/settings. You can try using engine-backup. On the source machine do: engine-backup --mode=backup --file=backup1 --log=backup1.log Copy backup1 to the target machine, then: 1. Create a database. 'engine-backup --help' for help with this, as well as e.g. [1] 2. engine-backup --mode=restore --file=backup1 --log=backup1-restore.log If the created database has different credentials, you'll need to pass also --change-db-credentials --db-host=HOST --db-user=USER --db-name=NAME --db-password 3. engine-setup. This will do various cleanups and fixes that engine-backup does not do. 4. It does not set postgresql and websocket-proxy to start on boot, so you'll need to do that manually (chkconfig or systemctl) if you want that. As explained before, this was intended to be done only with identical versions on source and target machines. Best regards, [1] http://www.ovirt.org/OVirt_Engine_Development_Environment#Database -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ISO datastore, permission denied
Hi, - Original Message - From: Blaster blas...@556nato.com To: Sander Grendelman san...@grendelman.com Cc: users@ovirt.org Sent: Monday, December 23, 2013 7:08:08 PM Subject: Re: [Users] ISO datastore, permission denied On 12/23/2013 10:07 AM, Sander Grendelman wrote: On Mon, Dec 23, 2013 at 4:56 PM, Blaster blas...@556nato.com wrote: My NFS server is Solaris 11.1, ZFS storage. I'm a bit confused now, is the NFS server linux or Solaris? ZFS or BTRFS? ISOs are on a Solaris 11.1 NFS server. If I copy the ISO directly to the directory it works fine. What am I missing? Maybe selinux labeling? Yup! What happens if you (temporarily!) set selinux to permissive with setenforce 0? That fixed itWhat's going on? I can su - vdsm and do an md5sum on all the ISOs. Why can't they be accessed via ovirt? Seems similar to https://bugzilla.redhat.com/1023970 although it's opened on hosted-engine. I have a local datastore on the same volume in another directory tree that's working just fine. Why is selinux allowing local access, but not NFS via symlink? getsebool shows virt_use_nfs -- on. What other label do I need? Thanks for the help! ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Trying to upgrade from 3.3.1 to 3.3.2
Hi, - Original Message - From: Maurice James midnightst...@msn.com To: users@ovirt.org Sent: Thursday, December 26, 2013 5:07:57 PM Subject: [Users] Trying to upgrade from 3.3.1 to 3.3.2 I’m trying to upgrade from 3.3.1 to 3.3.2 and im getting the following output. It kind of speaks for itself but I’m not sure why its happening. -- Finished Dependency Resolution Error: Package: ovirt-engine-3.3.1-2.el6.noarch (@ovirt-stable) Requires: ovirt-engine-websocket-proxy = 3.3.1-2.el6 Removing: ovirt-engine-websocket-proxy-3.3.1-2.el6.noarch (@ovirt-stable) ovirt-engine-websocket-proxy = 3.3.1-2.el6 Updated By: ovirt-engine-websocket-proxy-3.3.2-1.el6.noarch (ovirt-3.3.2) ovirt-engine-websocket-proxy = 3.3.2-1.el6 Available: ovirt-engine-websocket-proxy-3.3.0-3.el6.noarch (ovirt-stable) ovirt-engine-websocket-proxy = 3.3.0-3.el6 Available: ovirt-engine-websocket-proxy-3.3.0-4.el6.noarch (ovirt-stable) ovirt-engine-websocket-proxy = 3.3.0-4.el6 Available: ovirt-engine-websocket-proxy-3.3.0.1-1.el6.noarch (ovirt-stable) ovirt-engine-websocket-proxy = 3.3.0.1-1.el6 Available: ovirt-engine-websocket-proxy-3.3.1-1.el6.noarch (ovirt-stable) ovirt-engine-websocket-proxy = 3.3.1-1.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles –nodigest Sandro replied to a similar question a few days ago, here: http://lists.ovirt.org/pipermail/users/2013-December/019011.html Please reply to the list if you do not manage to solve this. Regards, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] virtualized engine / port to self-hosted engine
- Original Message - From: Joop jvdw...@xs4all.nl To: Sven Kieske s.kie...@mittwald.de Cc: users@ovirt.org Sent: Monday, January 6, 2014 3:08:02 PM Subject: Re: [Users] virtualized engine / port to self-hosted engine Sven Kieske wrote: Hi Leonid, thanks for pointing that out. Actually, I was already aware of the wiki page but it just mentions Fedora so I was curious if someone did this on EL 6 ? Maybe someone else can add his own experience. If not, I will update the wiki with my own findings when I start experimenting with it. I recently used that procedure for a centos install and it worked for me. We used a slightly different backup but in essence it is correct. Backup pki stuff, backup database en restore pki and restore database with the script in /usr/share/ovirt-engine/dbscripts. Did you have problems with engine-backup? Or had other reasons to not use it? Thanks! -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] virtualized engine / port to self-hosted engine
- Original Message - From: Blaster blas...@556nato.com To: Yedidyah Bar David d...@redhat.com Cc: users@ovirt.org Sent: Monday, January 6, 2014 5:20:00 PM Subject: Re: [Users] virtualized engine / port to self-hosted engine On 1/6/2014 7:12 AM, Yedidyah Bar David wrote: Did you have problems with engine-backup? Or had other reasons to not use it? Thanks! Can engine-backup be used to move an AIO configuration from one host to another? I didn't try that. In principle it can. Note that it will only backup/restore the engine - not local storage domains (ISO or data), VM images, etc. If you try that, please report back. Thanks! I currently need to move an AIO configuration from AMD hardware to Intel I7 hardware. The engine-backup WIKI discusses backups, but not restores. I am a bit concerned about using engine-backup to restore an AIO configuration to a different system as another WIKI page with step-by-step instructions to do what engine-backup does for you, mentions you have to do some extra steps if you are changing hostnames as the hostname of the ovirt-engine is embedded in the database. Changing the hostname is specifically not in the scope of engine-backup. Note that you do not need to have the hostname equal to the fqdn input during engine-setup - this last one just needs to be dns-resolvable and point to the machine intended. Also, there is another utility to do that, called ovirt-engine-rename - see this for details and implications: http://www.ovirt.org/Changing_Engine_Hostname There really needs to be some work done in Ovirt on making it easier to import existing disk images and just generally moving things around without having to bounce off an NFS server. Should I do a BZ on that? Not sure what you mean exactly, but you are always welcome to open BZs on bugs/RFEs... Best regards, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] qemu-ga /oVirt/ubuntu guest
- Original Message - From: Sven Kieske s.kie...@mittwald.de To: Users@ovirt.org List Users@ovirt.org Sent: Tuesday, January 14, 2014 11:02:11 AM Subject: [Users] qemu-ga /oVirt/ubuntu guest Hi, I know it's a little off topic, but has anyone a good documentation for the qemu-guest-agent ? I'm aware of the following entry, but it is not helpful at all: http://wiki.qemu.org/Features/QAPI/GuestAgent I'm looking for documentation on the following topics: install the guest-agent into a vm architecture of the guest agent building the guest-agent I tried to build the whole qemu-thing in a ubuntu 12.04. vm running on ovirt but I'm not successfull. I get the following error after invoking make: GEN trace/generated-tracers.c CC hw/virtio/dataplane/vring.o hw/virtio/dataplane/vring.c In function vring_pop: hw/virtio/dataplane/vring.c:400:5: error: ret may be used uninitialized in this function [-Werror=uninitialized] cc1: all warnings being treated as errors make: *** [hw/virtio/dataplane/vring.o] Error 1 I would also like to know if you are aware of any prebuild packages for ubuntu 12.04 (or later) or if there is documentation anywhere on the net for which distributions you can download a rpm/deb package. http://www.ovirt.org/Ubuntu/GuestAgent points at: https://launchpad.net/~zhshzhou/+archive/vdsm-ubuntu I didn't try that myself. Good luck, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] qemu-ga /oVirt/ubuntu guest
Hi, - Original Message - From: Sven Kieske s.kie...@mittwald.de To: Yedidyah Bar David d...@redhat.com Cc: Users@ovirt.org List Users@ovirt.org Sent: Tuesday, January 14, 2014 11:36:48 AM Subject: Re: [Users] qemu-ga /oVirt/ubuntu guest Hi, and thanks for your fast reply, but you are looking in the wrong direction. Sorry :-) I was talking about the _qemu_-guest-agent not the ovirt-guest-agent. afaik they are not similar but ovirt seems to rebuild some of the capabilities which qemu-guest-agent already has. (Any reason why this is done btw?) afaik they share e.g. the ability to power down the vm. but qemu-ga also will allow cpu-hotplug and altering disk layout inside the guest in the future. I'm aware of your mentioned repository for the ovirt-guest-agent and I already reported that it works good so far (an offical repo would of course be better). I didn't find a repo for qemu-ga unfortunately. I see that it's packaged in Ubuntu: https://launchpad.net/ubuntu/raring/+package/qemu-guest-agent https://launchpad.net/ubuntu/raring/+source/qemu/1.4.0+dfsg-1expubuntu4 https://code.launchpad.net/ubuntu/raring/+source/qemu and for that matter, Debian: http://anonscm.debian.org/gitweb/?p=pkg-qemu/qemu.git -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Engine installation issue
That's two different questions... The engine's database, if created locally by setup, has a random password, and you can see all the credentials in /etc/ovirt-engine/engine.conf.d/10-setup-database.conf . The REST API is accessible using an engine's user/password, not the database's ones. You supplied the password for the user 'admin' during setup. -- Didi - Original Message - From: Nauman Abbas nauman.ab...@seecs.edu.pk To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 16, 2014 8:35:47 AM Subject: Re: [Users] Engine installation issue Thank you very much. That worked perfectly. One more question. What's the default username and password for the engine database for accessing through REST? On Wed, Jan 15, 2014 at 3:37 PM, Alon Bar-Lev alo...@redhat.com wrote: Job for postgresql.service failed. See 'systemctl status postgresql.service' and 'journalctl -xn' for details. I guess this is related to[1]. Please try: # engine-setup --otopi-environment=OVESETUP_SYSTEM/shmmax=int:68719476736 Regards, Alon Bar-Lev. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1039616 - Original Message - From: Nauman Abbas nauman.ab...@seecs.edu.pk To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Wednesday, January 15, 2014 12:32:33 PM Subject: Re: [Users] Engine installation issue There you go. On Wed, Jan 15, 2014 at 2:47 PM, Alon Bar-Lev alo...@redhat.com wrote: Hi, Can you please attach[1]? Thanks! [1] /var/log/ovirt-engine/setup/ovirt-engine-setup-20140115032633.log - Original Message - From: Nauman Abbas nauman.ab...@seecs.edu.pk To: users@ovirt.org Sent: Wednesday, January 15, 2014 11:44:41 AM Subject: [Users] Engine installation issue Hello all, I can't seem to run engine setup on my machine. I get the following error. Googled around, can't find a solution [ INFO ] Creating PostgreSQL database [ INFO ] Configuring PostgreSQL [ ERROR ] Failed to execute stage 'Misc configuration': Command '/bin/systemctl' failed to execute [ INFO ] Yum Performing yum transaction rollback [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140115032633.log [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed It happened to me on two machines which kinda makes me think someone else also must have come across this. A little help would be great. Regards Nauman Abbas Assistant System Administrator (LMS), Room No. A-207, SEECS, National University of Sciences Technology, + 92 321 5359946 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Nauman Abbas Assistant System Administrator (LMS), Room No. A-207, SEECS, National University of Sciences Technology, + 92 321 5359946 -- Nauman Abbas Assistant System Administrator (LMS), Room No. A-207, SEECS, National University of Sciences Technology, + 92 321 5359946 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [ovirt-devel] hosted-engine setup/migration features for 3.6
- Original Message - From: Bob Doolittle b...@doolittle.us.com To: Yedidyah Bar David d...@redhat.com Sent: Wednesday, December 3, 2014 2:50:12 PM Subject: Re: [ovirt-devel] hosted-engine setup/migration features for 3.6 Another issue with that page is that it assumes a remote database. I am not sure what percentage of cases have remote databases but clearly many (most?) do not, since that's not default behavior. I agree. So that page definitely needs attention. See: https://bugzilla.redhat.com/show_bug.cgi?id=105 Indeed. Note that this isn't specific to hosted-engine, it's the same for any migration using engine-backup to backup/restore, therefore there is a link to its page in the top, where this is more detailed. We also have a bug [3] to automate this. [3] https://bugzilla.redhat.com/show_bug.cgi?id=1064503 https://bugzilla.redhat.com/show_bug.cgi?id=108 Some of us have wanted to disable global maintenance upon bootup by adding a systemd service on Fedora 20 (since you must enable global maintenance to shut it down cleanly), and have found it impossible to create the necessary systemd dependencies. It seems that (at least with 3.4) hosted-engine --set-maintenance --mode=none will return an error for several seconds after all other services have started and it's not clear what can be waited upon in order to issue the command with assurance it will complete successfully. This isn't strictly a setup/migration issue but it is an issue with setting up a desired configuration with hosted-engine. The way to reproduce this is simply to wait until gdm-greeter displays the login prompt, ssh into the system and execute hosted-engine --set-maintenance --mode=none and observe the error. Or create a systemd service that depends upon (waits for) the latest-possible service, try executing the command there, and observe the error. Ideally there would be some external observable event which a systemd service could depend upon, when hosted-engine is ready to do its thing. Adding Jiri for that. Do you have an open bug? Thanks, Regards, Bob On Wed, Dec 3, 2014 at 2:59 AM, Yedidyah Bar David d...@redhat.com wrote: Hi all, We already have quite a lot of open ovirt-hosted-engine-setup bugs for 3.6 [1]. Yesterday I tried helping someone on irc who planned to migrate to hosted-engine manually, and without knowing (so it seems) that such a feature exists. He had an engine set up on a physical host, prepared a VM for it, and asked about migrating the engine to the VM. In principle this works, but the final result will be a hosted-engine, where the engine manages a VM the runs itself, without knowing it, and without HA. The current recommended migration flow is described in [2]. This page is perhaps a bit outdated, perhaps missing some details etc., but principally works. The main issue with it, AFAICT after discussing this a bit with few people, is that it requires a new clean host. I'd like to hear what people here think about such and similar flows. If you already had an engine and migrated to hosted-engine, what was good, what was bad, what would you like to change? If you plan such a migration, what do you find missing currently? [1] http://red.ht/1vle8Vv [2] http://www.ovirt.org/Migrate_to_Hosted_Engine Best, -- Didi ___ Devel mailing list de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [ovirt-devel] hosted-engine setup/migration features for 3.6
- Original Message - From: Yedidyah Bar David d...@redhat.com To: Bob Doolittle b...@doolittle.us.com Cc: users users@ovirt.org, devel de...@ovirt.org Sent: Wednesday, December 3, 2014 3:04:17 PM Subject: Re: [ovirt-devel] hosted-engine setup/migration features for 3.6 - Original Message - From: Bob Doolittle b...@doolittle.us.com To: Yedidyah Bar David d...@redhat.com Sent: Wednesday, December 3, 2014 2:50:12 PM Subject: Re: [ovirt-devel] hosted-engine setup/migration features for 3.6 Another issue with that page is that it assumes a remote database. I am not sure what percentage of cases have remote databases but clearly many (most?) do not, since that's not default behavior. I agree. So that page definitely needs attention. See: https://bugzilla.redhat.com/show_bug.cgi?id=105 Indeed. Note that this isn't specific to hosted-engine, it's the same for any migration using engine-backup to backup/restore, therefore there is a link to its page in the top, where this is more detailed. I now added another note next to the restore text. We also have a bug [3] to automate this. [3] https://bugzilla.redhat.com/show_bug.cgi?id=1064503 https://bugzilla.redhat.com/show_bug.cgi?id=108 Some of us have wanted to disable global maintenance upon bootup by adding a systemd service on Fedora 20 (since you must enable global maintenance to shut it down cleanly), and have found it impossible to create the necessary systemd dependencies. It seems that (at least with 3.4) hosted-engine --set-maintenance --mode=none will return an error for several seconds after all other services have started and it's not clear what can be waited upon in order to issue the command with assurance it will complete successfully. This isn't strictly a setup/migration issue but it is an issue with setting up a desired configuration with hosted-engine. The way to reproduce this is simply to wait until gdm-greeter displays the login prompt, ssh into the system and execute hosted-engine --set-maintenance --mode=none and observe the error. Or create a systemd service that depends upon (waits for) the latest-possible service, try executing the command there, and observe the error. Ideally there would be some external observable event which a systemd service could depend upon, when hosted-engine is ready to do its thing. Adding Jiri for that. Do you have an open bug? Thanks, Regards, Bob On Wed, Dec 3, 2014 at 2:59 AM, Yedidyah Bar David d...@redhat.com wrote: Hi all, We already have quite a lot of open ovirt-hosted-engine-setup bugs for 3.6 [1]. Yesterday I tried helping someone on irc who planned to migrate to hosted-engine manually, and without knowing (so it seems) that such a feature exists. He had an engine set up on a physical host, prepared a VM for it, and asked about migrating the engine to the VM. In principle this works, but the final result will be a hosted-engine, where the engine manages a VM the runs itself, without knowing it, and without HA. The current recommended migration flow is described in [2]. This page is perhaps a bit outdated, perhaps missing some details etc., but principally works. The main issue with it, AFAICT after discussing this a bit with few people, is that it requires a new clean host. I'd like to hear what people here think about such and similar flows. If you already had an engine and migrated to hosted-engine, what was good, what was bad, what would you like to change? If you plan such a migration, what do you find missing currently? [1] http://red.ht/1vle8Vv [2] http://www.ovirt.org/Migrate_to_Hosted_Engine Best, -- Didi ___ Devel mailing list de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel -- Didi ___ Devel mailing list de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel Best, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] RedHat 7 Install Ovirt Fails with No package ovirt-engine available.
- Original Message - From: Simone Tiraboschi stira...@redhat.com To: Tony unix...@gmail.com Cc: users@ovirt.org Sent: Tuesday, December 9, 2014 10:27:43 AM Subject: Re: [ovirt-users] RedHat 7 Install Ovirt Fails with No package ovirt-engine available. - Original Message - From: Tony unix...@gmail.com To: users@ovirt.org Sent: Monday, December 8, 2014 7:15:48 PM Subject: [ovirt-users] RedHat 7 Install Ovirt Fails with No package ovirt-engine available. Hi I'm new to the users group. I have redhat 7 installed and ceph working perfectly and now I wanted to install ovirt and followed the instructions from the ovirt website and all I get is this message below. yum -y install ovirt-engine Loaded plugins: langpacks, priorities, product-id, subscription-manager No package ovirt-engine available. Error: Nothing to do We are still not supporting RHEL 7 for ovirt engine. That said, you are welcome to try the nightly builds of 3.5 [1]. Works for me. [1] http://www.ovirt.org/Install_nightly_snapshot -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Drive for hosted-engine storage failing. Must Migrate
- Original Message - From: Chris Routh ro...@amateurwriting.net To: users@ovirt.org Sent: Saturday, December 13, 2014 4:09:09 PM Subject: [ovirt-users] Drive for hosted-engine storage failing. Must Migrate I sort of had a feeling this day would come right from the moment I setup the hosted engine. When I set it up I put it on a smaller hard drive with an NFS share and put the VMs on a different set of drives with NFS. The VMs have now been moved to an iSCSI share on a FreeNAS box. The hard drive that contains the hosted-engine is now failing, and I have to move the contents of it to another drive, preferably without destroying my cluster and recreating it. How can I accomplish this? Just the drive itself? If can afford that, simplest would probably be to take down everything, copy the disk to a new one, then start up. If you can't afford the downtime, and/or have more complex needs (or setup), you might want to give some more details, and/or describe (based on your setup and needs) what you intend to do and what stops you from doing that. Good luck, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Complete CentOS 7 environment
- Original Message - From: Sandro Bonazzola sbona...@redhat.com To: Usman Aslam usman.as...@tufts.edu, Robert Story rst...@tislabs.com Cc: users@ovirt.org, Yedidyah Bar David d...@redhat.com Sent: Monday, December 15, 2014 9:53:28 AM Subject: Re: [ovirt-users] Complete CentOS 7 environment Il 06/11/2014 20:35, Aslam, Usman ha scritto: Thanks for the info Robert. I'm setting up nodes with CentOS 7 and Engine is the only thing on 6.6 In your opinion, do you think it will be easy enough to rebuild the engine on a CentOS 7 machine when support is available? simple backup on 6 and restore on a clean 7 should work. Indeed, although: 1. I didn't yet try that myself (yet?) 2. The opposite direction (7-6) might fail, due to postgresql in 7 dumping data that the version in 6 fails to parse/accept. Thanks, Usman -Original Message- From: Robert Story [mailto:rst...@tislabs.com] Sent: Thursday, November 06, 2014 2:12 PM To: Aslam, Usman Cc: users@ovirt.org Subject: Re: [ovirt-users] Complete CentOS 7 environment On Thu, 6 Nov 2014 17:47:52 + Usman wrote: AU We are upgrading hardware and I'm upgrading/rebuilding our Ovirt AU infrastructure. Are CentOS 7 host nodes supported? And can the AU engine be installed on CentOS 7? (3.5 repo isn't working for me) It's likely that 3.5.1 will work, but contrary to nodes, there is not a big difference between them for the engine. CentOS 7 is supported for host nodes, but not the engine. If you have a mixed CentOS 6/7 environment, note that migration works from 6-7 hosts, but not from 7-6. Robert -- Senior Software Engineer @ Parsons ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Problem after update ovirt to 3.5
- Original Message - From: Juan Jose jj197...@gmail.com To: users@ovirt.org Sent: Monday, December 15, 2014 3:17:15 PM Subject: [ovirt-users] Problem after update ovirt to 3.5 Hello everybody, After upgrade my engine to oVirt 3.5, I have also upgraded one of my hosts to oVirt 3.5. After that it seems that all have gone good aparently. But in some seconds my ISO domain is desconnected and it is impossible to Activate. I'm attaching my engine.log. The below error is showed each time I try to Activate the ISO domain. Before the upgrade it was working without problems: 2014-12-15 13:25:07,607 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-5) [460733dd] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to connect Host host1 to the Storage Domains ISO_DOMAIN. 2014-12-15 13:25:07,608 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (org.ovirt.thread.pool-8-thread-5) [460733dd] FINISH, ConnectStorageServerVDSCommand, return: {81c0a853-715c-4478-a812-6a74808fc482=477}, log id: 3590969e 2014-12-15 13:25:07,615 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-5) [460733dd] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: The error message for connection ovirt-engine.siee.local:/var/lib/exports/iso-20140303082312 returned by VDSM was: Problem while trying to mount target 2014-12-15 13:25:07,616 ERROR [org.ovirt.engine.core.bll.storage.NFSStorageHelper] (org.ovirt.thread.pool-8-thread-5) [460733dd] The connection with details ovirt-engine.siee.local:/var/lib/exports/iso-20140303082312 failed because of error code 477 and error message is: problem while trying to mount target If any other information is required, please tell me. Is the ISO domain on the engine host? Please check there iptables and /etc/exports, /etc/exports.d. Please post the setup (upgrade) log, check /var/log/ovirt-engine/setup. Thanks, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users