Re: [ovirt-users] DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli
Thanks Roy But if I'm going to redirect the output of the hosted-engine command to /dev/null, I can not identify the possible problem of the command :( It may be possible exclude DeprecationWarning from the code in next version 4.0.4 :) ? 18.09.2016, 09:27, "Roy Golan" : > Try to point stderr to /dev/null. For example this should work: > > ```bash > vdsClient -s 0 list table 2> /dev/null > ``` > > On 18 September 2016 at 08:59, wrote: >> Hello oVirt guru`s ! >> >> Every time I call the commands: >> >> * hosted-engine --set-maintenance --mode=global >> * hosted-engine --set-maintenance --mode=none >> >> The message appears: >> >> /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py:15: >> DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is >> deprecated, please use vdsm.jsonrpcvdscli >> import vdsm.vdscli >> ... >> >> This message prevents tracking the status of execution of commands in my >> scripts. >> >> How can I suppress this message? >> ___ >> 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] DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli
Try to point stderr to /dev/null. For example this should work: ```bash vdsClient -s 0 list table 2> /dev/null ``` On 18 September 2016 at 08:59, wrote: > Hello oVirt guru`s ! > > Every time I call the commands: > > * hosted-engine --set-maintenance --mode=global > * hosted-engine --set-maintenance --mode=none > > The message appears: > > /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py:15: > DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is > deprecated, please use vdsm.jsonrpcvdscli > import vdsm.vdscli > ... > > This message prevents tracking the status of execution of commands in my > scripts. > > How can I suppress this message? > ___ > 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] Fail to upgrade to 4.1 from 4.0
On Fri, Sep 16, 2016 at 2:53 PM, Martin Perina wrote: > Hi, > > I'm glad that you new attempt to upgrade 3.6 to 4.0 were successfull and 4.0 > is now working OK for you. > > More answers to questions inline: > > On Thu, Sep 15, 2016 at 9:50 PM, Marcin M. Jessa wrote: >> >> On 15/09/2016 12:58, Martin Perina wrote: >>> >>> So something went wrong on that upgrade from 3.6 to 4.0 and it was not >>> a good idea to do another upgrade when previous one went wrong. >> >> >> The upgrade process went fine. The upgrade script never showed any errors. > > > Hmm, that's strange, because from latest setup log you sent me I'd say that > 3.6 to 4.0 upgrade was not successful. But to confirm that I'd need to > investigate all setup logs from 3.6 upgrade .. > >> >> >>> Anyway to confirm that could you please share with us also upgrade log >>> between >>> 3.6 and 4.0? Also how did you do the upgrade (especially what OS have >>> you used on 3.6 and if upgrade was done using engine-backup or in-place)? >> >> >> I backed up the installation but then I ran in-place upgrade. I was told >> on the irc I don't need to restore from backups when I'm already on CentOS >> 7. Actually failing to restore from backup brought me to the IRC in the >> first place. > > > Yes, when doing in-place upgrade you don't need to do restore, that's why I > asked how you performed your upgrade > >> >> >> I'm on CentOS Linux release 7.2.1511 (Core) >> Upgrading I followed exactly the same doc you pointed to below. >> Except when updating to 4.1 failed, I uninstalled everything that had to >> do with ovirt and installed the 4.0 release. >> >>> More details about upgrade options from 3.6 to 4.0 can be found at: >>> http://www.ovirt.org/documentation/migration-engine-3.6-to-4.0/ >> >> Because of that doc I installed 4.1 instead of the stable 4.0 ... > > > Yes, that's a shame for our project to have outdated upgrade doc several > month after GA release :-( > Thanks for pointing this out, here's PR which fixes wrong repository URL: > > https://github.com/oVirt/ovirt-site/pull/467 > >> >> >>> So from current log I can see that upgrade from 3.6 to 4.0 was not >>> successfully finished and that's why you had issues during upgrade on >>> master. >> >> Out of curiousity, where did you see that 3.6 to 4.0 update failed? > > > In your setup log I can see following: > > Dropping materialized views... > Skipping upgrade script > /usr/share/ovirt-engine/dbscripts/upgrade/03_06__set_version.sql, its > version 0306 is <= current version 04000860 > Skipping upgrade script > /usr/share/ovirt-engine/dbscripts/upgrade/03_06_0010_update_haswell_vds_to_new_name.sql, > its version 03060010 is <= current version 04000860 > > > If 3.6 was properly upgraded to 4.0, you wouldn't see any records like this, > you'd see applying only 4.1 upgrade scripts, for example: Are you sure about this? Please note that the above lines are a result of a rather-recent change [1], before it they never appeared in the log (but similar ones did appear due to other reasons). [1] https://gerrit.ovirt.org/59441 > > Dropping materialized views... > Running upgrade sql script > '/usr/share/ovirt-engine/share/ovirt-engine/dbscripts/upgrade/04_01_0010_add_mac_pool_id_to_vds_group.sql'... > Running upgrade sql script > '/usr/share/ovirt-engine/share/ovirt-engine/dbscripts/upgrade/04_01_0020_empty_current_cd_to_null.sql'... > > > >> >>> Personaly I'd recommend you to get back into 3.6 (either by restoring >>> from backup (if you performed in-place upgrade) or shutting down new >>> host and starte pervious 3.6 host (if you performed upgrade using >>> engine-backup) and do upgrade to 4.0 again. And if upgrade from 3.6 to >>> 4.0 is not successful, please share the logs again. >> >> >> I'll try from scratch again, uninstalling everything, installing 3.6, >> restoring backups and upgrading to 4.0 >> >> I don't want to be a party popper but to be honest you need a testing >> engineer. The upgrade process is way too fragile and breaks too easily... >> >> -- >> >> Marcin M. Jessa > > -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli
Hello oVirt guru`s ! Every time I call the commands: * hosted-engine --set-maintenance --mode=global * hosted-engine --set-maintenance --mode=none The message appears: /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py:15: DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli import vdsm.vdscli ... This message prevents tracking the status of execution of commands in my scripts. How can I suppress this message? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Testing oVirt 4.0.3 and 4.0.4 RC3 on nested KVM
May I suggest you look at Lago[1], which with ovirt-system-tests can do just that? Y. [1] http://lago.readthedocs.io/en/latest/README.html On Sat, Sep 17, 2016 at 3:25 PM, wodel youchi wrote: > Hi, > > I am testing the deployment of oVirt using ovirt-node next-gen and ovirt > appliance on a nested KVM environment. > > My base system (the physical machine) is a FC24 with 16Go of RAM and > nested KVM enabled. > I used NFS for storage. > > Test with oVirt 4.0.3: > - I created two hypervisors 5Go of RAM each and 4vCpu. > - I installed ovirt-node next-gen OS. > - I downloaded ovirt appliance and started the engine deploy using > generated configuration from cloud-init (I reserved 2Go of RAM for the > VM-engine). > > Problems : > - I couldn't add the second hypervisor from the engine's GUI, when I tried > to do it, ovirt-engine crashed. > - I tried with the command line, the process terminated with errors. > - There is no create a new ISO or Export domain only Data domain in the > select list. > > Unfortunately I deleted the two hypervisors. > > Test with oVirt 4.0.4 RC3 : > - I created two hypervisors 5Go of RAM each and 4vCpu. > - I installed ovirt-node next-gen OS. > - I downloaded ovirt appliance and started the engine deploy using > generated configuration from cloud-init (I reserved 2Go of RAM for the > VM-engine). > > Problems: > - I couldn't add the second hypervisor from the engine's GUI, when I tried > to do it, ovirt-engine crashed. > - After adding the Data domain, the hosted_storage was added successfully, > but the VM engine was not imported successfully, it's does not appear on > the VMs tab. > - There is no create a new ISO or Export domain only Data domain in the > select list. > - I added the second hypervisor from the command line successfully. > - I tried to put the first hypervisor in maintenance mode, migration of > the VM engine was started, from the command line I could see that the VM is > running on the second hypervisor, but the migration process didn't > terminate, I tried to reactivate the first hypervisor and put it in > maintenance mode again, this time the ovirt-engine crashed. > > Regards. > > > ___ > 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
[ovirt-users] Ask for functionalities
Hi, I am not sure if it is the wright place do to this. - Is it possible to add a column in the hosts tab to show if a particular host is part of the hosted-engine group. - Is it possible to add for testing purpose when using nested-kvm, a fencing agent using ssh script to talk to virsh on the physical machine, to act as a power management. I tried to use qemu-ipmi with ipmi-simulator but I lacks documentation. Regards. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Testing oVirt 4.0.3 and 4.0.4 RC3 on nested KVM
Hi, I am testing the deployment of oVirt using ovirt-node next-gen and ovirt appliance on a nested KVM environment. My base system (the physical machine) is a FC24 with 16Go of RAM and nested KVM enabled. I used NFS for storage. Test with oVirt 4.0.3: - I created two hypervisors 5Go of RAM each and 4vCpu. - I installed ovirt-node next-gen OS. - I downloaded ovirt appliance and started the engine deploy using generated configuration from cloud-init (I reserved 2Go of RAM for the VM-engine). Problems : - I couldn't add the second hypervisor from the engine's GUI, when I tried to do it, ovirt-engine crashed. - I tried with the command line, the process terminated with errors. - There is no create a new ISO or Export domain only Data domain in the select list. Unfortunately I deleted the two hypervisors. Test with oVirt 4.0.4 RC3 : - I created two hypervisors 5Go of RAM each and 4vCpu. - I installed ovirt-node next-gen OS. - I downloaded ovirt appliance and started the engine deploy using generated configuration from cloud-init (I reserved 2Go of RAM for the VM-engine). Problems: - I couldn't add the second hypervisor from the engine's GUI, when I tried to do it, ovirt-engine crashed. - After adding the Data domain, the hosted_storage was added successfully, but the VM engine was not imported successfully, it's does not appear on the VMs tab. - There is no create a new ISO or Export domain only Data domain in the select list. - I added the second hypervisor from the command line successfully. - I tried to put the first hypervisor in maintenance mode, migration of the VM engine was started, from the command line I could see that the VM is running on the second hypervisor, but the migration process didn't terminate, I tried to reactivate the first hypervisor and put it in maintenance mode again, this time the ovirt-engine crashed. Regards. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users