Re: [ovirt-users] Add new IP in ubuntu VM will clear the existing configuration | cloud-init
Hi Punit, at which phase do you put operating system(OS) in this machine? You have installed VM with OS and the you use run once + cloud init (without reinstalling OS)? Just o be sure by adding extra IP (step 3) you mean new adding new network card (aka vNIC) to the VM, right? Regards Martin Pavlik RHEV Quality Engineer irc nick: mpavlik ; irc channels: #tlv #brno #rhev-dev #rhev-qe - Original Message - From: "Punit Dambiwal" To: users@ovirt.org, "Itamar Heim" , "Omer Frenkel" , "Oved Ourfali" , "Dan Kenigsberg" , "Martin Perina" Sent: Thursday, December 18, 2014 3:21:44 AM Subject: [ovirt-users] Add new IP in ubuntu VM will clear the existing configuration | cloud-init Hi, I tired ubuntu 14.04 and debian 7.6both has the same issue... 1. Create VM with one NIC "eth0"...then run once and insert the cloud-init data and make it up... 2. Powerdown the VM. 3. Add extra ip "eth1"... 4. run once and insert the cloud-init data and make it up... 5. VM successfully come up but removed the eth0 and loopback address config from /etc/network/interfaces file 6. Now from ifconfig it displays only eth1...becasue eth0 and loopback config removed by eth1.. Thanks, Punit ___ 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] trouble with engine-iso-uploader
Hi Yuval, try username: admin@internal regards Martin Pavlik On 03/21/2013 03:20 PM, Yuval M wrote: Hi, I'm trying to use engine-iso-uploader to add ISO images to my ISO storage domain. (Ovirt 3.2 on Fedora 18) $ sudo engine-iso-uploader -v --nossl list Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin Please provide the REST API password for the admin oVirt Engine user (CTRL+D to abort): ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist? $ ls -la /etc/pki/ovirt-engine/ca.pem ls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory $ cat /var/log/ovirt-engine/engine-iso-uploader.log 2013-03-21 15:42:04::ERROR::engine-iso-uploader::455::root:: Problem connecting to the REST API. Is the service available and does the CA certificate exist? - same results also without the --nossl flag. any insight? Thanks, Yuval Meir ___ 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] trouble with engine-iso-uploader
Hi Yuval, Would it be an option for you to directly upload the iso image to the iso domain? You can avoid iso-uploader this way. Just take the iso image and scp it directly to the iso domain the dir for iso images looks similar to this ...your_iso_domain_dir/ddd00568-fc55-4bd5-9a57-62f3acdebf95/images/---- after copying run chown vdsm:kvm on the uploaded iso image. Result should look something like this [root@XXX ----]# pwd /iso/ddd00568-fc55-4bd5-9a57-62f3acdebf95/images/---- [root@XXX ----]# ls -lah total 646M drwxr-xr-x. 2 vdsm kvm 4.0K Mar 22 08:39 . drwxr-xr-x. 3 vdsm kvm 4.0K Mar 22 08:37 .. -rw-r--r--. 1 vdsm kvm 645M Mar 22 08:39 Fedora-17-x86_64-Live-Desktop.iso HTH Martin Pavlik On 03/21/2013 05:43 PM, Yuval M wrote: Traceback (most recent call last): File "test.py", line 2, in api = API(url='http://ovirt.local/api', username='admin@internal', password='letmein!') File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 118, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 199, in request noParse=noParse) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 261, in __doRequest raise ConnectionError, str(e) ovirtsdk.infrastructure.errors.ConnectionError: [ERROR]::oVirt API connection failure, [Errno -2] Name or service not known On Thu, Mar 21, 2013 at 6:02 PM, Sandro Bonazzola <mailto:sbona...@redhat.com>> wrote: Can you try running the following 2 lines with python changing the password and the url with your values? >>> from ovirtsdk.api import API >>> api = API(url='http://ovirt.local/api', username='admin@internal', password='***) and paste the output? Il 21/03/2013 16:43, Yuval M ha scritto: doesn't work. [wil@bufferoverflow ~]$ sudo ls -la /etc/pki/ovirt-engine/ca.pem ls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory [wil@bufferoverflow ~]$ sudo engine-iso-uploader -v --nossl --insecure list Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist? SSL is disabled in my setup so it should work via HTTP and not HTTPS. Yuval Meir On Thu, Mar 21, 2013 at 4:40 PM, Sandro Bonazzola mailto:sbona...@redhat.com>> wrote: Hi, Can you try to execute the following command? $ sudo ls -la /etc/pki/ovirt-engine/ca.pem Also if it seems strange it need ca.pem without ssl. Can you try also: $ sudo engine-iso-uploader -v --nossl --insecure list -- Sandro Il 21/03/2013 15:20, Yuval M ha scritto: Hi, I'm trying to use engine-iso-uploader to add ISO images to my ISO storage domain. (Ovirt 3.2 on Fedora 18) $ sudo engine-iso-uploader -v --nossl list Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin Please provide the REST API password for the admin oVirt Engine user (CTRL+D to abort): ERROR: Problem connecting to the REST API. Is the service available and does the CA certificate exist? $ ls -la /etc/pki/ovirt-engine/ca.pem ls: cannot access /etc/pki/ovirt-engine/ca.pem: No such file or directory $ cat /var/log/ovirt-engine/engine-iso-uploader.log 2013-03-21 15:42:04::ERROR::engine-iso-uploader::455::root:: Problem connecting to the REST API. Is the service available and does the CA certificate exist? - same results also without the --nossl flag. any insight? Thanks, Yuval Meir ___ Users mailing list Users@ovirt.org <mailto: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] VM crashes
Hi Jonatan, try to check following log files /var/log/libvirt/qemu/your_VM_name.log - virtual machine log /var/log/libvirtd.log ( http://www.ovirt.org/Libvirt) /var/log/vdsm/vdsm.log - vdsm.log ( http://www.ovirt.org/Vdsm_Log_Files ) HTH Martin Pavlik RHEV Quality Engineer On 03/25/2013 02:29 PM, Jonathan Horne wrote: 2 VMs crashed over the weekend, and I am trying to do some detective work on what happened. Unfortunately, they were both on the same node (that node dumped a core file, which I have another thread open about and hopefully I can open it and see what happened there too). Is there a log file on the node that I might get some information as to what happened? Thanks for any tips, jonathan This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ___ 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] cannot create ovirt-host-deploy.tar
What OS do you use on host? I experienced something similar using Fedora 18 minimal install, you need to install tar on the node It is mentioned here http://www.ovirt.org/Quick_Start_Guide (search for yum install tar) HTH Martin Pavlik On 03/26/2013 11:45 AM, bigclouds wrote: hi,all i fail to add host, it tip me to re-install, but every time ,it failed because 'Cannot create tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar'' thanks ---log- 2013-03-26 18:31:40,062 INFO [org.apache.sshd.client.auth.UserAuthPassword] (pool-10-thread-9) Send SSH_MSG_USERAUTH_REQUEST for password 2013-03-26 18:31:40,078 INFO [org.apache.sshd.client.auth.UserAuthPassword] (NioProcessor-3) Received SSH_MSG_USERAUTH_SUCCESS 2013-03-26 18:31:40,080 INFO [org.ovirt.engine.core.bll.VdsDeploy] ( pool-10-thread-9) [73c29998] Installation of 192.168.2.170. Executing command via SSH umask 0077; MYTMP="$(mktemp -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; rm -fr "${MYTMP}" && mkdir "${MYTMP}" && amp; tar -C "${MYTMP}" -x && "${MYTMP}"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True < /var/cache/ovirt-engine/ovirt-host-deploy.tar 2013-03-26 18:31:40,085 INFO [org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-10-thread-9) Tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar' is missing, creating 2013-03-26 18:31:40,090 ERROR [org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-10-thread-9) Cannot create tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar': java.io.FileNotFoundException: File or directory /usr/share/ovirt-host-deploy/interface-3 not found at org.ovirt.engine.core.utils.archivers.tar.Tar.doTar(Tar.java:97) [utils.jar:] at org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(CachedTar.java:41) [utils.jar:] at org.ovirt.engine.core.utils.archivers.t ar.CachedTar.ensure(CachedTar.java:105) [utils.jar:] at org.ovirt.engine.core.utils.archivers.tar.CachedTar.getFile(CachedTar.java:151) [utils.jar:] at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:922) [bll.jar:] at org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:167) [bll.jar:] at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1063) [bll.jar:] at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1148) [bll.jar:] at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1596) [bll.jar:] at org.ovirt.engine.core.utils.transact ion.TransactionSupport.executeInSuppressed(TransactionSupport.java:166) [utils.jar:] at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:108) [utils.jar:] at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1166) [bll.jar:] at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:318) [bll.jar:] at org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:183) [bll.jar:] at org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:164) [bll.jar:] at org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:101) [bll.jar:] & nbsp ; at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:71) [utils.jar:] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_09-icedtea] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_09-icedtea] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_09-icedtea] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_09-icedtea] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_09-icedtea] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09- icedtea] -vdsm log-- MainThread::INFO::2013-03-26 18:20:20,514::vmChannels::146::vds::(settimeout) Setting channels' timeout to 30 seconds. VM Channels Listener::INFO::2013-03-26 18:2