[ovirt-users] Modify the MacPoolRange : Former MACs?

2014-09-09 Thread Nicolas Ecarnot

Hi,

I plan to extend the MacPoolRange.

If I also completely change the pool, in a way that does not implies the 
previous setting, will the manager ban all the previous MACs, now 
outside the defined pool? (and stop the VMs?)


Regards,

--
Nicolas Ecarnot
___
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-09 Thread Shanil S
Hi Juan,

What i am planning to do is to make work the following script

#cloud-config

# phone_home: if this dictionary is present, then the phone_home
# cloud-config module will post specified data back to the given
# url
# default: none
# phone_home:
#  url: http://my.foo.bar/$INSTANCE/
#  post: all
#  tries: 10
#
phone_home:
 url: http://my.example.com/$INSTANCE_ID/
 post: [ pub_key_dsa, pub_key_rsa, pub_key_ecdsa, instance_id ]

(
http://cloudinit.readthedocs.org/en/latest/topics/examples.html#run-commands-on-first-boot
)

but it wasn't working when i tried, i hope to post the above values to the
specific url and get the posted details.

-- 
Regards
Shanil

On Wed, Sep 10, 2014 at 10:02 AM, Shanil S  wrote:

> Hi Juan,
>
> Okay.. Thanks.. its working.
>
> I would like to execute other page something like test_script.php by
> posting some values to it using the cloud init, Is it possible to do it ?
>
>
>
> --
> Regards
> Shanil
>
> On Fri, Sep 5, 2014 at 10:08 PM, Juan Hernandez 
> wrote:
>
>> On 09/05/2014 12:55 PM, Shanil S wrote:
>> > Hi Juan,
>> >
>> > Thanks for your reply.
>> >
>> > I tried with the above but i was unable to find the 'iwashere.txt' after
>> > executing the above xml.
>> >
>>
>> I repeated the test, this time with 3.4, and it worked fine for me. As
>> the formatting of the XML is very important I'd suggest that you take
>> the attached script (instead of copy & paste from the mail), change the
>> password and VM id and run it.
>>
>> There are two kind of things that can go wrong here. One is that the
>> engine/VDSM combination may not be generating the right file. To verify
>> this start the VM with the attached script, and once it is started go to
>> the hypervisor where it is running and find the corresponding qemu
>> process:
>>
>>   # ps -ef | grep -- '-name myvm'
>>
>> This will give you a very long command line. That command line should
>> include a "-drive" option containing the full path of the disk image
>> generated by the engine/VDSM, something like this:
>>
>>   -drive
>>
>> file=/var/run/vdsm/payload/b5f087d4-022d-4d5f-8a1e-268c562c7bb1.b6fcddff571bb8c2028c61b623d172a6.img
>>
>> To inspect its content make a copy (just in case) and mount it:
>>
>>   # cp -drive
>>
>> file=/var/run/vdsm/payload/b5f087d4-022d-4d5f-8a1e-268c562c7bb1.b6fcddff571bb8c2028c61b623d172a6.img
>> /root/my.img
>>   # mount -o loop,ro /root/my.img /mnt
>>
>> Inspect the content:
>>
>>   # find /mnt
>>   /mnt/openstack
>>   /mnt/openstack/content
>>   /mnt/openstack/content/
>>   /mnt/openstack/latest
>>   /mnt/openstack/latest/meta_data.json
>>   /mnt/openstack/latest/user_data
>>
>> The content of the custom-script should be at the end of the "user_data"
>> file, so take a look at that:
>>
>>   # cat /mnt/openstack/latest/user_data
>>   #cloud-config
>>   ssh_pwauth: true
>>   disable_root: 0
>>   output:
>> all: '>> /var/log/cloud-init-output.log'
>>   user: root
>>   password: mypassword
>>   chpasswd:
>> expire: false
>>   runcmd:
>>   - 'sed -i ''/^datasource_list: /d'' /etc/cloud/cloud.cfg; echo
>> ''datasource_list:
>> ["NoCloud", "ConfigDrive"]'' >> /etc/cloud/cloud.cfg'
>>   runcmd:
>>- echo "I was here!" > /iwashere.txt
>>
>> If your custom script isn't there then there is some problem in the
>> engine/VDSM side, otherwise the problem is probably in cloud-init
>> itself, and we will need someone with more knowledge of cloud-init to
>> debug it.
>>
>> Don't forget to umount the file when finished:
>>
>>   # umount /mnt
>>
>> >
>> > On Fri, Sep 5, 2014 at 3:00 PM, Juan Hernandez > > > wrote:
>> >
>> > On 09/05/2014 10:46 AM, Sven Kieske wrote:
>> > >
>> > >
>> > > Am 05.09.2014 10:27, schrieb Juan Hernandez:
>> > >> Trying to make an example for this I discovered that the
>> "custom_script"
>> > >> element is currently ignored if the "cloud_init" element is
>> present.
>> > >> Instead we are taking the content of the first "file" element
>> from the
>> > >> "cloud_init" element and appending it to the cloud-init
>> configuration
>> > >> file. I believe that this is a bug, as it breaks backwards
>> compatibility:
>> > >>
>> > >>   https://bugzilla.redhat.com/1138564
>> > >
>> > > Thanks for the report, I just proposed this as a blocker for the
>> 3.4.4
>> > > release as it is a clear regression.
>> > > Also I rely on this functionality in my 3.3. setup and I want to
>> upgrade
>> > > to 3.4 so I can't upgrade until this is fixed and released.
>> >
>> > Agree, I set the bug as a blocker for 3.4.4.
>> >
>> > >>
>> > >> However, you can exploit this bug to do what you want. This is
>> an example:
>> > >
>> > > Well I guess this is a pretty bad idea, because it will just work
>> > > until the bug is fixed?
>> > >
>> >
>> > No, what I proposed in the example is to put the custom script in
>> both
>> > the first "file" inside "clud_init" and in the "c

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

2014-09-09 Thread Shanil S
Hi Juan,

Okay.. Thanks.. its working.

I would like to execute other page something like test_script.php by
posting some values to it using the cloud init, Is it possible to do it ?



-- 
Regards
Shanil

On Fri, Sep 5, 2014 at 10:08 PM, Juan Hernandez  wrote:

> On 09/05/2014 12:55 PM, Shanil S wrote:
> > Hi Juan,
> >
> > Thanks for your reply.
> >
> > I tried with the above but i was unable to find the 'iwashere.txt' after
> > executing the above xml.
> >
>
> I repeated the test, this time with 3.4, and it worked fine for me. As
> the formatting of the XML is very important I'd suggest that you take
> the attached script (instead of copy & paste from the mail), change the
> password and VM id and run it.
>
> There are two kind of things that can go wrong here. One is that the
> engine/VDSM combination may not be generating the right file. To verify
> this start the VM with the attached script, and once it is started go to
> the hypervisor where it is running and find the corresponding qemu process:
>
>   # ps -ef | grep -- '-name myvm'
>
> This will give you a very long command line. That command line should
> include a "-drive" option containing the full path of the disk image
> generated by the engine/VDSM, something like this:
>
>   -drive
>
> file=/var/run/vdsm/payload/b5f087d4-022d-4d5f-8a1e-268c562c7bb1.b6fcddff571bb8c2028c61b623d172a6.img
>
> To inspect its content make a copy (just in case) and mount it:
>
>   # cp -drive
>
> file=/var/run/vdsm/payload/b5f087d4-022d-4d5f-8a1e-268c562c7bb1.b6fcddff571bb8c2028c61b623d172a6.img
> /root/my.img
>   # mount -o loop,ro /root/my.img /mnt
>
> Inspect the content:
>
>   # find /mnt
>   /mnt/openstack
>   /mnt/openstack/content
>   /mnt/openstack/content/
>   /mnt/openstack/latest
>   /mnt/openstack/latest/meta_data.json
>   /mnt/openstack/latest/user_data
>
> The content of the custom-script should be at the end of the "user_data"
> file, so take a look at that:
>
>   # cat /mnt/openstack/latest/user_data
>   #cloud-config
>   ssh_pwauth: true
>   disable_root: 0
>   output:
> all: '>> /var/log/cloud-init-output.log'
>   user: root
>   password: mypassword
>   chpasswd:
> expire: false
>   runcmd:
>   - 'sed -i ''/^datasource_list: /d'' /etc/cloud/cloud.cfg; echo
> ''datasource_list:
> ["NoCloud", "ConfigDrive"]'' >> /etc/cloud/cloud.cfg'
>   runcmd:
>- echo "I was here!" > /iwashere.txt
>
> If your custom script isn't there then there is some problem in the
> engine/VDSM side, otherwise the problem is probably in cloud-init
> itself, and we will need someone with more knowledge of cloud-init to
> debug it.
>
> Don't forget to umount the file when finished:
>
>   # umount /mnt
>
> >
> > On Fri, Sep 5, 2014 at 3:00 PM, Juan Hernandez  > > wrote:
> >
> > On 09/05/2014 10:46 AM, Sven Kieske wrote:
> > >
> > >
> > > Am 05.09.2014 10:27, schrieb Juan Hernandez:
> > >> Trying to make an example for this I discovered that the
> "custom_script"
> > >> element is currently ignored if the "cloud_init" element is
> present.
> > >> Instead we are taking the content of the first "file" element
> from the
> > >> "cloud_init" element and appending it to the cloud-init
> configuration
> > >> file. I believe that this is a bug, as it breaks backwards
> compatibility:
> > >>
> > >>   https://bugzilla.redhat.com/1138564
> > >
> > > Thanks for the report, I just proposed this as a blocker for the
> 3.4.4
> > > release as it is a clear regression.
> > > Also I rely on this functionality in my 3.3. setup and I want to
> upgrade
> > > to 3.4 so I can't upgrade until this is fixed and released.
> >
> > Agree, I set the bug as a blocker for 3.4.4.
> >
> > >>
> > >> However, you can exploit this bug to do what you want. This is an
> example:
> > >
> > > Well I guess this is a pretty bad idea, because it will just work
> > > until the bug is fixed?
> > >
> >
> > No, what I proposed in the example is to put the custom script in
> both
> > the first "file" inside "clud_init" and in the "custom_script"
> element.
> > That should work with the current status and also if/when we fix the
> > bug.
> >
>
> --
> 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] Reachability problems after putting ovirtmgmt and Gluster on different networks

2014-09-09 Thread Paul Robert Marino
That is a routing nightmare unless you are using network namespaces to isolate your processes which is in and of its self a nightmare because the tools are as good as I would like them to be.-- Sent from my HP Pre3On Sep 9, 2014 1:24 PM, Stefano Stagnaro  wrote: Hi, I have a question about an HostedEngine deployment. I followed the Jason's "oVirt 3.4, Glusterized" and it seems working. I've two host for virtualization (that also do the HA for the HostedEngine) and two other host for GlusterFS.Now I would like to configure separate networks for the management and Gluster. On my Catalyst I've configured two VLANs with two different default gateways. My aim is to add the Gluster hosts with the IP of the "ovirtmgmt" and then add the storage domain pointing to the same host but using the IP of the "Gluster network".Unfortunately, the HostedEngine has only one nic (on ovirtmgmt) and so I'm not able to reach the Gluster host with his "Gluster network" IP even if the L3-switch has all the networks configured. Reading this article http://brainscraps.wikia.com/wiki/Setup_Gateway_Routing_On_Multiple_Network_Interfaces I believe the problem is on the Gluster host that only has the ovirtmgmt gateway.I've found out that someone has tried to add a second nic on the HostedEngine by editing the /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in "template" prior to start the deployment.My question is: there is a better way to achieve this (I'm missing something for sure)? Is it worth having the ovirtmgmt separate to the storage? In production, I'll have five 1gbps ports per host (that could be bonded as preferred).Thank you,-- Stefano StagnaroPrisma Engineering S.r.l.Via Petrocchi, 420127 Milano – ItalyTel. 02 26113507 int 339e-mail: stefa...@prisma-eng.comskype: stefano.stagnaro___Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt35 - deep dive - instance types

2014-09-09 Thread Barak Azulay
BEGIN:VCALENDAR
PRODID:Zimbra-Calendar-Provider
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Asia/Jerusalem
BEGIN:STANDARD
DTSTART:16010101T02
TZOFFSETTO:+0200
TZOFFSETFROM:+0300
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
TZNAME:IST
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T02
TZOFFSETTO:+0300
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1FR
TZNAME:IDT
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:688dc8b4-de24-460a-bb71-2bc24249dcf3
SUMMARY:ovirt35 - deep dive - instance types
ATTENDEE;CN=Tomas Jelinek;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE:mailto:tjeli...@redhat.com
ATTENDEE;CN=Michal Skrivanek;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP
 =TRUE:mailto:mskri...@redhat.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:mailto:users@o
 virt.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:mailto:devel@o
 virt.org
ORGANIZER;CN=Barak Azulay:mailto:bazu...@redhat.com
DTSTART;TZID="Asia/Jerusalem":20140916T163000
DTEND;TZID="Asia/Jerusalem":20140916T171500
STATUS:CONFIRMED
CLASS:PUBLIC
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
LAST-MODIFIED:20140909T191750Z
DTSTAMP:20140909T191750Z
SEQUENCE:0
DESCRIPTION:The following is a new meeting request:\n\nSubject: ovirt35 - de
 ep dive - instance types \nOrganizer: "Barak Azulay"  \n
 \nTime: Tuesday\, September 16\, 2014\, 4:30:00 PM - 5:15:00 PM GMT +02:00 J
 erusalem\n \nInvitees: tjeli...@redhat.com\; mskri...@redhat.com\; users@ovi
 rt.org\; de...@ovirt.org \n\n\n*~*~*~*~*~*~*~*~*~*\n\nIntroduction of the In
 stance Types feature: \n- motivation \n- purpose\, \n- GUI and the details a
 bout the specific fields will be explained. \n- future work. \n\nGoogle hang
 out link: https://plus.google.com/u/0/events/cg36o8ouh4cu7lbviuamn034934 \nW
 iki: www.ovirt.org/Features/Instance_Types 
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;RELATED=START:-PT5M
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Reachability problems after putting ovirtmgmt and Gluster on different networks

2014-09-09 Thread Stefano Stagnaro
Hi, I have a question about an HostedEngine deployment. I followed the Jason's 
"oVirt 3.4, Glusterized" and it seems working. I've two host for virtualization 
(that also do the HA for the HostedEngine) and two other host for GlusterFS.

Now I would like to configure separate networks for the management and Gluster. 
On my Catalyst I've configured two VLANs with two different default gateways. 
My aim is to add the Gluster hosts with the IP of the "ovirtmgmt" and then add 
the storage domain pointing to the same host but using the IP of the "Gluster 
network".

Unfortunately, the HostedEngine has only one nic (on ovirtmgmt) and so I'm not 
able to reach the Gluster host with his "Gluster network" IP even if the 
L3-switch has all the networks configured. Reading this article 
http://brainscraps.wikia.com/wiki/Setup_Gateway_Routing_On_Multiple_Network_Interfaces
 I believe the problem is on the Gluster host that only has the ovirtmgmt 
gateway.

I've found out that someone has tried to add a second nic on the HostedEngine 
by editing the /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in 
"template" prior to start the deployment.

My question is: there is a better way to achieve this (I'm missing something 
for sure)? Is it worth having the ovirtmgmt separate to the storage? In 
production, I'll have five 1gbps ports per host (that could be bonded as 
preferred).

Thank you,
-- 
Stefano Stagnaro

Prisma Engineering S.r.l.
Via Petrocchi, 4
20127 Milano – Italy

Tel. 02 26113507 int 339
e-mail: stefa...@prisma-eng.com
skype: stefano.stagnaro

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


Re: [ovirt-users] VM paused unexpectedly

2014-09-09 Thread Dafna Ron

On 09/09/2014 03:21 PM, Frank Wall wrote:

On Tue, Sep 09, 2014 at 03:09:02PM +0100, Dafna Ron wrote:

qemu would pause a vm when doing extend on the vm disk and this would
result in INFO messages on vm's pause.

looks like this is what you are seeing.

For the records, I'm using thin provisioned disks here.
Do you mean an internal qemu task which is triggered to
extend a thin provisioned disk to the required size?

yes


This process shouldn't permanently pause the VM, right?

no



Or do you mean something else?


Regards
- Frank



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


[ovirt-users] [ANN] oVirt 3.4.4 Release Candidate is now available

2014-09-09 Thread Sandro Bonazzola
The oVirt development team is pleased to announce the
availability of oVirt 3.4.4 Release Candidate as of Sep 9th 2014
for testing.

oVirt is available now for Fedora 19 and Red Hat Enterprise Linux 6.5
(or similar).

This release of oVirt includes numerous bug fixes.
See the release notes [1] for a list of the new features and bugs fixed.

The new repository ovirt-3.4-rc has been updated for delivering this
release, please refer to release notes [1] for instructions on how to enable the
repository and for Installation / Upgrade instructions.

A new oVirt Live ISO is also available[2].

Feel free to join us testing it [3]!

[1] http://www.ovirt.org/OVirt_3.4.4_Release_Notes
[2] http://resources.ovirt.org/pub/ovirt-3.4-rc/iso/ovirt-live-el6-3.4.4_rc.iso
[3] http://www.ovirt.org/Testing/oVirt_3.4.4_Testing

-- 
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] Template Size different in dashboard and storage...

2014-09-09 Thread Sven Kieske
You want to use ls -lsh or even ls -lash

keep in mind these are sparse files.

for more information on this topic read the man page for ls
or google for "ls and sparse files"

HTH

On 08/09/14 05:37, Punit Dambiwal wrote:
> I have made one Centos template from one of my running virtual
> machine...The virtual size of this template is 1GB and the actual size is
> below 1GBfrom the portal dashboard it whowing correctly but if i check
> it through command line...it shows different size ??
> 
> [root@compute1 32199374-4096-4973-9b6a-150e22eb7216]# ls -lh
> total 742M
> -rw-rw 8 vdsm kvm  11G Sep  4 16:46 ff576789-e946-4bda-94f6-a354b43ab531
> -rw-rw 8 vdsm kvm 1.0M Sep  3 13:07
> ff576789-e946-4bda-94f6-a354b43ab531.lease
> -rw-r--r-- 8 vdsm kvm  278 Sep  3 13:07
> ff576789-e946-4bda-94f6-a354b43ab531.meta
> [root@compute1 32199374-4096-4973-9b6a-150e22eb7216]#

-- 
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] VM paused unexpectedly

2014-09-09 Thread Frank Wall
On Tue, Sep 09, 2014 at 03:09:02PM +0100, Dafna Ron wrote:
> qemu would pause a vm when doing extend on the vm disk and this would 
> result in INFO messages on vm's pause.
> 
> looks like this is what you are seeing.

For the records, I'm using thin provisioned disks here. 
Do you mean an internal qemu task which is triggered to 
extend a thin provisioned disk to the required size? 
This process shouldn't permanently pause the VM, right?

Or do you mean something else? 


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


Re: [ovirt-users] VM paused unexpectedly

2014-09-09 Thread Dafna Ron
qemu would pause a vm when doing extend on the vm disk and this would 
result in INFO messages on vm's pause.


looks like this is what you are seeing.

Dafna


On 09/09/2014 02:45 PM, Frank Wall wrote:

Hi,

today I've noticed that one of my VMs was paused. I took a look
at the engine.log and found only this:

2014-09-09 04:00:09,017 INFO  
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] 
(DefaultQuartzScheduler_Worker-46) VM XXX 8ad326be-5103-498a-a11d-0ea1eee4bbf4 
moved from Up --> Paused


The vdsm log provides a better error message:

libvirtEventLoop::INFO::2014-09-09 04:00:07,279::vm::4574::vm.Vm::(_onIOError) 
vmId=`8ad326be-5103-498a-a11d-0ea1eee4bbf4`::abnormal vm stop device ide0-0-1 
error
libvirtEventLoop::DEBUG::2014-09-09 
04:00:07,279::vm::5176::vm.Vm::(_onLibvirtLifecycleEvent) 
vmId=`8ad326be-5103-498a-a11d-0ea1eee4bbf4`::event Suspended detail 2 opaque 
None

Still, I don't know what exactly caused this. Only *one* VM was affected,
so I doubt it was a general error on this host. Does anyone have an
explanation for this?

ovirt-engine-3.4.3-1.fc19.noarch
vdsm-4.14.11.2-0.fc19.x86_64


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



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


[ovirt-users] VM paused unexpectedly

2014-09-09 Thread Frank Wall
Hi,

today I've noticed that one of my VMs was paused. I took a look
at the engine.log and found only this:

2014-09-09 04:00:09,017 INFO  
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] 
(DefaultQuartzScheduler_Worker-46) VM XXX 8ad326be-5103-498a-a11d-0ea1eee4bbf4 
moved from Up --> Paused


The vdsm log provides a better error message:

libvirtEventLoop::INFO::2014-09-09 04:00:07,279::vm::4574::vm.Vm::(_onIOError) 
vmId=`8ad326be-5103-498a-a11d-0ea1eee4bbf4`::abnormal vm stop device ide0-0-1 
error 
libvirtEventLoop::DEBUG::2014-09-09 
04:00:07,279::vm::5176::vm.Vm::(_onLibvirtLifecycleEvent) 
vmId=`8ad326be-5103-498a-a11d-0ea1eee4bbf4`::event Suspended detail 2 opaque 
None

Still, I don't know what exactly caused this. Only *one* VM was affected, 
so I doubt it was a general error on this host. Does anyone have an 
explanation for this?

ovirt-engine-3.4.3-1.fc19.noarch
vdsm-4.14.11.2-0.fc19.x86_64


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


Re: [ovirt-users] [ovirt-devel] [QE][ACTION REQUIRED] oVirt 3.5.0 RC2 status

2014-09-09 Thread Dan Kenigsberg
On Mon, Sep 08, 2014 at 05:19:01PM -0400, Rashid Khan wrote:
> Hi
> As for 
> https://bugzilla.redhat.com/show_bug.cgi?id=1136843
> NetworkManager ifups VDSM's reference bond
> 
> Bug in POST state now.
> Work around and scratch build provided. We will roll it in the next NM build 
> shortly. 

Thanks.
But to make use of it (call nmcli con load), Ondrej needs to clone this bug to 
Vdsm.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multiple datacenters design

2014-09-09 Thread Jorick Astrego


On 09/08/2014 04:45 PM, Itamar Heim wrote:

On 09/08/2014 12:54 PM, Finstrle, Ludek wrote:


Hi,

I'm quite new to ovirt and I'm going to deploy ovirt into several tens
location all around world.

The connection between locations is neither dedicated nor 100% reliable
as it's connected via internet.
I'm going with Gluster storage domains mainly.
It's not important to me to do live migrations or even offline
migrations between locations (they're independent).

What's the best design and components from your point of view? I believe
I'm not the first one with such design.

I think about two possibilities:
1) One central Engine
- how to manage guests when connection drop between engine and node
- latency is up to 1 second is it ok even with working connection?

2) Engine in every location
- is it possible to have also one central point with information
from all engines together (at least read-only)?
- what about central reporting at least?

I like more one central Engine. My concern is how to work with consoles
and also just 1 ISO storage domain and 1 export storage domain (maybe
same hostname for ISO and export in every location). Another topic is
how to reach console/stop/start/migrate guest inside location while
there is connection down between the only Engine and nodes in the
location.

Thanks ahead for you experience/ideas,



we run this with central engine and remote clusters, but remote 
clusters have decent connectivity.


oVirt 3.5 does bring several improvements to fencing management which 
may help those with problematic links.


for option #2 - ManageIQ (upstream of Red Hat CloudForms) is a "CMP" - 
Cloud Management Platform, which can provide overall dashboard, 
self-service, service catalog, automation, etc. across multiple ovirt 
deployments.

(they just released their first upstream release last week)

Using ManageIQ does work but is still more for the management of things 
running on the cloud. In this case you still will have separate ovirt 
environments that you have to manage.


That's not so bad and probably recommendable for a lot of use cases as 
you can't mess up all your DC's with one login.


Also it would be nice to have the frontend running somewhere that 
doesn't have to be on the management lan of all the virtual 
infrastructure and be able to reach even the IPMI's. If you have users 
accessing it, they could hake the management server and have access to 
all nodes in all DC's. You can build another interface with api calls to 
seperate them, but why bother when we already have a user interface.


Also when your connection to the DC's is interrupted you availabillity 
will suffer, but the reason we want to spread our virtual infrastructure 
accross multiple DC's is to remove SPOF of the datacenter.


What we would like to do is have a central datacenter that hosts our 
management infrastructure and is highly secure. When we access this 
management infrastructure, we can then manage all our other racks in 
other DC's through sattelite-systems/smart-proxies. Same like this:




A more distributed ovirt-engine would IMHO make the virtual 
datacenter/cloud infrastructure scale better across locations. While 
ManageIQ does that for multiple clouds. Two different use cases.


Kind regards,

Jorick Astrego
Netbulae B.V.







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


Re: [ovirt-users] Issues with Storage domain

2014-09-09 Thread Federico Simoncelli
- Original Message -
> From: "Carlos A. Diaz" 
> To: "Nir Soffer" 
> Cc: users@ovirt.org
> Sent: Monday, September 8, 2014 7:27:20 PM
> Subject: Re: [ovirt-users] Issues with Storage domain
> 
> This is the content of:
> 
> [root@accda05 dom_md]# cat metadata
> CLASS=Data
> DESCRIPTION=Prod
> IOOPTIMEOUTSEC=1
> LEASERETRIES=3
> LEASETIMESEC=5
> LOCKPOLICY=
> LOCKRENEWALINTERVALSEC=5
> MASTER_VERSION=0
> POOL_UUID=a705b31a-1a6e-4207-bcd8-abf95b0a586c
> REMOTE_PATH=10.244.44.200:/exports/ovirt
> ROLE=Regular
> SDUUID=ef295295-163b-4c67-b5c1-bf51c86ce59d
> TYPE=NFS
> VERSION=3
> _SHA_CKSUM=2d911132dac3ad18997eca42a1c495c1e1a34584


_SHA_CKSUM is valid but you can try to remove it (you'll just get warnings
about the missing checksum).

I expect vdsm to try and mount your domain on:

 /rhev/data-center/mnt/10.244.44.200:_exports_ovirt

If that's successful please report the output of these commands:

 # mount
 # ls -lR /rhev/data-center/mnt/10.244.44.200:_exports_ovirt


If instead the share is not mounted please report the mount error that you
find in the vdsm logs.

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


Re: [ovirt-users] How to change glusterfs volume type for MASTER storage domain

2014-09-09 Thread Jorick Astrego

Hi Darell,

Thanks for that. That will work fine for what I'm trying to do.

Kind regards,

Jorick Astrego
Netbulae

On 09/08/2014 05:14 PM, Darrell Budic wrote:
In a similar situation, I’ve had some luck creating a second storage 
domain & allowing the master role to be moved to it. You don’t even 
need to have any VMs on it, just have it exist and add it to the 
engine. That way ovirt doesn’t freak out and reboot your nodes as much 
while you clean up your main storage domain.


  -Darrell

On Sep 8, 2014, at 6:27 AM, Jorick Astrego > wrote:



Hi,

Our ovirt test instance has 4 nodes with glusterfs master storage 
domain. I had the volume set to distributed replicated gluster and 
things worked.


Due to quorum issues, I'm trying to switch it to replicated with 
replica count 4.


Currenlty the nodes keep rebooting while the master storage is down 
and I can't get things up again.


Invalid status on Data Center Default. Setting status to Non
Responsive.
Host node3 cannot access the Storage Domain(s)  attached
to the Data Center Default. Setting Host state to Non-Operational.

Is there a known way to change the glusterfs volume for the master 
domain that doesn't end in a total system faillure?


Kind regards,

Jorick Astrego
Netbulae
___
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] ovirt3.5 - deep dive - Fencing overview & Fencing policy improvements

2014-09-09 Thread Barak Azulay
BEGIN:VCALENDAR
PRODID:Zimbra-Calendar-Provider
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Asia/Jerusalem
BEGIN:STANDARD
DTSTART:16010101T02
TZOFFSETTO:+0200
TZOFFSETFROM:+0300
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
TZNAME:IST
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T02
TZOFFSETTO:+0300
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1FR
TZNAME:IDT
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:91abb499-7c8b-4c6b-b3d1-b68584f88d3d
SUMMARY:ovirt3.5 - deep dive - Fencing overview & Fencing policy improvement
 s
ATTENDEE;CN=Eli Mesika;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:
 mailto:emes...@redhat.com
ATTENDEE;CN=Oved Ourfalli;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE:mailto:ov...@redhat.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:mailto:users@o
 virt.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:mailto:devel@o
 virt.org
ORGANIZER;CN=Barak Azulay:mailto:bazu...@redhat.com
DTSTART;TZID="Asia/Jerusalem":20140910T163000
DTEND;TZID="Asia/Jerusalem":20140910T173000
STATUS:CONFIRMED
CLASS:PUBLIC
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
LAST-MODIFIED:20140909T085837Z
DTSTAMP:20140909T085837Z
SEQUENCE:0
DESCRIPTION:The following is a new meeting request:\n\nSubject: ovirt3.5 - d
 eep dive - Fencing overview &\; Fencing policy improvements \nOrganizer: 
 "Barak Azulay"  \n\nTime: Wednesday\, September 10\, 201
 4\, 4:30:00 PM - 5:30:00 PM GMT +02:00 Jerusalem\n \nInvitees: emesika@redha
 t.com\; ov...@redhat.com\; users@ovirt.org\; de...@ovirt.org \n\n\n*~*~*~*~*
 ~*~*~*~*~*\n\nThis session will present an overview of the fencing flows/log
 ic in oVirt\, \nIncluding new enhancement policies & functionality added to 
 3.5. \n\nGoogle Hangout link: https://plus.google.com/u/0/events/chmeiusuhvv
 9u47giojv6mefsso 
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;RELATED=START:-PT5M
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Template Size different in dashboard and storage...

2014-09-09 Thread Prasad Mukhedkar


On 09/08/2014 08:41 PM, Punit Dambiwal wrote:

Hi Prasad,

Yes..I am running Ovirt 3.4 but still didn't find the scripts on the 
location :-


---
[root@cloud-mgmt dbscripts]# sh engine-psql.sh -c "select vm_name, 
image_group_id,image_guid from vm_device, vm_static,images where 
vm_name in('CentOS') and vm_device.type='disk' and 
vm_device.device='disk' and vm_device.vm_id=vm_static.vm_guid and 
images.image_group_id=vm_device.device_id order by vm_name ;"

sh: engine-psql.sh: No such file or directory
[root@cloud-mgmt dbscripts]# pwd
/usr/share/ovirt-engine/dbscripts
[root@cloud-mgmt dbscripts]#
---

Thanks,
Punit




Punit,

 Create that script manually, Refer : 
https://www.mail-archive.com/users@ovirt.org/msg20467.html

or you can simply run ;

#source /etc/ovirt-engine/engine.conf.d/10-setup-database.conf

#PGPASSWORD=$ENGINE_DB_PASSWORD psql -U postgres -d engine -c  "select vm_name, 
image_group_id,image_guid from vm_device,
vm_static,images where vm_name in('CentOS') and vm_device.type='disk'
and vm_device.device='disk' and vm_device.vm_id=vm_static.vm_guid and
images.image_group_id=vm_device.device_id order by vm_name ;"

Thanks,
Prasad Mukhedkar

On Mon, Sep 8, 2014 at 4:44 PM, Prasad Mukhedkar > wrote:



On 09/08/2014 01:53 PM, Punit Dambiwal wrote:

I didn't find this script "engine-psql.sh" in my engine
server,would you mind to let me know the exact path for this
script file...

If you're on 3.4, You will fine the above script at
/usr/share/ovirt-engine/dbscripts location on your ovirt engine
system.

 |Secondly yes i am referring the Template CentOS...every details
i provide you in the previous mail is correct...

show us "qemu-img info" output.






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