Re: [ovirt-users] Add new IP in ubuntu VM will clear the existing configuration | cloud-init

2014-12-18 Thread Martin Pavlik
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 hypu...@gmail.com
To: users@ovirt.org, Itamar Heim ih...@redhat.com, Omer Frenkel 
ofren...@redhat.com, Oved Ourfali ov...@redhat.com, Dan Kenigsberg 
dan...@redhat.com, Martin Perina mper...@redhat.com
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] VM crashes

2013-03-26 Thread Martin Pavlik

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] trouble with engine-iso-uploader

2013-03-22 Thread Martin Pavlik

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 module
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 sbona...@redhat.com 
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 tel:2013 at 4:40 PM, Sandro Bonazzola
sbona...@redhat.com 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] trouble with engine-iso-uploader

2013-03-21 Thread Martin Pavlik

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