Re: [ovirt-users] Can I use qcow2?

2014-09-04 Thread Itamar Heim

On 09/05/2014 04:20 AM, Punit Dambiwal wrote:

Hi,

I have checked and found that ovirt support two type of disk formats
(RAW & QCOW2)...but bydefault it create the VM disk with RAW formati
try but didn't find any way to change this format to qcow2 ??


since file system are usually sparse by default, we use RAW which 
provides better performance than COW.




How i can change the default vm disk from RAW to QCOW2 ??


i thought I saw samples on how to do this via the API/CLI earlier in the 
thread:

http://lists.ovirt.org/pipermail/users/2014-September/027147.html



I am using the below :-
Ovirt :- 3.4.3
Glusterfs :- 3.5

Thanks,
Punit


On Thu, Sep 4, 2014 at 3:25 AM, Itamar Heim mailto:ih...@redhat.com>> wrote:

On 09/03/2014 06:45 PM, Sven Kieske wrote:



Am 03.09.2014 17:37, schrieb Gianluca Cecchi:

I remember to have asked for something like that in the past
on this list
and then Tim Hildred mailto:thild...@redhat.com>>  from Red Hat opened such a
bugzilla entry for me so that I could comment with my open
account 

see https://bugzilla.redhat.com/__show_bug.cgi?id=954211


Can we ask here a similar workflow?
Thanks in advance,


Well yeah, that works somehow, but why can't I open
a bug on these docs? they are available to the public
anyway.

Everybody can investigate them for errors, but I need
a red hat guy to make a report if I find an error? really?

I think I just won't report any doc bugs anymore, because
red hat doesn't seem to want that.


for now, for lack of a better option, I suggest opening them on
ovirt docs.

_
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] Difference between Disk ID of VM and Disk ID of snapshot

2014-09-04 Thread santosh

Hi All,

The disks IDs provided by following two APIs will be same or different?

* SERVER:PORT/api/vms/VM_ID/snapshots/ID**/disks**
**
** SERVER:PORT/api/vms/VM_ID/disks**
*

Thanks, Santosh




***Legal Disclaimer***
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] OVirt Guest Agent Service service could not be started

2014-09-04 Thread Grzegorz Szypa
Hi,

Could you tried to install the Agent of the finished package prepared by
the oVirt:
http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/ovirt-guest-tools/

Personally, I use this and it works great

-- 
G.Sz.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] OVirt Guest Agent Service service could not be

2014-09-04 Thread Grzegorz Szypa
Hi,

Could you tried to install the Agent of the finished package prepared by
the oVirt:
http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/ovirt-guest-tools/

Personally, I use this and it works great

-- 
G.Sz.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] OVirt Guest Agent Service service could not be started (Richard Long)

2014-09-04 Thread Grzegorz Szypa
Hi,

Could you tried to install the Agent of the finished package prepared by
the oVirt:
http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/ovirt-guest-tools/

Personally, I use this and it works great

-- 
G.Sz.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt / RHEV interoperability

2014-09-04 Thread John Gardeniers
Just curious and I'm not currently in a position to try it myself. Is 
there any interoperability between Ovirt and RHEV? In other words, can 
an Ovirt hypervisor work with a REV engine or can a RHEV hypervisor work 
with a RHEV engine?


regards,
John



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Autostart disable

2014-09-04 Thread Punit Dambiwal
Hi Dan,

Thanks for the reply...i didn't understand your meanwould you mind to
more elaborate this ??

What happen if it will be disable and what happen if i will make it enable
??

Thanks,
Punit


On Fri, Sep 5, 2014 at 11:15 AM, Dan Yasny  wrote:

> libvirt doesn't manage the oVirt VMs, oVirt does.
>
>
> On Thu, Sep 4, 2014 at 11:14 PM, Punit Dambiwal  wrote:
>
>> Hi,
>>
>> I have checked and found that by default the Autostart is disable...is
>> there any drawback to enable it ???
>>
>> How i can enable it for all the VM's by default ??
>>
>> [image: Inline image 1]
>>
>> 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: [ovirt-users] VM Autostart disable

2014-09-04 Thread Dan Yasny
libvirt doesn't manage the oVirt VMs, oVirt does.


On Thu, Sep 4, 2014 at 11:14 PM, Punit Dambiwal  wrote:

> Hi,
>
> I have checked and found that by default the Autostart is disable...is
> there any drawback to enable it ???
>
> How i can enable it for all the VM's by default ??
>
> [image: Inline image 1]
>
> 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


[ovirt-users] VM Autostart disable

2014-09-04 Thread Punit Dambiwal
Hi,

I have checked and found that by default the Autostart is disable...is
there any drawback to enable it ???

How i can enable it for all the VM's by default ??

[image: Inline image 1]

Thanks,
Punit
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] OVirt Guest Agent Service service could not be started

2014-09-04 Thread Richard Long
I am trying to install ovirt-guest-agent in a windows 7 sp1 vm with all current 
updates applied. This is a new install for  of oVirt Engine Version: 
3.4.3-1.fc19. Both host are running FC20.
 Besides searching the list and google I have followed the instructions here: 
http://www.ovirt.org/OVirt_Guest_Agent_For_Windows.  
I tried many different things to no avail and this install is on a clean win 7 
vm.
During the creation of the service I am getting this warning:  

The following modules appear to be missing
['Carbon', 'Carbon.Files', '_scproxy', 'dummy.Process', 'simplejson', 
'test_port ', 'win32com.gen_py']. 
I do not know if these are needed are  not and have not been able to locate 
them.

After copying the files created in the python build ,per the instructions I ran 
the following :

C:\Program Files (x86)\Guest Agents\oVirt Guest Agent> OVirtGuestService.exe 
-instal
C:\Program Files (x86)\Guest Agents\oVirt Guest Agent> net start 
OVirtGuestService

and get

The OVirt Guest Agent Service service is starting.
The OVirt Guest Agent Service service could not be started.

 A service specific error occurred: 1.

More help is available by typing NET HELPMSG 3547.

Which gives: A service specific error occurred: ***.


Looking at the windows system event log gives:

The description for Event ID 10 from source OVirtGuestService cannot be found. 
Either the component that raises this event is not installed on your local 
computer or
 the installation is corrupted. You can install or repair the component on the 
local computer.

If the event originated on another computer, the display information had to be 
saved with the event.

The following information was included with the event: 

Traceback (most recent call last):
  File "OVirtGuestService.pyc", line 63, in __init__
  File "logging\config.pyc", line 70, in fileConfig
  File "logging\config.pyc", line 106, in _create_formatters
  File "ConfigParser.pyc", line 607, in get
NoSectionError: No section: 'formatters'


And 

The OVirt Guest Agent Service service terminated with service-specific error 
Incorrect function..

As I said I have scoured the internet for a resolution for 2 days, one hinted 
at the serial driver:

I device manager the VirtIO-Serial Driver is listed and "This device is working 
properly."

I'm not sure what to try now.

Regards
Richard



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM File System expansion

2014-09-04 Thread Punit Dambiwal
Hi Rich,

I read this article :-
https://inthecloud.readthedocs.org/zh_CN/latest/index.html

and used below set of commands :-

Virtual Machine File System expansion


oVirt 3.4 disks can be online expansion, but for the disk within a file
system requires a separate support for Linux and Windows lists commonly
used method in this expansion.

*Linux file system expansion (libguestfs)*

For details, please refer to libguestfs site

 .

   1. View disk

  # Virt-filesystem --all --long -h -a hda.img


   1. Expansion disk copy to be created, while the expansion of 10G
   (Assuming the original disk size is 10G)

For RAW format:

  # Truncate -r hda.img hda-new.img
 # Truncate -s + 10G hda-new.img

For QCOW2 and other compressed formats:

  # Qemu-img create -f qcow2 -o preallocation = metadata hda-new.img 20G


   1. Extended partition size

Ordinary extended partition, / boot partition expansion 200M, all the rest
to the / partition:

  # Virt-resize --resize / dev / sda1 = + 200M --expand / dev / sda2
hda.img hda-new.img

LVM partition expansion, expansion lv_root logical volume:

  # Virt-resize --expand / dev / sda2 --LV-expand / dev / vg_livecd /
lv_root hda.qcow2 hda-new.qcow2

Thanks,
Punit




On Thu, Sep 4, 2014 at 3:53 PM, Richard W.M. Jones 
wrote:

> On Thu, Sep 04, 2014 at 09:51:53AM +0800, Punit Dambiwal wrote:
> > Hi,
> >
> > I read this article and found that we can expand the VM disk online but
> it
> > doesn't expand the filesystem of the VM.
>
> Which article?
>
> virt-resize can only be used for offline expansion of disks.
>
> If you used virt-resize, what precise commands did you type and
> what exact errors did you see?
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://people.redhat.com/~rjones/virt-df/
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can I use qcow2?

2014-09-04 Thread Punit Dambiwal
Hi,

I have checked and found that ovirt support two type of disk formats (RAW &
QCOW2)...but bydefault it create the VM disk with RAW formati try but
didn't find any way to change this format to qcow2 ??

How i can change the default vm disk from RAW to QCOW2 ??

I am using the below :-
Ovirt :- 3.4.3
Glusterfs :- 3.5

Thanks,
Punit


On Thu, Sep 4, 2014 at 3:25 AM, Itamar Heim  wrote:

> On 09/03/2014 06:45 PM, Sven Kieske wrote:
>
>>
>>
>> Am 03.09.2014 17:37, schrieb Gianluca Cecchi:
>>
>>> I remember to have asked for something like that in the past on this list
>>> and then Tim Hildred   from Red Hat opened such a
>>> bugzilla entry for me so that I could comment with my open account 
>>>
>>> see https://bugzilla.redhat.com/show_bug.cgi?id=954211
>>>
>>> Can we ask here a similar workflow?
>>> Thanks in advance,
>>>
>>
>> Well yeah, that works somehow, but why can't I open
>> a bug on these docs? they are available to the public
>> anyway.
>>
>> Everybody can investigate them for errors, but I need
>> a red hat guy to make a report if I find an error? really?
>>
>> I think I just won't report any doc bugs anymore, because
>> red hat doesn't seem to want that.
>>
>>
> for now, for lack of a better option, I suggest opening them on ovirt docs.
>
> ___
> 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] Default VM Disk Format is RAW ??

2014-09-04 Thread Punit Dambiwal
Hi Joyrick,

ThanksI will followup on the same...

Punit


On Thu, Sep 4, 2014 at 5:57 PM, Jorick Astrego 
wrote:

>
> On 09/04/2014 09:19 AM, Punit Dambiwal wrote:
>
> Hi,
>
>  I have checked and found that ovirt support two type of disk formats
> (RAW & QCOW2)...but bydefault it create the VM disk with RAW formati
> try but didn't find any way to change this format to qcow2 ??
>
>  How i can change the default vm disk from RAW to QCOW2 ??
>
>  I am using the below :-
> Ovirt :- 3.4.3
> Glusterfs :- 3.5
>
>  Thanks,
>  Punit
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>  Hi,
>
> There is a thread on this mailinglist going on since yesterday...  I
> suggest you follow that discussion so people don't have to post things
> twice...
>
> * Original Message  *  *Subject: * *[ovirt-users] Can I
> use qcow2?*  *Date: * *Tue, 2 Sep 2014 17:21:26 +0200 (CEST)*  *From: * 
> *Demeter
> Tibor  *  *To: * *users@ovirt.org
> *
>
>   *Hi,*
>
>  *I have a lot of qcow2 based vm (from my kvm box) disks and I would like
> to copy to ovirt them.*
> *Ovirt can use qcow2 based images directly or I need to convert to raw in
> any case?*
> *I don't have long time for migration, the conversion process takes a long
> time.*
>
>  *Thanks in advance*
>
>  *Tibor*
>
>
>
> Kind regards,
>
> Jorick Astrego
> Netbulae B.V.
>
> ___
> 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] How to backup/restore the rhevm-VM in hosted-engine ?

2014-09-04 Thread Groten, Ryan
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


Re: [ovirt-users] oVirt Live: Cannot run VM

2014-09-04 Thread Omer Frenkel


- Original Message -
> From: "Sandro Bonazzola" 
> To: "Sven Kieske" , users@ovirt.org
> Sent: Thursday, September 4, 2014 4:04:26 PM
> Subject: Re: [ovirt-users] oVirt Live: Cannot run VM
> 
> Il 04/09/2014 14:32, Sven Kieske ha scritto:
> > 
> > 
> > Am 04.09.2014 13:54, schrieb Sandro Bonazzola:
> >> Hi, I'm testing oVirt Live and I'm getting the engine installed, the
> >> storage ready and a VM ready to be started.
> >> But when I try to start it I have:
> >>
> >>
> >> Error while executing action:
> >>
> >> local_vm:
> >>
> >> Cannot run VM. There is no host that satisfies current scheduling
> >> constraints. See below for details:
> >> The host local_host did not satisfy internal filter Network because
> >> network(s) are missing.
> >>
> >> I tried creating a brand new vm and that fails to start too:
> >>
> >> Error while executing action:
> >>
> >> test:
> >>
> >> Cannot run VM. There is no host that satisfies current scheduling
> >> constraints. See below for details:
> >> The host local_host did not satisfy internal filter Network because
> >> network(s) are missing.
> >>

it sounds like the host network is not configured correctly,
when you go to the host in the webadmin, select the network subtab
you should see there the host nic and the network it is attached to, i assume 
it will be blank,
where the vm nic is assigned to the cluster network, ovirtmgmt (as it should..)

try to use setup networks (in that host' network subtab) to fix that (i think 
its just drag and drop the network on the nic)

> >>
> >> Attached vdsCaps and logs.
> >>
> >> Any hint on what's missing?
> > 
> > I can't see it in the output, but maybe it's the display network?
> > if you got one, it _must_ have an ip assigned, I opened a bug about
> > this not very informative error message and I guess it's already fixed
> > in master.
> 
> As far as I can see, only the management network is listed and looks like
> it's working.
> ovirtmgmt has 10.0.0.1 as ip address so it has one.
> 
> 
> > 
> > Make sure all cluster wide defined networks are available on your host.
> > 
> > HTH
> > 
> 
> 
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
> ___
> 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] oVirt Live: Cannot run VM

2014-09-04 Thread Sandro Bonazzola
Il 04/09/2014 14:32, Sven Kieske ha scritto:
> 
> 
> Am 04.09.2014 13:54, schrieb Sandro Bonazzola:
>> Hi, I'm testing oVirt Live and I'm getting the engine installed, the storage 
>> ready and a VM ready to be started.
>> But when I try to start it I have:
>>
>>
>> Error while executing action:
>>
>> local_vm:
>>
>> Cannot run VM. There is no host that satisfies current scheduling 
>> constraints. See below for details:
>> The host local_host did not satisfy internal filter Network because 
>> network(s) are missing.
>>
>> I tried creating a brand new vm and that fails to start too:
>>
>> Error while executing action:
>>
>> test:
>>
>> Cannot run VM. There is no host that satisfies current scheduling 
>> constraints. See below for details:
>> The host local_host did not satisfy internal filter Network because 
>> network(s) are missing.
>>
>>
>> Attached vdsCaps and logs.
>>
>> Any hint on what's missing?
> 
> I can't see it in the output, but maybe it's the display network?
> if you got one, it _must_ have an ip assigned, I opened a bug about
> this not very informative error message and I guess it's already fixed
> in master.

As far as I can see, only the management network is listed and looks like it's 
working.
ovirtmgmt has 10.0.0.1 as ip address so it has one.


> 
> Make sure all cluster wide defined networks are available on your host.
> 
> HTH
> 


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Live: Cannot run VM

2014-09-04 Thread Sven Kieske


Am 04.09.2014 13:54, schrieb Sandro Bonazzola:
> Hi, I'm testing oVirt Live and I'm getting the engine installed, the storage 
> ready and a VM ready to be started.
> But when I try to start it I have:
> 
> 
> Error while executing action:
> 
> local_vm:
> 
> Cannot run VM. There is no host that satisfies current scheduling 
> constraints. See below for details:
> The host local_host did not satisfy internal filter Network because 
> network(s) are missing.
> 
> I tried creating a brand new vm and that fails to start too:
> 
> Error while executing action:
> 
> test:
> 
> Cannot run VM. There is no host that satisfies current scheduling 
> constraints. See below for details:
> The host local_host did not satisfy internal filter Network because 
> network(s) are missing.
> 
> 
> Attached vdsCaps and logs.
> 
> Any hint on what's missing?

I can't see it in the output, but maybe it's the display network?
if you got one, it _must_ have an ip assigned, I opened a bug about
this not very informative error message and I guess it's already fixed
in master.

Make sure all cluster wide defined networks are available on your host.

HTH

-- 
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


Re: [ovirt-users] Input/output error with engine-iso-uploader

2014-09-04 Thread Sandro Bonazzola
Il 04/09/2014 11:37, Jorick Astrego ha scritto:
> Hi,
> 
> Trying to import the ManageIQ ova and it fails with an Input/output error.
> 
> engine-iso-uploader -u admin@internal -i ISO_DOMAIN upload 
> ~/manageiq-ovirt-anand-1.ova
> Please provide the REST API password for the admin@internal oVirt Engine 
> user (CTRL+D to abort):
> Uploading, please wait...
> INFO: Start uploading /root/manageiq-ovirt-anand-1.ova
> ERROR: Problem copying /root/manageiq-ovirt-anand-1.ova to
> 
> /tmp/tmpUGuWCY/c7d62257-840a-43a0-afd2-ad11162be279/images/----/.manageiq-ovirt-anand-1.ova.
>   Message: [Errno 5]
> Input/output error

Can you run it again with the -v flag and paste the output?
Also, why are you using iso uploader for an ova instead of image uploader?




> 
> 
> In the log (nothing in engine.log):
> 
> 2014-09-04 10:12:16::INFO::engine-iso-uploader::1099::root:: Start 
> uploading /root/manageiq-ovirt-anand-1.ova
> 2014-09-04 10:57:24::ERROR::engine-iso-uploader::795::root:: Problem 
> copying /root/manageiq-ovirt-anand-1.ova to
> 
> /tmp/tmpUGuWCY/c7d62257-840a-43a0-afd2-ad11162be279/images/----/.manageiq-ovirt-anand-1.ova.
>   Message: [Errno 5]
> Input/output error
> 
> There is enough space:
> 
> /dev/mapper/vg_root-lv_root
>21G   11G  9.0G  54% /
> tmpfs 2.0G 0  2.0G   0% /dev/shm
> /dev/vda1 477M  113M  335M  26% /boot
> 
> And the ISO domain is active:
> 
> engine-iso-uploader -u admin@internal list
> Please provide the REST API password for the admin@internal oVirt Engine 
> user (CTRL+D to abort):
> ISO Storage Domain Name   | Datacenter| ISO Domain Status
> ISO_DOMAIN| Default   | active
> 
> The version I'm running is ovirt 3.5 rc1.1 
> (ovirt-iso-uploader-3.5.0-0.1.master.20140812133501.gita818d93.el6.noarch)
> 
> What can be the problem and how to debug?
> 
> Kind regards,
> 
> Jorick Astrego
> Netbulae B.V.
> 
> 
> ___
> 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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Passing custom script to cloud init using api

2014-09-04 Thread Shanil S
Hi Juan,

I tried with the above touch command but it seems the 'iwashere' file isn't
created after executing it the above command.

-- 
Regards
Shanil


On Thu, Sep 4, 2014 at 3:02 PM, Juan Hernandez  wrote:

> On 09/04/2014 10:58 AM, Shanil S wrote:
> > Hi Juan,
> >
> > Okay.. Thanks for your update. Also i found some sample cloud init
> > scripts from here
> > https://github.com/number5/cloud-init/tree/master/doc/examples and i
> > tried the following scripts
> >
> > - type: foo/wark
> > filename: bar
> > content: |
> > This is my payload
> > hello
> > - this is also payload
> > - |
> > multi line payload
> > here
> > -
> > type: text/upstart-job
> > filename: my-upstart.conf
> > content: |
> > Test file contents
> >
> > And run the start vm using the above script using cloud init and api,
> > Could you please tell me where i can find the result of the above script
> ?
> > I think the above script will create a file like my-upstart.conf
> >
>
> As I said I am not a cloud-init expert, so I don't really know what is
> the meaning or effect of this script. But I think that you need to use
> the "runcmd" option. For example:
>
> 
>   ...
>   
> ...
> 
>   
> 
>
> If you use this it should run the "touch /iwashere" command, and you can
> check that it did verifying that the "/iwashere" file exists.
>
> As I said I didn't test this, so I may not work. I'd appreciate if you
> can test it, and once it works update the wiki with the correct
> instructions:
>
>
> http://www.ovirt.org/REST-Api#How_can_I_run_a_custom_script_using_cloud-init.3F
>
> >
> > On Thu, Sep 4, 2014 at 1:56 PM, Juan Hernandez  > > wrote:
> >
> > On 09/04/2014 06:29 AM, Shanil S wrote:
> > > Hi Juan,
> > >
> > > Is there anyways to specify the custom script from a file in the
> xml ?
> > > ie, i have a script in a file called script.sh and i would like to
> > > include this script in the xml with the api call. Is there any
> methods
> > > for this ?
> > >
> >
> > You can deploy files using cloud-init, and the run them using the
> custom
> > script. Something like this:
> >
> >   
> > ...
> > 
> >   
> > 
> >   
> > 
> >   
> > 
> >   
> >   
> > 
> >   
> >
> > But I'm not a cloud-init expert, and I didn't test this, so I don't
> > really know if the custom_script will run before or after the files
> are
> > deployed. It makes more sense to run the scripts after deploying the
> > files, but you will have to test it yourself.
> >
> > The content of the files and the scripts has to be embedded in the
> XML
> > document that you send to the RESTAPI server, there is no way to
> send an
> > XML document and a separate file. Building this kind of XML document
> > shouldn't be complicated if you use the CDATA syntax like in the
> example
> > above.
> >
> > Another thing that you may consider, if you have to run a complicated
> > script or set of scripts, is to have them pre-installed in the
> template
> > that you use to create the VM, then you just need to run them.
> >
> > > --
> > > Regards
> > > Shanil
> > >
> > >
> > > On Tue, Sep 2, 2014 at 3:02 PM, Shanil S  > 
> > > >>
> > wrote:
> > >
> > > Hi Juan,
> > >
> > > Thanks for the solution.
> > >
> > > --
> > > Regards
> > > Shanil
> > >
> > >
> > > On Tue, Sep 2, 2014 at 2:59 PM, Juan Hernandez
> > mailto:jhern...@redhat.com>
> > > >>
> wrote:
> > >
> > > On 09/02/2014 05:46 AM, Shanil S wrote:
> > > > Hi All,
> > > >
> > > > From the ovirt admin panel, there is an option to give
> the
> > > custom script
> > > > in the cloud init ( Run Once-> cloud init- > Custom
> > script ).
> > > Is there
> > > > any ways to pass the custom script to cloud init using
> the
> > > rest api ?
> > > >
> > >
> > > The custom script should go inside the "custom_script"
> element
> > > inside
> > > the "initialization" element:
> > >
> > >   
> > > ...
> > > 
> > >   ...
> > >   your custom script
> > > 
> > >   
> > >
>
>
>
> --
> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
> 3ºD, 28016 Madrid, Spain
> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Default VM Disk Format is RAW ??

2014-09-04 Thread Jorick Astrego


On 09/04/2014 09:19 AM, Punit Dambiwal wrote:

Hi,

I have checked and found that ovirt support two type of disk formats 
(RAW & QCOW2)...but bydefault it create the VM disk with RAW 
formati try but didn't find any way to change this format to qcow2 ??


How i can change the default vm disk from RAW to QCOW2 ??

I am using the below :-
Ovirt :- 3.4.3
Glusterfs :- 3.5

Thanks,
Punit


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Hi,

There is a thread on this mailinglist going on since yesterday...  I 
suggest you follow that discussion so people don't have to post things 
twice...


   / Original Message  /
   /Subject: /  /[ovirt-users] Can I use qcow2?/
   /Date: / /Tue, 2 Sep 2014 17:21:26 +0200 (CEST)/
   /From: / /Demeter Tibor /
   /To: /   /users@ovirt.org/

   ///
   
   ///
   /Hi,/
   /
   /
   /I have a lot of qcow2 based vm (from my kvm box) disks and I would
   like to copy to ovirt them./
   /Ovirt can use qcow2 based images directly or I need to convert to
   raw in any case?/
   /I don't have long time for migration, the conversion process takes
   a long time./
   /
   /
   /Thanks in advance/
   /
   /
   /Tibor/



Kind regards,

Jorick Astrego
Netbulae B.V.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Input/output error with engine-iso-uploader

2014-09-04 Thread Jorick Astrego

Hi,

Trying to import the ManageIQ ova and it fails with an Input/output error.

   engine-iso-uploader -u admin@internal -i ISO_DOMAIN upload
   ~/manageiq-ovirt-anand-1.ova
   Please provide the REST API password for the admin@internal oVirt
   Engine user (CTRL+D to abort):
   Uploading, please wait...
   INFO: Start uploading /root/manageiq-ovirt-anand-1.ova
   ERROR: Problem copying /root/manageiq-ovirt-anand-1.ova to
   
/tmp/tmpUGuWCY/c7d62257-840a-43a0-afd2-ad11162be279/images/----/.manageiq-ovirt-anand-1.ova.
   Message: [Errno 5] Input/output error


In the log (nothing in engine.log):

   2014-09-04 10:12:16::INFO::engine-iso-uploader::1099::root:: Start
   uploading /root/manageiq-ovirt-anand-1.ova
   2014-09-04 10:57:24::ERROR::engine-iso-uploader::795::root:: Problem
   copying /root/manageiq-ovirt-anand-1.ova to
   
/tmp/tmpUGuWCY/c7d62257-840a-43a0-afd2-ad11162be279/images/----/.manageiq-ovirt-anand-1.ova.
   Message: [Errno 5] Input/output error

There is enough space:

   /dev/mapper/vg_root-lv_root
   21G   11G  9.0G  54% /
   tmpfs 2.0G 0  2.0G   0% /dev/shm
   /dev/vda1 477M  113M  335M  26% /boot

And the ISO domain is active:

   engine-iso-uploader -u admin@internal list
   Please provide the REST API password for the admin@internal oVirt
   Engine user (CTRL+D to abort):
   ISO Storage Domain Name   | Datacenter| ISO Domain
   Status
   ISO_DOMAIN| Default   | active

The version I'm running is ovirt 3.5 rc1.1 
(ovirt-iso-uploader-3.5.0-0.1.master.20140812133501.gita818d93.el6.noarch)


What can be the problem and how to debug?

Kind regards,

Jorick Astrego
Netbulae B.V.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Passing custom script to cloud init using api

2014-09-04 Thread Juan Hernandez
On 09/04/2014 10:58 AM, Shanil S wrote:
> Hi Juan,
> 
> Okay.. Thanks for your update. Also i found some sample cloud init
> scripts from here
> https://github.com/number5/cloud-init/tree/master/doc/examples and i
> tried the following scripts
> 
> - type: foo/wark
> filename: bar
> content: |
> This is my payload
> hello
> - this is also payload
> - |
> multi line payload
> here
> -
> type: text/upstart-job
> filename: my-upstart.conf
> content: |
> Test file contents
> 
> And run the start vm using the above script using cloud init and api,
> Could you please tell me where i can find the result of the above script ?
> I think the above script will create a file like my-upstart.conf
> 

As I said I am not a cloud-init expert, so I don't really know what is
the meaning or effect of this script. But I think that you need to use
the "runcmd" option. For example:


  ...
  
...

  


If you use this it should run the "touch /iwashere" command, and you can
check that it did verifying that the "/iwashere" file exists.

As I said I didn't test this, so I may not work. I'd appreciate if you
can test it, and once it works update the wiki with the correct
instructions:

http://www.ovirt.org/REST-Api#How_can_I_run_a_custom_script_using_cloud-init.3F

> 
> On Thu, Sep 4, 2014 at 1:56 PM, Juan Hernandez  > wrote:
> 
> On 09/04/2014 06:29 AM, Shanil S wrote:
> > Hi Juan,
> >
> > Is there anyways to specify the custom script from a file in the xml ?
> > ie, i have a script in a file called script.sh and i would like to
> > include this script in the xml with the api call. Is there any methods
> > for this ?
> >
> 
> You can deploy files using cloud-init, and the run them using the custom
> script. Something like this:
> 
>   
> ...
> 
>   
> 
>   
> 
>   
> 
>   
>   
> 
>   
> 
> But I'm not a cloud-init expert, and I didn't test this, so I don't
> really know if the custom_script will run before or after the files are
> deployed. It makes more sense to run the scripts after deploying the
> files, but you will have to test it yourself.
> 
> The content of the files and the scripts has to be embedded in the XML
> document that you send to the RESTAPI server, there is no way to send an
> XML document and a separate file. Building this kind of XML document
> shouldn't be complicated if you use the CDATA syntax like in the example
> above.
> 
> Another thing that you may consider, if you have to run a complicated
> script or set of scripts, is to have them pre-installed in the template
> that you use to create the VM, then you just need to run them.
> 
> > --
> > Regards
> > Shanil
> >
> >
> > On Tue, Sep 2, 2014 at 3:02 PM, Shanil S  
> > >>
> wrote:
> >
> > Hi Juan,
> >
> > Thanks for the solution.
> >
> > --
> > Regards
> > Shanil
> >
> >
> > On Tue, Sep 2, 2014 at 2:59 PM, Juan Hernandez
> mailto:jhern...@redhat.com>
> > >> wrote:
> >
> > On 09/02/2014 05:46 AM, Shanil S wrote:
> > > Hi All,
> > >
> > > From the ovirt admin panel, there is an option to give the
> > custom script
> > > in the cloud init ( Run Once-> cloud init- > Custom
> script ).
> > Is there
> > > any ways to pass the custom script to cloud init using the
> > rest api ?
> > >
> >
> > The custom script should go inside the "custom_script" element
> > inside
> > the "initialization" element:
> >
> >   
> > ...
> > 
> >   ...
> >   your custom script
> > 
> >   
> >



-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Passing custom script to cloud init using api

2014-09-04 Thread Shanil S
Hi Juan,

Okay.. Thanks for your update. Also i found some sample cloud init scripts
from here https://github.com/number5/cloud-init/tree/master/doc/examples
and i tried the following scripts

- type: foo/wark
filename: bar
content: |
This is my payload
hello
- this is also payload
- |
multi line payload
here
-
type: text/upstart-job
filename: my-upstart.conf
content: |
Test file contents

And run the start vm using the above script using cloud init and api, Could
you please tell me where i can find the result of the above script ?
I think the above script will create a file like my-upstart.conf

-- 
Regards
Shanil


On Thu, Sep 4, 2014 at 1:56 PM, Juan Hernandez  wrote:

> On 09/04/2014 06:29 AM, Shanil S wrote:
> > Hi Juan,
> >
> > Is there anyways to specify the custom script from a file in the xml ?
> > ie, i have a script in a file called script.sh and i would like to
> > include this script in the xml with the api call. Is there any methods
> > for this ?
> >
>
> You can deploy files using cloud-init, and the run them using the custom
> script. Something like this:
>
>   
> ...
> 
>   
> 
>   
> 
>   
> 
>   
>   
> 
>   
>
> But I'm not a cloud-init expert, and I didn't test this, so I don't
> really know if the custom_script will run before or after the files are
> deployed. It makes more sense to run the scripts after deploying the
> files, but you will have to test it yourself.
>
> The content of the files and the scripts has to be embedded in the XML
> document that you send to the RESTAPI server, there is no way to send an
> XML document and a separate file. Building this kind of XML document
> shouldn't be complicated if you use the CDATA syntax like in the example
> above.
>
> Another thing that you may consider, if you have to run a complicated
> script or set of scripts, is to have them pre-installed in the template
> that you use to create the VM, then you just need to run them.
>
> > --
> > Regards
> > Shanil
> >
> >
> > On Tue, Sep 2, 2014 at 3:02 PM, Shanil S  > > wrote:
> >
> > Hi Juan,
> >
> > Thanks for the solution.
> >
> > --
> > Regards
> > Shanil
> >
> >
> > On Tue, Sep 2, 2014 at 2:59 PM, Juan Hernandez  > > wrote:
> >
> > On 09/02/2014 05:46 AM, Shanil S wrote:
> > > Hi All,
> > >
> > > From the ovirt admin panel, there is an option to give the
> > custom script
> > > in the cloud init ( Run Once-> cloud init- > Custom script ).
> > Is there
> > > any ways to pass the custom script to cloud init using the
> > rest api ?
> > >
> >
> > The custom script should go inside the "custom_script" element
> > inside
> > the "initialization" element:
> >
> >   
> > ...
> > 
> >   ...
> >   your custom script
> > 
> >   
> >
> > --
> > Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3,
> > planta
> > 3ºD, 28016 Madrid, Spain
> > Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red
> > Hat S.L.
> >
> >
> >
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
>
> --
> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
> 3ºD, 28016 Madrid, Spain
> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] After reboot system "Starting ovirt-post" never ending...

2014-09-04 Thread Grzegorz Szypa
Hi.

Today, I noticed that it's a problem with connect VM via Nativ VNC after I
turn off service ovirt-post.







2014-09-04 6:57 GMT+02:00 Grzegorz Szypa :

> Hi.
>
> There is Centos 6.5 FINAL OS with all with latest update
> There is oVirt Engine Version: 3.4.3-1.el6 with latest update
> and it happens on a fresh installation. I noticed it after the first
> reboot the server.
>
> Could you explain to me what does this service (ovirt-post) and is it
> requaired to activities ovirt-engine?
>
> Grzegorz Szypa
>



-- 
G.Sz.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Passing custom script to cloud init using api

2014-09-04 Thread Juan Hernandez
On 09/04/2014 06:29 AM, Shanil S wrote:
> Hi Juan,
> 
> Is there anyways to specify the custom script from a file in the xml ?
> ie, i have a script in a file called script.sh and i would like to
> include this script in the xml with the api call. Is there any methods
> for this ?
> 

You can deploy files using cloud-init, and the run them using the custom
script. Something like this:

  
...

  

  

  

  
  

  

But I'm not a cloud-init expert, and I didn't test this, so I don't
really know if the custom_script will run before or after the files are
deployed. It makes more sense to run the scripts after deploying the
files, but you will have to test it yourself.

The content of the files and the scripts has to be embedded in the XML
document that you send to the RESTAPI server, there is no way to send an
XML document and a separate file. Building this kind of XML document
shouldn't be complicated if you use the CDATA syntax like in the example
above.

Another thing that you may consider, if you have to run a complicated
script or set of scripts, is to have them pre-installed in the template
that you use to create the VM, then you just need to run them.

> -- 
> Regards
> Shanil
> 
> 
> On Tue, Sep 2, 2014 at 3:02 PM, Shanil S  > wrote:
> 
> Hi Juan,
> 
> Thanks for the solution.
> 
> -- 
> Regards
> Shanil
> 
> 
> On Tue, Sep 2, 2014 at 2:59 PM, Juan Hernandez  > wrote:
> 
> On 09/02/2014 05:46 AM, Shanil S wrote:
> > Hi All,
> >
> > From the ovirt admin panel, there is an option to give the
> custom script
> > in the cloud init ( Run Once-> cloud init- > Custom script ).
> Is there
> > any ways to pass the custom script to cloud init using the
> rest api ?
> >
> 
> The custom script should go inside the "custom_script" element
> inside
> the "initialization" element:
> 
>   
> ...
> 
>   ...
>   your custom script
> 
>   
> 
> --
> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3,
> planta
> 3ºD, 28016 Madrid, Spain
> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red
> Hat S.L.
> 
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM File System expansion

2014-09-04 Thread Richard W.M. Jones
On Thu, Sep 04, 2014 at 09:51:53AM +0800, Punit Dambiwal wrote:
> Hi,
> 
> I read this article and found that we can expand the VM disk online but it
> doesn't expand the filesystem of the VM.

Which article?

virt-resize can only be used for offline expansion of disks.

If you used virt-resize, what precise commands did you type and
what exact errors did you see?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Default VM Disk Format is RAW ??

2014-09-04 Thread Punit Dambiwal
Hi,

I have checked and found that ovirt support two type of disk formats (RAW &
QCOW2)...but bydefault it create the VM disk with RAW formati try but
didn't find any way to change this format to qcow2 ??

How i can change the default vm disk from RAW to QCOW2 ??

I am using the below :-
Ovirt :- 3.4.3
Glusterfs :- 3.5

Thanks,
Punit
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users