[ovirt-users] Host installation failed while creating a new host

2016-06-17 Thread Dewey Du
I got the error "Host  installation failed. Failed to configure
management network on the host.", when creating a new host.

Attached the supervdsm.log on the host.

restore-net::INFO::2016-06-18
08:26:22,018::netconfpersistence::62::root::(setNetwork) Adding network
ovirtmgmt({u'hostQos': {u'out': {u'ls': {u'm2': 50}}}, 'nic': u'em1',
u'ipaddr': u'10.0.100.17', u'switch': u'legacy', u'mtu': 1500, u'netmask':
u'255.255.255.0', u'STP': u'no', u'bridged': u'true', u'gateway':
u'10.0.100.2', u'defaultRoute': True})
restore-net::DEBUG::2016-06-18
08:26:22,028::netinfo::735::root::(_get_gateway) The gateway 10.0.100.2 is
duplicated for the device ovirtmgmt
restore-net::INFO::2016-06-18
08:26:22,028::netconfpersistence::187::root::(_clearDisk) Clearing
/var/run/vdsm/netconf/nets/ and /var/run/vdsm/netconf/bonds/
restore-net::DEBUG::2016-06-18
08:26:22,028::netconfpersistence::195::root::(_clearDisk) No existent
config to clear.
restore-net::INFO::2016-06-18
08:26:22,028::netconfpersistence::131::root::(save) Saved new config
RunningConfig({'ovirtmgmt': {u'hostQos': {u'out': {u'ls': {u'm2': 50}}},
'nic': u'em1', u'ipaddr': u'10.0.100.17', u'switch': u'legacy', u'mtu':
1500, u'netmask': u'255.255.255.0', u'STP': u'no', u'bridged': u'true',
u'gateway': u'10.0.100.2', u'defaultRoute': True}}, {}) to
/var/run/vdsm/netconf/nets/ and /var/run/vdsm/netconf/bonds/
restore-net::INFO::2016-06-18
08:26:22,029::vdsm-restore-net-config::447::root::(restore) restoration
completed successfully.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt Meetup Boston - MA

2016-06-17 Thread Douglas Landgraf
Join us next Monday for an evening of knowledge-sharing, networking,
and Q about the oVirt open-source project.

All skill levels are welcome! In this second meetup will be a live
install and demo of oVirt 4.0 beta.
The meetup will be hosted at the Red Hat office in Westford, drinks
and snacks will be provided.

Please RSVP to the event so that we can make sure everyone will be comfortable.

Looking forward to seeing you there!
http://www.meetup.com/Boston-oVirt-Community/



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


Re: [ovirt-users] VDI experience to share?

2016-06-17 Thread Fernando Fuentes
On that same note... I would love to deploy several Thin clients around
my house using a single Centos Server for my kids to use.
Is this still not possible?
Do I still have to assign each of my kids a vm?
 
Regards,
 
--
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org
 
 
 
On Wed, Jun 15, 2016, at 12:20 PM, Gianluca Cecchi wrote:
>
> Il 15/Giu/2016 17:29, "Giorgio Bersano"  ha
> scritto:
>  >
>  > 2016-06-15 12:21 GMT+02:00 Donny Davis :
>  > > Do you have a requirement for 3d acceleration on the VDI guests?
>  >
>  > On the first deployment no, it is basically for frontend and
>  > backend
>  > office activity.
>  > But we would probably also asked to try it for multimedia
>  > activities
>  > like casual guests watching internet videos at the local public
>  > library.
>  > So two different kind of devices, I suppose.
>  >
>  > Anything to suggest?
>  >
>  > Thank you,
>  > Giorgio.
>  > ___
>  > Users mailing list
>  > Users@ovirt.org
>  > http://lists.ovirt.org/mailman/listinfo/users
> Why not a nuc, or similar device from other vendors that are emerging?
>  I don't know for the lan security part, but you can find a nuc5cpyh
>  with celeron or nuc5ppyh with pentium respectively at 140 and 170
>  euros. Both have 6w tdp.
>  You have to add at least memory but with further 20 euros you
>  get 4gb.
>  Disk optional, you can use sdxc or boot from lan
>  Just a suggestion for further investigation.
>  I'm currently using a top line nuc6 as an hypervisor without any
>  problem with 3-4 vms, so I think a bottom line nuc can serve
>  optimally as a thin client without its costs.
>  Some of them have also Kensington anti theft that can be a good idea
>  due to their size.
>  Hih,
>  Gianluca
> _
> 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] VDI experience to share?

2016-06-17 Thread Michal Skrivanek

> On 15 Jun 2016, at 17:21, Giorgio Bersano  wrote:
> 
> 2016-06-15 12:26 GMT+02:00 Michal Skrivanek :
>> 
>>> On 15 Jun 2016, at 12:18, Giorgio Bersano  wrote:
>>> 
>>> Hi everyone,
>>> I've been asked to deploy a VDI solution based on our oVirt infrastructure.
>>> What we have in production is a 3.6 manager (standalone, not HE) with
>>> a 3.5 cluster (CentOS 6) and a 3.6 cluster (CentOS 7), iSCSI storage,
>>> fully redundant networking.
>>> 
>>> What is not clear to me is the client side, especially because we have
>>> been asked to implement a thin client solution but I've been almost
>>> unable to find suitable devices.
>> 
>> if that client can still be a PC, albeit diskless, it’s still easier and 
>> probably cheaper than any other special hw.
> 
> That's a worrying statement, we were explicitly asked for thin clients
> (low power, low noise, small form factor).

well, if it’s a requirement then it is perhaps worth it to look for them a bit 
more.
Though I would personally try to look for something looking as a thin client 
but being a “normal” desktop, and load it with a cut-down Linux (or Windows, 
whatever you fancy) and use remote-viewer. Better performance, better control, 
likely cheaper. I’m sure there are people stuffing a raspberry pi into a 
plastic box, charging $500, calling it a thin client:)

> 
>>> 
>>> Is there anyone in this list willing to share his/her experience on
>>> this topic? Probably my search skill is low but I've only seen
>>> references to IGEL. Other brands?

There are others, but indeed IGEL is probably the most prominent
In general the support matrix for oVirt would be the same as for corresponding 
RHEV version, so check with vendors.

>> 
>> not that i know of, and even that one had (or still have?) some issues with 
>> SPICE performance as it’s not kept up to date
> 
> That's even more worrisome.

depends what you need, if it’s nothing fancy it may be sufficient enough and 
provide good experience

Thanks,
michal
> 
> Thanks,
> Giorgio.

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


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-17 Thread Cam Mac
Hi Pavel,

Just to clarify: I've read on the virt-v2v page that you should remove the
VMware tools from the Windows VM before migration - for step 13 in your
list, does that apply only to non-windows VMs?

Cheers,

Cam

On Fri, Jun 17, 2016 at 10:54 AM, Cam Mac  wrote:

> Hi Pavel,
>
> I was testing an import of a Win 7 VM, though there are 2012 ones to
> import as well. Thanks for all those steps, I'll try them out.
>
> Cheers,
>
> Cam
>
> On Thu, Jun 16, 2016 at 7:31 PM, Pavel Gashev  wrote:
>
>> Cam,
>>
>>
>>
>> I did import vmware VMs, but it was not an easy procedure. Last time I
>> did it, there were the following issues:
>>
>> * oVirt engine didn't support 32bit VMs. If you have a 32bit VM in
>> vCenter, you are not able to see the list VMs to import.
>>
>> * There were issues if you have a cluster in vCenter. I had to setup a
>> proxy server to fix URLs on the fly, but then I've found a better way. See
>> below.
>>
>> * RHEL/CentOS virt-v2v does't support 2012 and greater. I had to use
>> virt-v2v from Fedora.
>>
>>
>>
>> Thus, if you want to convert it manually, the procedure is the following:
>>
>> 1. Install vdsm-hook-nestedvt on ovirt nodes, and reboot
>>
>> 2. Setup a VM with latest Fedora, install virt-v2v.
>>
>> 3. Mount your NFS storage inside v2v VM.
>>
>> 4. Move windows VMs to the same NFS storage.
>>
>> 5. Connect to vcenter using the following command:
>>
>> virsh -c vpx://vcenter/Folder/Datacenter/Cluster/server?no_verify=1
>>
>> 6. Find windows VM using 'list' command, and dump config using 'dumpxml
>> VMNAME/ID'
>>
>> 7. Edit the xml providing full path to vmdk images (see «source file=»)
>>
>> 8. Create appropriate VM in oVirt
>>
>> 9. Find new VM IDs using ovirt-shell
>>
>> 10. Make sure the source VM is stopped
>>
>> 11. Execute virt-v2v (make sure:
>>
>> virt-v2v -v -x -i libvirtxml VM.xml -o vdsm -of qcow2 -os
>> /nfs/b1b74392-8f46-4a25-aeef-5344ac692c73 --vdsm-image-uuid
>> 368487a5-d7f2-43d2-bd61-d15abbc5c482 --vdsm-vol-uuid
>> 2f56c6cd-a212-44e6-a792-447787f5b073 --vdsm-vm-uuid
>> 421e93a8-33d2-fc0e-4cfc-ac45a35db8c9
>>
>> 12. Fix resulting disk pemissions (chown 36:36 / chmod 0660)
>>
>> 13. Now you can start VM in oVirt. Remove vmware tools, and install oVirt
>> tools and drivers.
>>
>>
>>
>> I hope this helps.
>>
>>
>>
>> On 15/06/16 20:41, "users-boun...@ovirt.org on behalf of Cam Mac" <
>> users-boun...@ovirt.org on behalf of iuco...@gmail.com> wrote:
>>
>>
>>
>> Hi,
>>
>>
>>
>> I haven't had any luck using the oVirt GUI or virt-v2v (see earlier
>> email), and I need to find a way to migrate quite a few Windows hosts
>> (Windows 7, 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I
>> can make a compelling case for getting rid of VMware. Using OVF files looks
>> like a lot more manual work as compared to the GUI or virt-v2v, with their
>> nice conversion features.
>>
>>
>>
>> Any suggestions?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Cam
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Stuck process in the "Tasks" tab (webadmin interface)

2016-06-17 Thread Alexis HAUSER
hi,

I realized that I still have a process of creating a VM pool in the Tasks 
since...May 20...
How can I check if there is a stuck job or something still trying to do it ? If 
nothing is going on, how can I clear this from the event logs ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issues importing VMs in oVirt

2016-06-17 Thread Cam Mac
It is not visible in the default tree view, but if you go to
Home->Inventory->VMs and Templates you can see the folders.

The structure looks like:

nssesxi-mgmt
   --> North Sutton Street
--> Systems
 --> vm1 etc

Not sure why the cluster name disappears from this view.

Cheers,

Campbell

On Fri, Jun 17, 2016 at 12:25 PM, Pavel Gashev  wrote:

> So there is no Systems folder?
>
>
>
> Try:
>
> vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/nssesxi/
> nssesxi04-mgmt.ldn.arda.net?no_verify=1
>
>
>
>
>
> On 17/06/16 14:10, "Cam Mac"  wrote:
>
>
>
> Hi Pavel,
>
>
>
> I can't do a screenshot right now, but the structure in vCenter is:
>
>
>
> nssesxi-mgmt.ldn.arda.net
>
>   --> North Sutton Street
>
> --> nssesxi
>
>   --> nssesxi01-mgmt.ldn.arda.net
>
>nssesxi02-mgmt.ldn.arda.net
>
>nssesxi03-mgmt.ldn.arda.net
>
>nssesxi04-mgmt.ldn.arda.net
>
>nssesxi05-mgmt.ldn.arda.net
>
>
>
> I've tried fully qualified names, but the same error occurs.
>
>
>
> Cheers,
>
>
>
> Cam
>
>
>
> On Fri, Jun 17, 2016 at 11:15 AM, Pavel Gashev  wrote:
>
> Cam,
>
>
>
> It's another error. Now there is an issue with esxi server name –
> 'nssesxi04-mgmt'. It must be the same as appears in vcenter. A screenshot
> of vcenter tree would help.
>
>
>
> Please note, there is no need to double escape the URL.
>
>
>
> On 17/06/16 13:00, "Cam Mac"  wrote:
>
>
>
> Hi Pavel,
>
>
>
> I've tried those URLs (and quite a few other permutations) but get the
> following errors:
>
>
>
> vpx://ARDA%5ccam@nssesxi-mgmt
> /Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
>
>
>
> Enter ARDA\cam's password for nssesxi-mgmt:
>
> error: failed to connect to the hypervisor
>
> error: internal error: Could not find host system specified in '/North
> Sutton Street/Systems/nssesxi/nssesxi04-mgmt'
>
>
>
> vpx://ARDA%5ccam@nssesxi-mgmt
> /North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1
>
>
>
> Enter ARDA\cam's password for nssesxi-mgmt:
>
> error: failed to connect to the hypervisor
>
> error: internal error: Could not find host system specified in '/North
> Sutton Street/Systems/nssesxi/nssesxi04-mgmt'
>
>
>
> If I double escape the spaces with %2520, it reports it can't find the
> datacenter.
>
>
>
> Cheers,
>
>
>
> Campbell
>
>
>
>
>
>
>
> On Fri, Jun 17, 2016 at 10:45 AM, Pavel Gashev  wrote:
>
> Cam,
>
>
>
> I believe the URL must be the following:
>
> vpx://ARDA%5ccam@nssesxi-mgmt
> /Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
>
> or
>
> vpx://ARDA%5ccam@nssesxi-mgmt
> /North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1
>
>
>
>
>
> On 09/06/16 20:28, "users-boun...@ovirt.org on behalf of Cam Mac" <
> users-boun...@ovirt.org on behalf of iuco...@gmail.com> wrote:
>
>
>
> Hi,
>
>
>
> I am trying to import and convert some VMWare guests from a VMWare cluster
> with vCenter version 6, to a KVM (oVirt) host. The KVM node (RHEL 7.2) has
> virt-v2v 1.28.1, though I've also tried using Fedora 23 which has 1.32.4.
>
>
>
> The details are:
>
>
>
> vCenter server: nssesxi-mgmt
>
> Datacenter name: North Sutton Street
>
> esxi server which runs the VM: nssesxi-mgmt04
>
> folder name: Systems
>
> VM name: wvm2
>
> cluster name: nssesxi
>
>
>
> I tried via the 'Import' option in the oVirt GUI, and put the details
> above in, and after thinking about it for a while, it returns a 500
> internal server error. As I'm authing against AD, I put my username as
> cam@ARDA. I have attached the log (gzipped).
>
>
>
>
>
> I've also tried via the command line, and the result is much the same. I
> did post the below to the libvirt-users mailing list but have not had a
> response, so I thought I'd see if anyone here might know what is going on.
>
>
>
> Unfortunately, spaces were put in the name of the datacenter, so I escape
> them with %20
>
>
>
> So the final URI is constructed as:
>
>
>
> vpx:// 
>
>
>
> The error I get is:
>
>
>
> # virt-v2v -v -x -ic 
> vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1
> wvm2
>
> virt-v2v: libguestfs 1.28.1 (x86_64)
>
> [   0.0] Opening the source -i libvirt -ic 
> vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1
> wvm2
>
> input_libvirt_vcenter_https: source: scheme vpx server nssesxi-mgmt
>
> Enter ARDA\cam's password for nssesxi-mgmt:
>
> libvirt: ESX Driver error : internal error: Could not find compute
> resource specified in '/Systems/North Sutton Street/nssesxi04-mgmt'
>
> virt-v2v: error: internal error: invalid argument: cannot open libvirt
>
> connection
>
> 'vpx://ARDA%5ccam@nssesxi-mgmt
> /Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1'
>
>
>
> If reporting bugs, run virt-v2v with debugging enabled and include the

Re: [ovirt-users] migration failed with permission denied

2016-06-17 Thread Vinzenz Feenstra

> On Jun 17, 2016, at 12:47 PM, Vinzenz Feenstra  wrote:
> 
>> 
>> On Jun 17, 2016, at 12:42 PM, Michal Skrivanek > > wrote:
>> 
>> 
>>> On 17 Jun 2016, at 12:37, Fabrice Bacchella >> > wrote:
>>> 
>>> 
 Le 17 juin 2016 à 12:33, Vinzenz Feenstra > a écrit :
 
 
> On Jun 17, 2016, at 12:12 PM, Fabrice Bacchella 
> > 
> wrote:
> 
> 
>> Le 17 juin 2016 à 12:05, Vinzenz Feenstra > > a écrit :
>> 
>> Hi Fabrice,
>> 
>>> On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella 
>>> > 
>>> wrote:
>>> 
>>> I'm running an up to date ovirt setup.
>>> 
>>> I tried to put an host in maintenance mode, with one VM running on it.
>>> 
>>> It failed with this message in vdsm.log:
>>> 
> 
>>> libvirtError: internal error: process exited while connecting to 
>>> monitor: 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev 
>>> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait:
>>>  Failed to bind socket to 
>>> /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm:
>>>  Permission denied
>> 
>> This is pretty odd, could you please send me the out put of this:
>> 
>> # rpm -qa | grep vdsm
>> 
>> From the target and destination hosts. Thanks.
> 
>>> 
 
 Thanks.
 
 And on the destination server what are the access rights on 
 /var/lib/libvirt/qemu/channels? 
>>> On both:
>>> drwxrwxr-x 2 vdsm qemu 137 Jun 14 15:35 /var/lib/libvirt/qemu/channels
>>> drwxrwxr-x 2 vdsm qemu 6 May 24 16:03 /var/lib/libvirt/qemu/channels
>>> 
 And if you have SELinux enabled can you temporary set it to permissive on 
 the destination and try to migrate?
>>> 
>>> SELinux is disabled on both.
>> 
>> And was the VM started in the same SELinux state or did you change it 
>> afterwards while it was running?
> 
> It is disabled since installation (We moved the conversation for now to the 
> IRC) 
> 
> If we found a solution / reason I will respond to the thread to have it 
> documented.

So the reason for the errors is wrongly set ownership of the 
/var/lib/libvirt/qemu folder rwxr-x--x 8 oneadmin oneadmin 


> 
>> 
>>> 
>>> 
>>> ___
>>> 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] Fwd: Issues importing VMs in oVirt

2016-06-17 Thread Cam Mac
Hi Pavel,

I can't do a screenshot right now, but the structure in vCenter is:

nssesxi-mgmt.ldn.arda.net
  --> North Sutton Street
--> nssesxi
  --> nssesxi01-mgmt.ldn.arda.net
   nssesxi02-mgmt.ldn.arda.net
   nssesxi03-mgmt.ldn.arda.net
   nssesxi04-mgmt.ldn.arda.net
   nssesxi05-mgmt.ldn.arda.net

I've tried fully qualified names, but the same error occurs.

Cheers,

Cam

On Fri, Jun 17, 2016 at 11:15 AM, Pavel Gashev  wrote:

> Cam,
>
>
>
> It's another error. Now there is an issue with esxi server name –
> 'nssesxi04-mgmt'. It must be the same as appears in vcenter. A screenshot
> of vcenter tree would help.
>
>
>
> Please note, there is no need to double escape the URL.
>
>
>
> On 17/06/16 13:00, "Cam Mac"  wrote:
>
>
>
> Hi Pavel,
>
>
>
> I've tried those URLs (and quite a few other permutations) but get the
> following errors:
>
>
>
> vpx://ARDA%5ccam@nssesxi-mgmt
> /Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
>
>
>
> Enter ARDA\cam's password for nssesxi-mgmt:
>
> error: failed to connect to the hypervisor
>
> error: internal error: Could not find host system specified in '/North
> Sutton Street/Systems/nssesxi/nssesxi04-mgmt'
>
>
>
> vpx://ARDA%5ccam@nssesxi-mgmt
> /North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1
>
>
>
> Enter ARDA\cam's password for nssesxi-mgmt:
>
> error: failed to connect to the hypervisor
>
> error: internal error: Could not find host system specified in '/North
> Sutton Street/Systems/nssesxi/nssesxi04-mgmt'
>
>
>
> If I double escape the spaces with %2520, it reports it can't find the
> datacenter.
>
>
>
> Cheers,
>
>
>
> Campbell
>
>
>
>
>
>
>
> On Fri, Jun 17, 2016 at 10:45 AM, Pavel Gashev  wrote:
>
> Cam,
>
>
>
> I believe the URL must be the following:
>
> vpx://ARDA%5ccam@nssesxi-mgmt
> /Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
>
> or
>
> vpx://ARDA%5ccam@nssesxi-mgmt
> /North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1
>
>
>
>
>
> On 09/06/16 20:28, "users-boun...@ovirt.org on behalf of Cam Mac" <
> users-boun...@ovirt.org on behalf of iuco...@gmail.com> wrote:
>
>
>
> Hi,
>
>
>
> I am trying to import and convert some VMWare guests from a VMWare cluster
> with vCenter version 6, to a KVM (oVirt) host. The KVM node (RHEL 7.2) has
> virt-v2v 1.28.1, though I've also tried using Fedora 23 which has 1.32.4.
>
>
>
> The details are:
>
>
>
> vCenter server: nssesxi-mgmt
>
> Datacenter name: North Sutton Street
>
> esxi server which runs the VM: nssesxi-mgmt04
>
> folder name: Systems
>
> VM name: wvm2
>
> cluster name: nssesxi
>
>
>
> I tried via the 'Import' option in the oVirt GUI, and put the details
> above in, and after thinking about it for a while, it returns a 500
> internal server error. As I'm authing against AD, I put my username as
> cam@ARDA. I have attached the log (gzipped).
>
>
>
>
>
> I've also tried via the command line, and the result is much the same. I
> did post the below to the libvirt-users mailing list but have not had a
> response, so I thought I'd see if anyone here might know what is going on.
>
>
>
> Unfortunately, spaces were put in the name of the datacenter, so I escape
> them with %20
>
>
>
> So the final URI is constructed as:
>
>
>
> vpx:// 
>
>
>
> The error I get is:
>
>
>
> # virt-v2v -v -x -ic 
> vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1
> wvm2
>
> virt-v2v: libguestfs 1.28.1 (x86_64)
>
> [   0.0] Opening the source -i libvirt -ic 
> vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1
> wvm2
>
> input_libvirt_vcenter_https: source: scheme vpx server nssesxi-mgmt
>
> Enter ARDA\cam's password for nssesxi-mgmt:
>
> libvirt: ESX Driver error : internal error: Could not find compute
> resource specified in '/Systems/North Sutton Street/nssesxi04-mgmt'
>
> virt-v2v: error: internal error: invalid argument: cannot open libvirt
>
> connection
>
> 'vpx://ARDA%5ccam@nssesxi-mgmt
> /Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1'
>
>
>
> If reporting bugs, run virt-v2v with debugging enabled and include the
>
> complete output:
>
>
>
>   virt-v2v -v -x [...]
>
> #
>
>
>
>
>
> # virsh -c 
> 'vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1'
> list --all
>
> Enter ARDA\cam's password for nssesxi-mgmt:
>
> error: failed to connect to the hypervisor
>
> error: internal error: Could not find compute resource specified in
> '/Systems/North Sutton Street/nssesxi04-mgmt'
>
> #
>
>
>
> I can access via http a list of VMs at the following URL:
>
>
>
>
> https://nssesxi-mgmt/folder?dcPath=North%2520Sutton%2520Street=nssesxi%252dc2%252dr10%252dlun2
>
>
>
> Below is the URI to the vm itself (once shutdown, it gets the name
> 'vm2_1'):
>
>
>
>
> 

Re: [ovirt-users] Hosted engine on Ceph RBD

2016-06-17 Thread Nir Soffer
On Fri, Jun 17, 2016 at 5:30 AM, Fernando Frediani
 wrote:
> +1
>
>
>
> On 16/06/2016 23:14, Bond, Darryl wrote:
>>
>> Has there been any consideration of allowing the hosted engine to be
>> installed on a Ceph rbd.
>>
>> I'm not suggesting using cinder but addressing the rbd directly in the
>> hosted engine install process.
>>
>>
>> This would allow ceph only hosting of oVirt without another replicated
>> storage for the engine.

I agree that this would be nice, but unfortunately working with ceph storage
requires cinder. Engine is managing disks via cinder, and also manage
deployment of ceph secrets on the hosts that need access to the ceph.

For long term we want to support not only ceph but all storage supported
by cinder, leveraging cinder echo system.

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


Re: [ovirt-users] migration failed with permission denied

2016-06-17 Thread Vinzenz Feenstra

> On Jun 17, 2016, at 12:42 PM, Michal Skrivanek  
> wrote:
> 
> 
>> On 17 Jun 2016, at 12:37, Fabrice Bacchella > > wrote:
>> 
>> 
>>> Le 17 juin 2016 à 12:33, Vinzenz Feenstra >> > a écrit :
>>> 
>>> 
 On Jun 17, 2016, at 12:12 PM, Fabrice Bacchella 
 > wrote:
 
 
> Le 17 juin 2016 à 12:05, Vinzenz Feenstra  > a écrit :
> 
> Hi Fabrice,
> 
>> On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella 
>> > 
>> wrote:
>> 
>> I'm running an up to date ovirt setup.
>> 
>> I tried to put an host in maintenance mode, with one VM running on it.
>> 
>> It failed with this message in vdsm.log:
>> 
 
>> libvirtError: internal error: process exited while connecting to 
>> monitor: 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev 
>> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait:
>>  Failed to bind socket to 
>> /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm:
>>  Permission denied
> 
> This is pretty odd, could you please send me the out put of this:
> 
> # rpm -qa | grep vdsm
> 
> From the target and destination hosts. Thanks.
 
>> 
>>> 
>>> Thanks.
>>> 
>>> And on the destination server what are the access rights on 
>>> /var/lib/libvirt/qemu/channels? 
>> On both:
>> drwxrwxr-x 2 vdsm qemu 137 Jun 14 15:35 /var/lib/libvirt/qemu/channels
>> drwxrwxr-x 2 vdsm qemu 6 May 24 16:03 /var/lib/libvirt/qemu/channels
>> 
>>> And if you have SELinux enabled can you temporary set it to permissive on 
>>> the destination and try to migrate?
>> 
>> SELinux is disabled on both.
> 
> And was the VM started in the same SELinux state or did you change it 
> afterwards while it was running?

It is disabled since installation (We moved the conversation for now to the 
IRC) 

If we found a solution / reason I will respond to the thread to have it 
documented.

> 
>> 
>> 
>> ___
>> 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] migration failed with permission denied

2016-06-17 Thread Michal Skrivanek

> On 17 Jun 2016, at 12:37, Fabrice Bacchella  
> wrote:
> 
> 
>> Le 17 juin 2016 à 12:33, Vinzenz Feenstra > > a écrit :
>> 
>> 
>>> On Jun 17, 2016, at 12:12 PM, Fabrice Bacchella 
>>> > wrote:
>>> 
>>> 
 Le 17 juin 2016 à 12:05, Vinzenz Feenstra > a écrit :
 
 Hi Fabrice,
 
> On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella 
> > 
> wrote:
> 
> I'm running an up to date ovirt setup.
> 
> I tried to put an host in maintenance mode, with one VM running on it.
> 
> It failed with this message in vdsm.log:
> 
>>> 
> libvirtError: internal error: process exited while connecting to monitor: 
> 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev 
> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait:
>  Failed to bind socket to 
> /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm:
>  Permission denied
 
 This is pretty odd, could you please send me the out put of this:
 
 # rpm -qa | grep vdsm
 
 From the target and destination hosts. Thanks.
>>> 
> 
>> 
>> Thanks.
>> 
>> And on the destination server what are the access rights on 
>> /var/lib/libvirt/qemu/channels? 
> On both:
> drwxrwxr-x 2 vdsm qemu 137 Jun 14 15:35 /var/lib/libvirt/qemu/channels
> drwxrwxr-x 2 vdsm qemu 6 May 24 16:03 /var/lib/libvirt/qemu/channels
> 
>> And if you have SELinux enabled can you temporary set it to permissive on 
>> the destination and try to migrate?
> 
> SELinux is disabled on both.

And was the VM started in the same SELinux state or did you change it 
afterwards while it was running?

> 
> 
> ___
> 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] update eats maintenance reason

2016-06-17 Thread Sven Kieske
On 17/06/16 12:00, Fabrice Bacchella wrote:
> I put an host in maintenance with 'update reason' :
> 
> 
> maintenance
> update
> 
> 
> Then click "Upgrade in the GUI, the maintenance reason is gone :
> 
> maintenance
> 
> 
> Using the API gave the same result.

I'd suggest opening a bug report or RFE at bugzilla.redhat.com (ovirt
project).

HTH


-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +495772 293100
F: +495772 29
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] migration failed with permission denied

2016-06-17 Thread Fabrice Bacchella

> Le 17 juin 2016 à 12:33, Vinzenz Feenstra  a écrit :
> 
> 
>> On Jun 17, 2016, at 12:12 PM, Fabrice Bacchella 
>> > wrote:
>> 
>> 
>>> Le 17 juin 2016 à 12:05, Vinzenz Feenstra >> > a écrit :
>>> 
>>> Hi Fabrice,
>>> 
 On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella 
 > wrote:
 
 I'm running an up to date ovirt setup.
 
 I tried to put an host in maintenance mode, with one VM running on it.
 
 It failed with this message in vdsm.log:
 
>> 
 libvirtError: internal error: process exited while connecting to monitor: 
 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev 
 socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait:
  Failed to bind socket to 
 /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm:
  Permission denied
>>> 
>>> This is pretty odd, could you please send me the out put of this:
>>> 
>>> # rpm -qa | grep vdsm
>>> 
>>> From the target and destination hosts. Thanks.
>> 

> 
> Thanks.
> 
> And on the destination server what are the access rights on 
> /var/lib/libvirt/qemu/channels? 
On both:
drwxrwxr-x 2 vdsm qemu 137 Jun 14 15:35 /var/lib/libvirt/qemu/channels
drwxrwxr-x 2 vdsm qemu 6 May 24 16:03 /var/lib/libvirt/qemu/channels

> And if you have SELinux enabled can you temporary set it to permissive on the 
> destination and try to migrate?

SELinux is disabled on both.


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


Re: [ovirt-users] migration failed with permission denied

2016-06-17 Thread Vinzenz Feenstra

> On Jun 17, 2016, at 12:12 PM, Fabrice Bacchella 
>  wrote:
> 
> 
>> Le 17 juin 2016 à 12:05, Vinzenz Feenstra > > a écrit :
>> 
>> Hi Fabrice,
>> 
>>> On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella 
>>> > wrote:
>>> 
>>> I'm running an up to date ovirt setup.
>>> 
>>> I tried to put an host in maintenance mode, with one VM running on it.
>>> 
>>> It failed with this message in vdsm.log:
>>> 
> 
>>> libvirtError: internal error: process exited while connecting to monitor: 
>>> 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev 
>>> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait:
>>>  Failed to bind socket to 
>>> /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm:
>>>  Permission denied
>> 
>> This is pretty odd, could you please send me the out put of this:
>> 
>> # rpm -qa | grep vdsm
>> 
>> From the target and destination hosts. Thanks.
> 
> On the host I was trying to put on maintenance:
> vdsm-xmlrpc-4.17.28-0.el7.centos.noarch
> vdsm-4.17.28-0.el7.centos.noarch
> vdsm-infra-4.17.28-0.el7.centos.noarch
> vdsm-yajsonrpc-4.17.28-0.el7.centos.noarch
> vdsm-python-4.17.28-0.el7.centos.noarch
> vdsm-jsonrpc-4.17.28-0.el7.centos.noarch
> vdsm-hook-vmfex-dev-4.17.28-0.el7.centos.noarch
> vdsm-cli-4.17.28-0.el7.centos.noarch
> 
> And it was trying to send to an host with:
> vdsm-yajsonrpc-4.17.28-1.el7.noarch
> vdsm-cli-4.17.28-1.el7.noarch
> vdsm-python-4.17.28-1.el7.noarch
> vdsm-hook-vmfex-dev-4.17.28-1.el7.noarch
> vdsm-xmlrpc-4.17.28-1.el7.noarch
> vdsm-4.17.28-1.el7.noarch
> vdsm-infra-4.17.28-1.el7.noarch
> vdsm-jsonrpc-4.17.28-1.el7.noarch
> 
> And in the log about that:
> jsonrpc.Executor/1::DEBUG::2016-06-17 
> 11:39:57,233::__init__::503::jsonrpc.JsonRpcServer::(_serveRequest) Calling 
> 'VM.migrate' in bridge with {u'params': {u
> 'tunneled': u'false', u'dstqemu': u'XX.XX.XX.28', u'autoConverge': u'false', 
> u'src': u'nb0101.XXX', u'dst': u'nb0105.XXX:54321', u
> 'vmId': u'b82209c9-42ff-457c-bb98-b6a2034833fc', u'abortOnError': u'true', 
> u'compressed': u'false', u'method': u'online'}, u'vmID': 
> u'b82209c9-42ff-457c-bb9
> 8-b6a2034833fc'}
> jsonrpc.Executor/1::DEBUG::2016-06-17 11:39:57,234::API::547::vds::(migrate) 
> {u'tunneled': u'false', u'dstqemu': u'XX.XX.XX.28', u'autoConverge': 
> u'false', 
> u'src': u'nb0101.XXX', u'dst': u'nb0105.XXX:54321', u'vmId': 
> u'b82209c9-42ff-457c-bb98-b6a2034833fc', u'abortOnError': u'true', u'
> compressed': u'false', u'method': u'online’}

Thanks.

And on the destination server what are the access rights on 
/var/lib/libvirt/qemu/channels? 
And if you have SELinux enabled can you temporary set it to permissive on the 
destination and try to migrate?


> 

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


Re: [ovirt-users] Issues importing VMs in oVirt

2016-06-17 Thread Pavel Gashev
Cam,

It's another error. Now there is an issue with esxi server name – 
'nssesxi04-mgmt'. It must be the same as appears in vcenter. A screenshot of 
vcenter tree would help.

Please note, there is no need to double escape the URL.

On 17/06/16 13:00, "Cam Mac" > 
wrote:

Hi Pavel,

I've tried those URLs (and quite a few other permutations) but get the 
following errors:

vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1

Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find host system specified in '/North Sutton 
Street/Systems/nssesxi/nssesxi04-mgmt'

vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1

Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find host system specified in '/North Sutton 
Street/Systems/nssesxi/nssesxi04-mgmt'

If I double escape the spaces with %2520, it reports it can't find the 
datacenter.

Cheers,

Campbell



On Fri, Jun 17, 2016 at 10:45 AM, Pavel Gashev 
> wrote:
Cam,

I believe the URL must be the following:
vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
or
vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1


On 09/06/16 20:28, "users-boun...@ovirt.org on 
behalf of Cam Mac"  on 
behalf of iuco...@gmail.com> wrote:

Hi,

I am trying to import and convert some VMWare guests from a VMWare cluster with 
vCenter version 6, to a KVM (oVirt) host. The KVM node (RHEL 7.2) has virt-v2v 
1.28.1, though I've also tried using Fedora 23 which has 1.32.4.

The details are:

vCenter server: nssesxi-mgmt
Datacenter name: North Sutton Street
esxi server which runs the VM: nssesxi-mgmt04
folder name: Systems
VM name: wvm2
cluster name: nssesxi

I tried via the 'Import' option in the oVirt GUI, and put the details above in, 
and after thinking about it for a while, it returns a 500 internal server 
error. As I'm authing against AD, I put my username as cam@ARDA. I have 
attached the log (gzipped).


I've also tried via the command line, and the result is much the same. I did 
post the below to the libvirt-users mailing list but have not had a response, 
so I thought I'd see if anyone here might know what is going on.

Unfortunately, spaces were put in the name of the datacenter, so I escape them 
with %20

So the final URI is constructed as:

vpx://

Re: [ovirt-users] migration failed with permission denied

2016-06-17 Thread Fabrice Bacchella

> Le 17 juin 2016 à 12:05, Vinzenz Feenstra  a écrit :
> 
> Hi Fabrice,
> 
>> On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella 
>> > wrote:
>> 
>> I'm running an up to date ovirt setup.
>> 
>> I tried to put an host in maintenance mode, with one VM running on it.
>> 
>> It failed with this message in vdsm.log:
>> 

>> libvirtError: internal error: process exited while connecting to monitor: 
>> 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev 
>> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait:
>>  Failed to bind socket to 
>> /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm:
>>  Permission denied
> 
> This is pretty odd, could you please send me the out put of this:
> 
> # rpm -qa | grep vdsm
> 
> From the target and destination hosts. Thanks.

On the host I was trying to put on maintenance:
vdsm-xmlrpc-4.17.28-0.el7.centos.noarch
vdsm-4.17.28-0.el7.centos.noarch
vdsm-infra-4.17.28-0.el7.centos.noarch
vdsm-yajsonrpc-4.17.28-0.el7.centos.noarch
vdsm-python-4.17.28-0.el7.centos.noarch
vdsm-jsonrpc-4.17.28-0.el7.centos.noarch
vdsm-hook-vmfex-dev-4.17.28-0.el7.centos.noarch
vdsm-cli-4.17.28-0.el7.centos.noarch

And it was trying to send to an host with:
vdsm-yajsonrpc-4.17.28-1.el7.noarch
vdsm-cli-4.17.28-1.el7.noarch
vdsm-python-4.17.28-1.el7.noarch
vdsm-hook-vmfex-dev-4.17.28-1.el7.noarch
vdsm-xmlrpc-4.17.28-1.el7.noarch
vdsm-4.17.28-1.el7.noarch
vdsm-infra-4.17.28-1.el7.noarch
vdsm-jsonrpc-4.17.28-1.el7.noarch

And in the log about that:
jsonrpc.Executor/1::DEBUG::2016-06-17 
11:39:57,233::__init__::503::jsonrpc.JsonRpcServer::(_serveRequest) Calling 
'VM.migrate' in bridge with {u'params': {u
'tunneled': u'false', u'dstqemu': u'XX.XX.XX.28', u'autoConverge': u'false', 
u'src': u'nb0101.XXX', u'dst': u'nb0105.XXX:54321', u
'vmId': u'b82209c9-42ff-457c-bb98-b6a2034833fc', u'abortOnError': u'true', 
u'compressed': u'false', u'method': u'online'}, u'vmID': 
u'b82209c9-42ff-457c-bb9
8-b6a2034833fc'}
jsonrpc.Executor/1::DEBUG::2016-06-17 11:39:57,234::API::547::vds::(migrate) 
{u'tunneled': u'false', u'dstqemu': u'XX.XX.XX.28', u'autoConverge': u'false', 
u'src': u'nb0101.XXX', u'dst': u'nb0105.XXX:54321', u'vmId': 
u'b82209c9-42ff-457c-bb98-b6a2034833fc', u'abortOnError': u'true', u'
compressed': u'false', u'method': u'online'}

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


Re: [ovirt-users] migration failed with permission denied

2016-06-17 Thread Vinzenz Feenstra
Hi Fabrice,

> On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella 
>  wrote:
> 
> I'm running an up to date ovirt setup.
> 
> I tried to put an host in maintenance mode, with one VM running on it.
> 
> It failed with this message in vdsm.log:
> 
> Thread-351083::ERROR::2016-06-17 
> 11:30:04,732::migration::209::virt.vm::(_recover) 
> vmId=`b82209c9-42ff-457c-bb98-b6a2034833fc`::internal error: process exited 
> while connecting to monitor: 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev 
> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait:
>  Failed to bind socket to 
> /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm:
>  Permission denied
> ...
> Traceback (most recent call last):
>   File "/usr/share/vdsm/virt/migration.py", line 298, in run
> self._startUnderlyingMigration(time.time())
>   File "/usr/share/vdsm/virt/migration.py", line 364, in 
> _startUnderlyingMigration
> self._perform_migration(duri, muri)
>   File "/usr/share/vdsm/virt/migration.py", line 403, in _perform_migration
> self._vm._dom.migrateToURI3(duri, params, flags)
>   File "/usr/share/vdsm/virt/virdomain.py", line 68, in f
> ret = attr(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 
> 124, in wrapper
> ret = f(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 1313, in wrapper
> return func(inst, *args, **kwargs)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1836, in 
> migrateToURI3
> if ret == -1: raise libvirtError ('virDomainMigrateToURI3() failed', 
> dom=self)
> libvirtError: internal error: process exited while connecting to monitor: 
> 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev 
> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait:
>  Failed to bind socket to 
> /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm:
>  Permission denied

This is pretty odd, could you please send me the out put of this:

# rpm -qa | grep vdsm

From the target and destination hosts. Thanks.

> 
> If i check the file, I see :
> 
> srwxrwxr-x 1 qemu qemu 0 May 31 16:21 
> /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm
> 
> And on all my hosts, the permissions are the same:
> srwxrwxr-x 1 qemu qemu /var/lib/libvirt/qemu/channels/*
> 
> And vdsm is running vdsm:
> 4 S vdsm  3816 1  0  60 -20 - 947345 poll_s May25 ?   02:21:58 
> /usr/bin/python /usr/share/vdsm/vdsm
> 
> If I check vdsm groups:
> ~# id vdsm
> uid=36(vdsm) gid=36(kvm) groups=36(kvm),179(sanlock),107(qemu)
> 
> 
> 
> 
> ___
> 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] Issues importing VMs in oVirt

2016-06-17 Thread Cam Mac
Hi Pavel,

I've tried those URLs (and quite a few other permutations) but get the
following errors:

vpx://ARDA%5ccam@nssesxi-mgmt
/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1

Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find host system specified in '/North
Sutton Street/Systems/nssesxi/nssesxi04-mgmt'

vpx://ARDA%5ccam@nssesxi-mgmt
/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1

Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find host system specified in '/North
Sutton Street/Systems/nssesxi/nssesxi04-mgmt'

If I double escape the spaces with %2520, it reports it can't find the
datacenter.

Cheers,

Campbell



On Fri, Jun 17, 2016 at 10:45 AM, Pavel Gashev  wrote:

> Cam,
>
>
>
> I believe the URL must be the following:
>
> vpx://ARDA%5ccam@nssesxi-mgmt
> /Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
>
> or
>
> vpx://ARDA%5ccam@nssesxi-mgmt
> /North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1
>
>
>
>
>
> On 09/06/16 20:28, "users-boun...@ovirt.org on behalf of Cam Mac" <
> users-boun...@ovirt.org on behalf of iuco...@gmail.com> wrote:
>
>
>
> Hi,
>
>
>
> I am trying to import and convert some VMWare guests from a VMWare cluster
> with vCenter version 6, to a KVM (oVirt) host. The KVM node (RHEL 7.2) has
> virt-v2v 1.28.1, though I've also tried using Fedora 23 which has 1.32.4.
>
>
>
> The details are:
>
>
>
> vCenter server: nssesxi-mgmt
>
> Datacenter name: North Sutton Street
>
> esxi server which runs the VM: nssesxi-mgmt04
>
> folder name: Systems
>
> VM name: wvm2
>
> cluster name: nssesxi
>
>
>
> I tried via the 'Import' option in the oVirt GUI, and put the details
> above in, and after thinking about it for a while, it returns a 500
> internal server error. As I'm authing against AD, I put my username as
> cam@ARDA. I have attached the log (gzipped).
>
>
>
>
>
> I've also tried via the command line, and the result is much the same. I
> did post the below to the libvirt-users mailing list but have not had a
> response, so I thought I'd see if anyone here might know what is going on.
>
>
>
> Unfortunately, spaces were put in the name of the datacenter, so I escape
> them with %20
>
>
>
> So the final URI is constructed as:
>
>
>
> vpx:// 
>
>
>
> The error I get is:
>
>
>
> # virt-v2v -v -x -ic 
> vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1
> wvm2
>
> virt-v2v: libguestfs 1.28.1 (x86_64)
>
> [   0.0] Opening the source -i libvirt -ic 
> vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1
> wvm2
>
> input_libvirt_vcenter_https: source: scheme vpx server nssesxi-mgmt
>
> Enter ARDA\cam's password for nssesxi-mgmt:
>
> libvirt: ESX Driver error : internal error: Could not find compute
> resource specified in '/Systems/North Sutton Street/nssesxi04-mgmt'
>
> virt-v2v: error: internal error: invalid argument: cannot open libvirt
>
> connection
>
> 'vpx://ARDA%5ccam@nssesxi-mgmt
> /Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1'
>
>
>
> If reporting bugs, run virt-v2v with debugging enabled and include the
>
> complete output:
>
>
>
>   virt-v2v -v -x [...]
>
> #
>
>
>
>
>
> # virsh -c 
> 'vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1'
> list --all
>
> Enter ARDA\cam's password for nssesxi-mgmt:
>
> error: failed to connect to the hypervisor
>
> error: internal error: Could not find compute resource specified in
> '/Systems/North Sutton Street/nssesxi04-mgmt'
>
> #
>
>
>
> I can access via http a list of VMs at the following URL:
>
>
>
>
> https://nssesxi-mgmt/folder?dcPath=North%2520Sutton%2520Street=nssesxi%252dc2%252dr10%252dlun2
>
>
>
> Below is the URI to the vm itself (once shutdown, it gets the name
> 'vm2_1'):
>
>
>
>
> https://nssesxi-mgmt/folder/wvm2_1?dcPath=North%2520Sutton%2520Street=nssesxi%252dc1%252dr10%252dlun2
>
>
>
> Any ideas?
>
>
>
> Cheers,
>
>
>
> -Cam
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] update eats maintenance reason

2016-06-17 Thread Fabrice Bacchella
I put an host in maintenance with 'update reason' :


maintenance
update


Then click "Upgrade in the GUI, the maintenance reason is gone :

maintenance


Using the API gave the same result.


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


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-17 Thread Cam Mac
Hi Pavel,

I was testing an import of a Win 7 VM, though there are 2012 ones to import
as well. Thanks for all those steps, I'll try them out.

Cheers,

Cam

On Thu, Jun 16, 2016 at 7:31 PM, Pavel Gashev  wrote:

> Cam,
>
>
>
> I did import vmware VMs, but it was not an easy procedure. Last time I did
> it, there were the following issues:
>
> * oVirt engine didn't support 32bit VMs. If you have a 32bit VM in
> vCenter, you are not able to see the list VMs to import.
>
> * There were issues if you have a cluster in vCenter. I had to setup a
> proxy server to fix URLs on the fly, but then I've found a better way. See
> below.
>
> * RHEL/CentOS virt-v2v does't support 2012 and greater. I had to use
> virt-v2v from Fedora.
>
>
>
> Thus, if you want to convert it manually, the procedure is the following:
>
> 1. Install vdsm-hook-nestedvt on ovirt nodes, and reboot
>
> 2. Setup a VM with latest Fedora, install virt-v2v.
>
> 3. Mount your NFS storage inside v2v VM.
>
> 4. Move windows VMs to the same NFS storage.
>
> 5. Connect to vcenter using the following command:
>
> virsh -c vpx://vcenter/Folder/Datacenter/Cluster/server?no_verify=1
>
> 6. Find windows VM using 'list' command, and dump config using 'dumpxml
> VMNAME/ID'
>
> 7. Edit the xml providing full path to vmdk images (see «source file=»)
>
> 8. Create appropriate VM in oVirt
>
> 9. Find new VM IDs using ovirt-shell
>
> 10. Make sure the source VM is stopped
>
> 11. Execute virt-v2v (make sure:
>
> virt-v2v -v -x -i libvirtxml VM.xml -o vdsm -of qcow2 -os
> /nfs/b1b74392-8f46-4a25-aeef-5344ac692c73 --vdsm-image-uuid
> 368487a5-d7f2-43d2-bd61-d15abbc5c482 --vdsm-vol-uuid
> 2f56c6cd-a212-44e6-a792-447787f5b073 --vdsm-vm-uuid
> 421e93a8-33d2-fc0e-4cfc-ac45a35db8c9
>
> 12. Fix resulting disk pemissions (chown 36:36 / chmod 0660)
>
> 13. Now you can start VM in oVirt. Remove vmware tools, and install oVirt
> tools and drivers.
>
>
>
> I hope this helps.
>
>
>
> On 15/06/16 20:41, "users-boun...@ovirt.org on behalf of Cam Mac" <
> users-boun...@ovirt.org on behalf of iuco...@gmail.com> wrote:
>
>
>
> Hi,
>
>
>
> I haven't had any luck using the oVirt GUI or virt-v2v (see earlier
> email), and I need to find a way to migrate quite a few Windows hosts
> (Windows 7, 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I
> can make a compelling case for getting rid of VMware. Using OVF files looks
> like a lot more manual work as compared to the GUI or virt-v2v, with their
> nice conversion features.
>
>
>
> Any suggestions?
>
>
>
> Thanks,
>
>
>
> Cam
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issues importing VMs in oVirt

2016-06-17 Thread Pavel Gashev
Cam,

I believe the URL must be the following:
vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
or
vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1


On 09/06/16 20:28, "users-boun...@ovirt.org on 
behalf of Cam Mac"  on 
behalf of iuco...@gmail.com> wrote:

Hi,

I am trying to import and convert some VMWare guests from a VMWare cluster with 
vCenter version 6, to a KVM (oVirt) host. The KVM node (RHEL 7.2) has virt-v2v 
1.28.1, though I've also tried using Fedora 23 which has 1.32.4.

The details are:

vCenter server: nssesxi-mgmt
Datacenter name: North Sutton Street
esxi server which runs the VM: nssesxi-mgmt04
folder name: Systems
VM name: wvm2
cluster name: nssesxi

I tried via the 'Import' option in the oVirt GUI, and put the details above in, 
and after thinking about it for a while, it returns a 500 internal server 
error. As I'm authing against AD, I put my username as cam@ARDA. I have 
attached the log (gzipped).


I've also tried via the command line, and the result is much the same. I did 
post the below to the libvirt-users mailing list but have not had a response, 
so I thought I'd see if anyone here might know what is going on.

Unfortunately, spaces were put in the name of the datacenter, so I escape them 
with %20

So the final URI is constructed as:

vpx://

[ovirt-users] migration failed with permission denied

2016-06-17 Thread Fabrice Bacchella
I'm running an up to date ovirt setup.

I tried to put an host in maintenance mode, with one VM running on it.

It failed with this message in vdsm.log:

Thread-351083::ERROR::2016-06-17 
11:30:04,732::migration::209::virt.vm::(_recover) 
vmId=`b82209c9-42ff-457c-bb98-b6a2034833fc`::internal error: process exited 
while connecting to monitor: 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev 
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait:
 Failed to bind socket to 
/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm:
 Permission denied
...
Traceback (most recent call last):
  File "/usr/share/vdsm/virt/migration.py", line 298, in run
self._startUnderlyingMigration(time.time())
  File "/usr/share/vdsm/virt/migration.py", line 364, in 
_startUnderlyingMigration
self._perform_migration(duri, muri)
  File "/usr/share/vdsm/virt/migration.py", line 403, in _perform_migration
self._vm._dom.migrateToURI3(duri, params, flags)
  File "/usr/share/vdsm/virt/virdomain.py", line 68, in f
ret = attr(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 124, 
in wrapper
ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 1313, in wrapper
return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1836, in 
migrateToURI3
if ret == -1: raise libvirtError ('virDomainMigrateToURI3() failed', 
dom=self)
libvirtError: internal error: process exited while connecting to monitor: 
2016-06-17T09:30:04.429323Z qemu-kvm: -chardev 
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait:
 Failed to bind socket to 
/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm:
 Permission denied

If i check the file, I see :

srwxrwxr-x 1 qemu qemu 0 May 31 16:21 
/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm

And on all my hosts, the permissions are the same:
srwxrwxr-x 1 qemu qemu /var/lib/libvirt/qemu/channels/*

And vdsm is running vdsm:
4 S vdsm  3816 1  0  60 -20 - 947345 poll_s May25 ?   02:21:58 
/usr/bin/python /usr/share/vdsm/vdsm

If I check vdsm groups:
~# id vdsm
uid=36(vdsm) gid=36(kvm) groups=36(kvm),179(sanlock),107(qemu)




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


Re: [ovirt-users] VDI experience to share?

2016-06-17 Thread Alexis HAUSER

>we were looking for a  prepackaged solution because of the lack of
>human resources to devote to the project.
>But if pursuing this research becomes too exhausting we would probably
>develop a linux solution and in that case the kind of terminal you
>suggested is interesting indeed.

Hi, I'm currently trying to find a solution based on linux too.
If you're interested in details about my research and tests, I can make you a 
summary : 
On most linux thin client distributions, spicec and spicy are intergrated. 
Sadly, they are not real spice clients. 
As you can find on the spice documentation "spicec is an obsolete legacy 
client, and spicy is only a test application".
The only real Spice client yet is remote-viewer (part of virt-viewer package), 
by default it works with VNC, but if you want it also to support spice, you 
need spice-client-gtk (the name of this package can maybe vary betweem 
distributions).

Before developing a solution, you should maybe check Thinstation, which is a 
prepackaged solution that make you able to create your own ISO files for 
client. I made once some 65 MB client images. Yet it support very well RDP, ICA 
and VNC.
The only bad point with his solution is the fact remote-viewer and spice-client 
gtk aren't integrated yet. But it should be integrated soon (I'll work on that 
when I'll have time) but you can still compile it. However, it takes time to 
understand how to deal with Thinstation, but the result is really impressive.

There are also some other solutions like Netpoldo, but it's using old 
debian/ubuntu versions and doesn't seem to be still really alive... (and old 
remote-viewer versions don't really work properly, or when it does there is no 
sound, cf debian jessie)


I hope this helps. I'll try to post here when I will have a working setup from 
client side. I guess this is still in the topic as Giorgio was asking for 
sharing experience :)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users