Re: [ovirt-users] Serial Console not running on ovirt-engine

2016-03-30 Thread Wei GU
Maybe you have already seen this, just in case not:

http://www.ovirt.org/documentation/admin-guide/serial-console-setup/


--
Wei Gu (Dr. rer. nat.)
Bioinformatics Core
Luxembourg Centre For Systems Biomedicine (LCSB)
University of Luxembourg
Campus Belval, Biotech II
6, Avenue du Swing
L-4362 Esch-sur-Alzette

T +352-(0)-466-644-5535
F  +352-(0)-466-644-35535
wei...@uni.lu http://lcsb.uni.lu

-
This message is confidential and may contain privileged information. It is 
intended for the named recipient only. If you receive it in error please notify 
me and permanently delete the original message and any copies.
-

On Mar 30, 2016, at 6:31 PM, Christophe TREFOIS  
wrote:

> ovirt-vmconsole-proxy



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] i meet some problems of ovirt3.6.2

2016-03-30 Thread plysan
Hi Zhao,

This is not a bug. you reboot the host without letting ovirt engine knowing
it, ovirt engine will think there must be something wrong going on with the
host, and IIRC will trigger some mechanism to fence the host(ssh soft
fence, power management, etc). In this circumstances, If the vms are not ha
vms, these vms will not auto restart on other normal hosts.

You can edit the vms as highly available to make the vm auto reboot on
other host.

2016-03-31 11:55 GMT+08:00 赵亮1 :

> Hi plysan,
>
> I had reboot the host manually from the host itself(i did it many times),
> and  i had setup the power management succssefully(i used the DELL IDRAC
> ---idrac8), the problem that i meet is a bug? or this is new feature?
>
>
> -- Original --
> *From: * "plysan";
> *Date: * Thu, Mar 31, 2016 11:10 AM
> *To: * "Phillip Bailey";
> *Cc: * "zhao.lia...@puxinasset.com"; "users"<
> users@ovirt.org>;
> *Subject: * Re: [ovirt-users] i meet some problems of ovirt3.6.2
>
> Hi Zhao,
>
> Did you reboot the host manually from the host itself (outside of ovirt
> ui)? Have you setup the host with power management in ovirt ui?
>
> Cheers
>
> 2016-03-31 9:13 GMT+08:00 Phillip Bailey :
>
>> Hi Zhao,
>>
>> Have you configured the migration policy? It's possible that your VM is
>> currently set to not allow migration. See the "Resilience Policy Settings
>> Explained" section of this document:
>> http://www.ovirt.org/documentation/admin-guide/administration-guide/.
>>
>> -Phillip Bailey
>>
>> On Wed, Mar 30, 2016 at 4:19 AM, zhao.lia...@puxinasset.com <
>> zhao.lia...@puxinasset.com> wrote:
>>
>>> hi,all , i'm a chinese user of ovirt3.6.2  ,here are my problems
>>>
>>> i have 3 hosts, they all work fine , there are 10 vms run on it. i want
>>> test if vm will still work when i stop a host( the vm is running on this
>>> host),but when i reboot the host , the vm is down , but, you know it should
>>> be running on other host, i dont know what happened.
>>>
>>> --
>>> zhao.lia...@puxinasset.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
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] i meet some problems of ovirt3.6.2

2016-03-30 Thread plysan
Hi Zhao,

Did you reboot the host manually from the host itself (outside of ovirt
ui)? Have you setup the host with power management in ovirt ui?

Cheers

2016-03-31 9:13 GMT+08:00 Phillip Bailey :

> Hi Zhao,
>
> Have you configured the migration policy? It's possible that your VM is
> currently set to not allow migration. See the "Resilience Policy Settings
> Explained" section of this document:
> http://www.ovirt.org/documentation/admin-guide/administration-guide/.
>
> -Phillip Bailey
>
> On Wed, Mar 30, 2016 at 4:19 AM, zhao.lia...@puxinasset.com <
> zhao.lia...@puxinasset.com> wrote:
>
>> hi,all , i'm a chinese user of ovirt3.6.2  ,here are my problems
>>
>> i have 3 hosts, they all work fine , there are 10 vms run on it. i want
>> test if vm will still work when i stop a host( the vm is running on this
>> host),but when i reboot the host , the vm is down , but, you know it should
>> be running on other host, i dont know what happened.
>>
>> --
>> zhao.lia...@puxinasset.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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Error: Storage format V3 is not supported

2016-03-30 Thread Alex R
I am trying to import a domain that I have used as an export on a previous
install.  The previous install was no older then v3.5 and was built with
the all-in-one-plugin.  Before destroying that system I took a portable
drive and made an export domain to export my VMs and templates.

The new system is up to date an was built as a hosted engine.  When I try
to import the domain I get the following error:

"Error while executing action: Cannot add Storage. Storage format V3 is not
supported on the selected host version."

I just need to recover the VMs.

I connect the USB hard drive to the host and make an export directory just
like I did on the old host.

# ls -ld /mnt/export_ovirt
drwxr-xr-x. 5 vdsm kvm 4096 Mar  6 11:27 /mnt/export_ovirt

I have tried both doing an NFS mount
# cat /etc/exports.d/ovirt.exports
/home/engineha  127.0.0.1/32(rw,anonuid=36,anongid=36,all_squash)
/mnt/backup-vm/ 10.3.1.0/24(rw,anonuid=36,anongid=36,all_squash)
127.0.0.1/32(rw,anonuid=36,anongid=36,all_squash)

# cat
/mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/dom_md/metadata
CLASS=Backup
DESCRIPTION=eport_storage
IOOPTIMEOUTSEC=10
LEASERETRIES=3
LEASETIMESEC=60
LOCKPOLICY=
LOCKRENEWALINTERVALSEC=5
POOL_UUID=053926e4-e63d-450e-8aa7-6f1235b944c6
REMOTE_PATH=/mnt/export_ovirt/images
ROLE=Regular
SDUUID=4be3f6ac-7946-4e7b-9ca2-11731c8ba236
TYPE=LOCALFS
VERSION=3
_SHA_CKSUM=2e6e203168bd84f3dc97c953b520ea8f78119bf0

# ls -l
/mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/master/vms/4873de49-9090-40b1-a21d-665633109aa2/4873de49-9090-40b1-a21d-665633109aa2.ovf

-rw-r--r--. 1 vdsm kvm 9021 Mar  6 11:50
/mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/master/vms/4873de49-9090-40b1-a21d-665633109aa2/4873de49-9090-40b1-a21d-665633109aa2.ovf

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


Re: [ovirt-users] i meet some problems of ovirt3.6.2

2016-03-30 Thread Phillip Bailey
Hi Zhao,

Have you configured the migration policy? It's possible that your VM is
currently set to not allow migration. See the "Resilience Policy Settings
Explained" section of this document:
http://www.ovirt.org/documentation/admin-guide/administration-guide/.

-Phillip Bailey

On Wed, Mar 30, 2016 at 4:19 AM, zhao.lia...@puxinasset.com <
zhao.lia...@puxinasset.com> wrote:

> hi,all , i'm a chinese user of ovirt3.6.2  ,here are my problems
>
> i have 3 hosts, they all work fine , there are 10 vms run on it. i want
> test if vm will still work when i stop a host( the vm is running on this
> host),but when i reboot the host , the vm is down , but, you know it should
> be running on other host, i dont know what happened.
>
> --
> zhao.lia...@puxinasset.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


[ovirt-users] auto-remove snapshot created in live storage migration?

2016-03-30 Thread Alastair Neil
Is it planned to allow the snapshots that are created during a live storage
migration to be automatically deleted once the migration has completed?  It
is easy to forget about them and end up with large snapshots.

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


Re: [ovirt-users] Reclaim disk space of thin disks

2016-03-30 Thread Yaniv Kaul
On Wed, Mar 30, 2016 at 10:04 AM, Grundmann, Christian <
christian.grundm...@fabasoft.com> wrote:

> Hi,
>
> is there a way to „shrink“ a thin disk image to reclaim deleted space like
> using virt-sparsify?
>

Yes, if the underlying file system supports it (NFS, for example, might
need to be 4.2 and above).


> Or can it be done by making a snapshot and clone the VM to a new one?
>

Another suggestion: use the VDSM hooks for discard ('diskunmap') and run
'fstrim' from within the guest.
Y.


>
> Thanks a lot
>
> Christian
>
> ___
> 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] Spice lags using a proxy / Spice foldersharing in oVirt / spice driver for win10

2016-03-30 Thread Marco Bormann
Good evening everyone,
I am Marco from Germany and I currently setup a oVirt environment in our
data center. The current environment are 1 dedicated engine and 6 oVirt
Hosts.

I have three questions which I didnt get answered very well during my
research in the WWW during the last days.

So it would be very helpfull if someone of you can support me.

We are using the cluster for normal VM usage and for VDI desktop
virtualization with the Spice protocol.

1. Question
We are using a spice proxy because we have some VMs reachable via the
Engine and Spice external. Since we are using the proxy some users are
observing some disconnects of the USB redirection and sometimes mouse and
keyboard are not working in the session so that we have to restart the
console. Are there some of you also using a proxy and may had the same
behaviour and a workaround or fix for this?

2. Question
We want to use the Spice foldersharing function but it is always greyed and
not usable for us. I dont find anything in the web about the function in
the Remote viewer. What is necessary to use it? (Linux and Windows clients)

3. Question
The last question is about future usage of the cluster for VMs running
Windows10 (and other microsoft distributions of this generation like
Server2012 etc). Is there a way getting the spice video drivers working
with this operating systems? The official statement I always read is that
there is no official driver at the moment available.


thanks a lot and best wishes from Cologne in Germany
Marco
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM get stuck randomly

2016-03-30 Thread Kevin Wolf
Hi Christophe,

Am 30.03.2016 um 13:45 hat Christophe TREFOIS geschrieben:
> Another host went down, so I have to prepare info for this one.
> 
> I could not SSH to it anymore.
> Console would show login screen, but no keystrokes were registered.
> 
> I could “suspend” the VM and “run” it, but still can’t SSH to it.
> Before suspension, all QEMU threads were around 0%, after resuming, 3 of them 
> hover at 100%.
> 
> Attached you could find the gdb, core dump, and other logs.
> 
> Logs: https://dl.dropboxusercontent.com/u/63261/ubuntu2-logs.tar.gz
> 
> Core Dump: https://dl.dropboxusercontent.com/u/63261/core-ubuntu2.tar.gz
> 
> Is there anything else we could provide?

This sounds much like it's not qemu that hangs (because then stopping
and resuming wouldn't work any more), but just the guest OS that is
running inside the VM.

We've had cases before where qemu was reported to hang with 100% CPU
usage and in the end it turned out that the guest kernel had panicked.
Can you check whether a guest kernel crash could be the cause? If this
is reproducible, maybe the easiest way would be to attach a serial
console to the VM and let the kernel print its messages there.

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


[ovirt-users] i meet some problems of ovirt3.6.2

2016-03-30 Thread zhao.lia...@puxinasset.com
hi,all , i'm a chinese user of ovirt3.6.2  ,here are my problems

i have 3 hosts, they all work fine , there are 10 vms run on it. i want test if 
vm will still work when i stop a host( the vm is running on this host),but when 
i reboot the host , the vm is down , but, you know it should be running on 
other host, i dont know what happened.



zhao.lia...@puxinasset.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to migrate a VMware through virt-v2v included in oVirt 3.6

2016-03-30 Thread Julián Tete
*VMware:*srvesx01 VMware ESXi 5.1.0, 2191751

vSphere Client Version 5.1.0

VMware vCenter Server Version 5.1.0


*My oVirt DataCenter:*

Version 3.6.1.3-1.el7.centos

*Cluster:*

Compatibility Version: 3.6

Cluster CPU Type: Intel SandyBridge Family

Emulated Machine: pc-i440fx-rhel7.2.0

*Host:*

SELinux mode: Permissive

OS Version: RHEL - 7 - 2.1511.el7.centos.2.10

Kernel Version: 4.3.0 - 1.el7.elrepo.x86_64

KVM Version: 2.3.0 - 31.el7_2.3.1

LIBVIRT Version: libvirt-1.2.17-13.el7_2.2

VDSM Version: vdsm-4.17.13-0.el7.centos

SPICE Version: 0.12.4 - 15.el7

CEPH Version: librbd1-0.80.7-3.el7

Manufacturer: HP

CPU Model: Intel(R) Xeon(R) CPU E5-2667 v2 @ 3.30GHz

CPU Cores per Socket: 8

Family: ProLiant

CPU Type: Intel SandyBridge Family

CPU Threads per Core: 2 (SMT Enabled)

Product Name: ProLiant BL460c Gen8

CPU Sockets: 2

rpm -qa | grep virt-v2v

virt-v2v-1.28.1-1.55.el7.centos.x86_64

rpm -qa | grep libguestfs-winsupport

libguestfs-winsupport-7.2-1.el7.x86_64

#

R//

Yes, I installed virt-v2v in all hosts of the Cluster and in the Engine :P

The S.O of the machine to migrate is CentOS 6.6

When I try to use the GUI to add a External Provider (VMware) I get the
error message:

*Failed to retrieve VMs information from external server
vpx://192.168.0.129/CNSCDatacenter/srvesx01?no_verify=1
*

But when I use the command:

virsh -c vpx://
Administrator@192.168.0.129/CNSCDatacenter/Cluster_CNSC/srvesx01?no_verify=1

I can connect to VMware.

I can´t parse the Cluster data (Cluster_CNSC) in the GUI to add a External
Provider (VMware)

:/

Thanks in advance


2016-03-30 3:23 GMT-05:00 Nisim Simsolo :

> Hi
>
> Can you please give more details:
> Did you install virt-v2v on the host?
> What kind of VM OS did you try to migrate?
> What is the failure you see?
>
> Thanks
>
>
> Nisim Simsolo
> QE -Testing Engineer
> IRC: nsimsolo
> int phone - 8272305
> mobile - 054-4779934
>
> - Original Message -
> | From: "Julián Tete" 
> | To: users@ovirt.org
> | Sent: Wednesday, March 30, 2016 2:10:32 AM
> | Subject: [ovirt-users] Failed to migrate a VMware through virt-v2v
> included   in oVirt 3.6
> |
> | My oVirt DataCenter
> |
> | Cluster CPU Type: Intel SandyBridge Family
> |
> | Emulated Machine: pc-i440fx-rhel7.2.0
> |
> |
> |
> |
> | ___
> | 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] Problems With VMWare Import

2016-03-30 Thread Charles Tassell

Hi Everyone,

  This doesn't seem to be a bug in oVirt so much as in the 
libvirt/virt-v2v tool it uses for importing, but I figured someone here 
might have run into this issue before.  I'm trying to import some VMs 
from my VMWare cluster and it's failing with a "file not found" when 
trying to download the disk images.  I have files in the datastore like:


systest-55-01-delta.vmdk4G
systest-55-01.vmdk  1K
systest-55-Snapshot1.vmsn4G
systest-55-flat.vmdk 40G
systest-55.vmdk   1K
... bunch more small .vm?? files

For some reason virt-v2v is trying to download a file called 
systest-55-01-flat.vmdk which doesn't exist.  I'm assuming this has 
something to do with the snapshots stored in the folder...  Does anyone 
know a way to deal with that?  Can I just delete the snapshots or is 
that going to delete data stored on the VM since the last snapshot?  I'm 
using virt-v2v 1.28.1 if that makes a difference.


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


Re: [ovirt-users] [Bug 1319323] New: VLAN ID check for duplicates

2016-03-30 Thread Bill James
Any one have an idea on how to "hack" or "patch" ovirt so that instead 
of rejecting a new network with duplicate vlan id it would just warn, or 
even just ignore?



On 03/18/2016 01:54 PM, bugzi...@redhat.com wrote:

https://bugzilla.redhat.com/show_bug.cgi?id=1319323

 Bug ID: 1319323
Summary: VLAN ID check for duplicates
Product: ovirt-engine
Version: 3.3
  Component: RFEs
   Severity: medium
   Assignee: sher...@redhat.com
   Reporter: bill.ja...@j2.com
 QA Contact: gkl...@redhat.com
 CC: b...@ovirt.org
 oVirt Team: Network
  Flags: testing_ack?
  Flags: planning_ack?



Description of problem:
Adding new network with vlan tag, ovirt doesn't allow duplicate VLAN IDs.
But it should be allowed, because if you are using multiple interfaces you can
have the same vlan ID as long as they aren't assigned to the same interface on
the hardware node.


Version-Release number of selected component (if applicable):
ovirt-engine-3.6.3.4-1.el7.centos.noarch


How reproducible:
100%

Steps to Reproduce:
1. Just add network with same vlan id as an already added interface.

2.
3.

Actual results:
See email thread labeled "Re: [ovirt-users] multiple NICs VLAN ID conflict".
GUI says vlan already used.

Expected results:
Duplicate VLAN ID should be checked when you are assign network to the hardware
node, not when creating the interface.


Additional info:
Trying to work around this with vdsm hooks in before_network_setup,
after_get_caps and after_get_stats is very difficult to get it to work right.
(see email thread)


Yaniv Kaul  2016-03-20 03:12:24 EDT

Perhaps only WARN.

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


[ovirt-users] Serial Console not running on ovirt-engine

2016-03-30 Thread Christophe TREFOIS
Dear all,

So am running 3.6.3.4-1 on CentOS 7.2, and did a engine-setup.

I checked now, and see that ovirt-vmconsole-proxy was in fact installed 
(before, during or after, I don’t know).

[root@bio2-engine-server ~]# yum install ovirt-vmconsole-proxy
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
 * base: centos.mirror.root.lu
 * epel: mirror.imt-systems.com
 * extras: centos.mirror.root.lu
 * ovirt-3.5: ftp.nluug.nl
 * ovirt-3.5-epel: mirror.imt-systems.com
 * ovirt-3.6: ftp.nluug.nl
 * ovirt-3.6-epel: mirror.imt-systems.com
 * updates: centos.mirror.root.lu
Package ovirt-vmconsole-proxy-1.0.0-1.el7.centos.noarch already installed and 
latest version
Nothing to do

But I don’t see any process running on port .

I couldn’t find in the docs, how to start the listener.

Could anybody help me out?

Thank you,

—
Christophe

Dr Christophe Trefois, Dipl.-Ing.
Technical Specialist / Post-Doc

UNIVERSITÉ DU LUXEMBOURG

LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
Campus Belval | House of Biomedicine
6, avenue du Swing
L-4367 Belvaux
T: +352 46 66 44 6124
F: +352 46 66 44 6949
http://www.uni.lu/lcsb

[Facebook]  [Twitter] 
   [Google Plus] 
   [Linkedin] 
   [skype] 



This message is confidential and may contain privileged information.
It is intended for the named recipient only.
If you receive it in error please notify me and permanently delete the original 
message and any copies.




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


Re: [ovirt-users] seria consol setup

2016-03-30 Thread Christophe TREFOIS
Hi,

I have a question on this.

Can there be multiple SSH keys in that box in the GUI?

For instance, we might have 2 keys for our “Admin” account?

Thanks for your help,

—
C

  

> On 23 Mar 2016, at 12:46, Fabrice Bacchella  
> wrote:
> 
>> 
>> Le 23 mars 2016 à 12:28, Yedidyah Bar David  a écrit :
>> 
>> On Wed, Mar 23, 2016 at 1:04 PM, Fabrice Bacchella
>>  wrote:
>>> I'm reading the documentation here :
>>>   http://www.ovirt.org/documentation/admin-guide/serial-console-setup/
>>> 
>>> After a few strace, I found the ssh configuration used for the custom ssh 
>>> that listen on port :
>>> /usr/share/ovirt-vmconsole/ovirt-vmconsole-proxy/ovirt-vmconsole-proxy-sshd/sshd_config
>>> 
>>> And I have a big problem with it.
>>> It says "GSSAPIAuthentication no" but public key authentication is not 
>>> allowed in my data center, we use kerberos every where.
>>> So I wonder if I can edit this file ? How is it managed by ovirt ?
>> 
>> In general, things under /usr are only packaged, not "managed". So a
>> next upgrade will overwrite your changes.
> 
> Ok, so I just need to take care how modifications and upgrade are done (using 
> puppet) and everything should be fine.
>> 
>> Seems like both its systemd unit and sysv init script read
>> /etc/sysconfig/ovirt-vmconsole-proxy-sshd if it exists and add
>> ${OPTIONS} to sshd's command line. So you can try to:
>> 
>> echo 'OPTIONS="-o GSSAPIAuthentication=yes"' >>
>> /etc/sysconfig/ovirt-vmconsole-proxy-sshd
>> 
>> 
> 
> I tried that. It works. I now have pure kerberos only problems. But that's a 
> good direction.
> 
>> and restart it.
>> 
> 
> 
> ___
> 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] Get Involved with oVirt project! Spring edition

2016-03-30 Thread Sandro Bonazzola
Hi,
Have you got some free time and do you want to get involved in oVirt
project?

Do you like the idea of having fresh disk images of recent distribution in
oVirt Glance repository?
You can help us by testing existing online images ensuring they works with
cloud-init
or creating one yourself and report your success to de...@ovirt.org.
We'll be happy to upload the images once these are ready.

Do you like Debian and do you have some programming or packaging skills?
Help us getting Vdsm running on it! We work on inclusion of Vdsm into
Debian.
We need to test and fix Vdsm Debian packages to make them working before
the next Debian freeze.
You can find all current Debian work (Vdsm and related packages) in Debian
git repositories [10].
You can follow the progress and participate on oVirt development mailing
list [11].

Here are some bugs you can try to help with:
1159784   ovirt-engine   Documentation   NEW   [RFE] Document when and
where new features are available ...
1074301   ovirt-engine-cli   RFEs   NEW   [RFE] ovirt-shell has no man page
772931 ovirt-engine-reports   RFEs   NEW   [RFE] Reports should include
the name of the oVirt engine
1120585   ovirt-image-uploader   Documentation   NEW   update image
uploader documentation
1120586   ovirt-iso-uploader   Documentation   NEW   update iso uploader
documentation
1120588   ovirt-log-collector   Documentation   NEW   update log collector
documentation
1237132   ovirt-engine   Setup.Engine   NEW   [TEXT] New package listing of
engine-setup when upgrading...
1115059   ovirt-engine   General   ASSIGNED   Incomplete error message when
adding VNIC profile to runn...

Are you great at packaging software? Do you prefer a distribution which is
currently unsupported by oVirt?
Do you want to have packages included in your preferred distribution? Help
getting oVirt ported there!

Fedora: http://lists.ovirt.org/pipermail/devel/2015-September/011426.html
CentOS: https://wiki.centos.org/SpecialInterestGroup/Virtualization
Gentoo: https://wiki.gentoo.org/wiki/OVirt (GSoC:
https://wiki.gentoo.org/wiki/Google_Summer_of_Code/2016/Ideas )
Debian:
http://www.ovirt.org/develop/release-management/features/debian-support-for-hosts/
Archlinux: http://www.ovirt.org/develop/developer-guide/arch-linux/
OpenSUSE: https://build.opensuse.org/project/show/Virtualization:oVirt

Do you love "DevOps?", you count stable builds in jenkins ci while trying
to fall a sleep?
Then oVirt infra team is looking for you!, join the infra team and dive in
to do the newest and coolest devops tools today!
Here are some of our open tasks you can help with:
https://ovirt-jira.atlassian.net/secure/RapidBoard.jspa?rapidView=6
You can also help us by sharing how you use oVirt in your DevOps
environment (please use [DevOps] in the subject).
You can check out more docs on the DevOps side of oVirt in [12][13]

You don't have programming skills, not enough time for DevOps but you want
still to contribute?
Here are some bugs you can take care of, also without writing a line of
code:
https://bugzilla.redhat.com/buglist.cgi?quicksearch=classification%3Aovirt%20cf_ovirt_team%3Adocs

Do you prefer to test things? We have some test cases[5] you can try using
nightly snapshots[6].

Do you want to contribute test cases? Most of the features[7] included in
oVirt are missing a test case, you're welcome to contribute one!

Do you want to contribute artworks? oVirt Live backgrounds and covers,
release banners, stickers,  Take a look at Fedora Artworks[9] as an
example of what you can do

Is this the first time you try to contribute to oVirt project?
You can start from here [1][2]!

You don't know gerrit very well? You can find some more docs here [3].

Any other question about development? Feel free to ask on de...@ovirt.org
or on irc channel[4].

You don't really have time / skills for any development / documentation /
testing related task?
Spread the word[8]!

Let us know you're getting involved, present yourself and tell us what
you're going to do, you'll be welcome!

[1] http://www.ovirt.org/develop/
[2] http://www.ovirt.org/develop/dev-process/working-with-gerrit/
[3] https://gerrit-review.googlesource.com/Documentation
[4] http://www.ovirt.org/community/
[5] http://www.ovirt.org/develop/infra/testing/
[6] http://www.ovirt.org/develop/dev-process/install-nightly-snapshot/
[7] http://www.ovirt.org/develop/release-management/features/
[8]
http://www.zdnet.com/article/how-much-longer-can-red-hats-ovirt-remain-covert/
[9] https://fedoraproject.org/wiki/Artwork#Resources
[10] http://git.debian.org
[11] http://lists.ovirt.org/mailman/listinfo/devel
[12] http://ovirt-infra-docs.readthedocs.org/en/latest/
[13] http://www.ovirt.org/develop/infra/infrastructure-documentation/


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org

Re: [ovirt-users] User permission error in add new disk using API

2016-03-30 Thread Ondra Machacek

On 03/30/2016 01:31 PM, Vishal Panchal wrote:

Hello,

I got following error during add new disk using API but on other side
from admin panel I can create new disk.

*Error :*
Cannot add Virtual Machine Disk. The user doesn't have permissions to
attach Disk Profile to the Disk.*


Please see this[1] bz.
I think you hit that issue.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1209505


*
*
*
Regards,
*Vishal Panchal*
Software Developer
*+918140283911*
*
*
**
*

*




___
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] payload device serial

2016-03-30 Thread Pavel Gashev
Hello,

I hit a bug, and just want to share a solution.

VM with a payload (Initial run) do not start with libvirt >= 1.3.2. VDSM log 
says: "libvirtError: unsupported configuration: Disks 'hdc' and 'hdd' have 
identical serial".

Yes, both cdrom devices have the same serial. Empty serial:














I don't know where is the issue. Either libvirt should work with empty serials, 
or VDSM should generate serial at least for payload device.

Related bug -  https://bugzilla.redhat.com/show_bug.cgi?id=1245013

Quick fix is to install a VDSM hook to /usr/libexec/vdsm/hooks/before_vm_start:
-- cut here --
#!/usr/bin/python

import hooking
import uuid

domxml = hooking.read_domxml()

for disk in domxml.getElementsByTagName('disk'):
if disk.getAttribute('device') == 'cdrom':
for source in disk.getElementsByTagName('source'):
if source.getAttribute('file').find('/payload/') > 0:
for serial in disk.getElementsByTagName('serial'):
if not serial.hasChildNodes():

serial.appendChild(domxml.createTextNode(str(uuid.uuid4(
hooking.write_domxml(domxml)
-- cut here --

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


Re: [ovirt-users] User permission error in add new disk using API

2016-03-30 Thread Juan Hernández
On 03/30/2016 01:31 PM, Vishal Panchal wrote:
> Hello,
> 
> I got following error during add new disk using API but on other side
> from admin panel I can create new disk.
> 
> *Error :*
> Cannot add Virtual Machine Disk. The user doesn't have permissions to
> attach Disk Profile to the Disk.*
> *

What version of the engine? How are you creating the disk? Can you share
the request that you are sending to the server?

-- 
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 get stuck randomly

2016-03-30 Thread Christophe TREFOIS
Hi Kevin,

Ok thanks for the feedback.

Do you have experience with kernel panics and more specifically how to get any 
meaningful message if this is happening?

According to syslog on the guest, at least after reboot, there's no information 
that something went wrong.

Since this seems to leave the qemu world, I'm now not sure where to ask for 
support in this :(

Kind regards,

--
Christophe 
Sent from my iPhone

> On 30 Mar 2016, at 14:14, Kevin Wolf  wrote:
> 
> Hi Christophe,
> 
> Am 30.03.2016 um 13:45 hat Christophe TREFOIS geschrieben:
>> Another host went down, so I have to prepare info for this one.
>> 
>> I could not SSH to it anymore.
>> Console would show login screen, but no keystrokes were registered.
>> 
>> I could “suspend” the VM and “run” it, but still can’t SSH to it.
>> Before suspension, all QEMU threads were around 0%, after resuming, 3 of 
>> them hover at 100%.
>> 
>> Attached you could find the gdb, core dump, and other logs.
>> 
>> Logs: https://dl.dropboxusercontent.com/u/63261/ubuntu2-logs.tar.gz
>> 
>> Core Dump: https://dl.dropboxusercontent.com/u/63261/core-ubuntu2.tar.gz
>> 
>> Is there anything else we could provide?
> 
> This sounds much like it's not qemu that hangs (because then stopping
> and resuming wouldn't work any more), but just the guest OS that is
> running inside the VM.
> 
> We've had cases before where qemu was reported to hang with 100% CPU
> usage and in the end it turned out that the guest kernel had panicked.
> Can you check whether a guest kernel crash could be the cause? If this
> is reproducible, maybe the easiest way would be to attach a serial
> console to the VM and let the kernel print its messages there.
> 
> Kevin


smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM get stuck randomly

2016-03-30 Thread Christophe TREFOIS
Hi Kevin,

Another host went down, so I have to prepare info for this one.

I could not SSH to it anymore.
Console would show login screen, but no keystrokes were registered.

I could “suspend” the VM and “run” it, but still can’t SSH to it.
Before suspension, all QEMU threads were around 0%, after resuming, 3 of them 
hover at 100%.

Attached you could find the gdb, core dump, and other logs.

Logs: https://dl.dropboxusercontent.com/u/63261/ubuntu2-logs.tar.gz

Core Dump: https://dl.dropboxusercontent.com/u/63261/core-ubuntu2.tar.gz

Is there anything else we could provide?

Since this is a test machine, I will leave it “hanging” for now.

Best,

Dr Christophe Trefois, Dipl.-Ing.  
Technical Specialist / Post-Doc

UNIVERSITÉ DU LUXEMBOURG

LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
Campus Belval | House of Biomedicine  
6, avenue du Swing 
L-4367 Belvaux  
T: +352 46 66 44 6124 
F: +352 46 66 44 6949  
http://www.uni.lu/lcsb




This message is confidential and may contain privileged information. 
It is intended for the named recipient only. 
If you receive it in error please notify me and permanently delete the original 
message and any copies. 


  

> On 29 Mar 2016, at 15:40, Kevin Wolf  wrote:
> 
> Am 27.03.2016 um 22:38 hat Christophe TREFOIS geschrieben:
>> Hi,
>> 
>> MS does not like my previous email, so here it is again with a link to 
>> Dropbox
>> instead of as attached.
>> 
>> ——
>> Hi Nir,
>> 
>> Inside the core dump tarball is also the output of the two gdb commands you
>> mentioned.
>> 
>> Understandbly, you might not want to download the big files for that, so I
>> attached them here seperately.
> 
> The gdb dump looks pretty much like an idle qemu that just sits there
> and waits for events. The vcpu threads seem to be running guest code,
> the I/O thread and SPICE thread are in poll() waiting for events to
> respond to, and finally the RCU thread is idle as well.
> 
> Does the qemu process still respond to monitor commands, so for example
> can you still pause and resume the guest?
> 
> Kevin
> 
>> For the other logs, here you go.
>> 
>> For gluster I didn’t know which, so I sent all.
>> 
>> I got the icinga notifcation at 17:06 CEST on March 27th (today). So for 
>> vdsm,
>> I provided logs from 16h-18h.
>> The check said that the VM was down for 11 minutes at that time.
>> 
>> https://dl.dropboxusercontent.com/u/63261/bioservice-1.tar.gz
>> 
>> Please do let me know if there is anything else I can provide.
>> 
>> Best regards,
>> 
>> 
>>> On 27 Mar 2016, at 21:24, Nir Soffer  wrote:
>>> 
>>> On Sun, Mar 27, 2016 at 8:39 PM, Christophe TREFOIS
>>>  wrote:
 Hi Nir,
 
 Here is another one, this time with strace of children and gdb dump.
 
 Interestingly, this time, the qemu seems stuck 0%, vs 100% for other cases.
 
 The files for strace are attached.
>>> 
>>> Hopefully Kevin can take a look.
>>> 
>>> 
 The gdb + core dump is found here (too
 big):
 
 https://dl.dropboxusercontent.com/u/63261/gdb-core.tar.gz
>>> 
>>> I think it will be more useful to extract a traceback of all threads
>>> and send the tiny traceback.
>>> 
>>> gdb --pid  --batch --eval-command='thread apply all bt'
>>> 
 If it helps, most machines get stuck on the host hosting the self-hosted
 engine, which runs a local 1-node glusterfs.
>>> 
>>> And getting also /var/log/messages, sanlock, vdsm, glusterfs and
>>> libvirt logs for this timeframe
>>> would be helpful.
>>> 
>>> Nir
>>> 
 
 Thank you for your help,
 
 —
 Christophe
 
 Dr Christophe Trefois, Dipl.-Ing.
 Technical Specialist / Post-Doc
 
 UNIVERSITÉ DU LUXEMBOURG
 
 LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
 Campus Belval | House of Biomedicine
 6, avenue du Swing
 L-4367 Belvaux
 T: +352 46 66 44 6124
 F: +352 46 66 44 6949
 http://www.uni.lu/lcsb
 
 
 
 
 This message is confidential and may contain privileged information.
 It is intended for the named recipient only.
 If you receive it in error please notify me and permanently delete the
 original message and any copies.
 
 
 
 
> On 25 Mar 2016, at 11:53, Nir Soffer  wrote:
> 
> gdb --pid  --batch --eval-command='thread apply all bt'

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


[ovirt-users] User permission error in add new disk using API

2016-03-30 Thread Vishal Panchal
Hello,

I got following error during add new disk using API but on other side from
admin panel I can create new disk.

*Error :*
Cannot add Virtual Machine Disk. The user doesn't have permissions to
attach Disk Profile to the Disk.

Regards,
*Vishal Panchal*
Software Developer
*+918140283911*

* *
*  

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


Re: [ovirt-users] cloud_init not apply when v create from API

2016-03-30 Thread Arpit Makhiyaviya
Thanks, that's works for me .

On Wed, Mar 30, 2016 at 2:21 PM, Juan Hernández  wrote:

> On 03/30/2016 08:44 AM, Arpit Makhiyaviya wrote:
> >
> > I used  *Version: 3.6.3.4-1.el7.centos* of ovirt engine.I already tried
> > following xml request with run VM but still its not working.
> > From admin panel of oVirt Its completely working but I found issue only
> > with oVirt API (VM start but cloudinit data not accepted).
> >
>
> Version 3.6.3.4 is affected by the bug that I mentioned. The result is
> that the "cloud_init" element is just ignored. That will be fixed in
> version 3.6.5. Meanwhile you can use the workaround suggested in comment
> 1 of the bug:
>
>   https://bugzilla.redhat.com/show_bug.cgi?id=1305904#c1
>
> Translated to XML it should look like described by Karim Boumedhel in
> comment 7:
>
>   https://bugzilla.redhat.com/show_bug.cgi?id=1305904#c7
>
> > *XML Request : *
> >
> > 
> >false
> >   true
> > 
> >   
> >  
> >
> >  vishal.123456
> >
> >true
> >Atlantic/Reykjavik
> >
> >  
> >root
> >Vishal@131
> >  
> >
> >
> >  
> >
> >  eth1
> >  STATIC
> >  
> > > gateway="149.202.85.254" />
> >  
> >  false
> >
> >
> >  
> >  
> >
> >  
> >8.8.8.8
> >  
> >
> >
> >  
> >8.8.4.4
> >  
> >
> >  
> >
> >
> >
> >  
> >   
> > 
> >
> > 
> >
> > Regards,
> > *Arpit Makhiyaviya*
> > Software Engineer
> > +91-79-40038284
> > +91-971-437-6669
> > 
> >
> > On Wed, Mar 30, 2016 at 12:27 AM, Juan Hernández  > > wrote:
> >
> > On 03/29/2016 03:07 PM, Arpit Makhiyaviya wrote:
> > > Thanks for quick response.
> > > we already knew this and we are passing following xml when calling
> > Start
> > > action.
> > >
> >
> > What version of the engine are you using exactly? This is a known
> bug.
> > The "cloud_init" element is ignored. See here for details:
> >
> >   Cloud-Init payload not passed into VM via python SDK
> >   https://bugzilla.redhat.com/1305904
> >
> > That will be fixed in version 3.6.5. If you have a version 3.6.2 or
> > newer then you can use the workaround described there, using the
> > "initailization" element directly.
> >
> > > 
> > > 
> > >   
> > >  
> > >
> > >  vm-cloud-init-restapi
> > >
> > >
> > >  
> > >
> > >  root
> > >
> > >ssh-rsa restapi-cloud-init-ssh-key
> > root@localdomain
> > >  
> > >
> > >true
> > >Atlantic/Reykjavik
> > >
> > >  
> > >root
> > >SuperSecretPassword!
> > >  
> > >
> > >
> > >  
> > >
> > >  eth0
> > >  STATIC
> > >  
> > > > > gateway="192.168.2.254" />
> > >  
> > >  true
> > >
> > >
> > >  eth1
> > >  DHCP
> > >  true
> > >
> > >  
> > >  
> > >
> > >  
> > >10.20.30.100
> > >  
> > >
> > >
> > >  
> > >domain.your.rhevm.com
> > 
> > > 
> > >  
> > >
> > >  
> > >
> > >
> > >  
> > >/tmp/file1.txt
> > >line 1
> > > line 2
> > > and now something special
> > > !@#$%^*()_+
> > >PLAINTEXT
> > >  
> > >
> > >  
> > >   
> > > 
> > > 
> > >
> > > we also found following link . is this related to my issue?
> > >
> > > https://gerrit.ovirt.org/#/c/50240/2
> > >
> > > Regards,
> > > *Arpit Makhiyaviya*
> > > Software Engineer
> > > +91-79-40038284
> > > +91-971-437-6669
> > > 
> > >
> > > On Tue, Mar 29, 2016 at 6:24 PM, Renout Gerrits  > 
> > > >> wrote:
> > >
> > > In the more recent versions you have to use
> > 'use_cloud_init=True' in
> > > the api, which isn't described in most documentation yet. Maybe
> > > thats the reason 

Re: [ovirt-users] cloud_init not apply when v create from API

2016-03-30 Thread Juan Hernández
On 03/30/2016 08:44 AM, Arpit Makhiyaviya wrote:
> 
> I used  *Version: 3.6.3.4-1.el7.centos* of ovirt engine.I already tried
> following xml request with run VM but still its not working.
> From admin panel of oVirt Its completely working but I found issue only
> with oVirt API (VM start but cloudinit data not accepted).
> 

Version 3.6.3.4 is affected by the bug that I mentioned. The result is
that the "cloud_init" element is just ignored. That will be fixed in
version 3.6.5. Meanwhile you can use the workaround suggested in comment
1 of the bug:

  https://bugzilla.redhat.com/show_bug.cgi?id=1305904#c1

Translated to XML it should look like described by Karim Boumedhel in
comment 7:

  https://bugzilla.redhat.com/show_bug.cgi?id=1305904#c7

> *XML Request : * 
> 
> 
>false
>   true
> 
>   
>  
>
>  vishal.123456
>
>true
>Atlantic/Reykjavik
>
>  
>root
>Vishal@131
>  
>
>
>  
>
>  eth1
>  STATIC
>  
> gateway="149.202.85.254" />
>  
>  false
>
>
>  
>  
>
>  
>8.8.8.8
>  
>
>
>  
>8.8.4.4
>  
>
>  
>
>
> 
>  
>   
> 
>
> 
> 
> Regards,
> *Arpit Makhiyaviya*
> Software Engineer
> +91-79-40038284
> +91-971-437-6669
> 
> 
> On Wed, Mar 30, 2016 at 12:27 AM, Juan Hernández  > wrote:
> 
> On 03/29/2016 03:07 PM, Arpit Makhiyaviya wrote:
> > Thanks for quick response.
> > we already knew this and we are passing following xml when calling
> Start
> > action.
> >
> 
> What version of the engine are you using exactly? This is a known bug.
> The "cloud_init" element is ignored. See here for details:
> 
>   Cloud-Init payload not passed into VM via python SDK
>   https://bugzilla.redhat.com/1305904
> 
> That will be fixed in version 3.6.5. If you have a version 3.6.2 or
> newer then you can use the workaround described there, using the
> "initailization" element directly.
> 
> > 
> > 
> >   
> >  
> >
> >  vm-cloud-init-restapi
> >
> >
> >  
> >
> >  root
> >
> >ssh-rsa restapi-cloud-init-ssh-key
> root@localdomain
> >  
> >
> >true
> >Atlantic/Reykjavik
> >
> >  
> >root
> >SuperSecretPassword!
> >  
> >
> >
> >  
> >
> >  eth0
> >  STATIC
> >  
> > > gateway="192.168.2.254" />
> >  
> >  true
> >
> >
> >  eth1
> >  DHCP
> >  true
> >
> >  
> >  
> >
> >  
> >10.20.30.100
> >  
> >
> >
> >  
> >domain.your.rhevm.com
> 
> > 
> >  
> >
> >  
> >
> >
> >  
> >/tmp/file1.txt
> >line 1
> > line 2
> > and now something special
> > !@#$%^*()_+
> >PLAINTEXT
> >  
> >
> >  
> >   
> > 
> > 
> >
> > we also found following link . is this related to my issue?
> >
> > https://gerrit.ovirt.org/#/c/50240/2
> >
> > Regards,
> > *Arpit Makhiyaviya*
> > Software Engineer
> > +91-79-40038284
> > +91-971-437-6669
> > 
> >
> > On Tue, Mar 29, 2016 at 6:24 PM, Renout Gerrits  
> > >> wrote:
> >
> > In the more recent versions you have to use
> 'use_cloud_init=True' in
> > the api, which isn't described in most documentation yet. Maybe
> > thats the reason it isn't working?
> >
> > Here's a working snippet:
> >
> > vm = api.vms.get(name=vm_name)
> >
> > action = params.Action(
> > use_cloud_init=True,
> > vm=params.VM(
> >   initialization=params.Initialization(
> > regenerate_ssh_keys=True,
> > host_name=vm_fqdn,
> > nic_configurations=params.GuestNicsConfiguration(
> >  

Re: [ovirt-users] Failed to migrate a VMware through virt-v2v included in oVirt 3.6

2016-03-30 Thread Nisim Simsolo
Hi

Can you please give more details:
Did you install virt-v2v on the host?
What kind of VM OS did you try to migrate? 
What is the failure you see?

Thanks


Nisim Simsolo
QE -Testing Engineer
IRC: nsimsolo
int phone - 8272305
mobile - 054-4779934

- Original Message -
| From: "Julián Tete" 
| To: users@ovirt.org
| Sent: Wednesday, March 30, 2016 2:10:32 AM
| Subject: [ovirt-users] Failed to migrate a VMware through virt-v2v included   
in oVirt 3.6
| 
| My oVirt DataCenter
| 
| Cluster CPU Type: Intel SandyBridge Family
| 
| Emulated Machine: pc-i440fx-rhel7.2.0
| 
| 
| 
| 
| ___
| 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] Reclaim disk space of thin disks

2016-03-30 Thread Grundmann, Christian
Hi,

is there a way to "shrink" a thin disk image to reclaim deleted space like
using virt-sparsify?

Or can it be done by making a snapshot and clone the VM to a new one?

 

Thanks a lot

Christian



smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] cloud_init not apply when v create from API

2016-03-30 Thread Arpit Makhiyaviya
I used  *Version: 3.6.3.4-1.el7.centos* of ovirt engine.I already tried
following xml request with run VM but still its not working.
>From admin panel of oVirt Its completely working but I found issue only
with oVirt API (VM start but cloudinit data not accepted).

*XML Request : *


   false
  true

  
 
   
 vishal.123456
   
   true
   Atlantic/Reykjavik
   
 
   root
   Vishal@131
 
   
   
 
   
 eth1
 STATIC
 
   
 
 false
   

 
 
   
 
   8.8.8.8
 
   
   
 
   8.8.4.4
 
   
 
   


 
  




Regards,
*Arpit Makhiyaviya*
Software Engineer
+91-79-40038284
+91-971-437-6669


On Wed, Mar 30, 2016 at 12:27 AM, Juan Hernández 
wrote:

> On 03/29/2016 03:07 PM, Arpit Makhiyaviya wrote:
> > Thanks for quick response.
> > we already knew this and we are passing following xml when calling Start
> > action.
> >
>
> What version of the engine are you using exactly? This is a known bug.
> The "cloud_init" element is ignored. See here for details:
>
>   Cloud-Init payload not passed into VM via python SDK
>   https://bugzilla.redhat.com/1305904
>
> That will be fixed in version 3.6.5. If you have a version 3.6.2 or
> newer then you can use the workaround described there, using the
> "initailization" element directly.
>
> > 
> > 
> >   
> >  
> >
> >  vm-cloud-init-restapi
> >
> >
> >  
> >
> >  root
> >
> >ssh-rsa restapi-cloud-init-ssh-key root@localdomain
> 
> >  
> >
> >true
> >Atlantic/Reykjavik
> >
> >  
> >root
> >SuperSecretPassword!
> >  
> >
> >
> >  
> >
> >  eth0
> >  STATIC
> >  
> > > gateway="192.168.2.254" />
> >  
> >  true
> >
> >
> >  eth1
> >  DHCP
> >  true
> >
> >  
> >  
> >
> >  
> >10.20.30.100
> >  
> >
> >
> >  
> >domain.your.rhevm.com
> > 
> >  
> >
> >  
> >
> >
> >  
> >/tmp/file1.txt
> >line 1
> > line 2
> > and now something special
> > !@#$%^*()_+
> >PLAINTEXT
> >  
> >
> >  
> >   
> > 
> > 
> >
> > we also found following link . is this related to my issue?
> >
> > https://gerrit.ovirt.org/#/c/50240/2
> >
> > Regards,
> > *Arpit Makhiyaviya*
> > Software Engineer
> > +91-79-40038284
> > +91-971-437-6669
> > 
> >
> > On Tue, Mar 29, 2016 at 6:24 PM, Renout Gerrits  > > wrote:
> >
> > In the more recent versions you have to use 'use_cloud_init=True' in
> > the api, which isn't described in most documentation yet. Maybe
> > thats the reason it isn't working?
> >
> > Here's a working snippet:
> >
> > vm = api.vms.get(name=vm_name)
> >
> > action = params.Action(
> > use_cloud_init=True,
> > vm=params.VM(
> >   initialization=params.Initialization(
> > regenerate_ssh_keys=True,
> > host_name=vm_fqdn,
> > nic_configurations=params.GuestNicsConfiguration(
> >   nic_configuration=[
> > params.GuestNicConfiguration(
> >   name="eth0",
> >   boot_protocol="static",
> >   on_boot=True,
> >   ip=params.IP(
> > address=vm_address,
> > netmask=vm_netmask,
> > gateway=vm_gateway,
> > ),
> >   ),
> > ],
> >   ),
> > ),
> >   ),
> > )
> >
> > vm.start(action)
> >
> >
> > On Tue, Mar 29, 2016 at 2:03 PM, Arpit Makhiyaviya
> > > wrote:
> >
> > Hello,
> > we are using ovirt api with json data format.
> > we have create vm from template and i want to set
> > ip,macaddress,user and password for that we are using cloud_init
> > for that we it can't set any options.
> >
>
>
> --
> 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

Re: [ovirt-users] VM get stuck randomly

2016-03-30 Thread Kevin Wolf
Am 27.03.2016 um 22:38 hat Christophe TREFOIS geschrieben:
> Hi,
> 
> MS does not like my previous email, so here it is again with a link to Dropbox
> instead of as attached.
> 
> ——
> Hi Nir,
> 
> Inside the core dump tarball is also the output of the two gdb commands you
> mentioned.
> 
> Understandbly, you might not want to download the big files for that, so I
> attached them here seperately.

The gdb dump looks pretty much like an idle qemu that just sits there
and waits for events. The vcpu threads seem to be running guest code,
the I/O thread and SPICE thread are in poll() waiting for events to
respond to, and finally the RCU thread is idle as well.

Does the qemu process still respond to monitor commands, so for example
can you still pause and resume the guest?

Kevin

> For the other logs, here you go.
> 
> For gluster I didn’t know which, so I sent all.
> 
> I got the icinga notifcation at 17:06 CEST on March 27th (today). So for vdsm,
> I provided logs from 16h-18h.
> The check said that the VM was down for 11 minutes at that time.
> 
> https://dl.dropboxusercontent.com/u/63261/bioservice-1.tar.gz
> 
> Please do let me know if there is anything else I can provide.
> 
> Best regards,
>  
> 
> > On 27 Mar 2016, at 21:24, Nir Soffer  wrote:
> >
> > On Sun, Mar 27, 2016 at 8:39 PM, Christophe TREFOIS
> >  wrote:
> >> Hi Nir,
> >>
> >> Here is another one, this time with strace of children and gdb dump.
> >>
> >> Interestingly, this time, the qemu seems stuck 0%, vs 100% for other cases.
> >>
> >> The files for strace are attached.
> >
> > Hopefully Kevin can take a look.
> >
> >
> >> The gdb + core dump is found here (too
> >> big):
> >>
> >> https://dl.dropboxusercontent.com/u/63261/gdb-core.tar.gz
> >
> > I think it will be more useful to extract a traceback of all threads
> > and send the tiny traceback.
> >
> > gdb --pid  --batch --eval-command='thread apply all bt'
> >
> >> If it helps, most machines get stuck on the host hosting the self-hosted
> >> engine, which runs a local 1-node glusterfs.
> >
> > And getting also /var/log/messages, sanlock, vdsm, glusterfs and
> > libvirt logs for this timeframe
> > would be helpful.
> >
> > Nir
> >
> >>
> >> Thank you for your help,
> >>
> >> —
> >> Christophe
> >>
> >> Dr Christophe Trefois, Dipl.-Ing.
> >> Technical Specialist / Post-Doc
> >>
> >> UNIVERSITÉ DU LUXEMBOURG
> >>
> >> LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
> >> Campus Belval | House of Biomedicine
> >> 6, avenue du Swing
> >> L-4367 Belvaux
> >> T: +352 46 66 44 6124
> >> F: +352 46 66 44 6949
> >> http://www.uni.lu/lcsb
> >>
> >>
> >>
> >> 
> >> This message is confidential and may contain privileged information.
> >> It is intended for the named recipient only.
> >> If you receive it in error please notify me and permanently delete the
> >> original message and any copies.
> >> 
> >>
> >>
> >>
> >>> On 25 Mar 2016, at 11:53, Nir Soffer  wrote:
> >>>
> >>> gdb --pid  --batch --eval-command='thread apply all bt'
> >>
> 


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