[ovirt-users] Ovirt-engine self hostd

2019-04-19 Thread Dennis Perfors
Hi,

We have build Ovirt-engine self hosted. We have created 2 vlans 1 services and 
1 student. This works good.

Services vlan 192.168.60.0/24 gateway ip 192.168.60.1 on this card
Student vlan 192.168.10.0/24 gateway ip 192.168.10.1 on this network card
Everything seems to be oke, but the probem is on the vlan. 

On the node 192.168.60.3, there is no internet connection when we do yum update 
-y 

But there is no internet connection on the host. I cant do yum update -y or do 
anything else.

Here more information: 

^Chttp://mirror.cj2.nl/centos/7.6.1810/extras/x86_64/repodata/repomd.xml: 
[Errno 14] curl#56 - "Callback aborted"
Trying other mirror.
^Chttp://mirror.sitbv.nl/centos/7.6.1810/extras/x86_64/repodata/repomd.xml: 
[Errno 14] curl#56 - "Callback aborted"
Trying other mirror.
http://mirror.serverius.net/centos/7.6.1810/extras/x86_64/repodata/repomd.xml: 
[Errno 14] curl#7 - "Failed to connect to 2a03:3f40:1::15: Network is 
unreachable"


[root@bastion ~]# ping nu.nl
PING nu.nl (52.85.140.48) 56(84) bytes of data.
64 bytes from server-52-85-140-48.man50.r.cloudfront.net (52.85.140.48): 
icmp_seq=1 ttl=241 time=12.8 ms
^C

[root@bastion ~]# ping alibabia.com
PING alibabia.com (137.175.26.243) 56(84) bytes of data.
64 bytes from 137.175.26.243 (137.175.26.243): icmp_seq=1 ttl=115 time=144 ms
64 bytes from 137.175.26.243 (137.175.26.243): icmp_seq=2 ttl=115 time=144 ms
^C

ipv4.method:manual
ipv4.dns:   1.1.1.1
ipv4.dns-search:--
ipv4.dns-options:   ""
ipv4.dns-priority:  0
ipv4.addresses: 192.168.60.3/24
ipv4.gateway:   192.168.60.1
ipv4.routes:--
ipv4.route-metric:  -1
ipv4.route-table:   0 (unspec)
ipv4.ignore-auto-routes:no
ipv4.ignore-auto-dns:   no


public (active)
  target: default
  icmp-block-inversion: no
  interfaces: ovirtmgmt
  sources: 
  services: ssh dhcpv6-client ovirt-postgres ovirt-https 
ovn-central-firewall-service ovirt-fence-kdump-listener ovirt-imageio-proxy 
ovirt-websocket-proxy ovirt-http ovirt-vmconsole-proxy ovirt-provider-ovn https 
http cockpit libvirt-tls snmp vdsm ovirt-imageio ovirt-vmconsole
  ports: 9986/tcp 22/tcp 6081/udp 6100/tcp
  protocols: 
  masquerade: yes
  forward-ports: port=1337:proto=tcp:toport=22:toaddr=192.168.60.3
port=80:proto=tcp:toport=80:toaddr=192.168.60.5
  source-ports: 
  icmp-blocks: 
  rich rules: 
rule family="ipv4" source address="0.0.0.0/24" accept
[root@athena ~]# 


Portfowarding also works to the host 192.168.60.3. so that is no poiint. But 
only traffic from the insidehost to outside is not working.

Thanks
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VQMPBQWOWMW6ZB3WHLQR3UJ3ZIZECI52/


[ovirt-users] FW: virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-06-08 Thread Will Dennis
Fwd'g to list to continue to thread...

-Original Message-
From: Will Dennis 
Sent: Wednesday, June 08, 2016 11:55 AM
To: 'Simone Tiraboschi'
Subject: RE: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

OK, I did, and... Still not getting DHCP IP's assigned on the containers 
running in the VM...

Again, I see the DHCP packets coming in on the 'vnet0' int on the oVirt 
hypervisor hosts having the VM which has the containers:
[root@ovirt-node-03 ~]# tcpdump -i vnet0 -vvv -s 1500 '(port 67 or port 68)'
11:13:38.689970 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP 
(17), length 328)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request 
from 32:33:32:64:30:65 (oui Unknown), length 300, xid 0xd0f70f67, secs 247, 
Flags [none] (0x)
  Client-Ethernet-Address 32:33:32:64:30:65 (oui Unknown)
  Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Hostname Option 12, length 9: "blitsnorp"
Parameter-Request Option 55, length 13:
  Subnet-Mask, BR, Time-Zone, Default-Gateway
  Domain-Name, Domain-Name-Server, Option 119, Hostname
  Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
  NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 30

But I do not see the MAC from the container in the relevant oVirt bridge that 
the VM is connected to (in this case, port 3 on the bridge):
[root@ovirt-node-03 ~]# brctl showmacs 207-net | grep "^  3"
  3 00:1a:4a:16:01:57   no 0.13 (VM eth0 MAC)
  3 fe:1a:4a:16:01:57   yes0.00 (veth connection from 
VM)
  3 fe:1a:4a:16:01:57   yes0.00 (why are two showing???)
(notice no entry for MAC 32:33:32:64:30:65 from the container on the VM)



-Original Message-
From: Simone Tiraboschi [mailto:stira...@redhat.com] 
Sent: Wednesday, June 08, 2016 10:54 AM
To: Will Dennis
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

On Wed, Jun 8, 2016 at 4:50 PM, Will Dennis <wden...@nec-labs.com> wrote:
> OK, installed on all hypervisor hosts (and the engine host as well) - do I 
> need to bounce the VMs having containers now, or not?

Yes, of course: you have to reboot all the involved VMs.

> -Original Message-
> From: Simone Tiraboschi [mailto:stira...@redhat.com]
> Sent: Wednesday, June 08, 2016 10:44 AM
> To: Will Dennis
> Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
> in a oVirt VM
>
> On Wed, Jun 8, 2016 at 4:38 PM, Will Dennis <wden...@nec-labs.com> wrote:
>> OK. This goes on just the engine host, or on the hypervisor hosts? (or both?)
>
> On all the hosted-engine hosts
>
>> Also (and not trying to be insulting here), is this documented anywhere? I 
>> didn't run across this dependency in anything I read...
>
> Good question
>
>> -Original Message-
>> From: Simone Tiraboschi [mailto:stira...@redhat.com]
>> Sent: Wednesday, June 08, 2016 10:31 AM
>> To: Will Dennis
>> Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a 
>> container in a oVirt VM
>>
>> On Wed, Jun 8, 2016 at 4:27 PM, Will Dennis <wden...@nec-labs.com> wrote:
>>> No, I didn't see (notice) that step / instructions anywhere... How to do 
>>> that?
>>>
>>> -Original Message-
>>> From: Simone Tiraboschi [mailto:stira...@redhat.com]
>>> Sent: Wednesday, June 08, 2016 10:23 AM
>>> To: Will Dennis
>>> Cc: jvdw...@xs4all.nl; users@ovirt.org; Michal Skrivanek
>>> Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a 
>>> container in a oVirt VM
>>>
>>>
>>> Did you also correctly installed vdsm-hook-macspoof on all of your 
>>> hosted-engine hosts?
>>
>> yum install vdsm-hook-macspoof
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-06-08 Thread Will Dennis
No, I didn't see (notice) that step / instructions anywhere... How to do that?

-Original Message-
From: Simone Tiraboschi [mailto:stira...@redhat.com] 
Sent: Wednesday, June 08, 2016 10:23 AM
To: Will Dennis
Cc: jvdw...@xs4all.nl; users@ovirt.org; Michal Skrivanek
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM


Did you also correctly installed vdsm-hook-macspoof on all of your 
hosted-engine hosts?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-06-08 Thread Will Dennis
FYI, here are the results of 'engine-config -g [...]' on my engine VM:

[root@ovirt-engine-01 ~]# sudo engine-config -g UserDefinedVMProperties
UserDefinedVMProperties:  version: 3.0
UserDefinedVMProperties:  version: 3.1
UserDefinedVMProperties:  version: 3.2
UserDefinedVMProperties:  version: 3.3
UserDefinedVMProperties:  version: 3.4
UserDefinedVMProperties:  version: 3.5
UserDefinedVMProperties: macspoof=(true|false) version: 3.6

[root@ovirt-engine-01 ~]# sudo engine-config -g CustomDeviceProperties
CustomDeviceProperties:  version: 3.0
CustomDeviceProperties:  version: 3.1
CustomDeviceProperties:  version: 3.2
CustomDeviceProperties:  version: 3.3
CustomDeviceProperties: 
{type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
 *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.4
CustomDeviceProperties: 
{type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
 *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.5
CustomDeviceProperties: 
{type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
 *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.6


-Original Message-
From: Will Dennis 
Sent: Wednesday, June 08, 2016 10:14 AM
To: 'Simone Tiraboschi'
Cc: jvdw...@xs4all.nl; users@ovirt.org; Michal Skrivanek
Subject: RE: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

Hi Simone,

These are the instructions I followed, which I found at: 
https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/


Adding VM custom properties (macspoof)
  # engine-config -s "UserDefinedVMProperties=macspoof=(true|false)" 
  # service ovirt-engine restart 

In order to deactivate mac spoof filtering on a VM:

1. Bring down the VM
2. edit the VM
3. Click advanced
4. Custom properties
5. Add a key
6. elect macspoof
7. Type true as the value  <<<
8. Start the VM


I did indeed do this. See the attached UI pic from one of the VMs I edited. So 
I take it that this did not properly alter the 'filterref' attribute properly?

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


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-06-08 Thread Will Dennis
Hi Simone,

These are the instructions I followed, which I found at: 
https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/


Adding VM custom properties (macspoof)
  # engine-config -s "UserDefinedVMProperties=macspoof=(true|false)" 
  # service ovirt-engine restart 

In order to deactivate mac spoof filtering on a VM:

1. Bring down the VM
2. edit the VM
3. Click advanced
4. Custom properties
5. Add a key
6. elect macspoof
7. Type true as the value  <<<
8. Start the VM


I did indeed do this. See the attached UI pic from one of the VMs I edited. So 
I take it that this did not properly alter the 'filterref' attribute properly?


-Original Message-
From: Simone Tiraboschi [mailto:stira...@redhat.com] 
Sent: Wednesday, June 08, 2016 5:58 AM
To: Will Dennis
Cc: jvdw...@xs4all.nl; users@ovirt.org; Michal Skrivanek
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

On Wed, Jun 8, 2016 at 12:00 AM, Will Dennis <wden...@nec-labs.com> wrote:
> 
> 
>   
>   
>   
>   
>   

The issue is simple here ^^^
Please check if and how you configured the macspoof vdsm hook; please follow 
this guide:
 https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/macspoof


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


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-06-07 Thread Will Dennis
The "-r" arg to virsh makes all the difference :)  (much to learn...)

[root@ovirt-node-03 ~]# virsh -r list
 IdName   State

 6 proxmox-01 running
 7 proxmox-02 running

[root@ovirt-node-03 ~]# virsh -r dumpxml proxmox-01

  proxmox-01
  1a49b65b-9950-4b29-8c72-139d5263e11d
  http://ovirt.org/vm/tune/1.0;>

  
  4294967296
  8388608
  8388608
  16
  
1020
  
  

  
  
/machine
  
  

  oVirt
  oVirt Node
  7-2.1511.el7.centos.2.10
  271BC900-7252-11DD-8001-002185350C3C
  1a49b65b-9950-4b29-8c72-139d5263e11d

  
  
hvm


  
  

  
  
Penryn


  

  
  



  
  destroy
  restart
  destroy
  
/usr/libexec/qemu-kvm

  
  
  
  
  
  
  
  
  


  
  
  
  
  aeae1aeb-047e-493f-a70c-f471f2e7245c
  
  
  


  
  


  
  


  
  


  


  
  
  
  
  
  
  
  


  
  
  
  


  
  
  
  


  
  
  




  


  
  
  


  

  


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


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-06-07 Thread Will Dennis
u'domainID':u'4e2358ab-6b51-4d13-9e36-ac5cb271618a',
  u'volType':u'path',
  u'leaseOffset':0,
  
u'volumeID':u'278ed347-c79a-4168-b578-1562a08ac551',
  u'leasePath':  
u'/rhev/data-center/mnt/glusterSD/ovirt-node-01.nec-labs.com:_vmdata/4e2358ab-6b51-4d13-9e36-ac5cb271618a/images/aeae1aeb-047e-493f-a70c-f471f2e7245c/278ed347-c79a-4168-b578-1562a08ac551.lease',
  
u'imageID':u'aeae1aeb-047e-493f-a70c-f471f2e7245c',
  u'path':  
u'/rhev/data-center/mnt/glusterSD/ovirt-node-01.nec-labs.com:_vmdata/4e2358ab-6b51-4d13-9e36-ac5cb271618a/images/aeae1aeb-047e-493f-a70c-f471f2e7245c/278ed347-c79a-4168-b578-1562a08ac551'
   }
]
 },
 {  
u'device':u'usb',
u'alias':u'usb',
u'type':u'controller',
u'address':{  
   u'slot':u'0x01',
   u'bus':u'0x00',
   u'domain':u'0x',
   u'type':u'pci',
   u'function':u'0x2'
}
 },
 {  
u'device':u'ide',
u'alias':u'ide',
u'type':u'controller',
u'address':{  
   u'slot':u'0x01',
   u'bus':u'0x00',
   u'domain':u'0x',
   u'type':u'pci',
   u'function':u'0x1'
}
 },
 {  
u'device':u'unix',
u'alias':u'channel0',
u'type':u'channel',
u'address':{  
   u'bus':u'0',
   u'controller':u'0',
   u'type':u'virtio-serial',
   u'port':u'1'
}
 },
 {  
u'device':u'unix',
u'alias':u'channel1',
u'type':u'channel',
u'address':{  
   u'bus':u'0',
   u'controller':u'0',
   u'type':u'virtio-serial',
   u'port':u'2'
}
 },
 {  
u'device':u'spicevmc',
u'alias':u'channel2',
u'type':u'channel',
u'address':{  
   u'bus':u'0',
   u'controller':u'0',
   u'type':u'virtio-serial',
   u'port':u'3'
}
 }
  ],
  u'display':u'qxl',
  u'status':u'Up',
  u'timeOffset':u'0',
  u'maxVCpus':u'16',
  u'guestIPs':u'',
  u'statusTime':u'12906968250',
  u'maxMemSlots':16
   }


-Original Message-
From: Yedidyah Bar David [mailto:d...@redhat.com] 
Sent: Tuesday, June 07, 2016 2:03 AM
To: Will Dennis
Cc: users@ovirt.org; Michal Skrivanek
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

On Tue, Jun 7, 2016 at 12:04 AM, Will Dennis <wden...@nec-labs.com> wrote:
> Sorry, got away from this for a while attending to other work, but back at it 
> now... Anyone have any ideas on how I may further troubleshoot this issue?

Edward later asked you to post the domxml.
You can find it with 'virsh dumpxml vm' or search vdsm logs.

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


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-06-06 Thread Will Dennis
Sorry, got away from this for a while attending to other work, but back at it 
now... Anyone have any ideas on how I may further troubleshoot this issue?

Thanks

-Original Message-
From: Will Dennis 
Sent: Wednesday, May 18, 2016 11:39 AM
To: 'Michal Skrivanek'; 'Yedidyah Bar David'
Cc: 'users@ovirt.org'
Subject: RE: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

Sadly, having set the 'macspoof' key to 'true' in Custom Properties in the VM 
Edit dialog, then restarting the VM thereafter, I'm still not seeing the 
container's MAC address in the relevant bridge's MAC table in oVirt, and the 
container is failing to lease a DHCP address from the external network... 

Looked at the ebtables filter table, nothing there...
[root@ovirt-node-03 ~]# ebtables -t filter -L Bridge table: filter

Bridge chain: INPUT, entries: 0, policy: ACCEPT

Bridge chain: FORWARD, entries: 0, policy: ACCEPT

Bridge chain: OUTPUT, entries: 0, policy: ACCEPT


Anyone know where else I could look to troubleshoot?

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


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-18 Thread Will Dennis
Sadly, having set the 'macspoof' key to 'true' in Custom Properties in the VM 
Edit dialog, then restarting the VM thereafter, I'm still not seeing the 
container's MAC address in the relevant bridge's MAC table in oVirt, and the 
container is failing to lease a DHCP address from the external network... 

Looked at the ebtables filter table, nothing there...
[root@ovirt-node-03 ~]# ebtables -t filter -L
Bridge table: filter

Bridge chain: INPUT, entries: 0, policy: ACCEPT

Bridge chain: FORWARD, entries: 0, policy: ACCEPT

Bridge chain: OUTPUT, entries: 0, policy: ACCEPT


Anyone know where else I could look to troubleshoot?


-Original Message-
From: Will Dennis 
Sent: Wednesday, May 18, 2016 11:06 AM
To: 'Michal Skrivanek'; Yedidyah Bar David
Cc: users@ovirt.org
Subject: RE: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

Yup, I see it now in the Admin portal VM Edit dialog - thanks!

Will

-Original Message-
From: Michal Skrivanek [mailto:mskri...@redhat.com] 
Sent: Wednesday, May 18, 2016 2:37 AM
To: Yedidyah Bar David
Cc: Will Dennis; users@ovirt.org
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM



> On 15 May 2016, at 07:24, Yedidyah Bar David <d...@redhat.com> wrote:
> 
>> On Wed, May 11, 2016 at 5:17 PM, Will Dennis <wden...@nec-labs.com> wrote:
>> OK; I searched the oVirt site for 'engine-config' (unfamiliar with it) and 
>> found the following page:
>> https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/
>> 
>> I see the instructions on it for "Adding VM custom properties (macspoof)", 
>> so I did execute the referenced engine-config line, and then restarted the 
>> ovirt-engine service. I then went and powered off the VM I'd like to 
>> deactivate mac spoof filtering on, then went in to the User Portal and 
>> clicked "Edit" on the VM. However, I can not find a "Custom Properties" 
>> dialog anywhere in the VM Edit UI (yes, I did enable Advanced options.) 
>> Where should I be seeing this?
> 
> Not sure it's visible in the User Portal, might be a matter of permissions.

Iirc it's not in user portal by design. All custom properties are generally 
considered admin-like stuff

> 
> In the admin portal it has, in the same dialog, its own sub menu.
> -- 
> Didi
> ___
> 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] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-18 Thread Will Dennis
Yup, I see it now in the Admin portal VM Edit dialog - thanks!

Will

-Original Message-
From: Michal Skrivanek [mailto:mskri...@redhat.com] 
Sent: Wednesday, May 18, 2016 2:37 AM
To: Yedidyah Bar David
Cc: Will Dennis; users@ovirt.org
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM



> On 15 May 2016, at 07:24, Yedidyah Bar David <d...@redhat.com> wrote:
> 
>> On Wed, May 11, 2016 at 5:17 PM, Will Dennis <wden...@nec-labs.com> wrote:
>> OK; I searched the oVirt site for 'engine-config' (unfamiliar with it) and 
>> found the following page:
>> https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/
>> 
>> I see the instructions on it for "Adding VM custom properties (macspoof)", 
>> so I did execute the referenced engine-config line, and then restarted the 
>> ovirt-engine service. I then went and powered off the VM I'd like to 
>> deactivate mac spoof filtering on, then went in to the User Portal and 
>> clicked "Edit" on the VM. However, I can not find a "Custom Properties" 
>> dialog anywhere in the VM Edit UI (yes, I did enable Advanced options.) 
>> Where should I be seeing this?
> 
> Not sure it's visible in the User Portal, might be a matter of permissions.

Iirc it's not in user portal by design. All custom properties are generally 
considered admin-like stuff

> 
> In the admin portal it has, in the same dialog, its own sub menu.
> -- 
> Didi
> ___
> 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] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-11 Thread Will Dennis
OK; I searched the oVirt site for 'engine-config' (unfamiliar with it) and 
found the following page:
https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/

I see the instructions on it for "Adding VM custom properties (macspoof)", so I 
did execute the referenced engine-config line, and then restarted the 
ovirt-engine service. I then went and powered off the VM I'd like to deactivate 
mac spoof filtering on, then went in to the User Portal and clicked "Edit" on 
the VM. However, I can not find a "Custom Properties" dialog anywhere in the VM 
Edit UI (yes, I did enable Advanced options.) Where should I be seeing this?


-Original Message-
From: Yedidyah Bar David [mailto:d...@redhat.com] 
Sent: Tuesday, May 10, 2016 4:31 PM
To: Will Dennis
Cc: Simone Tiraboschi; Yaniv Kaul; users@ovirt.org
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

On Tue, May 10, 2016 at 8:36 PM, Will Dennis <wden...@nec-labs.com> wrote:
> Hi Simone,
>
> Sorry but I'm just getting back to this... Not sure where/how one might 
> implement the hook you have indicated... It looks to be VM-specific, but I 
> don't see anywhere in either the Admin UI or the User portal UI to set such a 
> parameter... Can you give me instructions on how to implement this?
>

Please check the README that Simone linked to.

You have to add a property using engine-config.
It will appear in the ui when editing a VM, under custom properties.

> -Original Message-
> From: Simone Tiraboschi [mailto:stira...@redhat.com]
> Sent: Monday, May 09, 2016 3:54 AM
> To: Yaniv Kaul
> Cc: Will Dennis; users@ovirt.org
> Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
> in a oVirt VM
>
> There is also a specific VDSM hook to address this configuration:
> https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/macspoof
>
> ___
> 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] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-10 Thread Will Dennis
Hi Simone,

Sorry but I'm just getting back to this... Not sure where/how one might 
implement the hook you have indicated... It looks to be VM-specific, but I 
don't see anywhere in either the Admin UI or the User portal UI to set such a 
parameter... Can you give me instructions on how to implement this?

-Original Message-
From: Simone Tiraboschi [mailto:stira...@redhat.com] 
Sent: Monday, May 09, 2016 3:54 AM
To: Yaniv Kaul
Cc: Will Dennis; users@ovirt.org
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

There is also a specific VDSM hook to address this configuration:
https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/macspoof

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


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-06 Thread Will Dennis
That’s in iptables, right? I have iptables disabled on my oVirt nodes...

From: Yaniv Kaul [mailto:yk...@redhat.com]
Sent: Friday, May 06, 2016 3:50 PM
To: Will Dennis
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

Long shot - you need to disable the EnableMACAntiSpoofingFilterRules .
Y.

On Fri, May 6, 2016 at 8:27 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
Hi all,

Have an interesting problem – I am running a VM in oVirt that is running 
Proxmox VE 4.1 OS, which I have spun up a container on.  The container is set 
for DHCP, and I have verified that it is sending Discover packets as normal, 
and that these packets are making it out of the Proxmox VM to the oVirt bridge 
(which is attached to a VLAN sub-interface of a bond interface.) However, these 
packets do NOT make it past the oVirt bridge. The interesting thing is that the 
Proxmox VM (as well as any other VM I spin up on oVirt) works fine with DHCP. 
(I also have other oVirt VMs instantiated which are using LXD to spin up 
containers, and I have the same problem with those as well.) I checked a bunch 
of stuff, and the only clue I could find is that it seems that the oVirt bridge 
is not learning the MAC for the container on the VM, even though it does learn 
the VM’s MAC, but I can capture DHCP traffic coming from the container off the 
‘vnet0’ interface which is joined to that bridge...

Info:

= off Proxmox VM =

Container's MAC address: 32:62:65:61:65:33

root@proxmox-02:~# ip link sh
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master 
vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 00:1a:4a:16:01:57 brd ff:ff:ff:ff:ff:ff
3: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
mode DEFAULT group default
link/ether 00:1a:4a:16:01:57 brd ff:ff:ff:ff:ff:ff
7: veth100i0@if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether fe:50:4f:3c:bd:b8 brd ff:ff:ff:ff:ff:ff link-netnsid 0   <<< 
veth connection to container

root@proxmox-02:~# brctl showmacs vmbr0
port no mac addris local?   ageing timer
  1 00:12:3f:24:a4:54   no   112.88
  1 00:1a:4a:16:01:56   no 0.02
  1 00:1a:4a:16:01:57   yes0.00
  1 00:1a:4a:16:01:57   yes0.00
  1 00:24:50:dd:a2:05   no 1.37
  1 18:03:73:e3:be:5a   no21.04
  1 18:03:73:e3:ca:24   no 4.23
  1 18:03:73:e3:cb:5b   no48.41
  1 18:03:73:e3:cc:e5   no91.93
  1 18:03:73:e3:cd:b8   no   151.04
  1 18:03:73:e3:ce:43   no 0.80
  1 18:03:73:e3:d0:a4   no   290.74
  1 18:03:73:e3:d4:26   no34.06
  1 18:03:73:e3:d5:3d   no 6.36
  1 18:03:73:e4:23:08   no88.76
  1 18:03:73:e4:25:92   no   111.86
  1 18:03:73:e4:26:2f   no 9.54
  1 18:03:73:e4:2b:4c   no   114.86
  1 18:03:73:e4:31:15   no   263.91
  1 18:03:73:e4:6c:19   no 6.36
  1 18:03:73:e4:7e:0a   no   103.06
  1 18:03:73:e8:16:e0   no23.21
  2 32:62:65:61:65:33   no 5.08   <<< container’s MAC 
learned on Proxmox bridge
  1 34:17:eb:9b:e0:29   no   265.22
  1 34:17:eb:9b:f8:ea   no   114.86
  1 44:d3:ca:7e:3c:ff   no 0.00
  1 78:2b:cb:3b:ca:b9   no   284.70
  1 78:2b:cb:92:cb:cb   no   279.70
  1 78:2b:cb:93:08:a8   no   287.05
  1 b8:ca:3a:7a:70:63   no 4.83
  1 f8:bc:12:69:bb:a3   no   121.82
  2 fe:50:4f:3c:bd:b8   yes0.00
  2 fe:50:4f:3c:bd:b8   yes0.00

= off oVirt node that has Proxmox VM 

(relevant lines from ‘ip link show’)
2: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UP mode DEFAULT
3: enp4s0f0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
master bond0 state UP mode DEFAULT qlen 1000
4: enp4s0f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
master bond0 state UP mode DEFAULT qlen 1000
8: bond0.169@bond0<mailto:bond0.169@bond0>: <BROADCAST,MULTICAST,UP,LOWER_UP> 
mtu 1500 qdisc noqueue master 169-net state UP mode DEFAULT
10: bond0.180@bond0<mailto:bond0.180@bo

[ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-06 Thread Will Dennis
Hi all,

Have an interesting problem - I am running a VM in oVirt that is running 
Proxmox VE 4.1 OS, which I have spun up a container on.  The container is set 
for DHCP, and I have verified that it is sending Discover packets as normal, 
and that these packets are making it out of the Proxmox VM to the oVirt bridge 
(which is attached to a VLAN sub-interface of a bond interface.) However, these 
packets do NOT make it past the oVirt bridge. The interesting thing is that the 
Proxmox VM (as well as any other VM I spin up on oVirt) works fine with DHCP. 
(I also have other oVirt VMs instantiated which are using LXD to spin up 
containers, and I have the same problem with those as well.) I checked a bunch 
of stuff, and the only clue I could find is that it seems that the oVirt bridge 
is not learning the MAC for the container on the VM, even though it does learn 
the VM's MAC, but I can capture DHCP traffic coming from the container off the 
'vnet0' interface which is joined to that bridge...

Info:

= off Proxmox VM =

Container's MAC address: 32:62:65:61:65:33

root@proxmox-02:~# ip link sh
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0:  mtu 1500 qdisc pfifo_fast master 
vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 00:1a:4a:16:01:57 brd ff:ff:ff:ff:ff:ff
3: vmbr0:  mtu 1500 qdisc noqueue state UP 
mode DEFAULT group default
link/ether 00:1a:4a:16:01:57 brd ff:ff:ff:ff:ff:ff
7: veth100i0@if6:  mtu 1500 qdisc pfifo_fast 
master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether fe:50:4f:3c:bd:b8 brd ff:ff:ff:ff:ff:ff link-netnsid 0   <<< 
veth connection to container

root@proxmox-02:~# brctl showmacs vmbr0
port no mac addris local?   ageing timer
  1 00:12:3f:24:a4:54   no   112.88
  1 00:1a:4a:16:01:56   no 0.02
  1 00:1a:4a:16:01:57   yes0.00
  1 00:1a:4a:16:01:57   yes0.00
  1 00:24:50:dd:a2:05   no 1.37
  1 18:03:73:e3:be:5a   no21.04
  1 18:03:73:e3:ca:24   no 4.23
  1 18:03:73:e3:cb:5b   no48.41
  1 18:03:73:e3:cc:e5   no91.93
  1 18:03:73:e3:cd:b8   no   151.04
  1 18:03:73:e3:ce:43   no 0.80
  1 18:03:73:e3:d0:a4   no   290.74
  1 18:03:73:e3:d4:26   no34.06
  1 18:03:73:e3:d5:3d   no 6.36
  1 18:03:73:e4:23:08   no88.76
  1 18:03:73:e4:25:92   no   111.86
  1 18:03:73:e4:26:2f   no 9.54
  1 18:03:73:e4:2b:4c   no   114.86
  1 18:03:73:e4:31:15   no   263.91
  1 18:03:73:e4:6c:19   no 6.36
  1 18:03:73:e4:7e:0a   no   103.06
  1 18:03:73:e8:16:e0   no23.21
  2 32:62:65:61:65:33   no 5.08   <<< container's MAC 
learned on Proxmox bridge
  1 34:17:eb:9b:e0:29   no   265.22
  1 34:17:eb:9b:f8:ea   no   114.86
  1 44:d3:ca:7e:3c:ff   no 0.00
  1 78:2b:cb:3b:ca:b9   no   284.70
  1 78:2b:cb:92:cb:cb   no   279.70
  1 78:2b:cb:93:08:a8   no   287.05
  1 b8:ca:3a:7a:70:63   no 4.83
  1 f8:bc:12:69:bb:a3   no   121.82
  2 fe:50:4f:3c:bd:b8   yes0.00
  2 fe:50:4f:3c:bd:b8   yes0.00

= off oVirt node that has Proxmox VM 

(relevant lines from 'ip link show')
2: bond0:  mtu 1500 qdisc noqueue state 
UP mode DEFAULT
3: enp4s0f0:  mtu 1500 qdisc pfifo_fast 
master bond0 state UP mode DEFAULT qlen 1000
4: enp4s0f1:  mtu 1500 qdisc pfifo_fast 
master bond0 state UP mode DEFAULT qlen 1000
8: bond0.169@bond0:  mtu 1500 qdisc noqueue 
master 169-net state UP mode DEFAULT
10: bond0.180@bond0:  mtu 1500 qdisc noqueue 
master 180-net state UP mode DEFAULT
12: bond0.207@bond0:  mtu 1500 qdisc noqueue 
master 207-net state UP mode DEFAULT
13: 207-net:  mtu 1500 qdisc noqueue state UP 
mode DEFAULT
30: vnet0:  mtu 1500 qdisc pfifo_fast master 
207-net state UNKNOWN mode DEFAULT qlen 500 <<< veth connection to Proxmox VM
31: vnet1:  mtu 1500 qdisc pfifo_fast master 
207-net state UNKNOWN mode 

Re: [ovirt-users] Hosts temporarily in "Non Operational" state after upgrade

2016-04-29 Thread Will Dennis
Answers inline below...

> From: Michal Skrivanek [mailto:michal.skriva...@redhat.com] 

> what exactly did you do in the UI?
Clicked on the node, and in the bottom pane, clicked on the "Upgrade" link 
showing there (the nodes also had an icon indicating that updates were 
available)

> so..it was not in Maintenance when you run the update?
> You should avoid doing that as an update to any package may interfere with 
> running guests. 
> E.g. a qemu rpm update can (and likely will) simply kill all your VMs, I 
> suppose similarly for Gluster before updating anything 
> the volumes should be in some kind of maintenance mode as well

No, the "Upgrade" link once clicked migrates any running VM off the target node 
onto another node, then sets the target node into Maintenance mode, and then 
performs the updates. Once the updates are completed successfully, it 
re-activates the node and makes it available again. On the second and third 
nodes this coming out of Maintenance process experienced a problem with 
mounting the Gluster storage so it seems, and had the problems I'd indicated.

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


Re: [ovirt-users] Hosts temporarily in "Non Operational" state after upgrade

2016-04-29 Thread Will Dennis
(so noted)   ...or anyone else who knows the answer ;)

-Original Message-
From: Michal Skrivanek [mailto:michal.skriva...@redhat.com] 
Sent: Friday, April 29, 2016 9:02 AM
To: Will Dennis
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Hosts temporarily in "Non Operational" state after 
upgrade


> On 29 Apr 2016, at 14:46, Will Dennis <wden...@nec-labs.com> wrote:
> 
> Bump - can any RHAT folks comment on this?

note oVirt is a community project;-)

> 
> -Original Message-
> From: Will Dennis 
> Sent: Wednesday, April 27, 2016 11:00 PM
> To: users@ovirt.org
> Subject: Hosts temporarily in "Non Operational" state after upgrade
> 
> Hi all,
> 
> Had run updates tonight on my three oVirt hosts (3.6 hyperconverged) on on 
> two of them, they went into “non Operational” state for a few minutes each 
> before springing back to life… The synopsis was this:
> 
> - Ran updates throughout the web Admin UI ...then I got the following series 
> of messages via the “Events” tab in the UI:

what exactly did you do in the UI?

> - Updates successfully ran
> - VDSM “command failed: Heartbeat exceeded” message
> - host is not responding message
> - "Failed to connect to hosted_storage" message
> - “The error message for connection localhost:/engine returned by VDSM was: 
> Problem while trying to mount target”
> - "Host  reports about one of the Active Storage Domains as Problematic”
> - “Host  cannot access the Storage Domain(s) hosted_storage attached to 
> the data center Default. Setting host state to Non-Operational.”
> - "Detected change in status of brick {…} of volume {…} from DOWN to UP.” 
> (once for every brick on the host for every Gluster volume.)
> - "Host  was autorecovered.”
> - "Status of host  was set to Up.”

so..it was not in Maintenance when you run the update?
You should avoid doing that as an update to any package may interfere with 
running guests. E.g. a qemu rpm update can (and likely will) simply kill all 
your VMs, I suppose similarly for Gluster before updating anything the volumes 
should be in some kind of maintenance mode as well

> 
> (BTW, it would be awesome if the UI’s Events log could be copied and pasted… 
> Doesn’t work for me at least…)
> 
> Duration of outage was ~3 mins per each affected host. Didn’t happen on the 
> first host I upgraded, but did on the last two.
> 
> I know I’m a little over the bleeding edge running hyperconverged on 3.6 :) 
> but, should this behavior be expected?
> 
> Also, if I go onto the hosts directly and run a ‘yum update’ after this 
> upgrade process (not that I went thru with it, just wanted to see what was 
> available to be upgraded) I see a bunch of ovirt-* packages that can be 
> upgraded, which didn’t get updated thru the web UI’s upgrade process —
> ovirt-engine-sdk-pythonnoarch   3.6.5.0-1.el7.centos 
> ovirt-3.6  480 k
> ovirt-hosted-engine-ha noarch   1.3.5.3-1.1.el7  
> centos-ovirt36 295 k
> ovirt-hosted-engine-setup  noarch   1.3.5.0-1.1.el7  
> centos-ovirt36 270 k
> ovirt-release36noarch   007-1
> ovirt-3.6  9.5 k
> 
> Are these packages not related to the “Upgrade” process available thru the 
> web UI?
> 
> FYI, here’s what did get updated thru the web UI “Upgrade” process — Apr 27 
> 21:36:28 Updated: libvirt-client-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:28 Updated: libvirt-daemon-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:28 Updated: 
> libvirt-daemon-driver-network-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:28 Updated: libvirt-daemon-driver-qemu-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:28 Updated: 
> libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:28 Updated: vdsm-infra-4.17.26-1.el7.noarch Apr 27 21:36:28 
> Updated: vdsm-python-4.17.26-1.el7.noarch Apr 27 21:36:28 Updated: 
> vdsm-xmlrpc-4.17.26-1.el7.noarch Apr 27 21:36:28 Updated: 
> libvirt-daemon-config-nwfilter-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:29 Updated: mom-0.5.3-1.1.el7.noarch Apr 27 21:36:29 Updated: 
> libvirt-lock-sanlock-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:29 Updated: libvirt-daemon-driver-secret-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:29 Updated: 
> libvirt-daemon-driver-nodedev-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:29 Updated: 
> libvirt-daemon-driver-interface-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:29 Updated: 
> libvirt-daemon-driver-storage-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:29 Updated: libvirt-daemon-kvm-1.2.17-13.el7_2.4.x86_64
> Apr 27 21:36:29 Updated: 1:libguestfs-1.28.1-1.55.el7.centos.2.x86_64
> Apr 27 21:36:29 Updated:

Re: [ovirt-users] Hosts temporarily in "Non Operational" state after upgrade

2016-04-29 Thread Will Dennis
Bump - can any RHAT folks comment on this?

-Original Message-
From: Will Dennis 
Sent: Wednesday, April 27, 2016 11:00 PM
To: users@ovirt.org
Subject: Hosts temporarily in "Non Operational" state after upgrade

Hi all,

Had run updates tonight on my three oVirt hosts (3.6 hyperconverged) on on two 
of them, they went into “non Operational” state for a few minutes each before 
springing back to life… The synopsis was this:

- Ran updates throughout the web Admin UI ...then I got the following series of 
messages via the “Events” tab in the UI:
- Updates successfully ran
- VDSM “command failed: Heartbeat exceeded” message
- host is not responding message
- "Failed to connect to hosted_storage" message
- “The error message for connection localhost:/engine returned by VDSM was: 
Problem while trying to mount target”
- "Host  reports about one of the Active Storage Domains as Problematic”
- “Host  cannot access the Storage Domain(s) hosted_storage attached to 
the data center Default. Setting host state to Non-Operational.”
- "Detected change in status of brick {…} of volume {…} from DOWN to UP.” (once 
for every brick on the host for every Gluster volume.)
- "Host  was autorecovered.”
- "Status of host  was set to Up."

(BTW, it would be awesome if the UI’s Events log could be copied and pasted… 
Doesn’t work for me at least…)

Duration of outage was ~3 mins per each affected host. Didn’t happen on the 
first host I upgraded, but did on the last two.

I know I’m a little over the bleeding edge running hyperconverged on 3.6 :) 
but, should this behavior be expected?

Also, if I go onto the hosts directly and run a ‘yum update’ after this upgrade 
process (not that I went thru with it, just wanted to see what was available to 
be upgraded) I see a bunch of ovirt-* packages that can be upgraded, which 
didn’t get updated thru the web UI’s upgrade process —
ovirt-engine-sdk-pythonnoarch   3.6.5.0-1.el7.centos 
ovirt-3.6  480 k
ovirt-hosted-engine-ha noarch   1.3.5.3-1.1.el7  
centos-ovirt36 295 k
ovirt-hosted-engine-setup  noarch   1.3.5.0-1.1.el7  
centos-ovirt36 270 k
ovirt-release36noarch   007-1
ovirt-3.6  9.5 k

Are these packages not related to the “Upgrade” process available thru the web 
UI?

FYI, here’s what did get updated thru the web UI “Upgrade” process — Apr 27 
21:36:28 Updated: libvirt-client-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:28 Updated: libvirt-daemon-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:28 Updated: libvirt-daemon-driver-network-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:28 Updated: libvirt-daemon-driver-qemu-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:28 Updated: libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:28 Updated: vdsm-infra-4.17.26-1.el7.noarch Apr 27 21:36:28 
Updated: vdsm-python-4.17.26-1.el7.noarch Apr 27 21:36:28 Updated: 
vdsm-xmlrpc-4.17.26-1.el7.noarch Apr 27 21:36:28 Updated: 
libvirt-daemon-config-nwfilter-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: mom-0.5.3-1.1.el7.noarch Apr 27 21:36:29 Updated: 
libvirt-lock-sanlock-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: libvirt-daemon-driver-secret-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: libvirt-daemon-driver-nodedev-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: 
libvirt-daemon-driver-interface-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: libvirt-daemon-driver-storage-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: libvirt-daemon-kvm-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: 1:libguestfs-1.28.1-1.55.el7.centos.2.x86_64
Apr 27 21:36:29 Updated: 1:libguestfs-tools-c-1.28.1-1.55.el7.centos.2.x86_64
Apr 27 21:36:29 Installed: libguestfs-winsupport-7.2-1.el7.x86_64
Apr 27 21:36:29 Updated: vdsm-yajsonrpc-4.17.26-1.el7.noarch
Apr 27 21:36:29 Updated: vdsm-jsonrpc-4.17.26-1.el7.noarch Apr 27 21:36:29 
Installed: unzip-6.0-15.el7.x86_64 Apr 27 21:36:30 Installed: 
gtk2-2.24.28-8.el7.x86_64 Apr 27 21:36:31 Installed: 
1:virt-v2v-1.28.1-1.55.el7.centos.2.x86_64
Apr 27 21:36:31 Updated: safelease-1.0-7.el7.x86_64 Apr 27 21:36:31 Updated: 
vdsm-hook-vmfex-dev-4.17.26-1.el7.noarch
Apr 27 21:36:32 Updated: vdsm-4.17.26-1.el7.noarch Apr 27 21:36:32 Updated: 
vdsm-gluster-4.17.26-1.el7.noarch Apr 27 21:36:32 Updated: 
vdsm-cli-4.17.26-1.el7.noarch

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


[ovirt-users] Hosts temporarily in "Non Operational" state after upgrade

2016-04-27 Thread Will Dennis
Hi all,

Had run updates tonight on my three oVirt hosts (3.6 hyperconverged) on on two 
of them, they went into “non Operational” state for a few minutes each before 
springing back to life… The synopsis was this:

- Ran updates throughout the web Admin UI
...then I got the following series of messages via the “Events” tab in the UI:
- Updates successfully ran
- VDSM “command failed: Heartbeat exceeded” message
- host is not responding message
- "Failed to connect to hosted_storage" message
- “The error message for connection localhost:/engine returned by VDSM was: 
Problem while trying to mount target”
- "Host  reports about one of the Active Storage Domains as Problematic”
- “Host  cannot access the Storage Domain(s) hosted_storage attached to 
the data center Default. Setting host state to Non-Operational.”
- "Detected change in status of brick {…} of volume {…} from DOWN to UP.” (once 
for every brick on the host for every Gluster volume.)
- "Host  was autorecovered.”
- "Status of host  was set to Up."

(BTW, it would be awesome if the UI’s Events log could be copied and pasted… 
Doesn’t work for me at least…)

Duration of outage was ~3 mins per each affected host. Didn’t happen on the 
first host I upgraded, but did on the last two.

I know I’m a little over the bleeding edge running hyperconverged on 3.6 :) 
but, should this behavior be expected?

Also, if I go onto the hosts directly and run a ‘yum update’ after this upgrade 
process (not that I went thru with it, just wanted to see what was available to 
be upgraded) I see a bunch of ovirt-* packages that can be upgraded, which 
didn’t get updated thru the web UI’s upgrade process —
ovirt-engine-sdk-pythonnoarch   3.6.5.0-1.el7.centos 
ovirt-3.6  480 k
ovirt-hosted-engine-ha noarch   1.3.5.3-1.1.el7  
centos-ovirt36 295 k
ovirt-hosted-engine-setup  noarch   1.3.5.0-1.1.el7  
centos-ovirt36 270 k
ovirt-release36noarch   007-1
ovirt-3.6  9.5 k

Are these packages not related to the “Upgrade” process available thru the web 
UI?

FYI, here’s what did get updated thru the web UI “Upgrade” process —
Apr 27 21:36:28 Updated: libvirt-client-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:28 Updated: libvirt-daemon-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:28 Updated: libvirt-daemon-driver-network-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:28 Updated: libvirt-daemon-driver-qemu-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:28 Updated: libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:28 Updated: vdsm-infra-4.17.26-1.el7.noarch
Apr 27 21:36:28 Updated: vdsm-python-4.17.26-1.el7.noarch
Apr 27 21:36:28 Updated: vdsm-xmlrpc-4.17.26-1.el7.noarch
Apr 27 21:36:28 Updated: libvirt-daemon-config-nwfilter-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: mom-0.5.3-1.1.el7.noarch
Apr 27 21:36:29 Updated: libvirt-lock-sanlock-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: libvirt-daemon-driver-secret-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: libvirt-daemon-driver-nodedev-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: 
libvirt-daemon-driver-interface-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: libvirt-daemon-driver-storage-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: libvirt-daemon-kvm-1.2.17-13.el7_2.4.x86_64
Apr 27 21:36:29 Updated: 1:libguestfs-1.28.1-1.55.el7.centos.2.x86_64
Apr 27 21:36:29 Updated: 1:libguestfs-tools-c-1.28.1-1.55.el7.centos.2.x86_64
Apr 27 21:36:29 Installed: libguestfs-winsupport-7.2-1.el7.x86_64
Apr 27 21:36:29 Updated: vdsm-yajsonrpc-4.17.26-1.el7.noarch
Apr 27 21:36:29 Updated: vdsm-jsonrpc-4.17.26-1.el7.noarch
Apr 27 21:36:29 Installed: unzip-6.0-15.el7.x86_64
Apr 27 21:36:30 Installed: gtk2-2.24.28-8.el7.x86_64
Apr 27 21:36:31 Installed: 1:virt-v2v-1.28.1-1.55.el7.centos.2.x86_64
Apr 27 21:36:31 Updated: safelease-1.0-7.el7.x86_64
Apr 27 21:36:31 Updated: vdsm-hook-vmfex-dev-4.17.26-1.el7.noarch
Apr 27 21:36:32 Updated: vdsm-4.17.26-1.el7.noarch
Apr 27 21:36:32 Updated: vdsm-gluster-4.17.26-1.el7.noarch
Apr 27 21:36:32 Updated: vdsm-cli-4.17.26-1.el7.noarch

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


Re: [ovirt-users] Active Directory (LDAP) user auth is slow

2016-03-24 Thread Will Dennis
No worries...

I only had a few VMs to re-assign, so I did it manually...

-Original Message-
From: Karli Sjöberg [mailto:karli.sjob...@slu.se] 
Sent: Thursday, March 24, 2016 11:13 AM
To: Ondra Machacek
Cc: Martin Perina; Will Dennis; users
Subject: SV: [ovirt-users] Active Directory (LDAP) user auth is slow

Sorry about the thread-breakage, OWA...

Från: Ondra Machacek <omach...@redhat.com>
Skickat: den 24 mars 2016 15:08
Till: Karli Sjöberg
Kopia: Martin Perina; Will Dennis; users
Ämne: Re: [ovirt-users] Active Directory (LDAP) user auth is slow

On 03/24/2016 03:02 PM, Karli Sjöberg wrote:
>
> Den 24 mars 2016 13:49 skrev Ondra Machacek <omach...@redhat.com>:
>  >
>  > Hi,
>  >
>  > if you remove user, then also permissions of that user to vms will 
> be  > removed.
>  > And yes, you will have to add all those permissions back to users 
> from  > new profile.
>  >
>  > But, you can try migration tool[1], to migrate all users to new AAA 
> profile.
>  > If you have any problem with it, you can ask.
>
> Ehm, how do you install it? (el6)

yum install -y
https://github.com/machacekondra/ovirt-engine-kerbldap-migration/releases/download/ovirt-engine-kerbldap-migration-1.0.4/ovirt-engine-kerbldap-migration-1.0.4-1.el6ev.noarch.rpm

That worked, plus the migration, but can´t log in since our domain is called 
like 'baz.foo.bar' but our users´s userPrincipalName are just 'u...@foo.bar'. 
How do you configure that with aaa?

/K

>
> /K
>
>  >
>  > Ondra
>  >
>  > [1]
>  >
> https://github.com/machacekondra/ovirt-engine-kerbldap-migration/blob/
> master/README.md
>  >
>  > On 03/24/2016 01:06 PM, Will Dennis wrote:
>  > > In the RHEV Admin Guide that Martin mentioned, it says:
>  > >
>  > > "Log in to the Administration Portal, and remove all users and 
> groups related to the old profile. Users defined in the removed domain 
> will no longer be able to authenticate with the Red Hat Enterprise 
> Virtualization Manager. The entries for the affected users will remain 
> defined in the Red Hat Enterprise Virtualization Manager until they 
> are explicitly removed from the Administration Portal.”
>  > >
>  > > I have some VMs running under some AD domain users; if I remove 
> the users from the system as above, will I need to remove them from 
> the VM permissions, or is that cleaned up as well? And I guess I’ll 
> need to manually re-add the perms back after the new directory config 
> is in place? Please advise.
>  > >
>  > > Thanks,
>  > > Will
>  > >
>  > > On Mar 21, 2016, at 4:29 AM, Martin Perina 
> <mper...@redhat.com<mailto:mper...@redhat.com>> wrote:
>  > >
>  > >
>  > >
>  > > On Mon, Mar 21, 2016 at 8:20 AM, Yedidyah Bar David 
> <d...@redhat.com<mailto:d...@redhat.com>> wrote:
>  > > On Mon, Mar 21, 2016 at 4:47 AM, Will Dennis 
> <wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
>  > >> Hi all,
>  > >>
>  > >> I have enabled Active Directory authentication for the users in 
> oVirt (via engine-manage-domains command using --provider=ad) and, 
> although it works, it takes about ~50 sec’s to process a login. I have 
> other OSS software that utilizes AD auth, and there is no such lag 
> when processing logins, so I’m guessing it’s a problem with the oVirt 
> implementation… Any way to debug why the auth process is taking so long?
>  > >
>  > > This is an old, unmaintained component. You should use the new 
> aaa-ldap one.
>  > > Search the list archives for "aaa-ldap" and/or read the README 
> file in the  > > sources [1]. Best,  > >  > > [1] 
> https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;
> a=blob;f=README
>  > >
>  > > ​You could also take a look at RHEV 3.6 Administration Guide, 
> chapter 13 Users and Roles [2]  > > where you can find detailed steps 
> for common configurations.
>  > >
>  > > Martin Perina
>  > >
>  > > [2]
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtu
> alization/3.6/html/Administration_Guide/chap-Users_and_Roles.html
>  > > ​
>  > >
>  > >
>  > >>
>  > >> Will
>  > >> ___
>  > >> Users mailing list
>  > >> Users@ovirt.org<mailto:Users@ovirt.org>
>  > >> http://lists.ovirt.org/mailman/listinfo/users
>  > >
>  > >
>  > >
>  > > --
>  > > Didi
>  > > ___
>  > > Users mailing list
>  > > Users@ovirt.org<mailto: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
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Active Directory (LDAP) user auth is slow

2016-03-24 Thread Will Dennis
In the RHEV Admin Guide that Martin mentioned, it says:

"Log in to the Administration Portal, and remove all users and groups related 
to the old profile. Users defined in the removed domain will no longer be able 
to authenticate with the Red Hat Enterprise Virtualization Manager. The entries 
for the affected users will remain defined in the Red Hat Enterprise 
Virtualization Manager until they are explicitly removed from the 
Administration Portal.”

I have some VMs running under some AD domain users; if I remove the users from 
the system as above, will I need to remove them from the VM permissions, or is 
that cleaned up as well? And I guess I’ll need to manually re-add the perms 
back after the new directory config is in place? Please advise.

Thanks,
Will

On Mar 21, 2016, at 4:29 AM, Martin Perina 
<mper...@redhat.com<mailto:mper...@redhat.com>> wrote:



On Mon, Mar 21, 2016 at 8:20 AM, Yedidyah Bar David 
<d...@redhat.com<mailto:d...@redhat.com>> wrote:
On Mon, Mar 21, 2016 at 4:47 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
> Hi all,
>
> I have enabled Active Directory authentication for the users in oVirt (via 
> engine-manage-domains command using --provider=ad) and, although it works, it 
> takes about ~50 sec’s to process a login. I have other OSS software that 
> utilizes AD auth, and there is no such lag when processing logins, so I’m 
> guessing it’s a problem with the oVirt implementation… Any way to debug why 
> the auth process is taking so long?

This is an old, unmaintained component. You should use the new aaa-ldap one.
Search the list archives for "aaa-ldap" and/or read the README file in the
sources [1]. Best,

[1] 
https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README

​You could also take a look at RHEV 3.6 Administration Guide, chapter 13 Users 
and Roles [2]
where you can find detailed steps for common configurations.

Martin Perina

[2] 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Administration_Guide/chap-Users_and_Roles.html
​


>
> Will
> ___
> Users mailing list
> Users@ovirt.org<mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users



--
Didi
___
Users mailing list
Users@ovirt.org<mailto: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] Active Directory (LDAP) user auth is slow

2016-03-20 Thread Will Dennis
Hi all,

I have enabled Active Directory authentication for the users in oVirt (via 
engine-manage-domains command using --provider=ad) and, although it works, it 
takes about ~50 sec’s to process a login. I have other OSS software that 
utilizes AD auth, and there is no such lag when processing logins, so I’m 
guessing it’s a problem with the oVirt implementation… Any way to debug why the 
auth process is taking so long?

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


Re: [ovirt-users] User cannot add a disk to a VM - permission error

2016-03-09 Thread Will Dennis
Thanks, that worked...

-Original Message-
From: Ondra Machacek [mailto:omach...@redhat.com] 
Sent: Wednesday, March 09, 2016 2:31 AM
To: Will Dennis; users
Subject: Re: [ovirt-users] User cannot add a disk to a VM - permission error

On 03/09/2016 05:02 AM, Will Dennis wrote:
> Trying to understand the oVirt user permissions system… I have a user who I 
> have granted the “PowerUserRole” role to, with the role description being 
> “User Role, allowed to create VMs, Templates and Disks.”
>
> When I log into the User Portal with this user, I try to create a VM with a 
> disk, but when I click the OK button, I get the message, “Cannot add Virtual 
> Machine Disk. The user doesn’t have permissions to attach Disk Profile to the 
> Disk.
>
> What other permission(s) do I need to grant this user in order to have it be 
> able to create VMs?

See this bz[1]. You should also have 'DiskProfileUser' role on storagedomain 
where you want to create disk.

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

>
> ___
> 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] User cannot add a disk to a VM - permission error

2016-03-08 Thread Will Dennis
Trying to understand the oVirt user permissions system… I have a user who I 
have granted the “PowerUserRole” role to, with the role description being “User 
Role, allowed to create VMs, Templates and Disks.”

When I log into the User Portal with this user, I try to create a VM with a 
disk, but when I click the OK button, I get the message, “Cannot add Virtual 
Machine Disk. The user doesn’t have permissions to attach Disk Profile to the 
Disk.

What other permission(s) do I need to grant this user in order to have it be 
able to create VMs?

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


Re: [ovirt-users] Not seeing Gluster options on Cluster properties

2016-03-01 Thread Will Dennis
Great, that worked – thanks Sahina!


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


Re: [ovirt-users] Not seeing Gluster options on Cluster properties

2016-03-01 Thread Will Dennis
Ah, although this worked, and I see the Gluster volumes now in the tree & can 
manage them, I see for both volumes I have (“engine” and “vm_data”) that the 
number of bricks is “0”... Why can’t it see the existing bricks?

From: Will Dennis
Sent: Tuesday, March 01, 2016 11:13 AM
To: 'Sahina Bose'; users
Subject: RE: [ovirt-users] Not seeing Gluster options on Cluster properties

Great, that worked – thanks Sahina!


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


Re: [ovirt-users] Not seeing Gluster options on Cluster properties

2016-03-01 Thread Will Dennis
> -Original Message-
> From: Sahina Bose [mailto:sab...@redhat.com] 
> Sent: Tuesday, March 01, 2016 10:01 AM
> To: Will Dennis; users
> Subject: Re: [ovirt-users] Not seeing Gluster options on Cluster properties
>
>
> How did you install the engine? Automatic install via ovirt-engine appliance?
> If so, it's likely that the engine is installed in "Virt" only mode.

Yes, I used the appliance OVF

> Can you also check "engine-config -g AllowClusterWithVirtGlusterEnabled" 
> - this needs to be true.

[root@ovirt-engine-01 ~]# engine-config -g AllowClusterWithVirtGlusterEnabled
AllowClusterWithVirtGlusterEnabled: true version: general

What additional changes need to be made to support Gluster management?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Not seeing Gluster options on Cluster properties

2016-02-29 Thread Will Dennis
Hi all,

I am running a hyperconverged setup of oVirt 3.6, where I pre-made the Gluster 
volumes that are used for the hosted engine and the VM storage domains. I have 
seen in screenshots of 3.6 HC setups that there should be options to enable 
Gluster integration in oVirt by checking a box in Cluster properties > General 
tab (“Enable Gluster Service”) but I do not see that checkbox in my Cluster 
properties > General tab. What must I do to enable this integration?

BTW, I see that there is a package "vdsm-gluster-4.17.18-0.el7.centos.noarch” 
installed on all of my oVirt nodes… Is there another package that I am missing?

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


Re: [ovirt-users] ISO domain question

2016-01-10 Thread Will Dennis
Looks like a pretty old request, too… if I may ask, is this a complicated 
technical change, or is it just lower priority than other open issues? Seems 
like if it was an easy change to make, it would be a big win for users…

On Jan 10, 2016, at 3:15 AM, Yedidyah Bar David 
<d...@redhat.com<mailto:d...@redhat.com>> wrote:

On Sun, Jan 10, 2016 at 5:09 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

Seems like there should be an easier way to consume an
external existing repository.

Indeed, and we have an RFE for that:
https://bugzilla.redhat.com/show_bug.cgi?id=1034112

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


Re: [ovirt-users] ISO domain question

2016-01-09 Thread Will Dennis
So would have to create a new SD (I'm using Gluster-based hyperconverged) and 
then create the symlink in the new mount in the subdirectory you named? Maybe 
I'll just rsync the ISO files into there...

Thanks anyhow... Seems like there should be an easier way to consume an 
external existing repository.



Sent with Good (www.good.com)


-Original Message-
From: Maor Lipchuk [mlipc...@redhat.com<mailto:mlipc...@redhat.com>]
Sent: Saturday, January 09, 2016 10:18 AM Eastern Standard Time
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] ISO domain question


Hi Will,

The ISO storage domain oVirt maintains is configured specifically for oVirt, 
for example don_md/metadata is configured with class ISO.
All the ISO files are stored in a special folder under 
"images/----"
What you can do is to add a new ISO Storage Domain to oVirt, and use a symbolic 
link under the '1' folder to all the ISO files in your pre-existing 
NFS-available ISO.

Please let me know if that answer your question

Regards,
Maor





- Original Message -
> From: "Will Dennis" <wden...@nec-labs.com>
> To: "users" <users@ovirt.org>
> Sent: Friday, January 8, 2016 2:50:38 PM
> Subject: [ovirt-users] ISO domain question
>
> I’d like to utilize a pre-existing NFS-available ISO repository we have,
> instead of creating an oVirt-specific one. This repo is of course used for
> other purposes, so it cannot be devoted to oVirt alone. We have successfully
> used this NFS resource in VMware, but cannot see how to do the same in
> oVirt… Is it possible? Or must oVirt maintain its own?
>
> ___
> 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] host status "Non Operational" - how to diagnose & fix?

2016-01-06 Thread Will Dennis

On Jan 6, 2016, at 7:59 AM, Moti Asayag 
> wrote:

In order to see the configuration of 'ovirtmgmt' network please paste the 
output of the following command to be executed on the host:
vdsClient -s 0 getVdsCaps

http://fpaste.org/307742/20853451/


In addition, in order to see the reported status of the networks run and paste 
on the host:
vdsClient -s 0 getVdsStats

http://fpaste.org/307744/45208555/

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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-06 Thread Will Dennis
I did what Joop suggested (put -node-02 into maint, clear vdsm.log on -node-02, 
clear engine.log on HE, then activate -node-02) and — what do you know, the 
node came up into an operational state! It was able to successfully mount the 
data SD this time:

$ ansible istgroup-ovirt -f 1 -i prod -u root -m shell -a "df -h | grep 
':'"ovirt-node-01 | success | rc=0 >>
localhost:/engine   1.9T  3.0G  1.9T   1% 
/rhev/data-center/mnt/glusterSD/localhost:_engine
ovirt-node-01.nec-labs.com:/vmdata  3.7T   70M  3.7T   1% 
/rhev/data-center/mnt/glusterSD/ovirt-node-01.nec-labs.com:_vmdata

ovirt-node-02 | success | rc=0 >>
localhost:/engine   1.9T  3.0G  1.9T   1% 
/rhev/data-center/mnt/glusterSD/localhost:_engine
ovirt-node-01.nec-labs.com:/vmdata  3.7T   70M  3.7T   1% 
/rhev/data-center/mnt/glusterSD/ovirt-node-01.nec-labs.com:_vmdata

ovirt-node-03 | success | rc=0 >>
localhost:/engine   1.9T  3.0G  1.9T   1% 
/rhev/data-center/mnt/glusterSD/localhost:_engine
ovirt-node-01.nec-labs.com:/vmdata  3.7T   70M  3.7T   1% 
/rhev/data-center/mnt/glusterSD/ovirt-node-01.nec-labs.com:_vmdata

Wonder what the magic was? ;)  I’ll take the result anyways :)

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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-06 Thread Will Dennis
Define “reinstall the host” - do you just mean 'yum remove ovirt* vdsm*’ then 
‘yum install ovirt* vdsm*’, or completely reinstall the OS, reset-up Gluster, 
etc.?

On Jan 6, 2016, at 4:15 AM, Eliraz Levi 
<el...@redhat.com<mailto:el...@redhat.com>> wrote:

Hi Will how are you?
The log is first pointing about certifications issues:
2016-01-04 00:02:11,259 ERROR 
[org.ovirt.engine.core.vdsbroker.jsonrpc.JsonRpcVdsServer] 
(DefaultQuartzScheduler_Worker-81) [] Failed to get peer certification for host 
'ovirt-node-02': SSL session is invalid
2016-01-04 00:02:11,259 ERROR 
[org.ovirt.engine.core.bll.CertificationValidityChecker] 
(DefaultQuartzScheduler_Worker-81) [] Failed to retrieve peer certifications 
for host 'ovirt-node-02'

So first thing we should do is to try and solve this problem.
Please try to re install the host.
Thanks.
Eliraz :)

- Original Message -
From: "Will Dennis" <wden...@nec-labs.com<mailto:wden...@nec-labs.com>>
To: "Eliraz Levi" <el...@redhat.com<mailto:el...@redhat.com>>, "users" 
<users@ovirt.org<mailto:users@ovirt.org>>
Sent: Tuesday, 5 January, 2016 5:46:23 AM
Subject: Re: [ovirt-users] host status "Non Operational" - how to diagnose & 
fix?

I must admit I’m getting a bit weary of fighting oVirt problems at this point… 
Before I move on to deploying any VMs onto my new infra, I’d like to get the 
base infra working…

I’m still experiencing a “Non Operational” problem on my “ovirt-node-02” host:
http://s1096.photobucket.com/user/willdennis/media/ovirt-node-02_problem.png.html

I have pored thru the logs (all the engine logs, plus the syslogs from the 
engine VM + and my three hypervisor/storage hosts) and I can’t pin down why the 
one node is having a problem… Of course with how voluminous all these logs are, 
it’s kind of like looking for a needle in a haystack, and I’m not even sure 
what the needle looks like, or if it’s even a needle :-/

I have also rebooted this host in past days, this also did not fix the problem.

Note that on the screenshot I posted above, that the webadmin hosts screen says 
that -node-01 has one VM running, and the others 0… You’d think that would be 
the HE VM running on there, but it’s actually on -node-02:

$ ansible istgroup-ovirt -f 1 -i prod -u root -m shell -a "hosted-engine 
--vm-status | grep -e '^Hostname' -e '^Engine'"
ovirt-node-01 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}

ovirt-node-02 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}

ovirt-node-03 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown”}

So it looks like the webadmin UI is wrong as well…

It would be awesome if the UI would give a reason for the “Non Operational” 
status somehow… Or if there was a troubleshooter that could be used to analyze 
the problem… As it is, being so new to all of this, I am completely at the 
list’s mercy to figure this out.

This software has such promise, so I’ll keep working thru these issues, but it 
sure hasn’t been a smooth ride so far…


On Jan 4, 2016, at 7:54 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com><mailto:wden...@nec-labs.com>>
 wrote:

I put all of the engine logs up there now… Try 
engine.log-20160103.gzhttp://i1096.photobucket.com/albums/g330/willdennis/ovirt-node-02_problem.png

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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-06 Thread Will Dennis

On Jan 6, 2016, at 1:39 AM, Sahina Bose 
> wrote:

The reason why the host is Non-operational is usually in the General sub-tab 
for the host.

Ah, did not know that… It does say at the bottom of that pane:

“Host failed to attach one of the Storage Domains attached to it.”

As previously reported to the list last evening, this is true - it has not 
mounted the data SD (which is a Gluster SD.)

Any way to troubleshoot why?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Webadmin UI not reporting # of VMs correctly

2016-01-06 Thread Will Dennis
To follow up on this, after the migrations as a result of the troubleshooting, 
the webadmin UI of the hosts in my datacenter now has each host with “1” VM 
running…
https://drive.google.com/file/d/0B88nnCy4LpFMYklDVDhFUV96Y00/view?usp=sharing

However, The only VM that is running currently is the hosted engine, which is 
currently running on host “ovirt-node-03” —

$ ansible istgroup-ovirt -f 1 -i prod -u root -m shell -a "hosted-engine 
--vm-status | grep -e '^Hostname' -e '^Engine'"
ovirt-node-01 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-03
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}

ovirt-node-02 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-03
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}

ovirt-node-03 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-03
Engine status  : {"health": "good", "vm": "up", "detail": 
"up”}

Is this a UI bug of some sort?


On Jan 4, 2016, at 10:47 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

Note that on the screenshot I posted above, that the webadmin hosts screen says 
that -node-01 has one VM running, and the others 0… You’d think that would be 
the HE VM running on there, but it’s actually on -node-02:

$ ansible istgroup-ovirt -f 1 -i prod -u root -m shell -a "hosted-engine 
--vm-status | grep -e '^Hostname' -e '^Engine'"
ovirt-node-01 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}

ovirt-node-02 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}

ovirt-node-03 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown”}

So it looks like the webadmin UI is wrong as well…

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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-06 Thread Will Dennis
I actually had the opposite problem - I (not knowing) elected to say “Yes” 
(default answer) to “iptables was detected on your computer, do you wish setup 
to configure it?” which then put in the oVirt iptables rules, which assume the 
standard Gluster TCP ports… Since I am running hyperconverged and had followed 
the instructions found at:
http://www.ovirt.org/Features/Self_Hosted_Engine_Hyper_Converged_Gluster_Support
which ends up changing the Gluster ports, then I experienced a fault with 
Gluster where it lost quorum and went read-only since the firewall on the hosts 
were blocking Gluster communications...


On Jan 6, 2016, at 11:10 AM, Sahina Bose  wrote:

Also, worth checking that glusterd ports are open on the gluster hosts (we had 
an issue where HE install overrides glusterd ports and gluster volume was 
inaccessible)

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


Re: [ovirt-users] Getting event message "The Hosted Engine Storage Domain isn't Active" every two hours

2016-01-06 Thread Will Dennis
Update on this problem (happily now resolved! :)

Perusing the oVirt Bugzilla tix, I ran across this one - "failed Activating 
hosted engine domain during auto-import on NFS”:
https://bugzilla.redhat.com/show_bug.cgi?id=1290518

In comments #9 and #12, I got the resolution of my problem:

1) In the System node, Storage sub-tab, alt-click on the Unassigned 
hosted_storage SD, and choose Destroy, confirm and OK - SD is removed
2) Within a minute, the hosted_storage SD reappears; it is in status 
“Maintenance”
3) Go to the Data Centers node, Storage sub-tab, click on the hosted_storage SD 
and click the Activate link
4) Within a few seconds, the hosted_storage SD goes into state Active
5) Within a minute or so, the HostedEngine VM appears in the VMs node, and is 
in status Up

This is the sequence of messages in the Events section for all of this:

Jan 6, 2016 9:25:51 PM   Hosted Engine VM was imported successfully

Jan 6, 2016 9:25:51 PM   Starting to import Vm HostedEngine to Data Center 
Default, Cluster Default

Jan 6, 2016 9:25:51 PM   Storage Domain hosted_storage (Data Center Default) 
was activated by admin@internal

Jan 6, 2016 9:24:46 PM   Storage Domain hosted_storage was updated by 
admin@internal

Jan 6, 2016 9:22:35 PM   Hosted Engine storage domain imported successfully

Jan 6, 2016 9:22:35 PM   Storage Domain hosted_storage was attached to Data 
Center Default by SYSTEM

Jan 6, 2016 9:22:35 PM   Failed to activate Storage Domain hosted_storage (Data 
Center Default) by SYSTEM

Jan 6, 2016 9:22:35 PM   This Data center compatibility version does not 
support importing a data domain with its entities (VMs and Templates). The 
imported domain will be imported without them.

Jan 6, 2016 9:22:24 PM   The Hosted Engine Storage Domain doesn't exist. It 
should be imported into the setup.

Jan 6, 2016 9:22:24 PM   Storage Domain hosted_storage was added by SYSTEM

Jan 6, 2016 9:22:08 PM   Storage Domain hosted_storage was forcibly removed by 
admin@internal




On Dec 31, 2015, at 9:53 AM, Doron Fediuck 
<dfedi...@redhat.com<mailto:dfedi...@redhat.com>> wrote:

Hi will,
assuming this is a fresh install (please let us know if this is not the case), 
then this is just noise.
In 3.6 the hosted engine VM is being imported into it's own DB, but there's no 
active domain
when you start. This is the cause for the noise, and we're working on improving 
it.

Doron

On Thu, Dec 31, 2015 at 5:03 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
Thought I’d start a new thread for this issue… Please also refer to my prior 
thread<http://lists.ovirt.org/pipermail/users/2015-December/036907.html> where 
I have the background to this. Again, I am running hosted engine on 
hyperconverged infra. Is this issue possibly related to Bug 
1269768<https://bugzilla.redhat.com/show_bug.cgi?id=1269768> ?

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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-05 Thread Will Dennis
Feel like I’m in a bit of an echo chamber here… Is anyone out there? ;) Or have 
I worn out the oVirt crew?

Anyhow, not sure if this is a cause, or an effect, but I noticed tonight that 
the data storage domain (which I’m using Gluster for in a hyperconverged way) 
is not mounted on the problem hypervisor host…

$ ansible istgroup-ovirt -f 1 -i prod -u root -m shell -a "df -h | grep ':’"
ovirt-node-01 | success | rc=0 >>
localhost:/engine 1.9T  3.0G  1.9T   1% 
/rhev/data-center/mnt/glusterSD/localhost:_engine
ovirt-node-01.nec-labs.com<http://ovirt-node-01.nec-labs.com>:/vmdata   
 3.7T   70M  3.7T   1% 
/rhev/data-center/mnt/glusterSD/ovirt-node-01.nec-labs.com<http://ovirt-node-01.nec-labs.com>:_vmdata

ovirt-node-02 | success | rc=0 >>
localhost:/engine 1.9T  3.0G  1.9T   1% 
/rhev/data-center/mnt/glusterSD/localhost:_engine

ovirt-node-03 | success | rc=0 >>
localhost:/engine 1.9T  3.0G  1.9T   1% 
/rhev/data-center/mnt/glusterSD/localhost:_engine
ovirt-node-01.nec-labs.com<http://ovirt-node-01.nec-labs.com>:/vmdata   
  3.7T   70M  3.7T   1% 
/rhev/data-center/mnt/glusterSD/ovirt-node-01.nec-labs.com<http://ovirt-node-01.nec-labs.com>:_vmdata

What causes this mount to occur, and is there a way to trigger the mount 
manually?



On Jan 4, 2016, at 10:47 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

I must admit I’m getting a bit weary of fighting oVirt problems at this point… 
Before I move on to deploying any VMs onto my new infra, I’d like to get the 
base infra working…

I’m still experiencing a “Non Operational” problem on my “ovirt-node-02” host:
http://s1096.photobucket.com/user/willdennis/media/ovirt-node-02_problem.png.html

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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-04 Thread Will Dennis
I must admit I’m getting a bit weary of fighting oVirt problems at this point… 
Before I move on to deploying any VMs onto my new infra, I’d like to get the 
base infra working…

I’m still experiencing a “Non Operational” problem on my “ovirt-node-02” host:
http://s1096.photobucket.com/user/willdennis/media/ovirt-node-02_problem.png.html

I have pored thru the logs (all the engine logs, plus the syslogs from the 
engine VM + and my three hypervisor/storage hosts) and I can’t pin down why the 
one node is having a problem… Of course with how voluminous all these logs are, 
it’s kind of like looking for a needle in a haystack, and I’m not even sure 
what the needle looks like, or if it’s even a needle :-/

I have also rebooted this host in past days, this also did not fix the problem.

Note that on the screenshot I posted above, that the webadmin hosts screen says 
that -node-01 has one VM running, and the others 0… You’d think that would be 
the HE VM running on there, but it’s actually on -node-02:

$ ansible istgroup-ovirt -f 1 -i prod -u root -m shell -a "hosted-engine 
--vm-status | grep -e '^Hostname' -e '^Engine'"
ovirt-node-01 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}

ovirt-node-02 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}

ovirt-node-03 | success | rc=0 >>
Hostname   : ovirt-node-01
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Hostname   : ovirt-node-02
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown”}

So it looks like the webadmin UI is wrong as well…

It would be awesome if the UI would give a reason for the “Non Operational” 
status somehow… Or if there was a troubleshooter that could be used to analyze 
the problem… As it is, being so new to all of this, I am completely at the 
list’s mercy to figure this out.

This software has such promise, so I’ll keep working thru these issues, but it 
sure hasn’t been a smooth ride so far…


On Jan 4, 2016, at 7:54 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

I put all of the engine logs up there now… Try 
engine.log-20160103.gzhttp://i1096.photobucket.com/albums/g330/willdennis/ovirt-node-02_problem.png
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-04 Thread Will Dennis
Sorry, link should be working again now...



Sent with Good (www.good.com)


-Original Message-
From: Eliraz Levi [el...@redhat.com<mailto:el...@redhat.com>]
Sent: Monday, January 04, 2016 07:17 AM Eastern Standard Time
To: Will Dennis
Subject: Re: [ovirt-users] host status "Non Operational" - how to diagnose & 
fix?


Hi Will :)
The link is broken.
Can you please send a valid one to the list?
thanks :)
Eliraz.

- Original Message -
From: "Will Dennis" <wden...@nec-labs.com>
To: "Eliraz Levi" <el...@redhat.com>
Sent: Sunday, 3 January, 2016 8:23:59 PM
Subject: Re: [ovirt-users] host status "Non Operational" - how to diagnose & 
fix?

Digital Ocean droplet and Python SimpleHTTPServer FTW ;)
http://c7-01.thiscant.fail



On Jan 3, 2016, at 9:33 AM, Eliraz Levi 
<el...@redhat.com<mailto:el...@redhat.com>> wrote:



vdsClient output: http://fpaste.org/30/82858714/

The engine.log is very large (4496 lines) so cannot fpaste… Is there a file 
upload service that can be used to share these sorts of things with you?

Hi Will how are you?
Perhaps you can upload the log to some sort of a cloud? say google and share 
the URL?
I think it will be the fastest way around.
Thanks :)
please send the URL in the mailing list so everybody will be able to follow.
Cheers!
Eliraz :)



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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-04 Thread Will Dennis
I put all of the engine logs up there now… Try engine.log-20160103.gz

> On Jan 4, 2016, at 7:48 AM, Eliraz Levi <el...@redhat.com> wrote:
> 
> ok thanks :)
> It looks like you didn't press refresh capabilities.
> I can't learn a lot from this log.
> can you refresh the host's capabilities and then send the log?
> thanks :)
> Eliraz. 
> 
> - Original Message -
> From: "Will Dennis" <wden...@nec-labs.com>
> To: "Eliraz Levi" <el...@redhat.com>
> Sent: Monday, 4 January, 2016 2:22:03 PM
> Subject: RE: [ovirt-users] host status "Non Operational" - how to diagnose & 
> fix?
> 
> If you try it again, should work now... Damn hackers...
> 
> 
> 
> Sent with Good (www.good.com)
> 
> 
> -Original Message-
> From: Eliraz Levi [el...@redhat.com<mailto:el...@redhat.com>]
> Sent: Monday, January 04, 2016 07:17 AM Eastern Standard Time
> To: Will Dennis
> Subject: Re: [ovirt-users] host status "Non Operational" - how to diagnose & 
> fix?
> 
> 
> Hi Will :)
> The link is broken.
> Can you please send a valid one to the list?
> thanks :)
> Eliraz.
> 
> - Original Message -
> From: "Will Dennis" <wden...@nec-labs.com>
> To: "Eliraz Levi" <el...@redhat.com>
> Sent: Sunday, 3 January, 2016 8:23:59 PM
> Subject: Re: [ovirt-users] host status "Non Operational" - how to diagnose & 
> fix?
> 
> Digital Ocean droplet and Python SimpleHTTPServer FTW ;)
> http://c7-01.thiscant.fail
> 
> 
> 
> On Jan 3, 2016, at 9:33 AM, Eliraz Levi 
> <el...@redhat.com<mailto:el...@redhat.com>> wrote:
> 
> 
> 
> vdsClient output: http://fpaste.org/30/82858714/
> 
> The engine.log is very large (4496 lines) so cannot fpaste… Is there a file 
> upload service that can be used to share these sorts of things with you?
> 
> Hi Will how are you?
> Perhaps you can upload the log to some sort of a cloud? say google and share 
> the URL?
> I think it will be the fastest way around.
> Thanks :)
> please send the URL in the mailing list so everybody will be able to follow.
> Cheers!
> Eliraz :)
> 
> 

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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-04 Thread Will Dennis
Link is working again...

http://c7-01.thiscant.fail



Sent with Good (www.good.com)


-Original Message-
From: Eliraz Levi [el...@redhat.com<mailto:el...@redhat.com>]
Sent: Monday, January 04, 2016 07:17 AM Eastern Standard Time
To: Will Dennis
Subject: Re: [ovirt-users] host status "Non Operational" - how to diagnose & 
fix?


Hi Will :)
The link is broken.
Can you please send a valid one to the list?
thanks :)
Eliraz.

- Original Message -
From: "Will Dennis" <wden...@nec-labs.com>
To: "Eliraz Levi" <el...@redhat.com>
Sent: Sunday, 3 January, 2016 8:23:59 PM
Subject: Re: [ovirt-users] host status "Non Operational" - how to diagnose & 
fix?

Digital Ocean droplet and Python SimpleHTTPServer FTW ;)
http://c7-01.thiscant.fail



On Jan 3, 2016, at 9:33 AM, Eliraz Levi 
<el...@redhat.com<mailto:el...@redhat.com>> wrote:



vdsClient output: http://fpaste.org/30/82858714/

The engine.log is very large (4496 lines) so cannot fpaste… Is there a file 
upload service that can be used to share these sorts of things with you?

Hi Will how are you?
Perhaps you can upload the log to some sort of a cloud? say google and share 
the URL?
I think it will be the fastest way around.
Thanks :)
please send the URL in the mailing list so everybody will be able to follow.
Cheers!
Eliraz :)



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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-03 Thread Will Dennis
Forgot to cc: list, sorry…

On Jan 3, 2016, at 1:24 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

Digital Ocean droplet and Python SimpleHTTPServer FTW ;)
http://c7-01.thiscant.fail<http://c7-01.thiscant.fail/>



On Jan 3, 2016, at 9:33 AM, Eliraz Levi 
<el...@redhat.com<mailto:el...@redhat.com>> wrote:



vdsClient output: http://fpaste.org/30/82858714/

The engine.log is very large (4496 lines) so cannot fpaste… Is there a file 
upload service that can be used to share these sorts of things with you?

Hi Will how are you?
Perhaps you can upload the log to some sort of a cloud? say google and share 
the URL?
I think it will be the fastest way around.
Thanks :)
please send the URL in the mailing list so everybody will be able to follow.
Cheers!
Eliraz :)




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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-03 Thread Will Dennis
vdsClient output: http://fpaste.org/30/82858714/

The engine.log is very large (4496 lines) so cannot fpaste… Is there a file 
upload service that can be used to share these sorts of things with you?


On Jan 3, 2016, at 5:24 AM, Eliraz Levi 
<el...@redhat.com<mailto:el...@redhat.com>> wrote:

Hi how are you?

Can you please send the following information:
1. Run the following command in the host and send it's output:
  vdsClient -s 0 getVdsStats
2. engine.log

Also, please try to refresh caps.

Thanks.
BR'
Eliraz :)


From: "Karli Sjöberg" <karli.sjob...@slu.se<mailto:karli.sjob...@slu.se>>
To: "Will Dennis" <wden...@nec-labs.com<mailto:wden...@nec-labs.com>>
Cc: "users" <users@ovirt.org<mailto:users@ovirt.org>>
Sent: Sunday, 3 January, 2016 9:14:04 AM
Subject: Re: [ovirt-users] host status "Non Operational" - how to diagnose & 
fix?




Den 3 jan. 2016 2:43 fm skrev Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>>:

 The ‘ovirtmgmt’ network has been & is still placed on a working NIC 
(enp12s0f0)… It’s just that now, oVirt somehow doesn’t *think* it’s working…

Here's something I wrote a long time ago now, for those times when 
auto-gui-config fluff just won't do:


http://www.ovirt.org/Bonding_VLAN_Bridge

/K

 http://s1096.photobucket.com/user/willdennis/media/setup-networks.png.html

 However, as I showed you in the ‘ip link show up’ output, it is indeed up and 
working.




 On Jan 2, 2016, at 8:00 PM, Roy Golan 
<rgo...@redhat.com<mailto:rgo...@redhat.com><mailto:rgo...@redhat.com>> wrote:



 On Sun, Jan 3, 2016 at 2:46 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com><mailto:wden...@nec-labs.com>>
 wrote:
 I have had one of my hosts go into the state “Non Operational” after I 
rebooted it… I also noticed that in the oVirt webadmin UI, the NIC that’s used 
in the ‘ovirtmgmt’ network is showing “down”, but in Linux the NIC is 
operational and up, as is the ‘ovirtmgmt’ bridge…


 Hosts tab -> Network Interfaces subtab -> click "Setup networks" and make sure 
"ovirtmgmt" is placed on a working nic.

 make sure
 [root@ovirt-node-02 ~]# ip link sh up
 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT
 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 2: bond0: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc noqueue 
state DOWN mode DEFAULT
 link/ether 00:15:17:7b:e9:b0 brd ff:ff:ff:ff:ff:ff
 3: enp4s0f0: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc 
pfifo_fast master bond0 state DOWN mode DEFAULT qlen 1000
 link/ether 00:15:17:7b:e9:b0 brd ff:ff:ff:ff:ff:ff
 4: enp4s0f1: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc 
pfifo_fast master bond0 state DOWN mode DEFAULT qlen 1000
 link/ether 00:15:17:7b:e9:b0 brd ff:ff:ff:ff:ff:ff
 5: enp12s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
master ovirtmgmt state UP mode DEFAULT qlen 1000
 link/ether 00:21:85:35:08:4c brd ff:ff:ff:ff:ff:ff
 7: ovirtmgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UP mode DEFAULT
 link/ether 00:21:85:35:08:4c brd ff:ff:ff:ff:ff:ff

 What should I take a look at first?

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


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

___

Users mailing list
Users@ovirt.org<mailto: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] Configuring another interface for trunked (tagged) VM traffic

2016-01-02 Thread Will Dennis
I found this following (older) article, that gave me a clue…
http://captainkvm.com/2013/04/maximizing-your-10gb-ethernet-in-kvm/

So I configured the following up in /etc/sysconfig/network-scripts for each of 
my hosts —

[root@ovirt-node-01 network-scripts]# cat ifcfg-enp4s0f0
HWADDR=00:15:17:7B:E9:EA
TYPE=Ethernet
BOOTPROTO=none
NAME=enp4s0f0
UUID=8b006c8c-b5d3-4dae-a1e7-5ca463119be3
ONBOOT=yes
SLAVE=yes
MASTER=bond0

(^^^ same sort of file made for enp4s0f1)

[root@ovirt-node-01 network-scripts]# cat ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=4 miimon=100"

[root@ovirt-node-01 network-scripts]# cat ifcfg-bond0.180
DEVICE=bond0.180
VLAN=yes
BOOTPROTO=static
ONBOOT=yes
BRIDGE=br180

(^^^ same sort of file made for other VLANs)

[root@ovirt-node-03 network-scripts]# cat ifcfg-br180
DEVICE=br180
TYPE=Bridge
BOOTPROTO=static
ONBOOT=yes
DELAY=0

(^^^ same sort of file made for other bridges)

So that all makes the following sort of device chain:

http://s1096.photobucket.com/user/willdennis/media/ovirt-bond-layout.png.html;
 target="_blank">http://i1096.photobucket.com/albums/g330/willdennis/ovirt-bond-layout.png; 
border="0" alt="ovirt-bond-layout.png"/>

But then I read this next article:
http://captainkvm.com/2013/04/maximizing-your-10gb-ethernet-in-rhev/

This leads me to believe (if it’s still the same process on current oVirt/RHEV) 
that I could stop with the bond0 setup, and then by tying the networks I 
created for the VLANs of interest (which do have the proper VLAN tags set on 
them) that oVirt would automatically create the needed bond0 VLAN 
sub-interfaces, and the related  per-VLAN bridges.

So, is there a way to tie the oVirt networks to use the bridges I’ve already 
created (they don’t show up in the oVirt webadmin “Setup host networks” dialog) 
or should I just match the oVirt networks with the bond0 interface, and let 
whatever structure oVirt creates happen? (and if so, I guess I’d need to remove 
the bond0 VLAN sub-interfaces, and the related per-VLAN bridges I created?)


On Dec 31, 2015, at 1:56 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

Hi all,

Taking the next step on configuring my newly-established oVirt cluster, and 
that would be to set up a trunk (VLAN tagged) connection to each cluster host 
(there are 3) for VM traffic. What I’m looking at is akin to setting up 
vSwitches on VMware, except I have never done this on a VMware cluster, just on 
individual hosts…

Anyhow, I have the following NICs available on my three hosts (conveniently, 
they are the exact same hardware platform):

ovirt-node-01 | success | rc=0 >>
3: enp4s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
4: enp4s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
5: enp12s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
master ovirtmgmt state UP mode DEFAULT qlen 1000
6: enp12s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000

ovirt-node-02 | success | rc=0 >>
3: enp4s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
4: enp4s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
5: enp12s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
master ovirtmgmt state UP mode DEFAULT qlen 1000
6: enp12s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000

ovirt-node-03 | success | rc=0 >>
3: enp4s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
4: enp4s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
5: enp12s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
master ovirtmgmt state UP mode DEFAULT qlen 1000
6: enp12s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000

As you may see, I am using the ‘enp12s0f0’ interface on each host for the 
‘ovirtmgmt’ bridge. This network carries the admin traffic as well as Gluster 
distributed filesystem traffic, but I now want to establish a separate link to 
each host for VM traffic. The ‘ovirtmgmt’ bridge is NOT trunked/tagged, only a 
single VLAN is used. For the VM traffic, I’d like to use the ‘enp4s0f0’ 
interface on each host, and tie them into a logical network named “vm-traffic” 
(or the like) and make that a trunked/tagged interface.

Are there any existing succinct instructions on how to do this? I have been 
reading thru the oVirt Admin Manual’s “Logical Networks” section 
(http://www.ovirt.org/OVirt_Administration_Guide#Logical_Network_Tasks) but it 
hasn’t “clicked” in my mind yet...

Thanks,
Will

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


[ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-02 Thread Will Dennis
I have had one of my hosts go into the state “Non Operational” after I rebooted 
it… I also noticed that in the oVirt webadmin UI, the NIC that’s used in the 
‘ovirtmgmt’ network is showing “down”, but in Linux the NIC is operational and 
up, as is the ‘ovirtmgmt’ bridge…

[root@ovirt-node-02 ~]# ip link sh up
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: bond0:  mtu 1500 qdisc noqueue 
state DOWN mode DEFAULT
link/ether 00:15:17:7b:e9:b0 brd ff:ff:ff:ff:ff:ff
3: enp4s0f0:  mtu 1500 qdisc 
pfifo_fast master bond0 state DOWN mode DEFAULT qlen 1000
link/ether 00:15:17:7b:e9:b0 brd ff:ff:ff:ff:ff:ff
4: enp4s0f1:  mtu 1500 qdisc 
pfifo_fast master bond0 state DOWN mode DEFAULT qlen 1000
link/ether 00:15:17:7b:e9:b0 brd ff:ff:ff:ff:ff:ff
5: enp12s0f0:  mtu 1500 qdisc pfifo_fast 
master ovirtmgmt state UP mode DEFAULT qlen 1000
link/ether 00:21:85:35:08:4c brd ff:ff:ff:ff:ff:ff
7: ovirtmgmt:  mtu 1500 qdisc noqueue state UP 
mode DEFAULT
link/ether 00:21:85:35:08:4c brd ff:ff:ff:ff:ff:ff

What should I take a look at first?

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


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-02 Thread Will Dennis
The ‘ovirtmgmt’ network has been & is still placed on a working NIC 
(enp12s0f0)… It’s just that now, oVirt somehow doesn’t *think* it’s working…

http://s1096.photobucket.com/user/willdennis/media/setup-networks.png.html

However, as I showed you in the ‘ip link show up’ output, it is indeed up and 
working.




On Jan 2, 2016, at 8:00 PM, Roy Golan 
<rgo...@redhat.com<mailto:rgo...@redhat.com>> wrote:



On Sun, Jan 3, 2016 at 2:46 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
I have had one of my hosts go into the state “Non Operational” after I rebooted 
it… I also noticed that in the oVirt webadmin UI, the NIC that’s used in the 
‘ovirtmgmt’ network is showing “down”, but in Linux the NIC is operational and 
up, as is the ‘ovirtmgmt’ bridge…


Hosts tab -> Network Interfaces subtab -> click "Setup networks" and make sure 
"ovirtmgmt" is placed on a working nic.

make sure
[root@ovirt-node-02 ~]# ip link sh up
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: bond0: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc noqueue 
state DOWN mode DEFAULT
link/ether 00:15:17:7b:e9:b0 brd ff:ff:ff:ff:ff:ff
3: enp4s0f0: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc 
pfifo_fast master bond0 state DOWN mode DEFAULT qlen 1000
link/ether 00:15:17:7b:e9:b0 brd ff:ff:ff:ff:ff:ff
4: enp4s0f1: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc 
pfifo_fast master bond0 state DOWN mode DEFAULT qlen 1000
link/ether 00:15:17:7b:e9:b0 brd ff:ff:ff:ff:ff:ff
5: enp12s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
master ovirtmgmt state UP mode DEFAULT qlen 1000
link/ether 00:21:85:35:08:4c brd ff:ff:ff:ff:ff:ff
7: ovirtmgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
mode DEFAULT
link/ether 00:21:85:35:08:4c brd ff:ff:ff:ff:ff:ff

What should I take a look at first?

___
Users mailing list
Users@ovirt.org<mailto: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] Getting event message "The Hosted Engine Storage Domain isn't Active" every two hours

2015-12-31 Thread Will Dennis
This is a (relatively) brand new install of oVirt 3.6, not an upgrade or 
anything...

I will ignore these messages then; hopefully soon there will be a fix that 
allows me to see the HE VM, and stops these messages...

Thanks,
Will

From: Doron Fediuck [mailto:dfedi...@redhat.com]
Sent: Thursday, December 31, 2015 9:53 AM
To: Will Dennis
Cc: users; Golan, Roy
Subject: Re: [ovirt-users] Getting event message "The Hosted Engine Storage 
Domain isn't Active" every two hours

Hi will,
assuming this is a fresh install (please let us know if this is not the case), 
then this is just noise.
In 3.6 the hosted engine VM is being imported into it's own DB, but there's no 
active domain
when you start. This is the cause for the noise, and we're working on improving 
it.

Doron

On Thu, Dec 31, 2015 at 5:03 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
Thought I’d start a new thread for this issue… Please also refer to my prior 
thread<http://lists.ovirt.org/pipermail/users/2015-December/036907.html> where 
I have the background to this. Again, I am running hosted engine on 
hyperconverged infra. Is this issue possibly related to Bug 
1269768<https://bugzilla.redhat.com/show_bug.cgi?id=1269768> ?

___
Users mailing list
Users@ovirt.org<mailto: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] Configuring another interface for trunked (tagged) VM traffic

2015-12-31 Thread Will Dennis
Hi all,

Taking the next step on configuring my newly-established oVirt cluster, and 
that would be to set up a trunk (VLAN tagged) connection to each cluster host 
(there are 3) for VM traffic. What I’m looking at is akin to setting up 
vSwitches on VMware, except I have never done this on a VMware cluster, just on 
individual hosts…

Anyhow, I have the following NICs available on my three hosts (conveniently, 
they are the exact same hardware platform):

ovirt-node-01 | success | rc=0 >>
3: enp4s0f0:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
4: enp4s0f1:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
5: enp12s0f0:  mtu 1500 qdisc pfifo_fast 
master ovirtmgmt state UP mode DEFAULT qlen 1000
6: enp12s0f1:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000

ovirt-node-02 | success | rc=0 >>
3: enp4s0f0:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
4: enp4s0f1:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
5: enp12s0f0:  mtu 1500 qdisc pfifo_fast 
master ovirtmgmt state UP mode DEFAULT qlen 1000
6: enp12s0f1:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000

ovirt-node-03 | success | rc=0 >>
3: enp4s0f0:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
4: enp4s0f1:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000
5: enp12s0f0:  mtu 1500 qdisc pfifo_fast 
master ovirtmgmt state UP mode DEFAULT qlen 1000
6: enp12s0f1:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
qlen 1000

As you may see, I am using the ‘enp12s0f0’ interface on each host for the 
‘ovirtmgmt’ bridge. This network carries the admin traffic as well as Gluster 
distributed filesystem traffic, but I now want to establish a separate link to 
each host for VM traffic. The ‘ovirtmgmt’ bridge is NOT trunked/tagged, only a 
single VLAN is used. For the VM traffic, I’d like to use the ‘enp4s0f0’ 
interface on each host, and tie them into a logical network named “vm-traffic” 
(or the like) and make that a trunked/tagged interface.

Are there any existing succinct instructions on how to do this? I have been 
reading thru the oVirt Admin Manual’s “Logical Networks” section 
(http://www.ovirt.org/OVirt_Administration_Guide#Logical_Network_Tasks) but it 
hasn’t “clicked” in my mind yet...

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


[ovirt-users] Getting event message "The Hosted Engine Storage Domain isn't Active" every two hours

2015-12-30 Thread Will Dennis
Thought I’d start a new thread for this issue… Please also refer to my prior 
thread where 
I have the background to this. Again, I am running hosted engine on 
hyperconverged infra. Is this issue possibly related to Bug 
1269768 ?

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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-29 Thread Will Dennis
Would like to get this issue settled before I move on… Should I expect to see 
the hosted engine VM showing up in the “VMs” node, or is it a “hidden” VM 
because of it’s special status?

Also, I see that I can change the name of the 1st host if I select it in the 
“Hosts” node, and choose “Edit”… Would it cause any problem if I rename it 
there (how would that effect the engine VM, if at all?)


On Dec 28, 2015, at 8:59 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

The uncompressed engine log for the period in question is 12M... Too large for 
a pastebin...

However, I grepped for ‘domain’ and that culls it down to 18 lines; the results 
are at:http://ur1.ca/od26u


From: Roy Golan [mailto:rgo...@redhat.com]
Sent: Monday, December 28, 2015 3:04 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on 
hyperconverged setup



On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
There is still nothing showing up in the “VMs” node…


Please share the /var/log/ovirt-engine/engine.log from the engine machine
If you are running 3.6.1 you should see the domain imported automatically.

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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-29 Thread Will Dennis
Also, just noticed that I’m getting the message “The Hosted Engine Storage 
Domain isn’t Active” in the Events pane, but I do not see that domain anywhere 
now in the Storage node in the Datacenter… What must I do to activate this?

On Dec 29, 2015, at 8:44 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

Would like to get this issue settled before I move on… Should I expect to see 
the hosted engine VM showing up in the “VMs” node, or is it a “hidden” VM 
because of it’s special status?

Also, I see that I can change the name of the 1st host if I select it in the 
“Hosts” node, and choose “Edit”… Would it cause any problem if I rename it 
there (how would that effect the engine VM, if at all?)


On Dec 28, 2015, at 8:59 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

The uncompressed engine log for the period in question is 12M... Too large for 
a pastebin...

However, I grepped for ‘domain’ and that culls it down to 18 lines; the results 
are at:http://ur1.ca/od26u


From: Roy Golan [mailto:rgo...@redhat.com]
Sent: Monday, December 28, 2015 3:04 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on 
hyperconverged setup



On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
There is still nothing showing up in the “VMs” node…


Please share the /var/log/ovirt-engine/engine.log from the engine machine
If you are running 3.6.1 you should see the domain imported automatically.

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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-28 Thread Will Dennis
The uncompressed engine log for the period in question is 12M... Too large for 
a pastebin...

However, I grepped for ‘domain’ and that culls it down to 18 lines; the results 
are at: http://ur1.ca/od26u


From: Roy Golan [mailto:rgo...@redhat.com]
Sent: Monday, December 28, 2015 3:04 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on 
hyperconverged setup



On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
Think I found the issue… Something caused the glusterd service on ovirt-host-03 
to segfault… Restarted it, and then went ahead and configured a GlusterFS 
storage domain for Data, which worked, and now the DC status is “Up"… Funny 
thing is, I do not see the “hosted_storage” domain anywhere now, just the Data 
SD that I created (name = vm_storage_1)

There is still nothing showing up in the “VMs” node…


Please share the /var/log/ovirt-engine/engine.log from the engine machine
If you are running 3.6.1 you should see the domain imported automatically.



On Dec 27, 2015, at 9:28 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com><mailto:wden...@nec-labs.com<mailto:wden...@nec-labs.com>>>
 wrote:

Did a bit of RTFM this evening, and read in the Admin Guide that:
"The new data center is added to the virtualization environment. It will remain 
Uninitialized until a cluster, host, and storage domain are configured for it; 
use Guide Me to configure these entities."

So, in webadmin I clicked on the Data Centers node, and then clicked on the 
“Guide Me” link; sure enough, in the “There are still unconfigured entities:” 
section, there was a link for “Attach Storage”. When I clicked on it, I saw 
that there was an option to attach the “hosted_storage” storage domain; when I 
tried to do so, it failed, and I got the following events at the bottom of the 
webadmin UI:

Dec 27, 2015 8:58:18 PM  VDSM ovirt-node-03 command failed: Cannot acquire host 
id: (u'e89b6e64-bd7d-4846-b970-9af32a3295ee', SanlockException(22, 'Sanlock 
lockspace add failure', 'Invalid argument'))

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domains to Data Center 
Default. (User: admin@internal)

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domain hosted_storage to Data 
Center Default. (User: admin@internal)

So, how to fix this latest issue?


On Dec 27, 2015, at 3:11 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com><mailto:wden...@nec-labs.com<mailto:wden...@nec-labs.com>>>
 wrote:

I clicked on the “Data Centers” node on the left nav of webadmin, and I see 
that the “Default” DC (the only one I have) has a status of “Uninitialized”… 
Not sure how to initialize it (there’s no menu option for that on the node…)



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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-27 Thread Will Dennis
I meant “ovirt-node-01” below, not “ovirt-host-01”… so the sentence should have 
read:

‘I would expect that the last entry would be for “ovirt-node-01”, not 
“ovirt-engine-01”…’

Sorry for any confusion...

> On Dec 26, 2015, at 11:28 AM, Will Dennis <wden...@nec-labs.com> wrote:
> 
> 
> I would expect that the last entry would be for “ovirt-host-01”, not 
> “ovirt-engine-01”… 
> 

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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-27 Thread Will Dennis
Hi Roy,

I did not ever change the engine name… When I deployed it with ‘hosted-engine 
—setup’ I gave it its’ own hostname/IP, assuming it would need one that’s 
different from any of the virtualization hosts. So the virt hosts have names / 
IPs as follows:

ovirt-node-01   xxx.yyy.zzz.91
ovirt-node-02   xxx.yyy.zzz.92
ovirt-node-03   xxx.yyy.zzz.93

…and the engine VM has the hostname / IP as follows:

ovirt-engine-01   xxx.yyy.zzz.95

The engine setup log can be viewed at: http://ur1.ca/od171

I clicked on the “Data Centers” node on the left nav of webadmin, and I see 
that the “Default” DC (the only one I have) has a status of “Uninitialized”… 
Not sure how to initialize it (there’s no menu option for that on the node…)

Thanks,
Will

On Dec 27, 2015, at 1:38 PM, Roy Golan 
<rgo...@redhat.com<mailto:rgo...@redhat.com>> wrote:



On Sat, Dec 26, 2015 at 6:27 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
Hi all,

I have a hyperconverged setup where I have a hosted engine that runs on one of 
three hosts, which are named “ovirt-node-[01,02,03]” —

[root@ovirt-node-01 ~]# hosted-engine --vm-status | grep -e "Hostname" -e 
"Engine"
Hostname   : ovirt-node-01
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-02
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown”}

When I deployed the hosted engine, I gave it a separate hostname/IP, as I 
expected it would need it (hostname = “ovirt-engine-01”)


So when exactly did you changed the hostname?
And what did you pass to the hosted engine install as answers? perhaps share 
the setup log under /var/log/ovirt-hosted-engine-ha

However, when I look at the hosts in the oVirt web admin screen, I see that the 
first host has the name “ovirt-engine-01” whereas it has the hostname of 
“ovirt-node-01”

I also notice that even though the 1st host is showing the number of VM’s 
running as “1”, when I click on the “VMs” node, there are no VMs showing.


You have to have a data center active, and only after that you would be able to 
see your engine VM.  This is a must. First your hosted_storage will be imported 
into the setup automatically followed by the engine vm import.


Not sure of what “should be”, but, would expect that the first host would have 
a name equal to its DNS hostname (like the other two do), and that in VMs I 
would see the engine VM. But is that not how a hosted engine setup works?

And if not, if the engine VM migrates over to another host, will that host gain 
the name "“ovirt-engine-01”?


no. We don't mess with that. The hostname is static in the engine.

I ask this now because I want to set up a storage domain on these hosts using 
GlusterFS, and I have to select a host to base the connection on. In the “Use 
Host” dropbox, I currently see the values:

ovirt-node-03
ovirt-node-02
ovirt-engine-01

I would expect that the last entry would be for “ovirt-host-01”, not 
“ovirt-engine-01”…

I don’t want to set up the storage domain until I figure this out, so as to 
prevent potential breakage...

Thanks,
Will
___
Users mailing list
Users@ovirt.org<mailto: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] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-27 Thread Will Dennis
Think I found the issue… Something caused the glusterd service on ovirt-host-03 
to segfault… Restarted it, and then went ahead and configured a GlusterFS 
storage domain for Data, which worked, and now the DC status is “Up"… Funny 
thing is, I do not see the “hosted_storage” domain anywhere now, just the Data 
SD that I created (name = vm_storage_1)

There is still nothing showing up in the “VMs” node…


On Dec 27, 2015, at 9:28 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

Did a bit of RTFM this evening, and read in the Admin Guide that:
"The new data center is added to the virtualization environment. It will remain 
Uninitialized until a cluster, host, and storage domain are configured for it; 
use Guide Me to configure these entities."

So, in webadmin I clicked on the Data Centers node, and then clicked on the 
“Guide Me” link; sure enough, in the “There are still unconfigured entities:” 
section, there was a link for “Attach Storage”. When I clicked on it, I saw 
that there was an option to attach the “hosted_storage” storage domain; when I 
tried to do so, it failed, and I got the following events at the bottom of the 
webadmin UI:

Dec 27, 2015 8:58:18 PM  VDSM ovirt-node-03 command failed: Cannot acquire host 
id: (u'e89b6e64-bd7d-4846-b970-9af32a3295ee', SanlockException(22, 'Sanlock 
lockspace add failure', 'Invalid argument'))

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domains to Data Center 
Default. (User: admin@internal)

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domain hosted_storage to Data 
Center Default. (User: admin@internal)

So, how to fix this latest issue?


On Dec 27, 2015, at 3:11 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

I clicked on the “Data Centers” node on the left nav of webadmin, and I see 
that the “Default” DC (the only one I have) has a status of “Uninitialized”… 
Not sure how to initialize it (there’s no menu option for that on the node…)



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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-27 Thread Will Dennis
Did a bit of RTFM this evening, and read in the Admin Guide that:
"The new data center is added to the virtualization environment. It will remain 
Uninitialized until a cluster, host, and storage domain are configured for it; 
use Guide Me to configure these entities."

So, in webadmin I clicked on the Data Centers node, and then clicked on the 
“Guide Me” link; sure enough, in the “There are still unconfigured entities:” 
section, there was a link for “Attach Storage”. When I clicked on it, I saw 
that there was an option to attach the “hosted_storage” storage domain; when I 
tried to do so, it failed, and I got the following events at the bottom of the 
webadmin UI:

Dec 27, 2015 8:58:18 PM  VDSM ovirt-node-03 command failed: Cannot acquire host 
id: (u'e89b6e64-bd7d-4846-b970-9af32a3295ee', SanlockException(22, 'Sanlock 
lockspace add failure', 'Invalid argument'))

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domains to Data Center 
Default. (User: admin@internal)

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domain hosted_storage to Data 
Center Default. (User: admin@internal)

So, how to fix this latest issue?


On Dec 27, 2015, at 3:11 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

I clicked on the “Data Centers” node on the left nav of webadmin, and I see 
that the “Default” DC (the only one I have) has a status of “Uninitialized”… 
Not sure how to initialize it (there’s no menu option for that on the node…)


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


[ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-26 Thread Will Dennis
Hi all,

I have a hyperconverged setup where I have a hosted engine that runs on one of 
three hosts, which are named “ovirt-node-[01,02,03]” —

[root@ovirt-node-01 ~]# hosted-engine --vm-status | grep -e "Hostname" -e 
"Engine"
Hostname   : ovirt-node-01
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-02
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown”}

When I deployed the hosted engine, I gave it a separate hostname/IP, as I 
expected it would need it (hostname = “ovirt-engine-01”) 

However, when I look at the hosts in the oVirt web admin screen, I see that the 
first host has the name “ovirt-engine-01” whereas it has the hostname of 
“ovirt-node-01”

I also notice that even though the 1st host is showing the number of VM’s 
running as “1”, when I click on the “VMs” node, there are no VMs showing.

Not sure of what “should be”, but, would expect that the first host would have 
a name equal to its DNS hostname (like the other two do), and that in VMs I 
would see the engine VM. But is that not how a hosted engine setup works?

And if not, if the engine VM migrates over to another host, will that host gain 
the name "“ovirt-engine-01”?

I ask this now because I want to set up a storage domain on these hosts using 
GlusterFS, and I have to select a host to base the connection on. In the “Use 
Host” dropbox, I currently see the values:

ovirt-node-03
ovirt-node-02
ovirt-engine-01

I would expect that the last entry would be for “ovirt-host-01”, not 
“ovirt-engine-01”… 

I don’t want to set up the storage domain until I figure this out, so as to 
prevent potential breakage...

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


[ovirt-users] How to add a Gluster storage domain on hyper-converged?

2015-12-23 Thread Will Dennis
Hi all,

I have a three-node hyper-converged oVirt datacenter running; now I need to add 
my first storage domain. I had prepped for this before installing oVirt by 
creating two distributed Gluster volumes with 3x replicas (one for the hosted 
engine, one for VM storage) -

[root@ovirt-node-01 ~]# gluster volume info | grep -e "Name" -e "Type" -e 
"Number"
Volume Name: engine
Type: Distributed-Replicate
Number of Bricks: 2 x 3 = 6
Volume Name: vmdata
Type: Distributed-Replicate
Number of Bricks: 2 x 3 = 6

Now I'd like to use the "vmdata" volume for my storage domain. When in webadmin 
I select "New Domain" I get a dialog that lets me select GlusterFS as the 
storage type, but then requires a "Use host:" setting, and a path. Is it 
possible for me to select one of my oVirt hosts (they all have the 'vmdata' 
volume), and then use "localhost:/vmdata" for the path? Or will this not work?

I know this isn't officially supported yet, but if I can get it to work 
somehow, that'd be great :)  It's a non-production (PoC) setup, so the cost of 
failure should be low... That said, I don't want to trash my rig and have to 
redo the whole thing all over ;)

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


Re: [ovirt-users] How to run "engine-backup"?

2015-12-22 Thread Will Dennis
n/m, found this URL cleverly concealed in the output of “—help” ;)

http://www.ovirt.org/Ovirt-engine-backup

Still would be good to know how I could get a console...

From: Will Dennis
Sent: Tuesday, December 22, 2015 1:37 PM
To: 'Simone Tiraboschi'
Cc: users
Subject: RE: [ovirt-users] How to run "engine-backup"?

Are there any docs on using this (other than the ‘—help” option text)?

Also, I do not have a GUI environment on my oVirt hosts; how to I display the 
console of the hosted engine VM if I need it?

From: Simone Tiraboschi [mailto:stira...@redhat.com]
Sent: Tuesday, December 22, 2015 11:44 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] How to run "engine-backup"?

yes, engine-backup is on the engine VM :-)

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


Re: [ovirt-users] Hosted Engine crash - state = EngineUp-EngineUpBadHealth

2015-12-22 Thread Will Dennis
The network should *not* be flakey - all hosts are plugged into a Cisco 
Catalyst 4500 switch. I can take a look at the port counters when I have a 
chance, but would not expect intermittent network disruptions.

Will post logs soon and provide URLs.

W.



Sent with Good (www.good.com)


-Original Message-
From: Sahina Bose [sab...@redhat.com<mailto:sab...@redhat.com>]
Sent: Tuesday, December 22, 2015 04:58 AM Eastern Standard Time
To: Simone Tiraboschi; Will Dennis; Dan Kenigsberg
Cc: users
Subject: Re: [ovirt-users] Hosted Engine crash - state = 
EngineUp-EngineUpBadHealth



On 12/22/2015 02:38 PM, Simone Tiraboschi wrote:


On Tue, Dec 22, 2015 at 2:31 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
OK, another problem :(

I was having the same problem with my second oVirt host that I had with my 
first one, where when I ran “hosted-engine —deploy” on it, after it completed 
successfully, then I was experiencing a ~50sec lag when SSH’ing into the node…

vpnp71:~ will$ time ssh root@ovirt-node-02 uptime
 19:36:06 up 4 days,  8:31,  0 users,  load average: 0.68, 0.70, 0.67

real  0m50.540s
user  0m0.025s
sys 0m0.008s


So, in the oVirt web admin console, I put the "ovirt-node-02” node into 
Maintenance mode, then SSH’d to the server and rebooted it. Sure enough, after 
the server came back up, SSH was fine (no delay), which again was the same 
experience I had had with the first oVirt host. So, I went back to the web 
console, and choose the “Confirm host has been rebooted” option, which I 
thought would be the right action to take after a reboot. The system opened a 
dialog box with a spinner, which never stopped spinning… So finally, I closed 
the dialog box with the upper right (X) symbol, and then for this same host 
choose “Activate” from the menu. It was then I noticed I had recieved a state 
transition email notifying me that "EngineUp-EngineUpBadHealth” and sure 
enough, the web UI was then unresponsive. I checked on the first oVirt host, 
the VM with the name “HostedEngine” is still running, but obviously isn’t 
working…

So, looks like I need to restart the HostedEngine VM or take whatever action is 
needed to return oVirt to operation… Hate to keep asking this question, but 
what’s the correct action at this point?


ovirt-ha-agent should always restart it for you after a few minutes but the 
point is that the network configuration seams to be not that stable.

I know from another thread that you are trying to deploy hosted-engine over 
GlusterFS in an hyperconverged way and this, as I said, is currently not 
supported.
I think that it can also requires some specific configuration on network side.

For hyperconverged gluster+engine , it should work without any specific 
configuration on network side. However if the network is flaky, it is possible 
that there are errors with gluster volume access. Could you provide the 
ovirt-ha-agent logs as well as gluster mount logs?


Adding Sahina and Dan here.

Thanks, again,
Will

___
Users mailing list
Users@ovirt.org<mailto: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] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-22 Thread Will Dennis
Hi Simone,

It's actually OK that it's not fully supported yet, this is a PoC deployment to 
evaluate oVirt for our needs...

I will provide the VDSM logs shortly & post the URLs.

W.



Sent with Good (www.good.com)


-Original Message-
From: Simone Tiraboschi [stira...@redhat.com<mailto:stira...@redhat.com>]
Sent: Tuesday, December 22, 2015 03:58 AM Eastern Standard Time
To: Will Dennis; Sahina Bose
Cc: Yedidyah Bar David; users
Subject: Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when 
setting up 2nd host



On Tue, Dec 22, 2015 at 2:09 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
http://ur1.ca/ocstf



2015-12-21 11:28:39 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND Please specify the full 
shared storage connection path to use (example: host:/path):
2015-12-21 11:28:55 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:RECEIVElocalhost:/engine

OK, so you are trying to deploy hosted-engine on GlusterFS in a hyper-converged 
way (using the same hosts for virtualization and for serving GlusterFS). 
Unfortunately I've to advise you that this is not a supported configuration on 
oVirt 3.6 due to different open bugs.
So I'm glad you can help us testing it but I prefer to advise that today that 
schema is not production ready.

In your case it seams that VDSM correctly connects the GlusterFS volume seeing 
all the bricks

2015-12-21 11:28:55 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
plugin.execute:936 execute-output: ('/sbin/gluster', '--mode=script', '--xml', 
'volume', 'info', 'engine', '--remote-host=localhost') stdout:


  0
  0
  
  

  
engine
974c9da4-b236-4fc1-b26a-645f14601db8
1
Started
6
3

but then VDSM doesn't find any storage domain there:

otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._late_customization
2015-12-21 11:29:58 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._getExistingDomain:476 _getExistingDomain
2015-12-21 11:29:58 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._storageServerConnection:638 connectStorageServer
2015-12-21 11:29:58 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._storageServerConnection:701 {'status': {'message': 'OK', 'code': 0}, 
'statuslist': [{'status': 0, 'id': '67ece152-dd66-444c-8d18-4249d1b8f488'}]}
2015-12-21 11:29:58 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._getStorageDomainsList:595 getStorageDomainsList
2015-12-21 11:29:59 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._getStorageDomainsList:598 {'status': {'message': 'OK', 'code': 0}, 
'domlist': []}

Can you please attach also the correspondent VDSM logs?

Adding Sahina here.


On Dec 21, 2015, at 11:58 AM, Simone Tiraboschi 
<stira...@redhat.com<mailto:stira...@redhat.com><mailto:stira...@redhat.com<mailto:stira...@redhat.com>>>
 wrote:

On Mon, Dec 21, 2015 at 5:52 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com><mailto:wden...@nec-labs.com<mailto:wden...@nec-labs.com>>>
 wrote:

However, when I went to the 3rd host and did the setup, I selected 'glusterfs' 
and gave the path of the engine volume, it came back and incorrectly identified 
it as the first host, instead of an additional host... How does setup determine 
that? I confirmed that on this 3rd host that the engine volume is available and 
has the GUID subfolder of the hosted engine...


Can you please attach a log of hosted-engine-setup also from there?


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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-22 Thread Will Dennis
Yes, OK to attached needed logs to bug report...


From: Simone Tiraboschi [mailto:stira...@redhat.com]
Sent: Tuesday, December 22, 2015 9:27 AM
To: Will Dennis; users
Cc: Sahina Bose; Yedidyah Bar David; Nir Soffer
Subject: Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when 
setting up 2nd host



On Tue, Dec 22, 2015 at 3:06 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
See attached for requested logs


Thanks, the issue is here:
Dec 21 19:40:53 ovirt-node-03 etc-glusterfs-glusterd.vol[1079]: [2015-12-22 
00:40:53.496109] C [MSGID: 106002] 
[glusterd-server-quorum.c:351:glusterd_do_volume_quorum_action] 0-management: 
Server quorum lost for volume engine. Stopping local bricks.
Dec 21 19:40:53 ovirt-node-03 etc-glusterfs-glusterd.vol[1079]: [2015-12-22 
00:40:53.496410] C [MSGID: 106002] 
[glusterd-server-quorum.c:351:glusterd_do_volume_quorum_action] 0-management: 
Server quorum lost for volume vmdata. Stopping local bricks.

So at that point gluster lost its quorum and the fail system got read-only.

On the getStorageDomainsList VDSM internally raises cause the file-system is 
read only:

Thread-141::DEBUG::2015-12-21 
11:29:59,666::fileSD::157::Storage.StorageDomainManifest::(__init__) Reading 
domain in path 
/rhev/data-center/mnt/glusterSD/localhost:_engine/e89b6e64-bd7d-4846-b970-9af32a3295ee
Thread-141::DEBUG::2015-12-21 
11:29:59,666::__init__::320::IOProcessClient::(_run) Starting IOProcess...
Thread-141::DEBUG::2015-12-21 
11:29:59,680::persistentDict::192::Storage.PersistentDict::(__init__) Created a 
persistent dict with FileMetadataRW backend
Thread-141::ERROR::2015-12-21 
11:29:59,686::hsm::2898::Storage.HSM::(getStorageDomainsList) Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/hsm.py", line 2882, in getStorageDomainsList
dom = sdCache.produce(sdUUID=sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 100, in produce
domain.getRealDomain()
  File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain
return self._cache._realProduce(self._sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 124, in _realProduce
domain = self._findDomain(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 143, in _findDomain
dom = findMethod(sdUUID)
  File "/usr/share/vdsm/storage/glusterSD.py", line 32, in findDomain
return GlusterStorageDomain(GlusterStorageDomain.findDomainPath(sdUUID))
  File "/usr/share/vdsm/storage/fileSD.py", line 198, in __init__
validateFileSystemFeatures(manifest.sdUUID, manifest.mountpoint)
  File "/usr/share/vdsm/storage/fileSD.py", line 93, in 
validateFileSystemFeatures
oop.getProcessPool(sdUUID).directTouch(testFilePath)
  File "/usr/share/vdsm/storage/outOfProcess.py", line 350, in directTouch
ioproc.touch(path, flags, mode)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 543, in 
touch
self.timeout)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 427, in 
_sendCommand
raise OSError(errcode, errstr)
OSError: [Errno 30] Read-only file system

But instead of reporting a failure to hosted-engine-setup, it reported a 
successfully execution where it wasn't able to find any storage domain there ( 
this one is a real bug, I'm going to open a bug on that, can I attach your logs 
there? ):

Thread-141::INFO::2015-12-21 11:29:59,702::logUtils::51::dispatcher::(wrapper) 
Run and protect: getStorageDomainsList, Return response: {'domlist': []}
Thread-141::DEBUG::2015-12-21 
11:29:59,702::task::1191::Storage.TaskManager.Task::(prepare) 
Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::finished: {'domlist': []}
Thread-141::DEBUG::2015-12-21 
11:29:59,702::task::595::Storage.TaskManager.Task::(_updateState) 
Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::moving from state preparing -> 
state finished
Thread-141::DEBUG::2015-12-21 
11:29:59,703::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll) 
Owner.releaseAll requests {} resources {}
Thread-141::DEBUG::2015-12-21 
11:29:59,703::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {}
Thread-141::DEBUG::2015-12-21 
11:29:59,703::task::993::Storage.TaskManager.Task::(_decref) 
Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::ref 0 aborting False
Thread-141::INFO::2015-12-21 
11:29:59,704::xmlrpc::92::vds.XMLRPCServer::(_process_requests) Request handler 
for 127.0.0.1:39718<http://127.0.0.1:39718> stopped

And so, cause VDSM doesn't report any existing storage domain, 
hosted-engine-setup assumes that you are going to deploy the first host and so 
your original issue.



From: Simone Tiraboschi [mailto:stira...@redhat.com<mailto:stira...@redhat.com>]
Sent: Tuesday, December 22, 2015 8:56 AM
To: Will Dennis
Cc: Sahina Bose; Yedidyah Bar David

Subject: Re: [ovirt-users] Can

Re: [ovirt-users] How to run "engine-backup"?

2015-12-22 Thread Will Dennis
Are there any docs on using this (other than the ‘—help” option text)?

Also, I do not have a GUI environment on my oVirt hosts; how to I display the 
console of the hosted engine VM if I need it?

From: Simone Tiraboschi [mailto:stira...@redhat.com]
Sent: Tuesday, December 22, 2015 11:44 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] How to run "engine-backup"?

yes, engine-backup is on the engine VM :-)

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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-21 Thread Will Dennis
http://ur1.ca/ocstf

On Dec 21, 2015, at 11:58 AM, Simone Tiraboschi 
<stira...@redhat.com<mailto:stira...@redhat.com>> wrote:

On Mon, Dec 21, 2015 at 5:52 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

However, when I went to the 3rd host and did the setup, I selected 'glusterfs' 
and gave the path of the engine volume, it came back and incorrectly identified 
it as the first host, instead of an additional host... How does setup determine 
that? I confirmed that on this 3rd host that the engine volume is available and 
has the GUID subfolder of the hosted engine...


Can you please attach a log of hosted-engine-setup also from there?

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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-21 Thread Will Dennis
No, it did not complete successfully- the installer threw a error at the end 
"Failed to start service 'ovirt-ha-agent' " during the "Closing up" stage due 
to the (now fixed) bug with the ha-agent systemd startup script So should I 
copy the correct answers log from /var/lib/ovirt-hosted-engine-setup to 
/etc/ovirt-hosted-engine/answers.conf and try the setup again on the second 
host?

-Will



Sent with Good (www.good.com)


-Original Message-
From: Simone Tiraboschi [stira...@redhat.com<mailto:stira...@redhat.com>]
Sent: Monday, December 21, 2015 03:42 AM Eastern Standard Time
To: Yedidyah Bar David
Cc: Will Dennis; users
Subject: Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when 
setting up 2nd host


On Mon, Dec 21, 2015 at 9:33 AM, Yedidyah Bar David 
<d...@redhat.com<mailto:d...@redhat.com>> wrote:
On Sun, Dec 20, 2015 at 10:04 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
> FYI, the answer file is located at:
> /var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf
>
> There are many other answer files in that directory as well from prior 
> unsuccessful runs… Does that matter?

The answerfile is expected to be found in
/etc/ovirt-hosted-engine/answers.conf .
It's written there upon a successful completion of deploy.

Absolutely, I suggest you to start checking for 
/etc/ovirt-hosted-engine/answers.conf on the first host.
If the file is not here please check the setup logs on the first to ensure that 
it successful completed.


It's also always written to /var/lib/ovirt-hosted-engine-setup/answers/ .

You can also copy it by yourself to somefile and run:

hosted-engine --deploy --config-append=somefile

But I'd invest some time understanding why scp fails. Might be bad
name resolution?

>
>
> On Dec 20, 2015, at 2:51 PM, Will Dennis 
> <wden...@nec-labs.com<mailto:wden...@nec-labs.com><mailto:wden...@nec-labs.com<mailto:wden...@nec-labs.com>>>
>  wrote:
>
> OK, thanks to the assist from Joob, I did startup the engine VM, and took it 
> out of maint mode… Then I went to my second oVirt host, and tried 
> “hosted-engine —setup” again, and I’m still getting the error message “Failed 
> to execute stage 'Environment customization': [Errno 2] No such file”
>
> Screen output of the “hosted-engine —setup” run:
> http://ur1.ca/ocr5u
>
> So, I guess that means it can’t find the answer file where it expects it on 
> the first host… What do I do now?
>
> -Will
>
> ___
> Users mailing list
> Users@ovirt.org<mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users



--
Didi
___
Users mailing list
Users@ovirt.org<mailto: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] Hosted Engine crash - state = EngineUp-EngineUpBadHealth

2015-12-21 Thread Will Dennis
OK, another problem :(

I was having the same problem with my second oVirt host that I had with my 
first one, where when I ran “hosted-engine —deploy” on it, after it completed 
successfully, then I was experiencing a ~50sec lag when SSH’ing into the node…

vpnp71:~ will$ time ssh root@ovirt-node-02 uptime
 19:36:06 up 4 days,  8:31,  0 users,  load average: 0.68, 0.70, 0.67

real  0m50.540s
user  0m0.025s
sys 0m0.008s


So, in the oVirt web admin console, I put the "ovirt-node-02” node into 
Maintenance mode, then SSH’d to the server and rebooted it. Sure enough, after 
the server came back up, SSH was fine (no delay), which again was the same 
experience I had had with the first oVirt host. So, I went back to the web 
console, and choose the “Confirm host has been rebooted” option, which I 
thought would be the right action to take after a reboot. The system opened a 
dialog box with a spinner, which never stopped spinning… So finally, I closed 
the dialog box with the upper right (X) symbol, and then for this same host 
choose “Activate” from the menu. It was then I noticed I had recieved a state 
transition email notifying me that "EngineUp-EngineUpBadHealth” and sure 
enough, the web UI was then unresponsive. I checked on the first oVirt host, 
the VM with the name “HostedEngine” is still running, but obviously isn’t 
working… 

So, looks like I need to restart the HostedEngine VM or take whatever action is 
needed to return oVirt to operation… Hate to keep asking this question, but 
what’s the correct action at this point?

Thanks, again,
Will

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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-21 Thread Will Dennis
OK, that did the trick... 2nd host is joined.

However, when I went to the 3rd host and did the setup, I selected 'glusterfs' 
and gave the path of the engine volume, it came back and incorrectly identified 
it as the first host, instead of an additional host... How does setup determine 
that? I confirmed that on this 3rd host that the engine volume is available and 
has the GUID subfolder of the hosted engine...



Sent with Good (www.good.com)


-Original Message-
From: Simone Tiraboschi [stira...@redhat.com<mailto:stira...@redhat.com>]
Sent: Monday, December 21, 2015 09:28 AM Eastern Standard Time
To: Will Dennis
Cc: Yedidyah Bar David; users
Subject: Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when 
setting up 2nd host



On Mon, Dec 21, 2015 at 3:14 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
No, it did not complete successfully- the installer threw a error at the end 
"Failed to start service 'ovirt-ha-agent' " during the "Closing up" stage due 
to the (now fixed) bug with the ha-agent systemd startup script

If there was an error in the close-up it was not really that successfully :-)

So should I copy the correct answers log from 
/var/lib/ovirt-hosted-engine-setup to /etc/ovirt-hosted-engine/answers.conf and 
try the setup again on the second host?

Yes, that should do the trick



-Will



Sent with Good (www.good.com<http://www.good.com>)


-Original Message-
From: Simone Tiraboschi [stira...@redhat.com<mailto:stira...@redhat.com>]
Sent: Monday, December 21, 2015 03:42 AM Eastern Standard Time
To: Yedidyah Bar David
Cc: Will Dennis; users
Subject: Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when 
setting up 2nd host


On Mon, Dec 21, 2015 at 9:33 AM, Yedidyah Bar David 
<d...@redhat.com<mailto:d...@redhat.com>> wrote:
On Sun, Dec 20, 2015 at 10:04 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
> FYI, the answer file is located at:
> /var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf
>
> There are many other answer files in that directory as well from prior 
> unsuccessful runs… Does that matter?

The answerfile is expected to be found in
/etc/ovirt-hosted-engine/answers.conf .
It's written there upon a successful completion of deploy.

Absolutely, I suggest you to start checking for 
/etc/ovirt-hosted-engine/answers.conf on the first host.
If the file is not here please check the setup logs on the first to ensure that 
it successful completed.


It's also always written to /var/lib/ovirt-hosted-engine-setup/answers/ .

You can also copy it by yourself to somefile and run:

hosted-engine --deploy --config-append=somefile

But I'd invest some time understanding why scp fails. Might be bad
name resolution?

>
>
> On Dec 20, 2015, at 2:51 PM, Will Dennis 
> <wden...@nec-labs.com<mailto:wden...@nec-labs.com><mailto:wden...@nec-labs.com<mailto:wden...@nec-labs.com>>>
>  wrote:
>
> OK, thanks to the assist from Joob, I did startup the engine VM, and took it 
> out of maint mode… Then I went to my second oVirt host, and tried 
> “hosted-engine —setup” again, and I’m still getting the error message “Failed 
> to execute stage 'Environment customization': [Errno 2] No such file”
>
> Screen output of the “hosted-engine —setup” run:
> http://ur1.ca/ocr5u
>
> So, I guess that means it can’t find the answer file where it expects it on 
> the first host… What do I do now?
>
> -Will
>
> ___
> Users mailing list
> Users@ovirt.org<mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users



--
Didi
___
Users mailing list
Users@ovirt.org<mailto: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] Problem with hosted engine setup - vsdmd does not start (RESOLVED)

2015-12-20 Thread Will Dennis
Fair enough… I think the phrase goes “the problem with idiot-proofing is that 
they keep making bigger idiots…” :)

Are you saying that vdsm isn’t a sub-project of oVirt? Who created it then, and 
where else is it used?


On Dec 20, 2015, at 2:07 AM, Yedidyah Bar David 
> wrote:
Well, I can think of other things as well, such as doing such a test
during rpm/yum install stage, etc., but the question is how far should
we go - there are many other ways to break ovirt, and we can't
possibly consider all of them. That said, I guess patches are welcome
(but you'll need to discuss this with a vdsm maintainer, not me,
probably on gerrit and not here).

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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-20 Thread Will Dennis
FYI, the answer file is located at:
/var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf

There are many other answer files in that directory as well from prior 
unsuccessful runs… Does that matter?


On Dec 20, 2015, at 2:51 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

OK, thanks to the assist from Joob, I did startup the engine VM, and took it 
out of maint mode… Then I went to my second oVirt host, and tried 
“hosted-engine —setup” again, and I’m still getting the error message “Failed 
to execute stage 'Environment customization': [Errno 2] No such file”

Screen output of the “hosted-engine —setup” run:
http://ur1.ca/ocr5u

So, I guess that means it can’t find the answer file where it expects it on the 
first host… What do I do now?

-Will

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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-20 Thread Will Dennis
OK, thanks to the assist from Joob, I did startup the engine VM, and took it 
out of maint mode… Then I went to my second oVirt host, and tried 
“hosted-engine —setup” again, and I’m still getting the error message “Failed 
to execute stage 'Environment customization': [Errno 2] No such file”

Screen output of the “hosted-engine —setup” run:
http://ur1.ca/ocr5u

So, I guess that means it can’t find the answer file where it expects it on the 
first host… What do I do now?

-Will



On Dec 19, 2015, at 11:20 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

OK, after all the t’shooting I could think to do, out of desperation I put the 
engine VM in maint mode, then rebooted the host. When it came up, I can now SSH 
into it normally (no long delay now.) I saw two state email changes come in 
after the reboot:

- StartState-ReinitializeFSM
- ReinitializeFSM-LocalMaintenance

But the engine VM never started… Do I have to do something at the host (issue a 
command) to get the engine VM to start? (Sorry if I’m ignorant, an oVirt noob 
here…)

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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-19 Thread Will Dennis
OK, after all the t’shooting I could think to do, out of desperation I put the 
engine VM in maint mode, then rebooted the host. When it came up, I can now SSH 
into it normally (no long delay now.) I saw two state email changes come in 
after the reboot:

- StartState-ReinitializeFSM
- ReinitializeFSM-LocalMaintenance

But the engine VM never started… Do I have to do something at the host (issue a 
command) to get the engine VM to start? (Sorry if I’m ignorant, an oVirt noob 
here…)

-Will

On Dec 19, 2015, at 9:38 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

Hi Joop,

I thought about that, but DNS resolution seems to be fine…


[root@ovirt-node-01 ~]# time dig 
ovirt-node-02.nec-labs.com<http://ovirt-node-02.nec-labs.com>

; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.1 <<>> 
ovirt-node-02.nec-labs.com<http://ovirt-node-02.nec-labs.com>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4574
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;ovirt-node-02.nec-labs.com<http://ovirt-node-02.nec-labs.com>.  IN  A

;; ANSWER SECTION:
ovirt-node-02.nec-labs.com<http://ovirt-node-02.nec-labs.com>. 3600 IN A 
249.26.200.92

;; Query time: 0 msec
;; SERVER: 249.26.108.11#53(249.26.108.11)
;; WHEN: Sat Dec 19 21:30:42 EST 2015
;; MSG SIZE  rcvd: 71


real  0m0.010s
user  0m0.005s
sys 0m0.005s
[root@ovirt-node-01 ~]# time dig -x 249.26.200.92

; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.1 <<>> -x 249.26.200.92
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65149
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;92.200.15.138.in-addr.arpa.  IN  PTR

;; ANSWER SECTION:
92.200.15.138.in-addr.arpa. 3600 IN PTR 
ovirt-node-02.nec-labs.com<http://ovirt-node-02.nec-labs.com>.

;; Query time: 0 msec
;; SERVER: 249.26.108.11#53(249.26.108.11)
;; WHEN: Sat Dec 19 21:31:18 EST 2015
;; MSG SIZE  rcvd: 95


real  0m0.010s
user  0m0.007s
sys 0m0.002s

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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-19 Thread Will Dennis
Hi Joop,

I thought about that, but DNS resolution seems to be fine…


[root@ovirt-node-01 ~]# time dig ovirt-node-02.nec-labs.com

; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.1 <<>> ovirt-node-02.nec-labs.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4574
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;ovirt-node-02.nec-labs.com.  IN  A

;; ANSWER SECTION:
ovirt-node-02.nec-labs.com. 3600 IN A 249.26.200.92

;; Query time: 0 msec
;; SERVER: 249.26.108.11#53(249.26.108.11)
;; WHEN: Sat Dec 19 21:30:42 EST 2015
;; MSG SIZE  rcvd: 71


real  0m0.010s
user  0m0.005s
sys 0m0.005s
[root@ovirt-node-01 ~]# time dig -x 249.26.200.92

; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.1 <<>> -x 249.26.200.92
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65149
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;92.200.15.138.in-addr.arpa.  IN  PTR

;; ANSWER SECTION:
92.200.15.138.in-addr.arpa. 3600 IN PTR ovirt-node-02.nec-labs.com.

;; Query time: 0 msec
;; SERVER: 249.26.108.11#53(249.26.108.11)
;; WHEN: Sat Dec 19 21:31:18 EST 2015
;; MSG SIZE  rcvd: 95


real  0m0.010s
user  0m0.007s
sys 0m0.002s
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Hosted Engine setup - got " Failed to start service 'ovirt-ha-agent' "

2015-12-18 Thread Willard Dennis
Hi all,

Did a hosted engine setup using a Gluster storage domain, it went well until 
the end, where I got this error:

[ INFO  ] Saving hosted-engine configuration on the shared storage domain
[ INFO  ] Shutting down the engine VM
[ INFO  ] Enabling and starting HA services
[ ERROR ] Failed to execute stage 'Closing up': Failed to start service 
'ovirt-ha-agent’ 
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination

Full screen output from setup run:
http://pastebin.com/yWkppmjG 

What’s my move now? Hopefully the install can be salvaged….

FYI, I have three hosts I’m using for oVirt; they are named 
“ovirt-node-[01,02,03]”

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


Re: [ovirt-users] Hosted Engine setup - got " Failed to start service 'ovirt-ha-agent' "

2015-12-18 Thread Will Dennis
I yum updated my hosts, and it did update ovirt-hosted-engine-ha on all to 
1.3.3.5 (two of my hosts include the one I did the engine install on were 
previously 1.3.3.4, and the third one was 1.3.3.3 for some reason)
Shortly thereafter, I began getting ovirt-hosted-engine state machine emails, 
and when I checked the state of the ovirt-ha-[agent,broker] services, they were 
running. When I got the email saying “EngineStarting-EngineUp”, I checked the 
web UI, and it was available, and I could successfully log into the admin site 
:)

Thanks for your help, and onwards!
W.

On Dec 18, 2015, at 4:55 PM, Simone Tiraboschi 
> wrote:

Today we async released ovirt-hosted-engine-ha-1.3.3.5-1 that should fix it.
Can you please check if you are already with that?
If not please update it and manually restart ovirt-ha-broker and ovirt-ha-agent 
services, I'm quite confident the it should be enough.

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


[ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-18 Thread Will Dennis
Doing a “hosted-engine —setup” on my 2nd oVirt host, and am getting the 
following error:


  --== SYSTEM CONFIGURATION ==--

[WARNING] A configuration file must be supplied to deploy Hosted Engine on an 
additional host.
  The answer file may be fetched from the first host using scp.
  If you do not want to download it automatically you can abort the 
setup answering no to the following question.
  Do you want to scp the answer file from the first host? (Yes, 
No)[Yes]:
  Please provide the FQDN or IP of the first host: 249.26.200.91
  Enter 'root' user password for host 249.26.200.91:
[ ERROR ] Failed to execute stage 'Environment customization': [Errno 2] No 
such file
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151218205656.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination


The problem may be slowness of the SSH connection to the 1st host; ever since I 
did the hosted engine setup on the 1st host and it created the ‘ovirtmgmt’ 
bridge et al, it now for some reason takes a long time (~50 sec’s) to SSH into 
the host…
Example: (key exchange was first done from 2nd host to first host)

[root@ovirt-node-02 ~]# time ssh root@ovirt-node-01 uptime
 21:37:33 up 1 day, 10:43,  0 users,  load average: 0.14, 0.15, 0.14

real0m50.185s
user0m0.048s
sys 0m0.006s

So maybe because of that reason, the setup SCP session is timing out?? How can 
I fix this?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-17 Thread Willard Dennis
Sure, which ones would be useful?

[root@ovirt-node-01 ~]# cd /var/log/vdsm/
[root@ovirt-node-01 vdsm]# ls -la
total 11520
drwxr-xr-x   3 vdsm kvm 4096 Dec 17 04:34 .
drwxr-xr-x. 13 root root4096 Dec 13 03:32 ..
drwxr-xr-x   2 vdsm kvm6 Nov 24 05:42 backup
-rw-r--r--   1 vdsm kvm0 Dec  1 23:42 connectivity.log
-rw-r--r--   1 vdsm kvm   966994 Dec 17 07:20 mom.log
-rw-r--r--   1 vdsm kvm  2097091 Dec 17 04:34 mom.log.1
-rw-r--r--   1 vdsm kvm  2097117 Dec 16 22:34 mom.log.2
-rw-r--r--   1 vdsm kvm  2097119 Dec 16 16:33 mom.log.3
-rw-r--r--   1 vdsm kvm  2097120 Dec 16 10:32 mom.log.4
-rw-r--r--   1 vdsm kvm  2097115 Dec 16 04:32 mom.log.5
-rw-r--r--   1 root root  168714 Dec  2 10:30 supervdsm.log
-rw-r--r--   1 root root3069 Oct 16 12:25 upgrade.log
-rw-r--r--   1 vdsm kvm0 Dec  1 23:42 vdsm.log


> On Dec 17, 2015, at 2:51 AM, Fabian Deutsch <fdeut...@redhat.com> wrote:
> 
> On Wed, Dec 16, 2015 at 10:52 PM, Willard Dennis <wden...@nec-labs.com> wrote:
>> Any thoughts on this issue?? This is holding up my project (oVirt hosted
>> engine install won’t proceed if VDSM service is not running…)  Why am I even
>> having such problems with the VDSM service? It’s on a vanilla CentOS 7
>> install…
> 
> Hey,
> 
> so it looks like vdsm has an issue, can you provide some logs?
> 
> - fabian
> 
> 
> -- 
> Fabian Deutsch <fdeut...@redhat.com>
> RHEV Hypervisor
> Red Hat

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-17 Thread Willard Dennis
This is from /var/log/messages —

Dec 17 07:46:25 ovirt-node-01 systemd: vdsmd.service holdoff time over, 
scheduling restart.
Dec 17 07:46:35 ovirt-node-01 systemd: mom-vdsm.service stopping timed out. 
Killing.
Dec 17 07:46:35 ovirt-node-01 systemd: mom-vdsm.service: main process exited, 
code=killed, status=9/KILL
Dec 17 07:46:35 ovirt-node-01 systemd: Unit mom-vdsm.service entered failed 
state.
Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running mkdirs
Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
configure_coredump
Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
configure_vdsm_logs
Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
wait_for_network
Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running run_init_hooks
Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
upgraded_version_check
Dec 17 07:46:35 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
check_is_configured
Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: Current revision of 
multipath.conf detected, preserving
Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: libvirt is already 
configured for vdsm
Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
validate_configuration
Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: SUCCESS: ssl configured to 
true. No conflicts
Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
prepare_transient_repository
Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
syslog_available
Dec 17 07:46:36 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running nwfilter
Dec 17 07:46:37 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running dummybr
Dec 17 07:46:37 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running tune_system
Dec 17 07:46:37 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running test_space
Dec 17 07:46:37 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running test_lo
Dec 17 07:46:37 ovirt-node-01 vdsm: vdsm user could not manage to run sudo 
operation: (stderr: ['sudo: sorry, you must have a tty to run sudo']). Verify 
sudoer rules configuration
Dec 17 07:46:37 ovirt-node-01 systemd: vdsmd.service: main process exited, 
code=exited, status=1/FAILURE
Dec 17 07:46:37 ovirt-node-01 vdsmd_init_common.sh: vdsm: Running 
run_final_hooks
Dec 17 07:46:37 ovirt-node-01 systemd: Unit vdsmd.service entered failed state.
Dec 17 07:46:37 ovirt-node-01 systemd: vdsmd.service holdoff time over, 
scheduling restart.


So, the message "vdsm user could not manage to run sudo operation: (stderr: 
['sudo: sorry, you must have a tty to run sudo']). Verify sudoer rules 
configuration” — what would have to be set in sudden rules to allow this to 
succeed?

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-17 Thread Willard Dennis
I checked and we do have a custom /etc/sudoers set —


[root@ovirt-node-01 vdsm]# cat /etc/sudoers
#
# NECLA custom /etc/sudoers
#
# *** Managed by Ansible; do not edit manually,
# file will be rewritten on next Ansible run! ***
#
# Do NOT add sudoers directly to this file; add them to the "wheel" group in 
/etc/group
#

Defaultsrequiretty
Defaults   !visiblepw
Defaultsalways_set_home
Defaultsenv_reset
Defaultsenv_keep =  "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR 
LS_COLORS"
Defaultsenv_keep += "MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE"
Defaultsenv_keep += "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT 
LC_MESSAGES"
Defaultsenv_keep += "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE"
Defaultsenv_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET 
XAUTHORITY"
Defaultssecure_path = /sbin:/bin:/usr/sbin:/usr/bin
rootALL=(ALL)   ALL
%wheel  ALL=(ALL)   ALL


What is missing / needs to be changed here to allow vdsmd to start correctly?


> On Dec 17, 2015, at 7:54 AM, Yedidyah Bar David  wrote:
> 
> I thought this was already discussed some messages ago.
> 
> No idea, but you should check your sudo (and perhaps related? e.g. pam
> or whatever)
> conf. vdsm ships /etc/sudoers.d/50_vdsm which normally works.
> If you changed it, or have some other conflicting configuration,
> this might break it.
> 
> -- 
> Didi

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-17 Thread Willard Dennis
Took the easy way out on selinux…

[root@ovirt-node-01 vdsm]# sestatus
SELinux status: disabled


> On Dec 17, 2015, at 7:48 AM, Yedidyah Bar David  wrote:
> 
> 
> Perhaps just upload all of them somewhere?
> 
> Also might be selinux? Please check/post also audit logs.

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start (RESOLVED)

2015-12-17 Thread Will Dennis
The vdsmd startup failing problem is now resolved :) The root cause was that 
the /etc/sudoers file (that we maintain a customized version of which thru 
Ansible) was missing the "#includedir /etc/sudoers.d" stanza, which caused a 
sudo problem with the vdsmd startup, since the sudoers include file "50-vdsm" 
wasn't being parsed.

In going back and reviewing the thread, this was the first post that pointed 
out the real problem...

-Original Message-
From: Fabian Deutsch [mailto:fdeutsch at redhat.com] 
Sent: Tuesday, December 01, 2015 12:58 AM
To: Will Dennis
Cc: Simone Tiraboschi; users
Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not 
start

On Tue, Dec 1, 2015 at 4:52 AM, Will Dennis  wrote:
> Any clues out of the strace of vdsm?

read(9, "sudo: a password is required\n", 4096) = 29

Could it be that sudo is not configured to operate passwordless?

The strat-up can then fail, because sudo requires a ty, but this isn't 
available during service start.

- fabian

> On Nov 25, 2015, at 11:29 AM, Simone Tiraboschi  
> wrote:
> 
>> On Wed, Nov 25, 2015 at 5:22 PM, Willard Dennis  
>> wrote:
>> [root at ovirt-node-01 ~]# sudo -u vdsm /bin/bash
>> bash-4.2$ /usr/share/vdsm/vdsm
>> bash-4.2$ echo $?
>> 1
> 
> Can you please use strace on it?

-Message End-

However, not knowing about the missing sudoers include file, we continued to 
chase a vdsm config problem (uninstall / reinstall vdsm RPM pkgs, & use 
"vdsm-tool configure --force")

Shame on me, it looks like I didn't think to check /var/log/messages for 
"vdsm"-string entries until today, where we found the "vdsm user could not 
manage to run sudo operation: (stderr: ['sudo: sorry, you must have a tty to 
run sudo']). Verify sudoer rules configuration” message that ultimately led to 
the solution :(

However, not sure if it's possible to do so, but could /usr/share/vdsm/vdsm be 
made to emit a error to STDERR if it cannot run correctly? That's the only 
thing I could think of that may have helped me to resolve this earlier with 
what I did do...

Thanks for everyone's kind assistance, this really is a great community! :)

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


[ovirt-users] Hosted engine setup using Gluster - what is proper param's for the storage domain names?

2015-12-17 Thread Willard Dennis
Hi all,

Doing the hosted engine setup on Gluster; am at the point of configuring the 
storage domain / datacenter names, and not sure of what my best move is here… 
Here’s what I’m seeing:

——
  --== STORAGE CONFIGURATION ==--

  During customization use CTRL-D to abort.
  Please specify the storage you would like to use (glusterfs, iscsi, 
fc, nfs3, nfs4)[nfs3]: glusterfs
[ INFO  ] Please note that Replica 3 support is required for the shared storage.
  Please specify the full shared storage connection path to use 
(example: host:/path): localhost:/engine
[WARNING] Due to several bugs in mount.glusterfs the validation of GlusterFS 
share cannot be reliable.
[ INFO  ] GlusterFS replica 3 Volume detected
[ INFO  ] Installing on first host
  Please provide storage domain name. [hosted_storage]:
  Local storage datacenter name is an internal name
  and currently will not be shown in engine's admin UI.
  Please enter local datacenter name [hosted_datacenter]:
——

Concerned about the "Local storage datacenter name is an internal name and 
currently will not be shown in engine's admin UI” message… I want to use a 
second distributed Gluster volume (name = “vmdata”) for VM storage if I can, 
and don’t want to mess up the install… What should I consider when setting 
names for the storage domain name and local datacenter names?

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-17 Thread Willard Dennis
OK, should not have used the term “vanilla” I guess… I have customized the OS 
to fit into my environment (not so much with kickstart, mostly via Ansible) and 
of course have installed Gluster 3.7 and configured volumes for the engine and 
VM storage. So it’s not like it’s running on a completely stock CentOS 7 
install (that would be basically unusable for me…)

Doing a complete reinstall would be many hours of work (already have done that 
once to reconfigure Gluster) so not really interested in doing that…

I’d love to continue debugging; just frustrated that everything done so far has 
not worked (read thread for details…) and we cannot get the vdsmd service to 
run… I do very much appreciate the assistance of all the RHAT folks who have 
responded to this thread, you are my only hope of getting this stuff running, 
as I’m not an oVirt expert by far

-Will

> On Dec 17, 2015, at 1:40 AM, Yedidyah Bar David <d...@redhat.com> wrote:
> 
> On Wed, Dec 16, 2015 at 11:52 PM, Willard Dennis <wden...@nec-labs.com> wrote:
>> Any thoughts on this issue?? This is holding up my project (oVirt hosted
>> engine install won’t proceed if VDSM service is not running…)  Why am I even
>> having such problems with the VDSM service? It’s on a vanilla CentOS 7
>> install…
> 
> (Only briefly skimming the history of this thread:)
> 
> If all you want is to have it up and running, I'd suggest reinstalling
> the OS and then try again. Quite likely you have there some local
> non-default configurations or something. If it still fails, I'd suggest
> to open a bug, describe exact flow, and attach all relevant logs. When
> you reinstall the OS, keep in mind that things like a custom kickstart
> file etc are also non-default configurations, so if you need them,
> attach them to the bug as well.
> 
> If you are aware of such non-default stuff but do need them, you
> basically have two choices:
> 1. Keep on debugging this til it works. We can try helping, but can't
> guess every change you did to your system. In particular, as Simone
> said before, sudo is configured to work out-of-the-box by default.
> 2. Try a clean vanilla OS install on another system and compare them
> to try and see what difference breaks. This can be done also on a VM
> with nested kvm, if you do not have a spare physical machine.
> 
> Best,
> -- 
> Didi

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-16 Thread Willard Dennis
Any thoughts on this issue?? This is holding up my project (oVirt hosted engine 
install won’t proceed if VDSM service is not running…)  Why am I even having 
such problems with the VDSM service? It’s on a vanilla CentOS 7 install…

Thanks
Will


> On Dec 2, 2015, at 10:35 AM, Will Dennis <wden...@nec-labs.com> wrote:
> 
> Ran the configure the first time and got an error...
>  
> root@ovirt-node-01 ~> vdsm-tool configure --force
>  
> Checking configuration status...
>  
> Current revision of multipath.conf detected, preserving
> libvirt is not configured for vdsm yet
> FAILED: conflicting vdsm and libvirt-qemu tls configuration.
> vdsm.conf with ssl=True requires the following changes:
> libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
> qemu.conf: spice_tls=1.
>  
> Running configure...
> Reconfiguration of sebool is done.
> Reconfiguration of passwd is done.
> Reconfiguration of libvirt is done.
>  
> Done configuring modules to VDSM.
>  
> So, made the appropriate edits to libvirtd.conf and qemu.conf
>  
> root@ovirt-node-01 ~> grep "^[a-z]" /etc/libvirt/libvirtd.conf
> listen_tls = 1
> listen_tcp = 0
> auth_tcp = "sasl"
> auth_unix_rw="sasl"
> ca_file="/etc/pki/vdsm/certs/cacert.pem"
> cert_file="/etc/pki/vdsm/certs/vdsmcert.pem"
> host_uuid="2b026fff-bae2-429f-9386-c60ffc5f3f32"
> keepalive_interval=-1
> key_file="/etc/pki/vdsm/keys/vdsmkey.pem"
> unix_sock_group="qemu"
> unix_sock_rw_perms="0770"
>  
> root@ovirt-node-01 ~> grep "^[a-z]" /etc/libvirt/qemu.conf
> spice_tls = 1
> auto_dump_path="/var/log/core"
> dynamic_ownership=0
> lock_manager="sanlock"
> remote_display_port_max=6923
> remote_display_port_min=5900
> save_image_format="lzop"
> spice_tls=1
> spice_tls_x509_cert_dir="/etc/pki/vdsm/libvirt-spice"
>  
> Then re-ran the config...
>  
> root@ovirt-node-01 ~> vdsm-tool configure --force
>  
> Checking configuration status...
>  
> Current revision of multipath.conf detected, preserving
> libvirt is already configured for vdsm
> SUCCESS: ssl configured to true. No conflicts
>  
> Running configure...
> Reconfiguration of sebool is done.
> Reconfiguration of libvirt is done.
>  
> Done configuring modules to VDSM.
>  
> Sadly, vdsmd STILL fails to start...
>  
> root@ovirt-node-01 ~> systemctl restart vdsmd
> root@ovirt-node-01 ~> systemctl status vdsmd
> vdsmd.service - Virtual Desktop Server Manager
>Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
>Active: activating (auto-restart) (Result: exit-code) since Wed 2015-12-02 
> 10:30:47 EST; 1s ago
>   Process: 6522 ExecStopPost=/usr/libexec/vdsm/vdsmd_init_common.sh 
> --post-stop (code=exited, status=0/SUCCESS)
>   Process: 6506 ExecStart=/usr/share/vdsm/daemonAdapter -0 /dev/null -1 
> /dev/null -2 /dev/null /usr/share/vdsm/vdsm (code=exited, status=1/FAILURE)
>   Process: 6433 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh 
> --pre-start (code=exited, status=0/SUCCESS)
> Main PID: 6506 (code=exited, status=1/FAILURE)
>  
> Dec 02 10:30:47 ovirt-node-01 systemd[1]: Unit vdsmd.service entered failed 
> 
> Dec 02 10:30:47 ovirt-node-01 systemd[1]: vdsmd.service holdoff time over, 
> s
> Hint: Some lines were ellipsized, use -l to show in full.
>  
> :(
>  
> From: Simone Tiraboschi [mailto:stira...@redhat.com 
> <mailto:stira...@redhat.com>] 
> Sent: Wednesday, December 02, 2015 3:57 AM
> To: Will Dennis
> Cc: Fabian Deutsch; users
> Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not 
> start
>  
> [snip]
>  
> Now can you please now configure it with:
>   vdsm-tool configure --force
>  
> Then you have to restart it

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-02 Thread Will Dennis
Ran the configure the first time and got an error...

root@ovirt-node-01 ~> vdsm-tool configure --force

Checking configuration status...

Current revision of multipath.conf detected, preserving
libvirt is not configured for vdsm yet
FAILED: conflicting vdsm and libvirt-qemu tls configuration.
vdsm.conf with ssl=True requires the following changes:
libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
qemu.conf: spice_tls=1.

Running configure...
Reconfiguration of sebool is done.
Reconfiguration of passwd is done.
Reconfiguration of libvirt is done.

Done configuring modules to VDSM.

So, made the appropriate edits to libvirtd.conf and qemu.conf

root@ovirt-node-01 ~> grep "^[a-z]" /etc/libvirt/libvirtd.conf
listen_tls = 1
listen_tcp = 0
auth_tcp = "sasl"
auth_unix_rw="sasl"
ca_file="/etc/pki/vdsm/certs/cacert.pem"
cert_file="/etc/pki/vdsm/certs/vdsmcert.pem"
host_uuid="2b026fff-bae2-429f-9386-c60ffc5f3f32"
keepalive_interval=-1
key_file="/etc/pki/vdsm/keys/vdsmkey.pem"
unix_sock_group="qemu"
unix_sock_rw_perms="0770"

root@ovirt-node-01 ~> grep "^[a-z]" /etc/libvirt/qemu.conf
spice_tls = 1
auto_dump_path="/var/log/core"
dynamic_ownership=0
lock_manager="sanlock"
remote_display_port_max=6923
remote_display_port_min=5900
save_image_format="lzop"
spice_tls=1
spice_tls_x509_cert_dir="/etc/pki/vdsm/libvirt-spice"

Then re-ran the config...

root@ovirt-node-01 ~> vdsm-tool configure --force

Checking configuration status...

Current revision of multipath.conf detected, preserving
libvirt is already configured for vdsm
SUCCESS: ssl configured to true. No conflicts

Running configure...
Reconfiguration of sebool is done.
Reconfiguration of libvirt is done.

Done configuring modules to VDSM.

Sadly, vdsmd STILL fails to start...

root@ovirt-node-01 ~> systemctl restart vdsmd
root@ovirt-node-01 ~> systemctl status vdsmd
vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
   Active: activating (auto-restart) (Result: exit-code) since Wed 2015-12-02 
10:30:47 EST; 1s ago
  Process: 6522 ExecStopPost=/usr/libexec/vdsm/vdsmd_init_common.sh --post-stop 
(code=exited, status=0/SUCCESS)
  Process: 6506 ExecStart=/usr/share/vdsm/daemonAdapter -0 /dev/null -1 
/dev/null -2 /dev/null /usr/share/vdsm/vdsm (code=exited, status=1/FAILURE)
  Process: 6433 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start 
(code=exited, status=0/SUCCESS)
Main PID: 6506 (code=exited, status=1/FAILURE)

Dec 02 10:30:47 ovirt-node-01 systemd[1]: Unit vdsmd.service entered failed 
Dec 02 10:30:47 ovirt-node-01 systemd[1]: vdsmd.service holdoff time over, s
Hint: Some lines were ellipsized, use -l to show in full.

:(

From: Simone Tiraboschi [mailto:stira...@redhat.com]
Sent: Wednesday, December 02, 2015 3:57 AM
To: Will Dennis
Cc: Fabian Deutsch; users
Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not 
start

[snip]

Now can you please now configure it with:
  vdsm-tool configure --force

Then you have to restart it


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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-01 Thread Willard Dennis
Did the following:

1) yum remove vdsm*
[…]
Removed:
  vdsm.noarch 0:4.17.10.1-0.el7.centos vdsm-cli.noarch 
0:4.17.10.1-0.el7.centosvdsm-gluster.noarch 0:4.17.10.1-0.el7.centos
  vdsm-infra.noarch 0:4.17.10.1-0.el7.centos   vdsm-jsonrpc.noarch 
0:4.17.10.1-0.el7.centosvdsm-python.noarch 0:4.17.10.1-0.el7.centos
  vdsm-xmlrpc.noarch 0:4.17.10.1-0.el7.centos  vdsm-yajsonrpc.noarch 
0:4.17.10.1-0.el7.centos

Dependency Removed:
  ovirt-hosted-engine-ha.noarch 0:1.3.2.1-1.el7.centos 
ovirt-hosted-engine-setup.noarch 0:1.3.0-1.el7.centos 


2) yum install vdsm vdsm-cli vdsm-gluster vdsm-infra vdsm-jsonrpc vdsm-python 
vdsm-xmlrpc vdsm-yajsonrpc
[…]
Installed:
  vdsm.noarch 0:4.17.11-0.el7.centos   vdsm-cli.noarch 
0:4.17.11-0.el7.centos  vdsm-gluster.noarch 0:4.17.11-0.el7.centos
  vdsm-infra.noarch 0:4.17.11-0.el7.centos vdsm-jsonrpc.noarch 
0:4.17.11-0.el7.centos  vdsm-python.noarch 0:4.17.11-0.el7.centos
  vdsm-xmlrpc.noarch 0:4.17.11-0.el7.centosvdsm-yajsonrpc.noarch 
0:4.17.11-0.el7.centos

3) yum install ovirt-hosted-engine-setup ovirt-hosted-engine-ha
[…]
Installed:
  ovirt-hosted-engine-ha.noarch 0:1.3.3-1.el7.centos  
ovirt-hosted-engine-setup.noarch 0:1.3.1-1.el7.centos

Dependency Updated:
  ovirt-host-deploy.noarch 0:1.4.1-1.el7.centos


Result:
[root@ovirt-node-01 ~]# systemctl start vdsmd
Job for vdsmd.service failed. See 'systemctl status vdsmd.service' and 
'journalctl -xn' for details.
[root@ovirt-node-01 ~]# systemctl status vdsmd.service
vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
   Active: failed (Result: start-limit) since Tue 2015-12-01 23:55:05 EST; 14s 
ago
  Process: 21336 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh 
--pre-start (code=exited, status=1/FAILURE)
 Main PID: 20589 (code=exited, status=1/FAILURE)

Dec 01 23:55:05 ovirt-node-01 systemd[1]: Failed to start Virtual Desktop 
Server Manager.
Dec 01 23:55:05 ovirt-node-01 systemd[1]: Unit vdsmd.service entered failed 
state.
Dec 01 23:55:05 ovirt-node-01 systemd[1]: Starting Virtual Desktop Server 
Manager...
Dec 01 23:55:05 ovirt-node-01 systemd[1]: vdsmd.service holdoff time over, 
scheduling restart.
Dec 01 23:55:05 ovirt-node-01 systemd[1]: Stopping Virtual Desktop Server 
Manager...
Dec 01 23:55:05 ovirt-node-01 systemd[1]: Starting Virtual Desktop Server 
Manager...
Dec 01 23:55:05 ovirt-node-01 systemd[1]: vdsmd.service start request repeated 
too quickly, refusing to start.
Dec 01 23:55:05 ovirt-node-01 systemd[1]: Failed to start Virtual Desktop 
Server Manager.
Dec 01 23:55:05 ovirt-node-01 systemd[1]: Unit vdsmd.service entered failed 
state.

Different error now, but vdsmd service still won’t restart correctly...


> On Dec 1, 2015, at 9:25 AM, Simone Tiraboschi <stira...@redhat.com> wrote:
> 
> On Tue, Dec 1, 2015 at 3:15 PM, Will Dennis <wden...@nec-labs.com 
> <mailto:wden...@nec-labs.com>> wrote:
> I believe sudo is NOT setup for passwordless (then again, didn't see that in 
> any pre-req instructions...) Who would be the sudoer in this case?
> 
> It's not required to take any manual action.
> Can you please try to reinstall vdsm from its rpms and try it again?
>  
> 
> -Original Message-
> From: Fabian Deutsch [mailto:fdeut...@redhat.com <mailto:fdeut...@redhat.com>]
> Sent: Tuesday, December 01, 2015 12:58 AM
> To: Will Dennis
> Cc: Simone Tiraboschi; users
> Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not 
> start
> 
> On Tue, Dec 1, 2015 at 4:52 AM, Will Dennis <wden...@nec-labs.com 
> <mailto:wden...@nec-labs.com>> wrote:
> > Any clues out of the strace of vdsm?
> 
> read(9, "sudo: a password is required\n", 4096) = 29
> 
> Could it be that sudo is not configured to operate passwordless?
> 
> The strat-up can then fail, because sudo requires a ty, but this isn't 
> available during service start.
> 
> - fabian

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-12-01 Thread Will Dennis
I believe sudo is NOT setup for passwordless (then again, didn't see that in 
any pre-req instructions...) Who would be the sudoer in this case?

-Original Message-
From: Fabian Deutsch [mailto:fdeut...@redhat.com] 
Sent: Tuesday, December 01, 2015 12:58 AM
To: Will Dennis
Cc: Simone Tiraboschi; users
Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not 
start

On Tue, Dec 1, 2015 at 4:52 AM, Will Dennis <wden...@nec-labs.com> wrote:
> Any clues out of the strace of vdsm?

read(9, "sudo: a password is required\n", 4096) = 29

Could it be that sudo is not configured to operate passwordless?

The strat-up can then fail, because sudo requires a ty, but this isn't 
available during service start.

- fabian



> From: Willard Dennis [mailto:wden...@nec-labs.com]
> Sent: Wednesday, November 25, 2015 12:58 PM
> To: Simone Tiraboschi
> Cc: users
> Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd 
> does not start
>
>
>
> strace output:
>
> https://gist.githubusercontent.com/wdennis/d9913d8064af6a6b2c36/raw/6a
> 33f7d9ba7da72ff9be7a15e2e81e5d06ad0fc5/vdsm-strace.txt
>
>
>
>
>
> On Nov 25, 2015, at 11:29 AM, Simone Tiraboschi <stira...@redhat.com> wrote:
>
>
>
>
>
>
>
> On Wed, Nov 25, 2015 at 5:22 PM, Willard Dennis <wden...@nec-labs.com>
> wrote:
>
> [root@ovirt-node-01 ~]# sudo -u vdsm /bin/bash
>
> bash-4.2$ /usr/share/vdsm/vdsm
>
> bash-4.2$ echo $?
>
> 1
>
>
>
> Can you please use strace on it?
>
>
>
>
>
> On Nov 25, 2015, at 11:16 AM, Simone Tiraboschi <stira...@redhat.com> wrote:
>
>
>
>
>
> On Wed, Nov 25, 2015 at 5:09 PM, Willard Dennis <wden...@nec-labs.com>
> wrote:
>
>
>
> On Nov 25, 2015, at 10:37 AM, Simone Tiraboschi <stira...@redhat.com> wrote:
>
>
>
>
>
>
>
> On Wed, Nov 25, 2015 at 4:20 PM, Will Dennis <wden...@nec-labs.com> wrote:
>
> Hi Simone,
>
> Looks like the vdsm log is empty...
>
> [root@ovirt-node-01 ~]# ls -l /var/log/vdsm/vdsm.log
> -rw-r--r-- 1 vdsm kvm 0 Nov 23 15:41 /var/log/vdsm/vdsm.log
>
> Yes, I did execute the ‘vdsm-tool configure –force’ command before the 
> restart, looks like it worked OK, but still the same problem with 
> starting vdsm...
>
>
>
>
>
> Can you please try manually run /usr/share/vdsm/vdsm as vdsm user?
>
>
>
>
>
> [root@ovirt-node-01 ~]# su - vdsm
>
> This account is currently not available.
>
> [root@ovirt-node-01 ~]#
>
> [root@ovirt-node-01 ~]# grep vdsm /etc/passwd
>
> vdsm:x:36:36:Node Virtualization Manager:/var/lib/vdsm:/sbin/nologin
>
> [root@ovirt-node-01 ~]# runuser -l vdsm -c '/usr/share/vdsm/vdsm'
>
> This account is currently not available.
>
>
>
>
>
> [root@tiramd1 ~]# sudo -u vdsm /bin/bash
>
> bash-4.2$ whoami
>
> vdsm
>
>
>
>
>
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



--
Fabian Deutsch <fdeut...@redhat.com>
RHEV Hypervisor
Red Hat
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-11-30 Thread Will Dennis
Any clues out of the strace of vdsm?

From: Willard Dennis [mailto:wden...@nec-labs.com]
Sent: Wednesday, November 25, 2015 12:58 PM
To: Simone Tiraboschi
Cc: users
Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not 
start

strace output:
https://gist.githubusercontent.com/wdennis/d9913d8064af6a6b2c36/raw/6a33f7d9ba7da72ff9be7a15e2e81e5d06ad0fc5/vdsm-strace.txt


On Nov 25, 2015, at 11:29 AM, Simone Tiraboschi 
<stira...@redhat.com<mailto:stira...@redhat.com>> wrote:



On Wed, Nov 25, 2015 at 5:22 PM, Willard Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
[root@ovirt-node-01 ~]# sudo -u vdsm /bin/bash
bash-4.2$ /usr/share/vdsm/vdsm
bash-4.2$ echo $?
1

Can you please use strace on it?


On Nov 25, 2015, at 11:16 AM, Simone Tiraboschi 
<stira...@redhat.com<mailto:stira...@redhat.com>> wrote:


On Wed, Nov 25, 2015 at 5:09 PM, Willard Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

On Nov 25, 2015, at 10:37 AM, Simone Tiraboschi 
<stira...@redhat.com<mailto:stira...@redhat.com>> wrote:



On Wed, Nov 25, 2015 at 4:20 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
Hi Simone,

Looks like the vdsm log is empty...

[root@ovirt-node-01 ~]# ls -l /var/log/vdsm/vdsm.log
-rw-r--r-- 1 vdsm kvm 0 Nov 23 15:41 /var/log/vdsm/vdsm.log

Yes, I did execute the ‘vdsm-tool configure –force’ command before the restart, 
looks like it worked OK, but still the same problem with starting vdsm...


Can you please try manually run /usr/share/vdsm/vdsm as vdsm user?


[root@ovirt-node-01 ~]# su - vdsm
This account is currently not available.
[root@ovirt-node-01 ~]#
[root@ovirt-node-01 ~]# grep vdsm /etc/passwd
vdsm:x:36:36:Node Virtualization Manager:/var/lib/vdsm:/sbin/nologin
[root@ovirt-node-01 ~]# runuser -l vdsm -c '/usr/share/vdsm/vdsm'
This account is currently not available.


[root@tiramd1 ~]# sudo -u vdsm /bin/bash
bash-4.2$ whoami
vdsm




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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-11-25 Thread Will Dennis
Hi Simone,

Looks like the vdsm log is empty...

[root@ovirt-node-01 ~]# ls -l /var/log/vdsm/vdsm.log
-rw-r--r-- 1 vdsm kvm 0 Nov 23 15:41 /var/log/vdsm/vdsm.log

Yes, I did execute the ‘vdsm-tool configure –force’ command before the restart, 
looks like it worked OK, but still the same problem with starting vdsm...



From: Simone Tiraboschi [mailto:stira...@redhat.com] 
Sent: Wednesday, November 25, 2015 5:24 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not 
start

Could you please attach vdsm logs (/var/log/vdsm/vdsm.log)?

did you tried  manually running 
 vdsm-tool configure --force
before restarting vdsm?

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-11-25 Thread Willard Dennis

> On Nov 25, 2015, at 10:37 AM, Simone Tiraboschi <stira...@redhat.com> wrote:
> 
> 
> 
> On Wed, Nov 25, 2015 at 4:20 PM, Will Dennis <wden...@nec-labs.com 
> <mailto:wden...@nec-labs.com>> wrote:
> Hi Simone,
> 
> Looks like the vdsm log is empty...
> 
> [root@ovirt-node-01 ~]# ls -l /var/log/vdsm/vdsm.log
> -rw-r--r-- 1 vdsm kvm 0 Nov 23 15:41 /var/log/vdsm/vdsm.log
> 
> Yes, I did execute the ‘vdsm-tool configure –force’ command before the 
> restart, looks like it worked OK, but still the same problem with starting 
> vdsm...
> 
> 
> Can you please try manually run /usr/share/vdsm/vdsm as vdsm user?
> 

[root@ovirt-node-01 ~]# su - vdsm
This account is currently not available.
[root@ovirt-node-01 ~]#
[root@ovirt-node-01 ~]# grep vdsm /etc/passwd
vdsm:x:36:36:Node Virtualization Manager:/var/lib/vdsm:/sbin/nologin
[root@ovirt-node-01 ~]# runuser -l vdsm -c '/usr/share/vdsm/vdsm'
This account is currently not available.

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-11-25 Thread Willard Dennis
strace output:
https://gist.githubusercontent.com/wdennis/d9913d8064af6a6b2c36/raw/6a33f7d9ba7da72ff9be7a15e2e81e5d06ad0fc5/vdsm-strace.txt
 
<https://gist.githubusercontent.com/wdennis/d9913d8064af6a6b2c36/raw/6a33f7d9ba7da72ff9be7a15e2e81e5d06ad0fc5/vdsm-strace.txt>


> On Nov 25, 2015, at 11:29 AM, Simone Tiraboschi <stira...@redhat.com> wrote:
> 
> 
> 
> On Wed, Nov 25, 2015 at 5:22 PM, Willard Dennis <wden...@nec-labs.com 
> <mailto:wden...@nec-labs.com>> wrote:
> [root@ovirt-node-01 ~]# sudo -u vdsm /bin/bash
> bash-4.2$ /usr/share/vdsm/vdsm
> bash-4.2$ echo $?
> 1
> 
> Can you please use strace on it?
>  
> 
>> On Nov 25, 2015, at 11:16 AM, Simone Tiraboschi <stira...@redhat.com 
>> <mailto:stira...@redhat.com>> wrote:
>> 
>> 
>> On Wed, Nov 25, 2015 at 5:09 PM, Willard Dennis <wden...@nec-labs.com 
>> <mailto:wden...@nec-labs.com>> wrote:
>> 
>>> On Nov 25, 2015, at 10:37 AM, Simone Tiraboschi <stira...@redhat.com 
>>> <mailto:stira...@redhat.com>> wrote:
>>> 
>>> 
>>> 
>>> On Wed, Nov 25, 2015 at 4:20 PM, Will Dennis <wden...@nec-labs.com 
>>> <mailto:wden...@nec-labs.com>> wrote:
>>> Hi Simone,
>>> 
>>> Looks like the vdsm log is empty...
>>> 
>>> [root@ovirt-node-01 ~]# ls -l /var/log/vdsm/vdsm.log
>>> -rw-r--r-- 1 vdsm kvm 0 Nov 23 15:41 /var/log/vdsm/vdsm.log
>>> 
>>> Yes, I did execute the ‘vdsm-tool configure –force’ command before the 
>>> restart, looks like it worked OK, but still the same problem with starting 
>>> vdsm...
>>> 
>>> 
>>> Can you please try manually run /usr/share/vdsm/vdsm as vdsm user?
>>> 
>> 
>> [root@ovirt-node-01 ~]# su - vdsm
>> This account is currently not available.
>> [root@ovirt-node-01 ~]#
>> [root@ovirt-node-01 ~]# grep vdsm /etc/passwd
>> vdsm:x:36:36:Node Virtualization Manager:/var/lib/vdsm:/sbin/nologin
>> [root@ovirt-node-01 ~]# runuser -l vdsm -c '/usr/share/vdsm/vdsm'
>> This account is currently not available.
>> 
>> 
>> [root@tiramd1 ~]# sudo -u vdsm /bin/bash
>> bash-4.2$ whoami
>> vdsm
>> 
> 
> 

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


Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-11-25 Thread Will Dennis
[root@ovirt-node-01 ~]# yum list installed | grep engine
ovirt-engine-sdk-python.noarch 3.6.0.3-1.el7.centos   @ovirt-3.6
ovirt-hosted-engine-ha.noarch  1.3.2.1-1.el7.centos   @ovirt-3.6
ovirt-hosted-engine-setup.noarch   1.3.0-1.el7.centos @ovirt-3.6
[root@ovirt-node-01 ~]#
[root@ovirt-node-01 ~]# yum list installed | grep vdsm
vdsm.noarch4.17.10.1-0.el7.centos @ovirt-3.6
vdsm-cli.noarch4.17.10.1-0.el7.centos @ovirt-3.6
vdsm-gluster.noarch4.17.10.1-0.el7.centos @ovirt-3.6
vdsm-infra.noarch  4.17.10.1-0.el7.centos @ovirt-3.6
vdsm-jsonrpc.noarch4.17.10.1-0.el7.centos @ovirt-3.6
vdsm-python.noarch 4.17.10.1-0.el7.centos @ovirt-3.6
vdsm-xmlrpc.noarch 4.17.10.1-0.el7.centos @ovirt-3.6
vdsm-yajsonrpc.noarch  4.17.10.1-0.el7.centos @ovirt-3.6


From: Roman Mohr [mailto:rm...@redhat.com]
Sent: Wednesday, November 25, 2015 5:23 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] Problem with hosted engine setup - vsdmd does not 
start

Hi Willard,

Which packages versions are you using?

Could you provide the output of the following commands:
# yum list installed | grep engine
# yum list installed | grep vdsm

Best Regards,
Roman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Problem with hosted engine setup - vsdmd does not start

2015-11-24 Thread Willard Dennis
Hi all,

Tried to run the hosted engine setup, got:
[ ERROR ] Failed to execute stage 'Environment setup': [Errno 111] Connection 
refused

( full run output here: 
https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/raw/c0f9127c676759b19b1d32a212c8c3694fac580e/hosted-engine-setup-output.txt
 

 )

Looked at the setup log file referenced in the output, saw this traceback in it 
that also referenced the Error 111:
https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/raw/c0f9127c676759b19b1d32a212c8c3694fac580e/configurevm-py_error.txt
 


I diagnosed it (Google ftw) and saw that it was likely a vdsmd problem; sure 
enough, when I did a 'systemctl status vdsmd’ I saw that it was in error state -
Process: 28163 ExecStart=/usr/share/vdsm/daemonAdapter -0 /dev/null -1 
/dev/null -2 /dev/null /usr/share/vdsm/vdsm (code=exited, status=1/FAILURE)

( full status output here: 
https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/raw/c0f9127c676759b19b1d32a212c8c3694fac580e/systemctl_status_vdsmd.txt
 

 )

Does anyone know how I can troubleshoot and fix the VDSM daemon start process?

Thanks,
Will

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


[ovirt-users] Planning out oVirt Self-Hosted Engine on Gluster (oVirt 3.6.x / Gluster 3.7.5)

2015-10-22 Thread Willard Dennis
Hi all,

Back to trying out the latest oVirt with latest Gluster, and wanting to do a 
self-hosted Engine setup. I am reading the instructions I found on the 
following pages:

http://www.ovirt.org/Features/Self_Hosted_Engine_Gluster_Support 


http://www.ovirt.org/QA:TestCase_Hosted_Engine_External_Gluster_Support 


I have the requisite Gluster volume all ready to go:

[root@ovirt-node-01 ~]# gluster volume info engine

Volume Name: engine
Type: Distributed-Replicate
Volume ID: 974c9da4-b236-4fc1-b26a-645f14601db8
Status: Started
Number of Bricks: 2 x 3 = 6
Transport-type: tcp
Bricks:
Brick1: ovirt-node-01:/gluster_brick1/engine_brick
Brick2: ovirt-node-02:/gluster_brick2/engine_brick
Brick3: ovirt-node-03:/gluster_brick3/engine_brick
Brick4: ovirt-node-01:/gluster_brick3/engine_brick
Brick5: ovirt-node-02:/gluster_brick4/engine_brick
Brick6: ovirt-node-03:/gluster_brick5/engine_brick
Options Reconfigured:
server.allow-insecure: on
storage.owner-gid: 36
storage.owner-uid: 36
auth.allow: *
network.ping-timeout: 10
cluster.server-quorum-type: server
cluster.quorum-type: auto
network.remote-dio: enable
cluster.eager-lock: enable
performance.stat-prefetch: off
performance.io-cache: off
performance.read-ahead: off
performance.quick-read: off

The one question I have is, should it be mounted or not? I currently do have it 
mounted on each host (example off one of my oVirt hosts):

localhost:/engine  1.9T   65M  1.9T   1% /data/ovirt/engine

Will this interfere with the running of "hosted-engine —deploy”? Kindly advise.

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


[ovirt-users] Problem with 3.5.1 hosted engine setup

2015-04-22 Thread Willard Dennis
Hi all,

I’m trying to get a hosted engine set up on a CentOS 7.1 box, per the 
instructions found at 
http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/ 
http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/

When I run the ‘hosted-engine —deploy’ step, I’m getting the following output…
https://gist.github.com/wdennis/f9783b04d77676881d5b 
https://gist.github.com/wdennis/f9783b04d77676881d5b

Looking at the log file, I see the following traceback:
https://gist.github.com/wdennis/4e4de8413cf2dd1a3c6b 
https://gist.github.com/wdennis/4e4de8413cf2dd1a3c6b

Can anyone tell me what exactly is failing, and how I might fix it?

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


[ovirt-users] GlusterFS native client use with oVirt

2015-04-22 Thread Will Dennis
Hi all,

Can someone tell me if it's possible or not to utilize GlusterFS mounted as 
native (i.e. FUSE) for a storage domain with oVirt 3.5.x?  I have two nodes 
(with a third I'm thinking of using as well) that are running Gluster, and I've 
created the two volumes needed for hosted engine setup (engine, data) on 
them, and mounted them native (not via NFS.) Can this be used with oVirt 3.5.x?

Or is this (from what I now understand) a new feature coming in oVirt 3.6?

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


Re: [Users] Error when trying to create a new ISO storage domain

2014-01-21 Thread Willard Dennis
I am still trying to resolve this issue. I found the Troubleshooting NFS 
Storage Issues page, and have a few questions regarding the troubleshooting 
steps contained therein...
1) In the Permissions section, there's a suggestion under the SELinux 
subsection to su - vdsm -s /bin/bash and then try to mount the target NFS 
share under a temp mountpoint. However, the mount command is only usable as 
'root', right? If this can indeed be done, please let me know how (and I will 
update the wiki page...)
2) In the nfs-check program section, it says to run the Python script passing 
the the target NFS share path as a parameter. However, it does not indicate 
where to run the script -- on the engine, or on a node? (When I ran it on a 
node, it gives the output: return = 32 error mount.nfs: access denied by server 
while mounting stordevfs.nec-labs.com:/volumes/storage/ovirt-isos)

Thanks!Will

From: willardden...@live.com
To: stockhau...@collogia.de; users@ovirt.org
Date: Mon, 20 Jan 2014 16:17:28 -0500
Subject: Re: [Users] Error when trying to create a new ISO storage domain




Thanks for the reply, Markus.

 Did you follow the NFS export guidelines and userid 36? Here the
 export data from our ISO NFS server path
 
 # ls -ald /var/nas3/OVirtISO
 drwxrwxr-x 3 36 36 74 Dez 10 12:53 /var/nas3/OVirtISO
 # cat /etc/exports
 /var/nas3/OVirtEXP 
 10.0.0.0/12(rw,async,no_subtree_check,anonuid=36,anongid=36,all_squash)
 ...
 
 Markus

The share is on a Illumos (nee OpenSolaris) box, and uses ZFS's NFS 
implementation. Here is the output of the share command (i.e. exportfs) for 
this share:
-@storage/ovir  /volumes/storage/ovirt-isos   anon=36,sec=none,rw   
I did change the NFS mount options (added the anon=36, and changed the sec= 
option from sys to none), and now I'm getting a slightly different error:
-Error while executing action Add Storage Connection: Problem while trying 
to mount target-
Any way to get more info on what exactly the propblem is??  
  

___
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: [Users] Error when trying to create a new ISO storage domain

2014-01-21 Thread Willard Dennis

Thanks for the response, Dafna...

 vdsm is using mount command.
 please look at vdsm log and find the mount command that is failing and 
 run it manually to see the mount trace.
 
 you can also attach the vdsm log here and we can try to find it :)
 
 Dafna

Just needed a clue where to look, thanks :)
I see that the mount cmd is being invoked with sudo, and that's how it works 
for the user vdsm --/usr/bin/sudo -n /bin/mount -t nfs -o 
soft,nosharecache,timeo=600,retrans=6,nfsvers=3 
stordevfs.nec-labs.com:/volumes/storage/ovirt-isos 
/rhev/data-center/mnt/stordevfs.nec-labs.com:_volumes_storage_ovirt-isos
And then the resulting error I'm getting:MountError: (32, ';mount.nfs: access 
denied by server while mounting 
stordevfs.nec-labs.com:/volumes/storage/ovirt-isos\n')
...which correlates with the output of the nfs-check.py script.
So, I will have to debug on the Illumos side as to why I don't seem to have the 
needed perm's; but, in the meantime, I did set up a NFS share on a CentOS 6.4 
box I have available, following directions on  
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues , and it does work fine 
from there. 
Thanks for your assistance!
Best,Will ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Error when trying to create a new ISO storage domain

2014-01-20 Thread Willard Dennis
Hi all,
I am trying to define a new ISO storage domain. I go to System  Storage, click 
on the New Domain link, and fill in the requisite fields. Domain Function / 
Storage Type drop is set to ISO / NFS, and I verified that I have the proper 
NFS path to the export on the NFS server I want to use. However, when I click 
the OK button, I am getting the following popup:

-Error while executing action Add Storage Connection: Permission settings 
on the specified path do not allow access to the storage.Verify permission 
settings on the specified storage path.-
I have verified that I can manually mount the NFS filesystem on the host 
defined in the Use Host drop [as root], and I have looked in 
/var/log/messages (on the mounting host, as well as the NFS server, and do not 
see any errors... Please not that the NFS export is a pre-existing share on the 
NFS server, and does contain pre-existing data (ISOs, etc.)
How can I debug this? ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Error when trying to create a new ISO storage domain

2014-01-20 Thread Willard Dennis
Thanks for the reply, Markus.

 Did you follow the NFS export guidelines and userid 36? Here the
 export data from our ISO NFS server path
 
 # ls -ald /var/nas3/OVirtISO
 drwxrwxr-x 3 36 36 74 Dez 10 12:53 /var/nas3/OVirtISO
 # cat /etc/exports
 /var/nas3/OVirtEXP 
 10.0.0.0/12(rw,async,no_subtree_check,anonuid=36,anongid=36,all_squash)
 ...
 
 Markus

The share is on a Illumos (nee OpenSolaris) box, and uses ZFS's NFS 
implementation. Here is the output of the share command (i.e. exportfs) for 
this share:
-@storage/ovir  /volumes/storage/ovirt-isos   anon=36,sec=none,rw   
I did change the NFS mount options (added the anon=36, and changed the sec= 
option from sys to none), and now I'm getting a slightly different error:
-Error while executing action Add Storage Connection: Problem while trying 
to mount target-
Any way to get more info on what exactly the propblem is??  
  ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] New user to oVirt, and I haz a sad so far...

2014-01-17 Thread Will Dennis (Live.com)
OK, I will open a bug; trying now to bring up the node using CentOS 6.5
minimal, will keep good notes this time on what I have to do to get it
connected to the engine.

Thanks,
Will

-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com] 
Sent: Friday, January 17, 2014 3:34 PM
To: Willard Dennis; Einav Cohen
Cc: users@ovirt.org
Subject: Re: [Users] New user to oVirt, and I haz a sad so far...

On 01/17/2014 07:31 PM, Willard Dennis wrote:
 Uuup!  :)

 Thanks for your assistance, Einav!

 Now onwards

Hi Will,

this should work out of the box.
would help if you can open a bug on this not happening so it will be
verified it does work out of the box.

Thanks,
Itamar


   Date: Fri, 17 Jan 2014 12:18:30 -0500   From: eco...@redhat.com   
 To: willardden...@live.com   CC: n...@nieuwland.nl; users@ovirt.org   
 Subject: Re: [Users] New user to oVirt, and I haz a sad so far...
  
   go to the Network Interface sub-tab of that node and click the 
 Setup   Host Networks button.
   In the dialog that has opened, attach the 'ovirtmgmt' network from 
 the   right-hand side of the dialog to one of your node's NICs on the 
 left-hand   side by dragging that network onto the NIC.
   click OK.
   after a short while, your Host should become 'Up'.


 ___
 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


  1   2   >