[ovirt-users] Snapshot self-hosted engine?

2016-11-17 Thread Derek Atkins
I'm running ovirt 4.0.4 on a single-host with (of course) self-hosted engine.

Ovirt seems to assume in many cases that there are multiple hosts around
so you can manipulate one host while the engine is running on another,
etc.

But in the single-host case how do you take a snapshot of the hosted
engine?  When I click on Virtual Machines -> HostedEngine and then below
click on Snapshots and then Create, I get an error:

HostedEngine
  * Cannot create Snapshot. This VM is not managed by the engine.

So... How can one snapshot the engine (e.g. prior to updating it)?

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

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


[ovirt-users] Hook to add firewall rules

2016-11-17 Thread Claude Durocher

I've implemented sucessfully a hook to edit the configuration of some of my 
nics on my ovirt hosts.

Is there a way to add firewall rules (iptables) with vdsm hooks?
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Libguestfs] OVA import of FC21 VM hangs during virt-v2v conversion?

2016-11-17 Thread Derek Atkins
Hi,

On Thu, November 17, 2016 5:14 pm, Richard W.M. Jones wrote:
>
> Thanks for supplying the disk image.

you're welcome.

> I am able to reproduce this with the version of setfiles in RHEL 7.3,
> but not with the version in Fedora 24, so I guess this was fixed
> somewhere in between.

Oh, so it's setfiles on the HOST that gets run, not setfiles within the
guest?  Interesting.

> I'll try to narrow it down to a particular commit and send a bug
> report.

Can you please CC me on the bug report once you send it?
(my BZ id is warlord AT mit DOT edu)
Or I can CC myself if you supply me the bug#.

Thanks!

>
> Rich.

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

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


Re: [ovirt-users] [Libguestfs] OVA import of FC21 VM hangs during virt-v2v conversion?

2016-11-17 Thread Richard W.M. Jones

The bug is:
https://bugzilla.redhat.com/show_bug.cgi?id=1396297

Let's continue discussion there, if needed.

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] OVN Provider setup issues

2016-11-17 Thread Lance Richardson
> From: "Lance Richardson" 
> To: "Andrea Fagiani" 
> Cc: "Dan Kenigsberg" , users@ovirt.org, mmire...@redhat.com
> Sent: Wednesday, November 16, 2016 12:37:57 PM
> Subject: Re: [ovirt-users] OVN Provider setup issues
> 
> > From: "Andrea Fagiani" 
> > To: "Dan Kenigsberg" 
> > Cc: users@ovirt.org, "Lance Richardson" ,
> > mmire...@redhat.com
> > Sent: Wednesday, November 16, 2016 12:24:15 PM
> > Subject: Re: [ovirt-users] OVN Provider setup issues
> > 
> > On 16/11/2016 17:23, Dan Kenigsberg wrote:
> > > On Tue, Nov 08, 2016 at 09:21:13AM +0100, Andrea Fagiani wrote:
> > >> Hi all,
> > >>
> > >> I've been messing around with the ovirt-ovn-provider [1] and I've run
> > >> into
> > >> some issues during the initial setup.
> > >>
> > >> I have a 5-node cluster (running the hosted-engine VA), LEGACY virtual
> > >> switch; this test was done on a single host. Following the instructions
> > >> from
> > >> the aforementioned blog post, I have downloaded the ovirt-provider-ovn
> > >> and
> > >> ovirt-provider-ovn-driver rpms, and built the rpm packages for:
> > >>
> > >> - openvswitch (2.6.90)
> > >> - openvswitch-ovn-common
> > >> - openvswitch-ovn-host
> > >> - openvswitch-ovn-central
> > >> - python-openvswitch
> > >>
> > >> I set up a dedicated VM for the OVN controller, installed ovs and
> > >> ovn-central, started the ovn-northd and ovirt-provider-ovn services. So
> > >> far
> > >> so good. I then moved on to the oVirt host and installed the above
> > >> packages
> > >> (minus ovn-central) as well as the ovirt-provider-ovn-driver provided,
> > >> started the ovn-controller service and ran
> > >>
> > >> # vdsm-tool ovn-config  
> > >>
> > >> Executing the suggested checks I noticed that something didn't quite go
> > >> as
> > >> planned. Below is the /var/log/openvswitch/ovn-controller.log from the
> > >> host
> > >> machine. There are no firewalls involved (not even on the servers) and I
> > >> also tried disabling SELinux but to no avail.
> > >>
> > >> Any ideas?
> > >>
> > >> Thanks,
> > >> Andrea
> > >>
> > >> [1] http://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/
> > >>
> > >>
> > >> 2016-11-07T14:22:09.552Z|1|vlog|INFO|opened log file
> > >> /var/log/openvswitch/ovn-controller.log
> > >> 2016-11-07T14:22:09.553Z|2|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> > >> connecting...
> > >> 2016-11-07T14:22:09.553Z|3|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> > >> connected
> > >> 2016-11-07T14:22:09.555Z|4|reconnect|INFO|tcp:10.100.248.11:6642:
> > >> connecting...
> > >> 2016-11-07T14:22:09.555Z|5|reconnect|INFO|tcp:10.100.248.11:6642:
> > >> connected
> > >> 2016-11-07T14:22:09.556Z|6|ofctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting to switch
> > >> 2016-11-07T14:22:09.556Z|7|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting...
> > >> 2016-11-07T14:22:09.557Z|8|pinctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting to switch
> > >> 2016-11-07T14:22:09.557Z|9|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connecting...
> > >> 2016-11-07T14:22:09.557Z|00010|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connected
> > >> 2016-11-07T14:22:09.557Z|00011|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> > >> connected
> > >> 2016-11-07T14:22:09.558Z|00012|ofctrl|INFO|OpenFlow error: OFPT_ERROR
> > >> (OF1.3) (xid=0x9): OFPBMC_BAD_FIELD
> > >> OFPT_FLOW_MOD (OF1.3) (xid=0x9):
> > >> (***truncated to 64 bytes from 240***)
> > >>   04 0e 00 f0 00 00 00 09-00 00 00 00 00 00 00 00
> > >> ||
> > >> 0010  00 00 00 00 00 00 00 00-22 00 00 00 00 00 00 00
> > >> |"...|
> > >> 0020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00
> > >> ||
> > >> 0030  00 01 00 04 00 00 00 00-00 04 00 b8 00 00 00 00
> > >> ||
> > > Andrea, could you tell (mostly Lance) which kernel version are you
> > > using?
> > Here is the yum info output for the kernel package on the offending host:
> > 
> > Installed Packages
> > Name  : kernel
> > Arch: x86_64
> > Version   : 3.10.0
> > Release   : 327.36.3.el7
> > 
> > Andrea
> > 
> 
> OK, the 327 kernel did not support conntrack and cannot be used for OVN.
> 
> RHEL 7.3 or newer is the minimum requirement for OVN.
> 
>Lance
> 
> 

Hi Andrea,

If you'd like to avoid upgrading to 7.3, one workaround would be to
build and install the OVS kernel module RPM. The easiest way to build
the OVS kernel RPM would be, from the ovs directory where you already
executed "./boot.sh" and "./configure", to execute:

   make rpm-fedora-kmod

(Don't be misled by the name, this also works for CentOS and RHEL).

The resulting RPM will be under the ./rpm/RPMS/ directory, something
like:


Re: [ovirt-users] [Libguestfs] OVA import of FC21 VM hangs during virt-v2v conversion?

2016-11-17 Thread Derek Atkins
Hi,

On Thu, November 17, 2016 1:07 pm, Richard W.M. Jones wrote:
> On Thu, Nov 17, 2016 at 11:06:48AM -0500, Derek Atkins wrote:
>> Would you like a copy of the VMDK?  If so I can figure out how to make
>> it
>> available to you (privately).
>
> I can certainly have a go.  Can you post it on a website somewhere?

Yep.  I'll send you the URL privately.

> Rich.

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

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


Re: [ovirt-users] 2 Vlans on one VM nic

2016-11-17 Thread Gianluca Cecchi
Il 17/Nov/2016 16:37, "David MOUCHOIR"  ha scritto:
>
> Ok, I'll try to do so and will post the result
> The problem would be that I'll need one nic per different Vlan trunk if I
do not misunderstand
>
>
>
> Le jeudi 17 novembre 2016 à 16:50 +0200, Edward Haas a écrit :
> >
> >
> > On Thu, Nov 17, 2016 at 4:31 PM, David MOUCHOIR 
wrote:
> > > Hi
> > > Does anyone knows how to configure a VM nic with more than 1 vNIC ?
> > > Or How to create a vNIC with 2 tagged VLANs ?
> > >
> > > I need to transmit 2 tagged (or more) VLANs to only 1 interface in my
VM
> > >
> > > Regards
> > > D.Mouchoir

No, on the hypervisor side you will have a physical nic that you configure
as non tagged network in ovirt.
The port on the physical network switch where the physical nic connects
should be configured as a trunk and allow all the vlan ids you want it to
transport.
Then on the vm you configure one single vnic on this oVirt network and
configure at os level all the vlan ids you want into the vm itself. See
here for the methods landing page:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/ch-Configure_802_1Q_VLAN_Tagging.html
And this for the manual one and ifcfg files syntax:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Configure_802_1Q_VLAN_Tagging_Using_the_Command_Line.html

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


Re: [ovirt-users] [Libguestfs] OVA import of FC21 VM hangs during virt-v2v conversion?

2016-11-17 Thread Richard W.M. Jones
On Thu, Nov 17, 2016 at 11:06:48AM -0500, Derek Atkins wrote:
> Would you like a copy of the VMDK?  If so I can figure out how to make it
> available to you (privately).

I can certainly have a go.  Can you post it on a website somewhere?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [HELP] unmapping a deleted storage domain triggers crash ovirt

2016-11-17 Thread Nir Soffer
On Thu, Nov 17, 2016 at 5:48 PM, Andrea Ghelardi 
wrote:

> Hello again,
>
>
>
> Just to provide an update for future reference, I’ve been unable to sort
> this problem out.
>
> However, Ovirt4 does not show this failure.
>

Handling of unmapped luns was fixed in 3.6.

The best way is to upgrade to 3.6, and then upgrade to 4, and I think this
is also
the only supported upgrade path.


>
>
> My current approach to move VMs from one installation to another is:
>
> 1)Shutdown VM in ovirt3.
>
> 2)Maintenance VM storage - do you mean the storage server?
>
> 3)Clone VM storage at LUN level
>
> 4)Import cloned storage in ovirt4
>
> 5)Import VM in ovirt4
>
> If everything is ok:
>

You must put the storage domain to maintenance here.

Since we don't support yet removal of pv from a storage domain, you cannot
remove a lun from a storage, you must remove the entire storage domain.


> 6a)  detach + remove original VM storage in ovirt3
>
> 7a)  remove mappings for original VM storage LUN in ovirt3; this
> imply cluster instability (sanlock crash on hosts);
>
> 8a)  recover cluster; this implies shutting down host (and its VM)
> one by one
>
> 9a)  delete unmapped original LUN from storage manager
>

>
> When Sanlock freeze on host, the only solution found so far is to reboot
> it. This has to be done on all host experiencing this problem (which
> basically means: all hosts in the cluster)
>

If sanlock freezed it means that you unmapped a lun that was used by
sanlock.
This is not supported.


>
>
> Cheers
>
> AG
>
>
>
>
>
> *From:* Andrea Ghelardi
> *Sent:* Tuesday, November 08, 2016 16:40
> *To:* users@ovirt.org
> *Subject:* [HELP] unmapping a deleted storage domain triggers crash ovirt
>
>
>
> Hello people,
>
>
>
> something’s not right in my ovirt infrastructure.
>
> I currently have two different ovirt installation:
>
> Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6
>
> Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt
> 4.0.4
>
>
>
> I’m currently moving my guests from ovirt3 to ovirt4.
>
> Since iscsi storage is linked to both installations, my high level
> approach is:
>
> 1)  Shutdown VM in ovirt3.
>
> 2)  Maintenance + detach + remove VM storage in ovirt3
>
> 3)  Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4
>
> 4)  Import storage in ovirt4
>
> 5)  Import VM in ovirt4
>
> 6)  Run and cheers with high grade liquor. GOTO step 1 for different
> VM.
>
>
>
> Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes
> crazy and eventually forces me to reboot all hosts one by one.
>
> I tried different low level approaches to unmap LUN mpath’ed from hosts
> with inconsistent results.
>
> A notable error log extract is:
>
> Nov  8 15:30:52 sovana vdsm root ERROR Process failed with rc=1
> out='\nudevadm settle - timeout of 5 seconds reached, the event queue
> contains:\n  /sys/devices/virtual/block/dm-39 (8603)\n
> /sys/devices/virtual/block/dm-39 (8604)\n  /sys
>
> /devices/virtual/block/dm-39 (8605)\n  /sys/devices/virtual/block/dm-39
> (8606)\n  /sys/devices/virtual/block/dm-39 (8607)\n
> /sys/devices/virtual/block/dm-39 (8608)\n  /sys/devices/virtual/block/dm-39
> (8609)\n  /sys/devices/virtual/block
>
> /dm-39 (8610)\n  /sys/devices/virtual/block/dm-39 (8611)\n
> /sys/devices/virtual/block/dm-39 (8612)\n  /sys/devices/virtual/block/dm-39
> (8613)\n  /sys/devices/virtual/block/dm-39 (8614)\n
> /sys/devices/virtual/block/dm-39 (8615)\n  /sys/
>
> devices/virtual/block/dm-39 (8616)\n  /sys/devices/virtual/block/dm-39
> (8617)\n  /sys/devices/virtual/block/dm-39 (8618)\n
> /sys/devices/virtual/block/dm-39 (8619)\n  /sys/devices/virtual/block/dm-39
> (8620)\n  /sys/devices/virtual/block/
>
> dm-39 (8621)\n  /sys/devices/virtual/block/dm-39 (8622)\n
> /sys/devices/virtual/block/dm-39 (8623)\n  /sys/devices/virtual/block/dm-39
> (8624)\n  /sys/devices/virtual/block/dm-39 (8625)\n
> /sys/devices/virtual/block/dm-39 (8626)\n  /sys/d
>
> evices/virtual/block/dm-39 (8627)\n  /sys/devices/virtual/block/dm-39
> (8628)\n  /sys/devices/virtual/block/dm-39 (8629)\n
> /sys/devices/virtual/block/dm-39 (8630)\n  /sys/devices/virtual/block/dm-39
> (8631)\n  /sys/devices/virtual/block/d
>
> m-39 (8632)\n  /sys/devices/virtual/block/dm-39 (8633)\n
> /sys/devices/virtual/block/dm-39 (8634)\n  /sys/devices/virtual/block/dm-39
> (8635)\n  /sys/devices/virtual/block/dm-39 (8636)\n
> /sys/devices/virtual/block/dm-39 (8637)\n  /sys/de
>
> vices/virtual/block/dm-39 (8638)\n  /sys/devices/virtual/block/dm-39
> (8639)\n  /sys/devices/virtual/block/dm-39 (8640)\n
> /sys/devices/virtual/block/dm-39 (8641)\n  /sys/devices/virtual/block/dm-39
> (8642)\n  /sys/devices/virtual/block/dm
>
> -39 (8643)\n  /sys/devices/virtual/block/dm-39 (8644)\n
> /sys/devices/virtual/block/dm-39 (8645)\n  /sys/devices/virtual/block/dm-39
> 

Re: [ovirt-users] Adding Infiniband VM Network Fails

2016-11-17 Thread Pavel Gashev
I believe IP-over-Infiniband is an OSI level 3 transport, so it can’t be used 
in a level 2 (Ethernet) bridge. 

-Original Message-
From:  on behalf of "cl...@theboggios.com" 

Date: Wednesday 16 November 2016 at 22:10
To: "users@ovirt.org" 
Subject: [ovirt-users] Adding Infiniband VM Network Fails

Good Day;

I am trying to add an infiniband VM network to the hosts on my ovirt 
deployment, and the network configuration on the hosts fails to save. 
The network bridge is added successfully, but applying the bridge to the 
IB1 nic fails with little information other than it failed.

My system:

6 HV nodes running CentOS 7 and OV version 4
1 Dedicated engine running CentOS 7 and engine version 4 in 3.6 mode.

The HV nodes all have Mellanox IB cards, dual port. Port 0 is for iSCSI 
and NFS connectivity and runs fine. Port 1 is for VM usage of the 10Gb 
network.

Have any of you had any dealings with this ?


___
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] [HELP] unmapping a deleted storage domain triggers crash ovirt

2016-11-17 Thread Andrea Ghelardi
Hello again,

Just to provide an update for future reference, I've been unable to sort this 
problem out.
However, Ovirt4 does not show this failure.

My current approach to move VMs from one installation to another is:
1)Shutdown VM in ovirt3.
2)Maintenance VM storage
3)Clone VM storage at LUN level
4)Import cloned storage in ovirt4
5)Import VM in ovirt4
If everything is ok:
6a)  detach + remove original VM storage in ovirt3
7a)  remove mappings for original VM storage LUN in ovirt3; this imply 
cluster instability (sanlock crash on hosts);
8a)  recover cluster; this implies shutting down host (and its VM) one 
by one
9a)  delete unmapped original LUN from storage manager

When Sanlock freeze on host, the only solution found so far is to reboot it. 
This has to be done on all host experiencing this problem (which basically 
means: all hosts in the cluster)

Cheers
AG


From: Andrea Ghelardi
Sent: Tuesday, November 08, 2016 16:40
To: users@ovirt.org
Subject: [HELP] unmapping a deleted storage domain triggers crash ovirt

Hello people,

something's not right in my ovirt infrastructure.
I currently have two different ovirt installation:
Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6
Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt 4.0.4

I'm currently moving my guests from ovirt3 to ovirt4.
Since iscsi storage is linked to both installations, my high level approach is:

1)  Shutdown VM in ovirt3.

2)  Maintenance + detach + remove VM storage in ovirt3

3)  Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4

4)  Import storage in ovirt4

5)  Import VM in ovirt4

6)  Run and cheers with high grade liquor. GOTO step 1 for different VM.

Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes crazy 
and eventually forces me to reboot all hosts one by one.
I tried different low level approaches to unmap LUN mpath'ed from hosts with 
inconsistent results.
A notable error log extract is:
Nov  8 15:30:52 sovana vdsm root ERROR Process failed with rc=1 out='\nudevadm 
settle - timeout of 5 seconds reached, the event queue contains:\n  
/sys/devices/virtual/block/dm-39 (8603)\n  /sys/devices/virtual/block/dm-39 
(8604)\n  /sys
/devices/virtual/block/dm-39 (8605)\n  /sys/devices/virtual/block/dm-39 
(8606)\n  /sys/devices/virtual/block/dm-39 (8607)\n  
/sys/devices/virtual/block/dm-39 (8608)\n  /sys/devices/virtual/block/dm-39 
(8609)\n  /sys/devices/virtual/block
/dm-39 (8610)\n  /sys/devices/virtual/block/dm-39 (8611)\n  
/sys/devices/virtual/block/dm-39 (8612)\n  /sys/devices/virtual/block/dm-39 
(8613)\n  /sys/devices/virtual/block/dm-39 (8614)\n  
/sys/devices/virtual/block/dm-39 (8615)\n  /sys/
devices/virtual/block/dm-39 (8616)\n  /sys/devices/virtual/block/dm-39 (8617)\n 
 /sys/devices/virtual/block/dm-39 (8618)\n  /sys/devices/virtual/block/dm-39 
(8619)\n  /sys/devices/virtual/block/dm-39 (8620)\n  /sys/devices/virtual/block/
dm-39 (8621)\n  /sys/devices/virtual/block/dm-39 (8622)\n  
/sys/devices/virtual/block/dm-39 (8623)\n  /sys/devices/virtual/block/dm-39 
(8624)\n  /sys/devices/virtual/block/dm-39 (8625)\n  
/sys/devices/virtual/block/dm-39 (8626)\n  /sys/d
evices/virtual/block/dm-39 (8627)\n  /sys/devices/virtual/block/dm-39 (8628)\n  
/sys/devices/virtual/block/dm-39 (8629)\n  /sys/devices/virtual/block/dm-39 
(8630)\n  /sys/devices/virtual/block/dm-39 (8631)\n  
/sys/devices/virtual/block/d
m-39 (8632)\n  /sys/devices/virtual/block/dm-39 (8633)\n  
/sys/devices/virtual/block/dm-39 (8634)\n  /sys/devices/virtual/block/dm-39 
(8635)\n  /sys/devices/virtual/block/dm-39 (8636)\n  
/sys/devices/virtual/block/dm-39 (8637)\n  /sys/de
vices/virtual/block/dm-39 (8638)\n  /sys/devices/virtual/block/dm-39 (8639)\n  
/sys/devices/virtual/block/dm-39 (8640)\n  /sys/devices/virtual/block/dm-39 
(8641)\n  /sys/devices/virtual/block/dm-39 (8642)\n  
/sys/devices/virtual/block/dm
-39 (8643)\n  /sys/devices/virtual/block/dm-39 (8644)\n  
/sys/devices/virtual/block/dm-39 (8645)\n  /sys/devices/virtual/block/dm-39 
(8646)\n  /sys/devices/virtual/block/d

I really need your help to sort this out as I'm actually blocked in my task.

Why mapping changes triggers ovirt crash on a storage which ovirt should not 
care about?
Thanks


Andrea Ghelardi

+39 050 2203 71 | www.iongroup.com | 
a.ghela...@iontrading.com
Via San Martino, 52 - 56125 Pisa - ITALY

This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file 

Re: [ovirt-users] [Libguestfs] OVA import of FC21 VM hangs during virt-v2v conversion?

2016-11-17 Thread Derek Atkins
Hi,

On Thu, November 17, 2016 10:51 am, Richard W.M. Jones wrote:
> On Thu, Nov 17, 2016 at 09:57:47AM -0500, Derek Atkins wrote:
>> Hi,
>>
>> On Thu, November 17, 2016 4:11 am, Richard W.M. Jones wrote:
>> > On Wed, Nov 16, 2016 at 08:07:15PM -0500, Derek Atkins wrote:
>> >> I found the disk image for the running VM, created a symlink, and
>> then
>> >> ran
>> >> the command above.  It took a while:
>> >>
>> >> # time LIBGUESTFS_BACKEND=direct guestfish --ro -a fc21-64.qcow2 -i
>> >> selinux-relabel /etc/selinux/targeted/contexts/files/file_contexts /
>> >> force:true
>> >>
>> >> real  114m17.757s
>> >> user  114m16.476s
>> >> sys   0m6.042s
>> >
>> > That certainly demonstrates the bug.  I'm unclear why it would be
>> > happening, but perhaps you can run the following commands and send me
>> > the results:
>> >
>> > LIBGUESTFS_BACKEND=direct guestfish --ro -a fc21-64.qcow2 -i find / >
>> > files
>> >
>> > LIBGUESTFS_BACKEND=direct virt-cat -a fc21-64.qcow2
>> > /etc/selinux/targeted/contexts/files/file_contexts / > file_contexts
>>
>> See attached..  There are 184,431 entries in the file list.
>>
>> > rpm -qf /usr/sbin/setfiles > setfiles.version
>>
>> Did you want this on the host or in the guest?  On the host I get:
>> policycoreutils-2.2.5-20.el7.x86_64
>
> This is the same version I have.
>
>> There's really nothing private in the list of files on this machine.
>> It's
>> an openafs build slave.  :)
>
> Indeed there's a large number of .ccache files (over 5).

But that shouldn't be an issue, right?  In the scheme of things, 50,000
files isn't a lot.

> However even recreating this directory structure locally and using the
> same version of setfiles, I wasn't able to reproduce the problem.
> Runs of setfiles never took more than about 15 seconds.
>
> So, I don't know ..

Would you like a copy of the VMDK?  If so I can figure out how to make it
available to you (privately).

> Rich.

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

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


Re: [ovirt-users] EPEL and package(s) conflicts

2016-11-17 Thread lejeczek



On 15/11/16 13:51, knarra wrote:

[+soumya]
On 11/15/2016 06:51 PM, Simone Tiraboschi wrote:



On Tue, Nov 15, 2016 at 1:26 PM, lejeczek 
> wrote:


hi

I apologize if I missed it reading release(repo) note.
What are users supposed to do with EPEL repo?
I'm asking for hit this:

--> Package python-perf.x86_64 0:4.8.7-1.el7.elrepo
will be an update
--> Finished Dependency Resolution
Error: Package:
nfs-ganesha-gluster-2.3.0-1.el7.x86_64
(@ovirt-4.0-centos-gluster37)
   Requires: nfs-ganesha = 2.3.0-1.el7
   Removing: nfs-ganesha-2.3.0-1.el7.x86_64
(@ovirt-4.0-centos-gluster37)
   nfs-ganesha = 2.3.0-1.el7
   Updated By: nfs-ganesha-2.3.2-1.el7.x86_64
(epel)
   nfs-ganesha = 2.3.2-1.el7


Adding Sahina on this.
but would there be any advisory for now? repo 
disable/enable, exclude packages?

thanks.
L.



and I also wander if there might be more?
regards.
L.
___
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] [Libguestfs] OVA import of FC21 VM hangs during virt-v2v conversion?

2016-11-17 Thread Richard W.M. Jones
On Thu, Nov 17, 2016 at 09:57:47AM -0500, Derek Atkins wrote:
> Hi,
> 
> On Thu, November 17, 2016 4:11 am, Richard W.M. Jones wrote:
> > On Wed, Nov 16, 2016 at 08:07:15PM -0500, Derek Atkins wrote:
> >> I found the disk image for the running VM, created a symlink, and then
> >> ran
> >> the command above.  It took a while:
> >>
> >> # time LIBGUESTFS_BACKEND=direct guestfish --ro -a fc21-64.qcow2 -i
> >> selinux-relabel /etc/selinux/targeted/contexts/files/file_contexts /
> >> force:true
> >>
> >> real   114m17.757s
> >> user   114m16.476s
> >> sys0m6.042s
> >
> > That certainly demonstrates the bug.  I'm unclear why it would be
> > happening, but perhaps you can run the following commands and send me
> > the results:
> >
> > LIBGUESTFS_BACKEND=direct guestfish --ro -a fc21-64.qcow2 -i find / >
> > files
> >
> > LIBGUESTFS_BACKEND=direct virt-cat -a fc21-64.qcow2
> > /etc/selinux/targeted/contexts/files/file_contexts / > file_contexts
> 
> See attached..  There are 184,431 entries in the file list.
> 
> > rpm -qf /usr/sbin/setfiles > setfiles.version
> 
> Did you want this on the host or in the guest?  On the host I get:
> policycoreutils-2.2.5-20.el7.x86_64

This is the same version I have.

> There's really nothing private in the list of files on this machine.  It's
> an openafs build slave.  :)

Indeed there's a large number of .ccache files (over 5).

However even recreating this directory structure locally and using the
same version of setfiles, I wasn't able to reproduce the problem.
Runs of setfiles never took more than about 15 seconds.

So, I don't know ..

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 2 Vlans on one VM nic

2016-11-17 Thread David MOUCHOIR
Ok, I'll try to do so and will post the result
The problem would be that I'll need one nic per different Vlan trunk if I do 
not misunderstand



Le jeudi 17 novembre 2016 à 16:50 +0200, Edward Haas a écrit :
> 
> 
> On Thu, Nov 17, 2016 at 4:31 PM, David MOUCHOIR  
> wrote:
> > Hi
> > Does anyone knows how to configure a VM nic with more than 1 vNIC ?
> > Or How to create a vNIC with 2 tagged VLANs ?
> > 
> > I need to transmit 2 tagged (or more) VLANs to only 1 interface in my VM 
> > 
> > Regards
> > D.Mouchoir
> 
> You need to define a non-vlan network, attach it to a NIC that connects as a 
> trunk to the switch.
> The vNIC needs to be linked to this network and on the VM (console) itself, 
> define your VLAN/s over the vnic.
> 
> You will also need to disable mac-spoofing (on 4.0, you have it as a filter 
> in the GUI, on 3.6 you have a hook to disable it).
> 
> Let us know how it goes.
> Edy.
>  
> > ___
> > 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] 2 Vlans on one VM nic

2016-11-17 Thread Edward Haas
On Thu, Nov 17, 2016 at 4:31 PM, David MOUCHOIR 
wrote:

> Hi
> Does anyone knows how to configure a VM nic with more than 1 vNIC ?
> Or How to create a vNIC with 2 tagged VLANs ?
>
> I need to transmit 2 tagged (or more) VLANs to only 1 interface in my VM


> Regards
> D.Mouchoir
>

You need to define a non-vlan network, attach it to a NIC that connects as
a trunk to the switch.
The vNIC needs to be linked to this network and on the VM (console) itself,
define your VLAN/s over the vnic.

You will also need to disable mac-spoofing (on 4.0, you have it as a filter
in the GUI, on 3.6 you have a hook to disable it).

Let us know how it goes.
Edy.


> ___
> 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] OVN Provider setup issues

2016-11-17 Thread Lance Richardson
> From: "Dan Kenigsberg" 
> > OK, the 327 kernel did not support conntrack and cannot be used for OVN.
> > 
> > RHEL 7.3 or newer is the minimum requirement for OVN.
> 
> Lance, can you encode this requirement in openvswitch-ovn-host.rpm ?
> 
> Regards,
> Dan.
> 

Hi Dan,

The distribution rpms should have correct dependencies, but we don't
have those yet. Unfortunately there's no practical way to do that for
packages built from upstream sources.

We are looking into improving error messages for this condition in OVN,
FWIW, which will at least make it easier to spot.

Regards,

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


Re: [ovirt-users] Adding Infiniband VM Network Fails

2016-11-17 Thread Edward Haas
On Wed, Nov 16, 2016 at 10:01 PM, Clint Boggio  wrote:

> That is correct. The ib0 in all of the HV nodes are accessing iSCSI and
> NFS over that IB link successfully.
>
> What we are trying to do now is create a network that utilizes the second
> IB port (ib1) on the cards for some of the virtual machines that live
> inside the environment.
>
> > On Nov 16, 2016, at 1:40 PM, Markus Stockhausen 
> wrote:
> >
> > Hi,
> >
> > we are running Infiniband on the NFS storage network only. Did I get
> > it aight that this works or do you already have issues there?
> >
> > Best regards.
> >
> > Markus
> >
> > Web: www.collogia.de
> >
> > 
> > Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag
> von cl...@theboggios.com [cl...@theboggios.com]
> > Gesendet: Mittwoch, 16. November 2016 20:10
> > An: users@ovirt.org
> > Betreff: [ovirt-users] Adding Infiniband VM Network Fails
> >
> > Good Day;
> >
> > I am trying to add an infiniband VM network to the hosts on my ovirt
> > deployment, and the network configuration on the hosts fails to save.
> > The network bridge is added successfully, but applying the bridge to the
> > IB1 nic fails with little information other than it failed.
> >
> > My system:
> >
> > 6 HV nodes running CentOS 7 and OV version 4
> > 1 Dedicated engine running CentOS 7 and engine version 4 in 3.6 mode.
> >
> > The HV nodes all have Mellanox IB cards, dual port. Port 0 is for iSCSI
> > and NFS connectivity and runs fine. Port 1 is for VM usage of the 10Gb
> > network.
> >
> > Have any of you had any dealings with this ?
> >
>

Could you please share Engine and node vdsm logs?
(On the node, look for the vdsm.log and supervdsm.log)

Thanks,
Edy.


> >
> > ___
> > 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] 2 Vlans on one VM nic

2016-11-17 Thread David MOUCHOIR
Hi
Does anyone knows how to configure a VM nic with more than 1 vNIC ?
Or How to create a vNIC with 2 tagged VLANs ?

I need to transmit 2 tagged (or more) VLANs to only 1 interface in my VM

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


Re: [ovirt-users] Info on atomic images inside ovirt-image-repository

2016-11-17 Thread Gianluca Cecchi
On Wed, Nov 16, 2016 at 8:14 PM, Barak Yes, use cloud-init.
>
> You can import the image directly as a template and then edit the template
> to add nics and cloud-init configuration.
> (This way you can easily setup multipile preconfigured VMs from it. You
> don't have to use run-once for cloud-init).
>
> > Does the image correspond to the qcow2 one downloadable from
> > http://cloud.centos.org/centos/7/atomic/images/
>
> Yes.
> >
> > or does it contain any customization already related for deploying in
> oVirt itself?
>
> No, its the exact same image.
>
> HTH,
> Barak Korren.
>

Ok,
I imported the atomic image as a template, then I added a nic to it and
finally created a VM based on that template.
I specified to use "Cloud-Init/Sysprep" with parameters specified as in
this image:
https://drive.google.com/file/d/0BwoPbcrMv8mvaGF5QWRKSjFJVWM/view?usp=sharing

Some notes:
1) hostname got acquired
2) time zone acquired
3) username and his password got acquired
(btw: he/she has already ability to do "sudo su -", probably embedded in
the OS composition itself)
4) The network part is not so clear in my opinion
The line with the "Network" checkbox has an apparently drop down checkbox
that is initially empty but shows nothing selecting the arrow
If I understand correctly one should manually write inside? I did so.
Initially I thought about the oVirt network and put "ovirtmgmt", but then I
realized that it actually created an ifcfg-ovirmgmt file inside guest.
So I retested using "eth0" (as in screenshot).
And it got the correct ip/netmask/gw ok, but NOT dns

-bash-4.2# cat /etc/sysconfig/network
NETWORKING=yes
NOZEROCONF=yes
-bash-4.2#

-bash-4.2# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
TYPE=Ethernet
PERSISTENT_DHCLIENT=yes
NETMASK=255.255.255.0
IPADDR=192.168.150.108
GATEWAY=192.168.150.254
-bash-4.2#

It has been configured with NetworkManager:
-bash-4.2# systemctl status NetworkManager
● NetworkManager.service - Network Manager
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled;
vendor preset: enabled)
   Active: active (running) since Thu 2016-11-17 12:53:07 CET; 4min 33s ago
 Main PID: 724 (NetworkManager)
   Memory: 16.4M
   CGroup: /system.slice/NetworkManager.service
   └─724 /usr/sbin/NetworkManager --no-daemon

Nov 17 12:53:53 atomic NetworkManager[724]:   NetworkManager state is
...G
Nov 17 12:53:53 atomic NetworkManager[724]:   (eth0): device state
cha...]
Nov 17 12:53:53 atomic NetworkManager[724]:   (eth0): device state
cha...]
Nov 17 12:53:53 atomic NetworkManager[724]:   (eth0): device state
cha...]
Nov 17 12:53:53 atomic NetworkManager[724]:   (eth0): device state
cha...]
Nov 17 12:53:53 atomic NetworkManager[724]:   (eth0): device state
cha...]
Nov 17 12:53:53 atomic NetworkManager[724]:   NetworkManager state is
...L
Nov 17 12:53:53 atomic NetworkManager[724]:   NetworkManager state is
...L
Nov 17 12:53:53 atomic NetworkManager[724]:   Policy set 'System
eth0'
Nov 17 12:53:53 atomic NetworkManager[724]:   (eth0): Activation:
succ
Hint: Some lines were ellipsized, use -l to show in full.
-bash-4.2#

I don't know if fault for DNS is a matter of cloud-init, oVirt or image
composition

resolv.conf file contains:

-bash-4.2# cat /etc/resolv.conf
# Generated by NetworkManager
search localdomain


# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
-bash-4.2#

I can do further checks the VM is alive

Cominq back to the network config for cloud-init

The line "Select network above" is in my opinion not so intuitive in its
usage

I understood this way

a) you select a Network (eth0) in my case
the first time you explicitly put a name, then when you further add other
networks/nics, the dropdown is populated.

b) when you have a nic selected (eth0 in my case), its configuration is
shown in the lines below it
The first time you have to add it with the  "+" sign.
When you have more than a nic, every time you select a preconfigured one,
you can see its current config in the lines below.

Not better using multiple nic sections, instead of this
dropdown/dynamically changing ones?
The typical user will had 1 interface anyway.
When you accomodate 2-3 sections I doubt ther will be many usacase for
more, so that the size of the "New Virtual Machine" window shouldn't suffer
too much.

I hope I was able to explain my point of view... ;-)

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


Re: [ovirt-users] What is "hosted storage domain"?

2016-11-17 Thread Yedidyah Bar David
On Thu, Nov 17, 2016 at 12:38 PM, Nicolas Ecarnot  wrote:
> Le 16/11/2016 à 10:25, Nicolas Ecarnot a écrit :
>>
>> Cc to list, still asking.

Please see e.g.:

http://www.ovirt.org/develop/release-management/features/hosted-engine-configuration-on-shared-storage/

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

https://www.ovirt.org/develop/release-management/features/hosted-engine-vm-management/

IIUC all of above is already implemented. Some pages might be
out-of-date, generally bugzilla is more accurate (but less
descriptive).

>>
>>
>>  Message transféré 
>> Sujet : Re: [ovirt-users] Problem moving master storage domain to
>> maintenance
>> Date : Thu, 10 Nov 2016 10:53:04 +0100
>> De : Nicolas Ecarnot 
>> Organisation : Si peu...
>> Pour : Roy Golan 
>>
>> Le 10/11/2016 à 10:40, knarra a écrit :
>>>
>>> On 11/09/2016 06:26 PM, Roy Golan wrote:



 On 9 November 2016 at 14:49, knarra > wrote:

 Can some one please help me to understand the queries below.

 On 11/03/2016 06:43 PM, Maor Lipchuk wrote:
>
> Hi kasturi,
>
> Which version of oVirt are you using?

 Apologies for the late reply. I am using the latest master.
>
> Roy, I assume it is related to 4.0 version where the import of
> hosted storage domain was introduced.
>>
>>
>> Hi Roy,
>>
>> I'm jumping on this thread just to ask you what you mean by hosted
>> storage domain, and/or where could I read more about it.
>> I saw nothing obvious in the 4.0.0 release notes, so just wondering...
>>
>> Thank you
>>
>
>
> --
> Nicolas ECARNOT
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] What is "hosted storage domain"?

2016-11-17 Thread Simone Tiraboschi
On Thu, Nov 17, 2016 at 11:38 AM, Nicolas Ecarnot 
wrote:

> Le 16/11/2016 à 10:25, Nicolas Ecarnot a écrit :
>
>> Cc to list, still asking.
>>
>>
>>  Message transféré 
>> Sujet : Re: [ovirt-users] Problem moving master storage domain to
>> maintenance
>> Date : Thu, 10 Nov 2016 10:53:04 +0100
>> De : Nicolas Ecarnot 
>> Organisation : Si peu...
>> Pour : Roy Golan 
>>
>> Le 10/11/2016 à 10:40, knarra a écrit :
>>
>>> On 11/09/2016 06:26 PM, Roy Golan wrote:
>>>


 On 9 November 2016 at 14:49, knarra > wrote:

 Can some one please help me to understand the queries below.

 On 11/03/2016 06:43 PM, Maor Lipchuk wrote:

> Hi kasturi,
>
> Which version of oVirt are you using?
>
 Apologies for the late reply. I am using the latest master.

> Roy, I assume it is related to 4.0 version where the import of
> hosted storage domain was introduced.
>

>> Hi Roy,
>>
>> I'm jumping on this thread just to ask you what you mean by hosted
>> storage domain, and/or where could I read more about it.
>> I saw nothing obvious in the 4.0.0 release notes, so just wondering...
>>
>>
Hosted-engine meas that your engine is running on a virtual machine on one
of the hosts that it's managing.
In that case the engine VM should be stored into a dedicated storage domain
called hosted-engine storage domain.
In was like that also in the past, but now the engine also import and
manages that storage domain.



> Thank you
>>
>>
>
> --
> Nicolas ECARNOT
> ___
> 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] hide interface elements

2016-11-17 Thread Yaniv Dary
We don't have a role based UI. I recommend using the user portal\power user
portal or ManageIQ to get this capability.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


2016-11-17 12:21 GMT+02:00 vasily.lamy...@megafon.ru <
vasily.lamy...@megafon.ru>:

> How can I hide elements in ovirt-engine-web from user’s with no
> permissions for this element?
>
> *Ламыкин Василий*
>
> Старший инженер по эксплуатации сервисных платформ
>
> Столичный ф-ал ПАО "МегаФон
>
>
>
> +7 (926) 500-3308
>
> [image: МегаФон лого+знак РУС B2C]
>
>
>
> --
>
> Информация в этом сообщении предназначена исключительно для конкретных
> лиц, которым она адресована. В сообщении может содержаться конфиденциальная
> информация, которая не может быть раскрыта или использована кем-либо, кроме
> адресатов. Если вы не адресат этого сообщения, то использование,
> переадресация, копирование или распространение содержания сообщения или его
> части незаконно и запрещено. Если Вы получили это сообщение ошибочно,
> пожалуйста, незамедлительно сообщите отправителю об этом и удалите со всем
> содержимым само сообщение и любые возможные его копии и приложения.
>
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it. It may contain confidential or legally privileged
> information. The contents may not be disclosed or used by anyone other than
> the addressee. If you are not the intended recipient(s), any use,
> disclosure, copying, distribution or any action taken or omitted to be
> taken in reliance on it is prohibited and may be unlawful. If you have
> received this communication in error please notify us immediately by
> responding to this email and then delete the e-mail and all attachments and
> any copies thereof.
>
> (c)20mf50
>
> ___
> 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] Adding Infiniband VM Network Fails

2016-11-17 Thread Clint Boggio
That is correct. We are successfully using ib0 to access iSCSI and NFS on all 
nodes.

We are now trying to create a network for the VMs to use on ib1.

> On Nov 16, 2016, at 1:40 PM, "users-requ...@ovirt.org" 
>  wrote:
> 
> Adding Infiniband VM Network Fails

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


Re: [ovirt-users] user permission for add storage domain

2016-11-17 Thread vasily.lamy...@megafon.ru
I think it is not good. We need to give rights on the system, but in a way the 
user gets the right to operate in addition to its other clusters storage 
domains.
Thanks for your answer

Ламыкин Василий
Старший инженер по эксплуатации сервисных платформ
Столичный ф-ал ПАО "МегаФон

+7 (926) 500-3308


-Original Message-
From: Ondra Machacek [mailto:omach...@redhat.com]
Sent: Thursday, November 17, 2016 1:37 PM
To: Vasily Lamykin (MSK) ; users@ovirt.org
Subject: Re: [ovirt-users] user permission for add storage domain

On 11/17/2016 10:44 AM, vasily.lamy...@megafon.ru wrote:
> I create user in internal domain by ovirt-aaa-jdbc-tool, next, I grant
> him super-user role on cluster.

Your user have to have permissions on system. Because storage is system level 
object before assigned to DC.

>
> User can provide super-user operations, but he can’t add storage domain.
>
> I also grant to user storage-admin rights, but problem persist anyway.
>
>
>
> In web I see:
>
> Error while executing action: User is not authorized to perform this action.
>
>
>
> In ovirt-engine/engine.log I see:
>
> WARN
> [org.ovirt.engine.core.bll.storage.connection.AddStorageServerConnecti
> onCommand] (default task-79) [50876bd2] Validation of action
> 'AddStorageServerConnection' failed for user test-user@internal-authz.
> Reasons:
> VAR__ACTION__ADD,VAR__TYPE__STORAGE__CONNECTION,USER_NOT_AUTHORIZED_TO
> _PERFORM_ACTION
>
>
>
> *Ламыкин Василий*
>
> Старший инженер по эксплуатации сервисных платформ
>
> Столичный ф-ал ПАО "МегаФон
>
>
>
> +7 (926) 500-3308
>
> МегаФон лого+знак РУС B2C
>
>
>
>
> --
> --
>
> Информация в этом сообщении предназначена исключительно для конкретных
> лиц, которым она адресована. В сообщении может содержаться
> конфиденциальная информация, которая не может быть раскрыта или
> использована кем-либо, кроме адресатов. Если вы не адресат этого
> сообщения, то использование, переадресация, копирование или
> распространение содержания сообщения или его части незаконно и
> запрещено. Если Вы получили это сообщение ошибочно, пожалуйста,
> незамедлительно сообщите отправителю об этом и удалите со всем
> содержимым само сообщение и любые возможные его копии и приложения.
>
> The information contained in this communication is intended solely for
> the use of the individual or entity to whom it is addressed and others
> authorized to receive it. It may contain confidential or legally
> privileged information. The contents may not be disclosed or used by
> anyone other than the addressee. If you are not the intended
> recipient(s), any use, disclosure, copying, distribution or any action
> taken or omitted to be taken in reliance on it is prohibited and may
> be unlawful. If you have received this communication in error please
> notify us immediately by responding to this email and then delete the
> e-mail and all attachments and any copies thereof.
>
> (c)20mf50
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



Информация в этом сообщении предназначена исключительно для конкретных лиц, 
которым она адресована. В сообщении может содержаться конфиденциальная 
информация, которая не может быть раскрыта или использована кем-либо, кроме 
адресатов. Если вы не адресат этого сообщения, то использование, переадресация, 
копирование или распространение содержания сообщения или его части незаконно и 
запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно 
сообщите отправителю об этом и удалите со всем содержимым само сообщение и 
любые возможные его копии и приложения.

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. The 
contents may not be disclosed or used by anyone other than the addressee. If 
you are not the intended recipient(s), any use, disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. If you have received this communication in 
error please notify us immediately by responding to this email and then delete 
the e-mail and all attachments and any copies thereof.

(c)20mf50
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] What is "hosted storage domain"?

2016-11-17 Thread Nicolas Ecarnot

Le 16/11/2016 à 10:25, Nicolas Ecarnot a écrit :

Cc to list, still asking.


 Message transféré 
Sujet : Re: [ovirt-users] Problem moving master storage domain to
maintenance
Date : Thu, 10 Nov 2016 10:53:04 +0100
De : Nicolas Ecarnot 
Organisation : Si peu...
Pour : Roy Golan 

Le 10/11/2016 à 10:40, knarra a écrit :

On 11/09/2016 06:26 PM, Roy Golan wrote:



On 9 November 2016 at 14:49, knarra > wrote:

Can some one please help me to understand the queries below.

On 11/03/2016 06:43 PM, Maor Lipchuk wrote:

Hi kasturi,

Which version of oVirt are you using?

Apologies for the late reply. I am using the latest master.

Roy, I assume it is related to 4.0 version where the import of
hosted storage domain was introduced.


Hi Roy,

I'm jumping on this thread just to ask you what you mean by hosted
storage domain, and/or where could I read more about it.
I saw nothing obvious in the 4.0.0 release notes, so just wondering...

Thank you




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


Re: [ovirt-users] user permission for add storage domain

2016-11-17 Thread Ondra Machacek

On 11/17/2016 10:44 AM, vasily.lamy...@megafon.ru wrote:

I create user in internal domain by ovirt-aaa-jdbc-tool, next, I grant
him super-user role on cluster.


Your user have to have permissions on system. Because storage is system
level object before assigned to DC.



User can provide super-user operations, but he can’t add storage domain.

I also grant to user storage-admin rights, but problem persist anyway.



In web I see:

Error while executing action: User is not authorized to perform this action.



In ovirt-engine/engine.log I see:

WARN
[org.ovirt.engine.core.bll.storage.connection.AddStorageServerConnectionCommand]
(default task-79) [50876bd2] Validation of action
'AddStorageServerConnection' failed for user test-user@internal-authz.
Reasons:
VAR__ACTION__ADD,VAR__TYPE__STORAGE__CONNECTION,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION



*Ламыкин Василий*

Старший инженер по эксплуатации сервисных платформ

Столичный ф-ал ПАО "МегаФон



+7 (926) 500-3308

МегаФон лого+знак РУС B2C






Информация в этом сообщении предназначена исключительно для конкретных
лиц, которым она адресована. В сообщении может содержаться
конфиденциальная информация, которая не может быть раскрыта или
использована кем-либо, кроме адресатов. Если вы не адресат этого
сообщения, то использование, переадресация, копирование или
распространение содержания сообщения или его части незаконно и
запрещено. Если Вы получили это сообщение ошибочно, пожалуйста,
незамедлительно сообщите отправителю об этом и удалите со всем
содержимым само сообщение и любые возможные его копии и приложения.

The information contained in this communication is intended solely for
the use of the individual or entity to whom it is addressed and others
authorized to receive it. It may contain confidential or legally
privileged information. The contents may not be disclosed or used by
anyone other than the addressee. If you are not the intended
recipient(s), any use, disclosure, copying, distribution or any action
taken or omitted to be taken in reliance on it is prohibited and may be
unlawful. If you have received this communication in error please notify
us immediately by responding to this email and then delete the e-mail
and all attachments and any copies thereof.

(c)20mf50


___
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] hide interface elements

2016-11-17 Thread vasily.lamy...@megafon.ru
How can I hide elements in ovirt-engine-web from user's with no permissions for 
this element?
Ламыкин Василий
Старший инженер по эксплуатации сервисных платформ
Столичный ф-ал ПАО "МегаФон

+7 (926) 500-3308
[МегаФон лого+знак РУС B2C]




Информация в этом сообщении предназначена исключительно для конкретных лиц, 
которым она адресована. В сообщении может содержаться конфиденциальная 
информация, которая не может быть раскрыта или использована кем-либо, кроме 
адресатов. Если вы не адресат этого сообщения, то использование, переадресация, 
копирование или распространение содержания сообщения или его части незаконно и 
запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно 
сообщите отправителю об этом и удалите со всем содержимым само сообщение и 
любые возможные его копии и приложения.

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. The 
contents may not be disclosed or used by anyone other than the addressee. If 
you are not the intended recipient(s), any use, disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. If you have received this communication in 
error please notify us immediately by responding to this email and then delete 
the e-mail and all attachments and any copies thereof.

(c)20mf50
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Windows Server Container Support

2016-11-17 Thread Yaniv Kaul
On Thu, Nov 17, 2016 at 10:32 AM, Grundmann, Christian <
christian.grundm...@fabasoft.com> wrote:

> Hi,
>
> @ Probably because containers in Windows actually run inside VMs,
> therefore using nested Virtualization.
>
> that’s not true anymore for Server 2016,
>
> they have “real“ container Support now
>

Good to know. I've read differently at [1], but I may have not understood
it fully:
" In order to run Hyper-V containers, the Hyper-V role is required. If the
Windows container host is itself a Hyper-V virtual machine, nested
virtualization will need to be enabled before installing the Hyper-V role.
For more information on nested virtualization, see Nested Virtualization."

I think my confusion is between 'Windows Containers' and 'Hyper-V
Containers' (which are similar to running containers on Atomic guests, I
reckon, though we do not require nested virtualization for that).

The other article[2] hints at what changes are needed for networking to
work. Perhaps related to this issue.
Y.

[1]
https://msdn.microsoft.com/en-us/virtualization/windowscontainers/deployment/deployment
[2]
https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/user_guide/nesting


>
>
>
>
>
> *Von:* Yaniv Kaul [mailto:yk...@redhat.com]
> *Gesendet:* Mittwoch, 16. November 2016 23:13
> *An:* Grundmann, Christian 
> *Cc:* Gal Hammer ; Dan Kenigsberg ;
> users@ovirt.org
>
> *Betreff:* Re: [ovirt-users] Windows Server Container Support
>
>
>
> On Nov 16, 2016 7:54 PM, "Grundmann, Christian" <
> christian.grundm...@fabasoft.com> wrote:
> >
> > Hi,
> > i tried a few vnic configurations,
> > looks like it works with e1000
> > but with virtio i have the problem
> >
> > @ How did the VM die? Is there an error message in
> /var/log/vdsm/vdsm.log, or /var/log/libvirt/qemu/*
> > The VM dies at OS Level, it boots but most oft he services are not
> starting, so no network and many other things not working
>
> Probably because containers in Windows actually run inside VMs, therefore
> using nested Virtualization.
> Y.
>
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Dan Kenigsberg [mailto:dan...@redhat.com]
> > Gesendet: Mittwoch, 16. November 2016 17:48
> > An: Grundmann, Christian 
> > Cc: users@ovirt.org; gham...@redhat.com
> > Betreff: Re: [ovirt-users] Windows Server Container Support
> >
> > On Wed, Nov 16, 2016 at 12:28:30PM +, Grundmann, Christian wrote:
> > > Hi,
> > > I tried installing Windows Server 2016 and enabling Container Support
> > > and Docker But after enabling Docker, the VM dies.
> > > All Network related services are timeouting when booting the Server.
> > > If I unplug the NIC the VMs starts normally and Docker works
> > >
> > > I tried to enable the macspoof vdsm hook but it doesn't help
> > >
> > > Anything else I can try?
> > >
> > > Thx Christian
> >
> > Could you give more details?
> >
> > How did the VM die? Is there an error message in /var/log/vdsm/vdsm.log,
> or /var/log/libvirt/qemu/*
> >
> > How was the VM defined? Which type was the vNIC?
> > ___
> > 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] OVN Provider setup issues

2016-11-17 Thread Lance Richardson
> From: "Andrea Fagiani" 
> To: "Dan Kenigsberg" 
> Cc: users@ovirt.org, "Lance Richardson" , 
> mmire...@redhat.com
> Sent: Wednesday, November 16, 2016 12:24:15 PM
> Subject: Re: [ovirt-users] OVN Provider setup issues
> 
> On 16/11/2016 17:23, Dan Kenigsberg wrote:
> > On Tue, Nov 08, 2016 at 09:21:13AM +0100, Andrea Fagiani wrote:
> >> Hi all,
> >>
> >> I've been messing around with the ovirt-ovn-provider [1] and I've run into
> >> some issues during the initial setup.
> >>
> >> I have a 5-node cluster (running the hosted-engine VA), LEGACY virtual
> >> switch; this test was done on a single host. Following the instructions
> >> from
> >> the aforementioned blog post, I have downloaded the ovirt-provider-ovn and
> >> ovirt-provider-ovn-driver rpms, and built the rpm packages for:
> >>
> >> - openvswitch (2.6.90)
> >> - openvswitch-ovn-common
> >> - openvswitch-ovn-host
> >> - openvswitch-ovn-central
> >> - python-openvswitch
> >>
> >> I set up a dedicated VM for the OVN controller, installed ovs and
> >> ovn-central, started the ovn-northd and ovirt-provider-ovn services. So
> >> far
> >> so good. I then moved on to the oVirt host and installed the above
> >> packages
> >> (minus ovn-central) as well as the ovirt-provider-ovn-driver provided,
> >> started the ovn-controller service and ran
> >>
> >> # vdsm-tool ovn-config  
> >>
> >> Executing the suggested checks I noticed that something didn't quite go as
> >> planned. Below is the /var/log/openvswitch/ovn-controller.log from the
> >> host
> >> machine. There are no firewalls involved (not even on the servers) and I
> >> also tried disabling SELinux but to no avail.
> >>
> >> Any ideas?
> >>
> >> Thanks,
> >> Andrea
> >>
> >> [1] http://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/
> >>
> >>
> >> 2016-11-07T14:22:09.552Z|1|vlog|INFO|opened log file
> >> /var/log/openvswitch/ovn-controller.log
> >> 2016-11-07T14:22:09.553Z|2|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> >> connecting...
> >> 2016-11-07T14:22:09.553Z|3|reconnect|INFO|unix:/var/run/openvswitch/db.sock:
> >> connected
> >> 2016-11-07T14:22:09.555Z|4|reconnect|INFO|tcp:10.100.248.11:6642:
> >> connecting...
> >> 2016-11-07T14:22:09.555Z|5|reconnect|INFO|tcp:10.100.248.11:6642:
> >> connected
> >> 2016-11-07T14:22:09.556Z|6|ofctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connecting to switch
> >> 2016-11-07T14:22:09.556Z|7|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connecting...
> >> 2016-11-07T14:22:09.557Z|8|pinctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connecting to switch
> >> 2016-11-07T14:22:09.557Z|9|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connecting...
> >> 2016-11-07T14:22:09.557Z|00010|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connected
> >> 2016-11-07T14:22:09.557Z|00011|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt:
> >> connected
> >> 2016-11-07T14:22:09.558Z|00012|ofctrl|INFO|OpenFlow error: OFPT_ERROR
> >> (OF1.3) (xid=0x9): OFPBMC_BAD_FIELD
> >> OFPT_FLOW_MOD (OF1.3) (xid=0x9):
> >> (***truncated to 64 bytes from 240***)
> >>   04 0e 00 f0 00 00 00 09-00 00 00 00 00 00 00 00
> >> ||
> >> 0010  00 00 00 00 00 00 00 00-22 00 00 00 00 00 00 00
> >> |"...|
> >> 0020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00
> >> ||
> >> 0030  00 01 00 04 00 00 00 00-00 04 00 b8 00 00 00 00
> >> ||
> > Andrea, could you tell (mostly Lance) which kernel version are you
> > using?
> Here is the yum info output for the kernel package on the offending host:
> 
> Installed Packages
> Name  : kernel
> Arch: x86_64
> Version   : 3.10.0
> Release   : 327.36.3.el7
> 
> Andrea
> 

OK, the 327 kernel did not support conntrack and cannot be used for OVN.

RHEL 7.3 or newer is the minimum requirement for OVN.

   Lance

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


[ovirt-users] moving the hosted engine's storage after install

2016-11-17 Thread Ben De Luca
Hi,
   I was following the examples on this chain from the archives.
http://lists.ovirt.org/pipermail/users/2014-November/028995.html

   And I was able to move the hosted engine, I had to update the database
manually though to get the automatically imported storage domain to follow
it.

   I still have a problem with new hosted-engine install hosts. add new
host, hosted engine - tab select deploy. The
/etc/ovirt-hosted-engine/hosted-engine.conf file has the old details, any
clue where that is to update? Should I be in the DB again?


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


[ovirt-users] user permission for add storage domain

2016-11-17 Thread vasily.lamy...@megafon.ru
I create user in internal domain by ovirt-aaa-jdbc-tool, next, I grant him 
super-user role on cluster.
User can provide super-user operations, but he can't add storage domain.
I also grant to user storage-admin rights, but problem persist anyway.

In web I see:
Error while executing action: User is not authorized to perform this action.

In ovirt-engine/engine.log I see:
WARN  
[org.ovirt.engine.core.bll.storage.connection.AddStorageServerConnectionCommand]
 (default task-79) [50876bd2] Validation of action 'AddStorageServerConnection' 
failed for user test-user@internal-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__STORAGE__CONNECTION,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION

Ламыкин Василий
Старший инженер по эксплуатации сервисных платформ
Столичный ф-ал ПАО "МегаФон

+7 (926) 500-3308
[МегаФон лого+знак РУС B2C]




Информация в этом сообщении предназначена исключительно для конкретных лиц, 
которым она адресована. В сообщении может содержаться конфиденциальная 
информация, которая не может быть раскрыта или использована кем-либо, кроме 
адресатов. Если вы не адресат этого сообщения, то использование, переадресация, 
копирование или распространение содержания сообщения или его части незаконно и 
запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно 
сообщите отправителю об этом и удалите со всем содержимым само сообщение и 
любые возможные его копии и приложения.

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. The 
contents may not be disclosed or used by anyone other than the addressee. If 
you are not the intended recipient(s), any use, disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. If you have received this communication in 
error please notify us immediately by responding to this email and then delete 
the e-mail and all attachments and any copies thereof.

(c)20mf50
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot Migrate Hosted Engine

2016-11-17 Thread Edward Haas
On Thu, Nov 17, 2016 at 8:28 AM, Michal Skrivanek <
michal.skriva...@redhat.com> wrote:

>
> On 27 Oct 2016, at 15:54, knarra  wrote:
>
> Hi,
>
> I have installed latest upstream master on RHEL7.2. When i try to put
> a host in maintenance which runs HE vm i see that vm does not get migrated
> to another host and host is stuck in "preparing for maintenace" state. I
> see the following errors in the vdsm.log . Can you please help me
> understand why this error is seen?
>
>
> seems to be caused by OVS hook issue
> update to latest and try again, if it’s still not working remove the ovs
> hook(s)
>

This VM was created in a version that was missing the graphics parameter,
so I do not think an upgrade will help.
Maybe shutting down the VM after the system upgrade may help, but that is
not always practical.

The patch that aimed to fix this is this: https://gerrit.ovirt.org/#/c/64300
Unfortunately it is stuck on review.


>
>1. 2016-10-27 16:40:22,742 ERROR (Thread-3293) [virt.vm]
>(vmId='21e0e248-19bf-47b3-b72f-6a3740d9ff43') Hook script execution
>failed: internal error: Child process (LC_ALL=C PAT
>2. H=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
>/etc/libvirt/hooks/qemu HostedEngine migrate begin -) unexpected exit
>status 1: Traceback (most recent call last):
>3.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
>4. _process_domxml(tree)
>5.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 80, in
>_process_domxml
>6. _set_graphics(devices, target_vm_conf)
>7.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 156, in
>_set_graphics
>8. target_display_network, target_display_ip =
>_vmconf_display(target_vm_conf)
>9.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 177, in
>_vmconf_display
>10. raise VmMigrationHookError('VM conf graphics not detected')
>11. VmMigrationHookError: VM conf graphics not detected
>12. Traceback (most recent call last):
>13.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 201, in
>
>14. main(*sys.argv[1:])
>15.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
>16. _process_domxml(tree)
>17.   File "/usr/libexec/vdsm/vm_migrate_hoo (migration:261)
>18. 2016-10-27 16:40:22,757 ERROR (Thread-3293) [virt.vm]
>(vmId='21e0e248-19bf-47b3-b72f-6a3740d9ff43') Failed to migrate
>(migration:390)
>19. Traceback (most recent call last):
>20.   File "/usr/share/vdsm/virt/migration.py", line 372, in run
>21. self._startUnderlyingMigration(time.time())
>22.   File "/usr/share/vdsm/virt/migration.py", line 447, in
>_startUnderlyingMigration
>23. self._perform_with_downtime_thread(duri, muri)
>24.   File "/usr/share/vdsm/virt/migration.py", line 498, in
>_perform_with_downtime_thread
>25. self._perform_migration(duri, muri)
>26.   File "/usr/share/vdsm/virt/migration.py", line 485, in
>_perform_migration
>27. self._vm._dom.migrateToURI3(duri, params, flags)
>28.   File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py",
>line 69, in f
>29. ret = attr(*args, **kwargs)
>30.   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py",
>line 123, in wrapper
>31. ret = f(*args, **kwargs)
>32.   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 899,
>in wrapper
>33. return func(inst, *args, **kwargs)
>34.   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1836,
>in migrateToURI3
>35. :
>36. if ret == -1: raise libvirtError ('virDomainMigrateToURI3()
>failed', dom=self)
>37. libvirtError: Hook script execution failed: internal error: Child
>process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
>/etc/libvirt/hooks/qemu HostedEngine migrate begin -) unexpected exit
>status 1: Traceback (most recent call last):
>38.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
>39. _process_domxml(tree)
>40.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 80, in
>_process_domxml
>41. _set_graphics(devices, target_vm_conf)
>42.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 156, in
>_set_graphics
>43. target_display_network, target_display_ip =
>_vmconf_display(target_vm_conf)
>44.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 177, in
>_vmconf_display
>45. raise VmMigrationHookError('VM conf graphics not detected')
>46. VmMigrationHookError: VM conf graphics not detected
>47. Traceback (most recent call last):
>48.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 201, in
>
>49. main(*sys.argv[1:])
>50.   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
>51. _process_domxml(tree)
>52.   File "/usr/libexec/vdsm/vm_migrate_hoo
>
> Thanks
>
> kasturi.
> 

Re: [ovirt-users] Windows Server Container Support

2016-11-17 Thread Grundmann, Christian
Hi,
@ Probably because containers in Windows actually run inside VMs, therefore 
using nested Virtualization.
that’s not true anymore for Server 2016,
they have “real“ container Support now



Von: Yaniv Kaul [mailto:yk...@redhat.com]
Gesendet: Mittwoch, 16. November 2016 23:13
An: Grundmann, Christian 
Cc: Gal Hammer ; Dan Kenigsberg ; 
users@ovirt.org
Betreff: Re: [ovirt-users] Windows Server Container Support


On Nov 16, 2016 7:54 PM, "Grundmann, Christian" 
> 
wrote:
>
> Hi,
> i tried a few vnic configurations,
> looks like it works with e1000
> but with virtio i have the problem
>
> @ How did the VM die? Is there an error message in /var/log/vdsm/vdsm.log, or 
> /var/log/libvirt/qemu/*
> The VM dies at OS Level, it boots but most oft he services are not starting, 
> so no network and many other things not working

Probably because containers in Windows actually run inside VMs, therefore using 
nested Virtualization.
Y.

>
>
>
> -Ursprüngliche Nachricht-
> Von: Dan Kenigsberg [mailto:dan...@redhat.com]
> Gesendet: Mittwoch, 16. November 2016 17:48
> An: Grundmann, Christian 
> >
> Cc: users@ovirt.org; 
> gham...@redhat.com
> Betreff: Re: [ovirt-users] Windows Server Container Support
>
> On Wed, Nov 16, 2016 at 12:28:30PM +, Grundmann, Christian wrote:
> > Hi,
> > I tried installing Windows Server 2016 and enabling Container Support
> > and Docker But after enabling Docker, the VM dies.
> > All Network related services are timeouting when booting the Server.
> > If I unplug the NIC the VMs starts normally and Docker works
> >
> > I tried to enable the macspoof vdsm hook but it doesn't help
> >
> > Anything else I can try?
> >
> > Thx Christian
>
> Could you give more details?
>
> How did the VM die? Is there an error message in /var/log/vdsm/vdsm.log, or 
> /var/log/libvirt/qemu/*
>
> How was the VM defined? Which type was the vNIC?
> ___
> 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