Re: [ovirt-users] macvlan + IPv6

2016-02-23 Thread Edward Haas


- Original Message -
| From: "Jay Turner" 
| To: users@ovirt.org
| Sent: Tuesday, February 23, 2016 5:13:21 PM
| Subject: Re: [ovirt-users] macvlan + IPv6
| 
| As a follow-up to this, I made some headway in sorting out the source of the
| issue, but hoping someone can give me a pointer to where this is happening
| in the code, as well as some understanding for why.
| 
| In oVirt, when I allocate a virtual function to a guest, a new MAC address is
| generated for the VF (as it should be) from the MAC address pool in oVirt,
| and then that MAC address is written to the VF on the hypervisor. Thus I end
| up with something like:
| 
| : ens11:  mtu 1500 qdisc mq master i40e
| state UP mode DEFAULT qlen 1000
| link/ether 3c:fd:fe:9d:a1:38 brd ff:ff:ff:ff:ff:ff
| vf 0 MAC 00:1a:4a:16:01:52, spoof checking on, link-state auto
| 
| This *is not* how it happens under libvirt/virt-manager, however. When
| allocating a VF to a guest under libvirt, a random MAC address is generated
| and associated with the VF under the guest, but it is not written back to
| the hypervisor, and is instead left as 00:00:00:00:00:00.
| 
| I am pretty sure this writing of the MAC address at the hypervisor is causing
| at least some of the issues I'm seeing, as with the Intel cards, that
| prevents the guest from changing/adding a new MAC address, which is what
| happens with the instantiation of a macvlan interface.
| 
| So can anyone point me to where in the oVirt code this MAC address assignment
| is occurring? Also curious why oVirt does this assignment, but libvirt does
| not.
| 
| Thanks!
| 
| - jkt
| 
| On Mon, Feb 22, 2016 at 2:51 PM Jay Turner < j...@iix.net > wrote:
| 
| 
| 
| Hoping someone can help with a problem my team is seeing under oVirt.
| 
| We are making heavy use of macvlan interfaces (in VEPA mode) on-top of
| virtual functions, under VMs being managed by oVirt. In this scenario IPv6
| is not playing nicely, with no traffic going through, and messages about
| neighbor solicitation. There are some pointers out there indicating the
| issue stems from the fact IPv6 utilizing multicast for neighbor
| solicitation, but nothing we have tried seems to work around this issue.
| 
| The problem is made all the most bizarre by the fact that on the same
| hardware libvirt + virt-manager works perfectly fine. I have looked at the
| corresponding xml for the guests, and nothing seems to point to the
| underlying cause for oVirt to fail, but libvirt to succeed.
| 
| * Intel XL710 40G NICs (i40e/i40evf drivers)
| * CentOS 7.1 (fully up-to-date)
| * oVirt 3.6
| * libvirt-1.2.17
| * virt-manager-1.2.1-8
| 
| Thanks for any pointers folks can provide.
| 
| - jkt
| 
| ___
| Users mailing list
| Users@ovirt.org
| http://lists.ovirt.org/mailman/listinfo/users
| 

Could you please provide the dumpxml for both setups (oVirt and non-oVirt)?
(sudo virsh -r dumpxml )

Thanks,
Edy.

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


Re: [ovirt-users] macvlan + IPv6

2016-02-23 Thread Edward Haas


- Original Message -
| From: "Jay Turner" 
| To: users@ovirt.org
| Sent: Tuesday, February 23, 2016 5:13:21 PM
| Subject: Re: [ovirt-users] macvlan + IPv6
| 
| As a follow-up to this, I made some headway in sorting out the source of the
| issue, but hoping someone can give me a pointer to where this is happening
| in the code, as well as some understanding for why.
| 
| In oVirt, when I allocate a virtual function to a guest, a new MAC address is
| generated for the VF (as it should be) from the MAC address pool in oVirt,
| and then that MAC address is written to the VF on the hypervisor. Thus I end
| up with something like:
| 
| : ens11:  mtu 1500 qdisc mq master i40e
| state UP mode DEFAULT qlen 1000
| link/ether 3c:fd:fe:9d:a1:38 brd ff:ff:ff:ff:ff:ff
| vf 0 MAC 00:1a:4a:16:01:52, spoof checking on, link-state auto
| 
| This *is not* how it happens under libvirt/virt-manager, however. When
| allocating a VF to a guest under libvirt, a random MAC address is generated
| and associated with the VF under the guest, but it is not written back to
| the hypervisor, and is instead left as 00:00:00:00:00:00.
| 
| I am pretty sure this writing of the MAC address at the hypervisor is causing
| at least some of the issues I'm seeing, as with the Intel cards, that
| prevents the guest from changing/adding a new MAC address, which is what
| happens with the instantiation of a macvlan interface.
| 
| So can anyone point me to where in the oVirt code this MAC address assignment
| is occurring? Also curious why oVirt does this assignment, but libvirt does
| not.
| 
| Thanks!
| 
| - jkt
| 
| On Mon, Feb 22, 2016 at 2:51 PM Jay Turner < j...@iix.net > wrote:
| 
| 
| 
| Hoping someone can help with a problem my team is seeing under oVirt.
| 
| We are making heavy use of macvlan interfaces (in VEPA mode) on-top of
| virtual functions, under VMs being managed by oVirt. In this scenario IPv6
| is not playing nicely, with no traffic going through, and messages about
| neighbor solicitation. There are some pointers out there indicating the
| issue stems from the fact IPv6 utilizing multicast for neighbor
| solicitation, but nothing we have tried seems to work around this issue.
| 
| The problem is made all the most bizarre by the fact that on the same
| hardware libvirt + virt-manager works perfectly fine. I have looked at the
| corresponding xml for the guests, and nothing seems to point to the
| underlying cause for oVirt to fail, but libvirt to succeed.
| 
| * Intel XL710 40G NICs (i40e/i40evf drivers)
| * CentOS 7.1 (fully up-to-date)
| * oVirt 3.6
| * libvirt-1.2.17
| * virt-manager-1.2.1-8
| 
| Thanks for any pointers folks can provide.
| 
| - jkt
| 
| ___
| Users mailing list
| Users@ovirt.org
| http://lists.ovirt.org/mailman/listinfo/users
| 

Could you please provide the dumpxml for both setups (oVirt and non-oVirt)?
(sudo virsh -r dumpxml )

Thanks,
Edy.

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


Re: [ovirt-users] macvlan + IPv6

2016-02-23 Thread Edward Haas


- Original Message -
| From: "Jay Turner" 
| To: users@ovirt.org
| Sent: Tuesday, February 23, 2016 5:13:21 PM
| Subject: Re: [ovirt-users] macvlan + IPv6
| 
| As a follow-up to this, I made some headway in sorting out the source of the
| issue, but hoping someone can give me a pointer to where this is happening
| in the code, as well as some understanding for why.
| 
| In oVirt, when I allocate a virtual function to a guest, a new MAC address is
| generated for the VF (as it should be) from the MAC address pool in oVirt,
| and then that MAC address is written to the VF on the hypervisor. Thus I end
| up with something like:
| 
| : ens11:  mtu 1500 qdisc mq master i40e
| state UP mode DEFAULT qlen 1000
| link/ether 3c:fd:fe:9d:a1:38 brd ff:ff:ff:ff:ff:ff
| vf 0 MAC 00:1a:4a:16:01:52, spoof checking on, link-state auto
| 
| This *is not* how it happens under libvirt/virt-manager, however. When
| allocating a VF to a guest under libvirt, a random MAC address is generated
| and associated with the VF under the guest, but it is not written back to
| the hypervisor, and is instead left as 00:00:00:00:00:00.
| 
| I am pretty sure this writing of the MAC address at the hypervisor is causing
| at least some of the issues I'm seeing, as with the Intel cards, that
| prevents the guest from changing/adding a new MAC address, which is what
| happens with the instantiation of a macvlan interface.
| 
| So can anyone point me to where in the oVirt code this MAC address assignment
| is occurring? Also curious why oVirt does this assignment, but libvirt does
| not.
| 
| Thanks!
| 
| - jkt
| 
| On Mon, Feb 22, 2016 at 2:51 PM Jay Turner < j...@iix.net > wrote:
| 
| 
| 
| Hoping someone can help with a problem my team is seeing under oVirt.
| 
| We are making heavy use of macvlan interfaces (in VEPA mode) on-top of
| virtual functions, under VMs being managed by oVirt. In this scenario IPv6
| is not playing nicely, with no traffic going through, and messages about
| neighbor solicitation. There are some pointers out there indicating the
| issue stems from the fact IPv6 utilizing multicast for neighbor
| solicitation, but nothing we have tried seems to work around this issue.
| 
| The problem is made all the most bizarre by the fact that on the same
| hardware libvirt + virt-manager works perfectly fine. I have looked at the
| corresponding xml for the guests, and nothing seems to point to the
| underlying cause for oVirt to fail, but libvirt to succeed.
| 
| * Intel XL710 40G NICs (i40e/i40evf drivers)
| * CentOS 7.1 (fully up-to-date)
| * oVirt 3.6
| * libvirt-1.2.17
| * virt-manager-1.2.1-8
| 
| Thanks for any pointers folks can provide.
| 
| - jkt
| 
| ___
| Users mailing list
| Users@ovirt.org
| http://lists.ovirt.org/mailman/listinfo/users
| 

Could you please provide the dumpxml for both setups (oVirt and non-oVirt)?
(sudo virsh -r dumpxml )

Thanks,
Edy.

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


Re: [ovirt-users] ovirt - can't attach master domain III

2016-02-23 Thread Nir Soffer
On Wed, Feb 24, 2016 at 8:53 AM, p...@email.cz  wrote:

> Hi,
> it seems that sanlock daemon has problem with reading empty "ids" file .
> How can I regenarate this "ids" file to get 2k rows of datas ??
> It's the base problem to get up "master domain"  following "datacenter"
>

You should understand why the ids files is empty and fix the root cause.

To recover your ids files, you can follow the instructions here:
http://lists.ovirt.org/pipermail/users/2016-February/038046.html

Nir


>
> regs.
> Pa.
>
> ___
> 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] management network VLAN mismatch

2016-02-23 Thread Garry Tiedemann

Hi folks,

I'm in the process of upgrading to 3.6, and have encountered a new error 
message. I understand the error, and how to fix it.
My question is, can fixing it affect production VM traffic? I don't 
think so, but I'd appreciate confirmation from someone who really knows, 
please.


Description of what I am doing:
I've upgraded hosted-engine, and am now upgrading the first hypervisor node.
My method, which may be outdated, is: have no VMs running on the host, I 
drop it out of the cluster, do yum updates & reboots, then add the host 
back to the cluster when it's ready.


When I add the host to the cluster, I get this error message:
Failed to configure management network on host bl05. Host bl05 has an 
interface eth0.20 for the management network configuration with VLAN-ID 
(20), which is different from data-center definition (none).


I know what this means, and will explain it for the benefit of others. 
It means that:
* the ovirtmgmt bridge on the host is attached to a VLAN 20 
subinterface. That is by design; it is correct.
* However, in Data Center > Networks definition of ovirtmgmt, there is 
no VLAN tag defined, so my hosted-engine believes that ovirtmgmt should 
go into in VLAN 1.

Also, for completeness:
* there is PVID 20 on the adjacent switchport, which means "untagged 
ingress traffic should be tagged into VLAN 20". This is why my ovirtmgmt 
network has been working.
* I am grateful for the error message now appearing, as it shows me 
where I have misconfigured this a long time ago.


So. To fix this, I need to add VLAN 20 tag in ovirtmgmt in Data Center > 
Networks.
My question: If I add the VLAN 20 tag to ovirtmgmt in Data Center > 
Networks, is there any possibility of breaking traffic (or VMs) on other 
(production) VLANs?
From my general knowledge, I cannot see that would be the case, but I 
would be grateful for an informed opinion from someone who has tried it 
before please.


Best regards to all,

Garry

*
*


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


[ovirt-users] ovirt - can't attach master domain III

2016-02-23 Thread p...@email.cz

Hi,
it seems that sanlock daemon has problem with reading empty "ids" file .
How can I regenarate this "ids" file to get 2k rows of datas ??
It's the base problem to get up "master domain"  following "datacenter"

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


[ovirt-users] Importing data domain

2016-02-23 Thread SATHEESARAN

Hi All,

I am using ovirt 3.6.3 with 2 data domains. domain1 to store os disks 
and other to store additional disks for the VM
I am more concerned about the additional domain and I have rsynced the 
second data domain to another

file based storage.

After sometime, I tried to attach that file based storage to another 
oVirt DC.


When trying importing the data domain, I see a warning like "Storage 
Domain(s) are already attached to a Data Center. Approving this 
operation might cause data corruption if both Data Centers are active."


Any clue why do I see this warning ?
Also is there any better way to import the existing data domain ?

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


[ovirt-users] ovirt - can't attach master domain II

2016-02-23 Thread p...@email.cz

Hi,
I found the main ( maybe ) problem with IO error ( -5 ) for "ids" file 
access

This file is not accessable via NFS, locally yes.
How can I fix it ??
regs.
Pavel

# sanlock client log_dump

0 flags 1 timeout 0
2016-02-24 02:01:10+0100 3828 [12111]: s1316 lockspace 
88adbd49-62d6-45b1-9992-b04464a04112:1:/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P2/88adbd49-62d6-45b1-9992-b04464a04112/dom_md/ids:0

2016-02-24 02:01:10+0100 3828 [12111]: cmd_add_lockspace 4,15 async done 0
2016-02-24 02:01:10+0100 3828 [19556]: s1316 delta_acquire begin 
88adbd49-62d6-45b1-9992-b04464a04112:1
2016-02-24 02:01:10+0100 3828 [19556]: 88adbd49 aio collect 0 
0x7fe4580008c0:0x7fe4580008d0:0x7fe458101000 result -5:0 match res
2016-02-24 02:01:10+0100 3828 [19556]: read_sectors delta_leader offset 
0 rv -5 
/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P2/88adbd49-62d6-45b1-9992-b04464a04112/dom_md/ids
2016-02-24 02:01:10+0100 3828 [19556]: s1316 delta_acquire leader_read1 
error -5

2016-02-24 02:01:11+0100 3829 [12111]: s1316 add_lockspace fail result -5
2016-02-24 02:01:12+0100 3831 [12116]: cmd_add_lockspace 4,15 
7f52b697-c199-4f58-89aa-102d44327124:1:/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P4/7f52b697-c199-4f58-89aa-102d44327124/dom_md/ids:0 
flags 1 timeout 0
2016-02-24 02:01:12+0100 3831 [12116]: s1317 lockspace 
7f52b697-c199-4f58-89aa-102d44327124:1:/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P4/7f52b697-c199-4f58-89aa-102d44327124/dom_md/ids:0

2016-02-24 02:01:12+0100 3831 [12116]: cmd_add_lockspace 4,15 async done 0
2016-02-24 02:01:12+0100 3831 [19562]: s1317 delta_acquire begin 
7f52b697-c199-4f58-89aa-102d44327124:1
2016-02-24 02:01:12+0100 3831 [19562]: 7f52b697 aio collect 0 
0x7fe4580008c0:0x7fe4580008d0:0x7fe458101000 result -5:0 match res
2016-02-24 02:01:12+0100 3831 [19562]: read_sectors delta_leader offset 
0 rv -5 
/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P4/7f52b697-c199-4f58-89aa-102d44327124/dom_md/ids
2016-02-24 02:01:12+0100 3831 [19562]: s1317 delta_acquire leader_read1 
error -5
2016-02-24 02:01:13+0100 3831 [1321]: cmd_add_lockspace 4,15 
0fcad888-d573-47be-bef3-0bc0b7a99fb7:1:/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-BCK/0fcad888-d573-47be-bef3-0bc0b7a99fb7/dom_md/ids:0 
flags 1 timeout 0
2016-02-24 02:01:13+0100 3831 [1321]: s1318 lockspace 
0fcad888-d573-47be-bef3-0bc0b7a99fb7:1:/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-BCK/0fcad888-d573-47be-bef3-0bc0b7a99fb7/dom_md/ids:0

2016-02-24 02:01:13+0100 3831 [1321]: cmd_add_lockspace 4,15 async done 0
2016-02-24 02:01:13+0100 3831 [19564]: s1318 delta_acquire begin 
0fcad888-d573-47be-bef3-0bc0b7a99fb7:1
2016-02-24 02:01:13+0100 3831 [19564]: 0fcad888 aio collect 0 
0x7fe4580008c0:0x7fe4580008d0:0x7fe458201000 result -5:0 match res
2016-02-24 02:01:13+0100 3831 [19564]: read_sectors delta_leader offset 
0 rv -5 
/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-BCK/0fcad888-d573-47be-bef3-0bc0b7a99fb7/dom_md/ids
2016-02-24 02:01:13+0100 3831 [19564]: s1318 delta_acquire leader_read1 
error -5

2016-02-24 02:01:13+0100 3832 [12116]: s1317 add_lockspace fail result -5
2016-02-24 02:01:14+0100 3832 [1321]: s1318 add_lockspace fail result -5
2016-02-24 02:01:19+0100 3838 [12106]: cmd_add_lockspace 4,15 
3da46e07-d1ea-4f10-9250-6cbbb7b94d80:1:/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P5/3da46e07-d1ea-4f10-9250-6cbbb7b94d80/dom_md/ids:0 
flags 1 timeout 0
2016-02-24 02:01:19+0100 3838 [12106]: s1319 lockspace 
3da46e07-d1ea-4f10-9250-6cbbb7b94d80:1:/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P5/3da46e07-d1ea-4f10-9250-6cbbb7b94d80/dom_md/ids:0

2016-02-24 02:01:19+0100 3838 [12106]: cmd_add_lockspace 4,15 async done 0
2016-02-24 02:01:19+0100 3838 [19638]: s1319 delta_acquire begin 
3da46e07-d1ea-4f10-9250-6cbbb7b94d80:1
2016-02-24 02:01:19+0100 3838 [19638]: 3da46e07 aio collect 0 
0x7fe4580008c0:0x7fe4580008d0:0x7fe458101000 result -5:0 match res
2016-02-24 02:01:19+0100 3838 [19638]: read_sectors delta_leader offset 
0 rv -5 
/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P5/3da46e07-d1ea-4f10-9250-6cbbb7b94d80/dom_md/ids
2016-02-24 02:01:19+0100 3838 [19638]: s1319 delta_acquire leader_read1 
error -5

2016-02-24 02:01:20+0100 3839 [12106]: s1319 add_lockspace fail result -5
2016-02-24 02:01:20+0100 3839 [1320]: cmd_add_lockspace 4,15 
88adbd49-62d6-45b1-9992-b04464a04112:1:/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P2/88adbd49-62d6-45b1-9992-b04464a04112/dom_md/ids:0 
flags 1 timeout 0
2016-02-24 02:01:20+0100 3839 [1320]: s1320 lockspace 
88adbd49-62d6-45b1-9992-b04464a04112:1:/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P2/88adbd49-62d6-45b1-9992-b04464a04112/dom_md/ids:0

2016-02-24 02:01:20+0100 3839 [1320]: cmd_add_lockspace 4,15 async done 0
2016-02-24 02:01:20+0100 3839 [19658]: s1320 delta_acquire begin 
88adbd49-62d6-45b1-9992-b04464a04112:1
2016-02-24 02:01:20+0100 3839 [19658]: 88adbd49 aio collect 0 
0x7fe4580008c0:0x7fe4580008d0:0x7fe458101000 

[ovirt-users] ovirt - can't attach master domain

2016-02-23 Thread p...@email.cz

Hi,
due cleaning envir. I restarted all nodes and ovirt mgm server too,
Now I can't  get master domain ON. Tried to move to diff. storage with 
same result.

All storages are OFF and DataCenter OFF too.
All NFS mount points are connected and writeable via ovirt mountpoint.
Any idea how to fix thi - quicky

Rhel 7.1 /  KVM 2.1.2 / libvirt 1.2.8-16 / vdsm 4.16.27 / gluster 
3.7.5.1 / ovirt 3.5.2


VDSM log

Thread-22688::DEBUG::2016-02-24 
01:32:34,852::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll) 
Owner.releaseAll requests {} resources {}
Thread-22688::DEBUG::2016-02-24 
01:32:34,852::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {}
Thread-22688::DEBUG::2016-02-24 
01:32:34,852::task::993::Storage.TaskManager.Task::(_decref) 
Task=`492b6d3f-47b7-47fe-a713-6e47d5f2d3c1`::ref 0 aborting False
Thread-22688::DEBUG::2016-02-24 
01:32:34,855::stompReactor::162::yajsonrpc.StompServer::(send) Sending 
response
Thread-22697::DEBUG::2016-02-24 
01:32:34,967::stompReactor::162::yajsonrpc.StompServer::(send) Sending 
response
Thread-200::DEBUG::2016-02-24 
01:32:35,001::fileSD::153::Storage.StorageDomain::(__init__) Reading 
domain in path 
/rhev/data-center/mnt/glusterSD/localhost:_2KVM12__P4/300e9ac8-3c2f-4703-9bb1-1df2130c7c97
Thread-200::ERROR::2016-02-24 
01:32:35,007::domainMonitor::256::Storage.DomainMonitorThread::(_monitorDomain) 
Error while collecting domain 300e9ac8-3c2f-4703-9bb1-1df2130c7c97 
monitoring information

Traceback (most recent call last):
  File "/usr/share/vdsm/storage/domainMonitor.py", line 221, in 
_monitorDomain

self.domain = sdCache.produce(self.sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 98, 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 122, in _realProduce
domain = self._findDomain(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 141, 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 160, in __init__
validateFileSystemFeatures(sdUUID, self.mountpoint)
  File "/usr/share/vdsm/storage/fileSD.py", line 89, in 
validateFileSystemFeatures

oop.getProcessPool(sdUUID).directTouch(testFilePath)
  File "/usr/share/vdsm/storage/outOfProcess.py", line 351, in directTouch
ioproc.touch(path, flags, mode)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 
507, in touch

self.timeout)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 
391, in _sendCommand

raise OSError(errcode, errstr)
OSError: [Errno 5] Input/output error
Thread-130::DEBUG::2016-02-24 
01:32:35,013::fileSD::153::Storage.StorageDomain::(__init__) Reading 
domain in path 
/rhev/data-center/mnt/glusterSD/localhost:_1KVM12-P1/553d9b92-e4a0-4042-a579-4cabeb55ded4
Thread-130::ERROR::2016-02-24 
01:32:35,017::domainMonitor::256::Storage.DomainMonitorThread::(_monitorDomain) 
Error while collecting domain 553d9b92-e4a0-4042-a579-4cabeb55ded4 
monitoring information

Traceback (most recent call last):
  File "/usr/share/vdsm/storage/domainMonitor.py", line 221, in 
_monitorDomain

self.domain = sdCache.produce(self.sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 98, 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 122, in _realProduce
domain = self._findDomain(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 141, 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 160, in __init__
validateFileSystemFeatures(sdUUID, self.mountpoint)
  File "/usr/share/vdsm/storage/fileSD.py", line 89, in 
validateFileSystemFeatures

oop.getProcessPool(sdUUID).directTouch(testFilePath)
  File "/usr/share/vdsm/storage/outOfProcess.py", line 351, in directTouch
ioproc.touch(path, flags, mode)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 
507, in touch

self.timeout)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 
391, in _sendCommand

raise OSError(errcode, errstr)
OSError: [Errno 5] Input/output error

thx Pavel

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


Re: [ovirt-users] adding network via ovirt-shell

2016-02-23 Thread Bill James

I kind of found the answer.
Under Cluster -> Logical Networks -> Manager Networks
there is a check box for "Assign" & "Required".
Checking the Assign box makes it show up in "Setup Host Networks" dialog 
box.


No idea how to check that box using the cli though.


On 02/23/2016 10:54 AM, Bill James wrote:

I'm trying to add a network using ovirt-shell.
It adds fine to the GUI but I can't add the network to a host because 
it isn't listed in the "Setup Host Networks" dialog.
Adding a network interface using the GUI is added fine to the dialog 
window.

What am I missing?

[oVirt shell (connected)]# add network --data_center-name Default 
--name Vlan7 --description '10.176.7' --vlan-id 7



Also not sure how to add "Network Label" via cli. (adding it via GUI 
doesn't make interface usable in dialog window)


ovirt-engine-3.6.2.6-1.el7.centos.noarch


Problem networks are Vlan5 & Vlan 7.


[oVirt shell (connected)]# list networks

id : 80b5bffb-afb7-4c14-b228-e505b6a93152
name   : Gluster-KS
description: kickstart

id : ----0009
name   : ovirtmgmt
description: Management Network

id : 7d9d55d9-1158-4a64-a2b9-07b763ae2b6d
name   : vlan1
description: 10.176.1

id : e81540f9-99f2-4826-b483-b9c08031cdaa
name   : Vlan5
description: 10.176.5

id : 6d1bf691-d438-48e2-a230-21360c609889
name   : Vlan6
description: 10.176.6

id : 2c7db3f8-151f-4c5a-a88d-c840f7f2ce57
name   : Vlan7
description: 10.176.7


Cloud Services for Business www.j2.com
j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox


This email, its contents and attachments contain information from j2 
Global, Inc. and/or its affiliates which may be privileged, 
confidential or otherwise protected from disclosure. The information 
is intended to be for the addressee(s) only. If you are not an 
addressee, any disclosure, copy, distribution, or use of the contents 
of this message is prohibited. If you have received this email in 
error please notify the sender by reply e-mail and delete the original 
message and any copies. (c) 2015 j2 Global, Inc. All rights reserved. 
eFax, eVoice, Campaigner, FuseMail, KeepItSafe, and Onebox are 
registered trademarks of j2 Global, Inc. and its affiliates.

___
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] Master Doamin - Ovirt 3.6 - hoted engine

2016-02-23 Thread Dariusz Kryszak
Interesting.
You are right but :-)
Scenario:
1. Empty DC and Cluster.
2. Creation of the storage domain type data based on gluster. This domain
storage as first becomes a master storage domain.
3. After previous step, ovirt manager imports domain storage where resides
hosted engine.
Thats all.

After reboot of the hypervisor (vm hosted engine power off state  before)
situation has changed because as I've wrote earlier appeared a problem with
access to gluster service.

Right now I don't know how to becomes my original master storage domain as
previously.
 Even If I've made new data storage domain master DS not floating from
hosted_storage.
Master SD will stay on the hosted_storage for ever :-(
Am I right?
Maybe not, but I don't know the different procedure then create new domain
and master SD amend to maintenance mode.

2016-02-23 17:13 GMT+01:00 Simone Tiraboschi :

>
>
> On Tue, Feb 23, 2016 at 4:19 PM, Dariusz Kryszak <
> dariusz.krys...@gmail.com> wrote:
>
>> Hi folks,
>> I have a question about master domain when I'm using hosted engine
>> deployment.
>> At the beginning I've made deployment on NUC (small home installation)
>> with hosted engine on the nfs share from NUC host. I've configured FS
>> gluster on the same machine and used it for master domain and iso domain.
>> Lets say All-in-ONE.
>> After reboot happened something strange. Log says that master domain is
>> not available and has to become on the hosted_storage. This is not ok in my
>> opinion. I know that behavior because master doamin is not available, has
>> been migrated to other shareable (in this case hosted_domain is nfs ).
>> Do you thing, that should be locked in this particular case means when
>> available is only hosted_storage? Right now it is not possible to change
>> this situation because hosted engine resides on the hosted_storage. I Can't
>> migrate it.
>>
>>
> It could happen only after the hosted-engine storage domain got imported
> by the engine but to do that you need an additional storage domain which
> will become the master storage domain.
> In the past we had a bug that let you remove the last regular storage
> domain and it the case the hosted-engine would become the master storage
> domain and as you pointed out that was an issue.
> https://bugzilla.redhat.com/show_bug.cgi?id=1298697
>
> Now it should be fixed. If it just happened again just because you gluster
> regular storage domain wasn't available is not really fixed.
> Adding Roy here.
> Dariusz, which release are you using?
>
>
>
>
>> jezyk
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>


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


Re: [ovirt-users] RHEV-H 7.2 Beta Install

2016-02-23 Thread Ryan Barry
Hi Christopher --

You can get to a console by pressing F2 (I think this is blocked while the
progress bar is moving, but should be available after the exception, and
it's available at any point the installer is interactive).

This is a new issue to me.

Can you please file a bug report? An sosreport may be helpful (this works
normally from the rescue shell at )

If possible, it would be best to get debug logs.

To do that, press F2 immediately after entering the installer, and run:

python -m ovirt.node.installer --debug

Logs will be available at /tmp/ovirt-node.debug.log or
/var/log/ovirt-node.debug.log, depending on how far through the installer
it gets.

On Tue, Feb 23, 2016 at 9:32 AM,  wrote:

> I know this is the ovirt-list, but I've had great success with help
> here as I have been running a couple of ovirt instances for some time
> (as part of a lab/testing).
>
> In any case, I'm trying to install the RHEV-H beta (7.2 latest ISO),
> and for whatever reason, my install gets to 22% (right after
> partitioning up the local drive, I believe) and fails.
>
> I have no idea how to troubleshoot this.  I've tried changing install
> options (i've been installing via PXE) to no avail, and I notice that
> there don't appear to be any virtual terminals to switch to look at
> things and/or see where things failed.
>
> The errors that I get say something along the lines of:
>
> unexpected EOF while looking for matching ''
>
> I'll try and get more details, but i've attached a screenshot from the
> console.
>
> Any help on HOW to troubleshoot this, pull logs, etc.. would be most
> appreciated as I'd like to get this moving forward.
>
> Thanks for all of your hard work and the help of the community!
>
> -- Chris
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] OVirt Node / RHEV-H and Multiple NICs/bond

2016-02-23 Thread Christopher Young
So, I have what I think should be a standard setup where I have
dedicated NICs (to be bonded via LACP for storage) and well are NICs
for various VLANS, etc.

As typical, I have the main system interfaces for the usual system IPs
(em1 in this case).

A couple of observations (and a "chicken and the egg problem"):

#1.  The RHEV-H/Ovirt-Node interface doesn't allow you to configure
more than one interface.  Why is this?

#2.  This prevents me from bringing up an interface for access to my
Netapp SAN (which I keep on separate networking/VLANs for
best-practices purposes)

If I'm unable to bring up a regular system interface AND an interface
for my storage, then how am I going to be able to install a RHEV-M
(engine) hosted-engine VM since I would be either unable to have an
interface for this VM's IP AND be able to connect to my storage
network.

In short, I'm confused.  I see this as a very standard enterprise
setup so I feel like I must be missing something obvious.  If someone
could educate me, I'd really appreciate it.

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


Re: [ovirt-users] RHEV-H 7.2 Beta Install

2016-02-23 Thread Christopher Young
For some reason, completely power-cycling the machine (pull power)
resolved this.  Odd one, but I'm not going to put too much thought
into it unless I encounter it on other nodes that I build

I do have another interesting problem with node that I don't seem to
understand, but I'll create a new thread.

On Tue, Feb 23, 2016 at 11:32 AM, Christopher Young
 wrote:
> I know this is the ovirt-list, but I've had great success with help
> here as I have been running a couple of ovirt instances for some time
> (as part of a lab/testing).
>
> In any case, I'm trying to install the RHEV-H beta (7.2 latest ISO),
> and for whatever reason, my install gets to 22% (right after
> partitioning up the local drive, I believe) and fails.
>
> I have no idea how to troubleshoot this.  I've tried changing install
> options (i've been installing via PXE) to no avail, and I notice that
> there don't appear to be any virtual terminals to switch to look at
> things and/or see where things failed.
>
> The errors that I get say something along the lines of:
>
> unexpected EOF while looking for matching ''
>
> I'll try and get more details, but i've attached a screenshot from the 
> console.
>
> Any help on HOW to troubleshoot this, pull logs, etc.. would be most
> appreciated as I'd like to get this moving forward.
>
> Thanks for all of your hard work and the help of the community!
>
> -- Chris
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] adding network via ovirt-shell

2016-02-23 Thread Bill James

I'm trying to add a network using ovirt-shell.
It adds fine to the GUI but I can't add the network to a host because it 
isn't listed in the "Setup Host Networks" dialog.

Adding a network interface using the GUI is added fine to the dialog window.
What am I missing?

[oVirt shell (connected)]# add network --data_center-name Default --name 
Vlan7 --description '10.176.7' --vlan-id 7



Also not sure how to add "Network Label" via cli. (adding it via GUI 
doesn't make interface usable in dialog window)


ovirt-engine-3.6.2.6-1.el7.centos.noarch


Problem networks are Vlan5 & Vlan 7.


[oVirt shell (connected)]# list networks

id : 80b5bffb-afb7-4c14-b228-e505b6a93152
name   : Gluster-KS
description: kickstart

id : ----0009
name   : ovirtmgmt
description: Management Network

id : 7d9d55d9-1158-4a64-a2b9-07b763ae2b6d
name   : vlan1
description: 10.176.1

id : e81540f9-99f2-4826-b483-b9c08031cdaa
name   : Vlan5
description: 10.176.5

id : 6d1bf691-d438-48e2-a230-21360c609889
name   : Vlan6
description: 10.176.6

id : 2c7db3f8-151f-4c5a-a88d-c840f7f2ce57
name   : Vlan7
description: 10.176.7


Cloud Services for Business www.j2.com
j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox


This email, its contents and attachments contain information from j2 Global, 
Inc. and/or its affiliates which may be privileged, confidential or otherwise 
protected from disclosure. The information is intended to be for the 
addressee(s) only. If you are not an addressee, any disclosure, copy, 
distribution, or use of the contents of this message is prohibited. If you have 
received this email in error please notify the sender by reply e-mail and 
delete the original message and any copies. (c) 2015 j2 Global, Inc. All rights 
reserved. eFax, eVoice, Campaigner, FuseMail, KeepItSafe, and Onebox are 
registered trademarks of j2 Global, Inc. and its affiliates.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't remove snapshot

2016-02-23 Thread Greg Padgett

On 02/22/2016 07:10 AM, Marcelo Leandro wrote:

Hello,

The bug with snapshot  it will be fixed in ovirt 3.6.3?

thanks.



Hi Marcelo,

Yes, the bug below (bug 1301709) is now targeted to 3.6.3.

Thanks,
Greg


2016-02-18 11:34 GMT-03:00 Adam Litke :

On 18/02/16 10:37 +0100, Rik Theys wrote:


Hi,

On 02/17/2016 05:29 PM, Adam Litke wrote:


On 17/02/16 11:14 -0500, Greg Padgett wrote:


On 02/17/2016 03:42 AM, Rik Theys wrote:


Hi,

On 02/16/2016 10:52 PM, Greg Padgett wrote:


On 02/16/2016 08:50 AM, Rik Theys wrote:


  From the above I conclude that the disk with id that ends with


Similar to what I wrote to Marcelo above in the thread, I'd recommend
running the "VM disk info gathering tool" attached to [1].  It's the
best way to ensure the merge was completed and determine which image
is
the "bad" one that is no longer in use by any volume chains.



I've ran the disk info gathering tool and this outputs (for the
affected
VM):

VM lena
 Disk b2390535-744f-4c02-bdc8-5a897226554b
(sd:a7ba2db3-517c-408a-8b27-ea45989d6416)
 Volumes:
 24d78600-22f4-44f7-987b-fbd866736249

The id of the volume is the ID of the snapshot that is marked
"illegal".
So the "bad" image would be the dc39 one, which according to the UI is
in use by the "Active VM" snapshot. Can this make sense?



It looks accurate.  Live merges are "backwards" merges, so the merge
would have pushed data from the volume associated with "Active VM"
into the volume associated with the snapshot you're trying to remove.

Upon completion, we "pivot" so that the VM uses that older volume, and
we update the engine database to reflect this (basically we
re-associate that older volume with, in your case, "Active VM").

In your case, it seems the pivot operation was done, but the database
wasn't updated to reflect it.  Given snapshot/image associations e.g.:

  VM Name  Snapshot Name  Volume
  ---  -  --
  My-VMActive VM  123-abc
  My-VMMy-Snapshot789-def

My-VM in your case is actually running on volume 789-def.  If you run
the db fixup script and supply ("My-VM", "My-Snapshot", "123-abc")
(note the volume is the newer, "bad" one), then it will switch the
volume association for you and remove the invalid entries.

Of course, I'd shut down the VM, and back up the db beforehand.



I've executed the sql script and it seems to have worked. Thanks!


"Active VM" should now be unused; it previously (pre-merge) was the
data written since the snapshot was taken.  Normally the larger actual
size might be from qcow format overhead.  If your listing above is
complete (ie one volume for the vm), then I'm not sure why the base
volume would have a larger actual size than virtual size.

Adam, Nir--any thoughts on this?



There is a bug which has caused inflation of the snapshot volumes when
performing a live merge.  We are submitting fixes for 3.5, 3.6, and
master right at this moment.



Which bug number is assigned to this bug? Will upgrading to a release
with a fix reduce the disk usage again?



See https://bugzilla.redhat.com/show_bug.cgi?id=1301709 for the bug.
It's about a clone disk failure after the problem occurs.
Unfortunately, there is not an automatic way to repair the raw base
volumes if they were affected by this bug.  They will need to be
manually shrunk using lvreduce if you are certain that they are
inflated.


--
Adam Litke

___
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] Master Doamin - Ovirt 3.6 - hoted engine

2016-02-23 Thread Simone Tiraboschi
On Tue, Feb 23, 2016 at 4:19 PM, Dariusz Kryszak 
wrote:

> Hi folks,
> I have a question about master domain when I'm using hosted engine
> deployment.
> At the beginning I've made deployment on NUC (small home installation)
> with hosted engine on the nfs share from NUC host. I've configured FS
> gluster on the same machine and used it for master domain and iso domain.
> Lets say All-in-ONE.
> After reboot happened something strange. Log says that master domain is
> not available and has to become on the hosted_storage. This is not ok in my
> opinion. I know that behavior because master doamin is not available, has
> been migrated to other shareable (in this case hosted_domain is nfs ).
> Do you thing, that should be locked in this particular case means when
> available is only hosted_storage? Right now it is not possible to change
> this situation because hosted engine resides on the hosted_storage. I Can't
> migrate it.
>
>
It could happen only after the hosted-engine storage domain got imported by
the engine but to do that you need an additional storage domain which will
become the master storage domain.
In the past we had a bug that let you remove the last regular storage
domain and it the case the hosted-engine would become the master storage
domain and as you pointed out that was an issue.
https://bugzilla.redhat.com/show_bug.cgi?id=1298697

Now it should be fixed. If it just happened again just because you gluster
regular storage domain wasn't available is not really fixed.
Adding Roy here.
Dariusz, which release are you using?




> jezyk
>
> ___
> 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] Ovir (rhev) backup authomation

2016-02-23 Thread Dan Yasny
Is it any different from https://github.com/wefixit-AT/oVirtBackup ? I mean
in implementation, e.g.
snapshot>clone>export>delete snapshot

On Tue, Feb 23, 2016 at 10:04 AM, Dariusz Kryszak  wrote:

>
> Hi all,
> I would like to share with all my couple scripts which I've made for the
> backup automation process.
> If your backup system not support virtual environment like ovirt or rhev,
> you can use it as workaround :-)
> It is not a classical backup solution (especially differential backup,
> compression, deduplication ). This is protection against loss your vm and
> the data.
> All what you need it is to change credential and information regards
> environment like url.
> Everything I've described in the code.
> For new environment (3.5> with rhe or centos 7) you can change or comments
> lines like power off during cleanup snapshots.
> Please enjoy.
>
> jezyk
>
>
> ___
> 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] Ovir (rhev) backup authomation

2016-02-23 Thread Dariusz Kryszak
Hi all,
I would like to share with all my couple scripts which I've made for the
backup automation process.
If your backup system not support virtual environment like ovirt or rhev,
you can use it as workaround :-)
It is not a classical backup solution (especially differential backup,
compression, deduplication ). This is protection against loss your vm and
the data.
All what you need it is to change credential and information regards
environment like url.
Everything I've described in the code.
For new environment (3.5> with rhe or centos 7) you can change or comments
lines like power off during cleanup snapshots.
Please enjoy.

jezyk


backup_scripts (1).tar.gz
Description: GNU Zip compressed data
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] engine-backup - readlink: missing operand

2016-02-23 Thread Yedidyah Bar David
On Tue, Feb 23, 2016 at 1:44 PM, Halsey, Michael <
michael.hal...@intechnologywifi.com> wrote:

>
>
> Michael Halsey
> Dev Ops Engineer - intechnologyWiFi
> michael.hal...@intechnologywifi.com
> Direct 01423 510650
> Mobile 07467 145626
> Head Office 01423 510510
>
>
>
>>
>>
>>> Hi All,
>>>
>>>
>>> I’m having issues using the engine-backup command.
>>>
>>>
>>> When running:
>>>
>>>
>>> engine-backup --mode=backup --scope=files —file=veng.bak --log backup.log
>>>
>>
>> Please try '--log=backup.log' (with '=').
>>
>> That was unfortunately only a typo in the email. And not when running the
>> actual command.
>>
>
> You have an EM DASH (U+2014) instead of two HYPHEN-MINUS (U+002D) in front
> of 'file='.
>
> I suspect that my Outlook client for Mac has done that.
>
> Where did you copy that command from?
>
> From my command line.
> I have attached the command including the entire output in plaintext.
>

Now copied the command from the attached file and it worked for me.

If it still does not work for you, please run this:

BACKUP_ENV_CLEAN=1 sh -x /usr/bin/engine-backup --mode=backup --scope=files
--file=veng.bak --log backup.log > engine-backup-out 2> engine-backup-err

and check/post engine-backup-out and engine-backup-err (as links to some
pastebin service, please).


>
>
>
>>
>>
>>> I get back the following error:
>>>
>>>
>>> readlink: missing operand
>>>
>>> Try 'readlink --help' for more information.
>>>
>>> /usr/bin/engine-backup: line 1405: : No such file or directory
>>>
>>> Notifying engine
>>>
>>> /usr/bin/engine-backup: line 1472: : No such file or directory
>>>
>>> /usr/bin/engine-backup: line 1405: : No such file or directory
>>>
>>> FATAL: Failed notifying engine
>>>
>>>
>>> Log file is not created.
>>>
>>> I receive similar errors when changing the scope to ‘all' and ‘db'.
>>>
>>>
>>> I’m running:
>>>
>>>
>>> CentOS Linux release 7.2.1511 (Core)
>>>
>>> oVirt Engine Version: 3.6.2.6-1.el7.centos
>>>
>>> Engine is running on bare metal.
>>>
>>>
>>> I have tried this with SELinux in Permissive mode. No difference.
>>> All packages are up to date.
>>>
>>>
>>> Can anyone advise a fix for this or if I’m doing anything wrong?
>>>
>>>
>>> Thanks in advance,
>>>
>>>
>>>
>>>
>>>
>>> Michael Halsey
>>> Dev Ops Engineer - intechnologyWiFi
>>> michael.hal...@intechnologywifi.com
>>> Direct 01423 510650
>>> Mobile 07467 145626
>>> Head Office 01423 510510
>>>
>>>
>>>
>>>
>>>
>>> This is an email from inTechnology plc, Cardale House, Cardale Court,
>>> Beckwith Head Road, Harrogate, UK, HG3 1RY.
>>> Registered in England 3916586.
>>>
>>> The contents of this message may be privileged and confidential. If you
>>> have received this message in error, you may not use, disclose, copy or
>>> distribute its content in any way. Please notify the sender immediately.
>>> All messages are scanned for all viruses.
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>>
>> --
>> Didi
>>
>>
>> This is an email from inTechnology plc, Cardale House, Cardale Court,
>> Beckwith Head Road, Harrogate, UK, HG3 1RY.
>> Registered in England 3916586.
>>
>> The contents of this message may be privileged and confidential. If you
>> have received this message in error, you may not use, disclose, copy or
>> distribute its content in any way. Please notify the sender immediately.
>> All messages are scanned for all viruses.
>>
>
>
>
> --
> Didi
>
>
> This is an email from inTechnology plc, Cardale House, Cardale Court,
> Beckwith Head Road, Harrogate, UK, HG3 1RY.
> Registered in England 3916586.
>
> The contents of this message may be privileged and confidential. If you
> have received this message in error, you may not use, disclose, copy or
> distribute its content in any way. Please notify the sender immediately.
> All messages are scanned for all viruses.
>



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


Re: [ovirt-users] engine-backup - readlink: missing operand

2016-02-23 Thread Halsey, Michael


Michael Halsey
Dev Ops Engineer - intechnologyWiFi
michael.hal...@intechnologywifi.com
Direct 01423 510650
Mobile 07467 145626
Head Office 01423 510510





Hi All,


I’m having issues using the engine-backup command.


When running:


engine-backup --mode=backup --scope=files —file=veng.bak --log backup.log

Please try '--log=backup.log' (with '=').

That was unfortunately only a typo in the email. And not when running the 
actual command.

You have an EM DASH (U+2014) instead of two HYPHEN-MINUS (U+002D) in front of 
'file='.

I suspect that my Outlook client for Mac has done that.

Where did you copy that command from?

From my command line.
I have attached the command including the entire output in plaintext.





I get back the following error:


readlink: missing operand

Try 'readlink --help' for more information.

/usr/bin/engine-backup: line 1405: : No such file or directory

Notifying engine

/usr/bin/engine-backup: line 1472: : No such file or directory

/usr/bin/engine-backup: line 1405: : No such file or directory

FATAL: Failed notifying engine


Log file is not created.

I receive similar errors when changing the scope to ‘all' and ‘db'.


I’m running:


CentOS Linux release 7.2.1511 (Core)

oVirt Engine Version: 3.6.2.6-1.el7.centos

Engine is running on bare metal.


I have tried this with SELinux in Permissive mode. No difference.

All packages are up to date.


Can anyone advise a fix for this or if I’m doing anything wrong?


Thanks in advance,




Michael Halsey
Dev Ops Engineer - intechnologyWiFi
michael.hal...@intechnologywifi.com
Direct 01423 510650
Mobile 07467 145626
Head Office 01423 510510

[X]



This is an email from inTechnology plc, Cardale House, Cardale Court, Beckwith 
Head Road, Harrogate, UK, HG3 1RY.
Registered in England 3916586.

The contents of this message may be privileged and confidential. If you have 
received this message in error, you may not use, disclose, copy or distribute 
its content in any way. Please notify the sender immediately. All messages are 
scanned for all viruses.

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




--
Didi


This is an email from inTechnology plc, Cardale House, Cardale Court, Beckwith 
Head Road, Harrogate, UK, HG3 1RY.
Registered in England 3916586.

The contents of this message may be privileged and confidential. If you have 
received this message in error, you may not use, disclose, copy or distribute 
its content in any way. Please notify the sender immediately. All messages are 
scanned for all viruses.



--
Didi


This is an email from inTechnology plc, Cardale House, Cardale Court, Beckwith 
Head Road, Harrogate, UK, HG3 1RY.
Registered in England 3916586.

The contents of this message may be privileged and confidential. If you have 
received this message in error, you may not use, disclose, copy or distribute 
its content in any way. Please notify the sender immediately. All messages are 
scanned for all viruses.
root ~ $ engine-backup --mode=backup --scope=files --file=veng.bak 
--log=backup.log
engine-backup: back up and restore ovirt-engine environment
USAGE:
/usr/bin/engine-backup [--mode=MODE] [--scope=SCOPE] [--file=FILE] 
[--log=FILE]
 MODE is one of the following:
backup  back up system into FILE
restore restore system from FILE
 SCOPE is one of the following:
all If MODE=backup: backup everything below.
If MODE=restore: restore everything found 
in FILE.
files   product files only
db  Engine database only
dwhdb   Data Warehouse database only
reportsdb   Reports database only
The option --scope can be passed more than once, with different scopes.
 --file=FILEfile to use during backup or restore
 --log=FILE log file to use during backup or restore
 --archive-compressor=COMPRESSOR
Use COMPRESSOR to compress the backup file, can be one of:
gzip
bzip2
xz
None
 --files-compressor=COMPRESSOR  compress the product files, same options as 
--archive-compressor
 --keep-temporary-data  do not clean up temporary data on restore
 --db-compressor=COMPRESSOR compress the Engine database, same options 
as --archive-compressor
 --db-dump-format=FORMAT
Engine database dump format; see pg_dump(1) for details. Can be one of:
plain
custom
 --db-restore-jobs=JOBS number of restore jobs for the Engine 
database,
when using custom dump format and 
compressor None.
Passed to pg_restore -j. Defaults to 2.
 --provision-db create a PostgreSQL 

Re: [ovirt-users] [hosted-engine] Error creating a glusterfs storage domain

2016-02-23 Thread Sahina Bose

The error indicates : OSError: [Errno 30] Read-only file system

Can you check the output of "gluster volume status gv0" on 
host01.ovirt.forest.go.th. Please make sure that firewall is not 
blocking gluster ports from communicating on the 3 nodes.


On a different note, since you are using gv0 as storage domain, set the 
virt group profile on this volume - "gluster volume set gv0 group virt"


On 02/23/2016 01:39 PM, Wee Sritippho wrote:

Hi,

I'm trying to deploy an oVirt Hosed Engine environment using this 
glusterfs volume:


# gluster volume info

Volume Name: gv0
Type: Replicate
Volume ID: 37bba03b-7276-421a-8960-81e28196ebde
Status: Started
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: host01.ovirt.forest.go.th:/data/brick1/gv0
Brick2: host03.ovirt.forest.go.th:/data/brick1/gv0
Brick3: host02.ovirt.forest.go.th:/data/brick1/gv0
Options Reconfigured:
storage.owner-gid: 36
storage.owner-uid: 36
performance.readdir-ahead: on

But the deployment failed with this error message:

[ ERROR ] Failed to execute stage 'Misc configuration': Error creating 
a storage domain: ('storageType=7, 
sdUUID=be5f66d8-57ef-43c8-90a5-e9132e0c95b4, 
domainName=hosted_storage, domClass=1, 
typeSpecificArg=host01.ovirt.forest.go.th:/gv0 domVersion=3',)


I tried to figure out what is happening via the log files:

Line ~7243 of vdsm.log
Line ~2930 of ovirt-hosted-engine-setup-20160223204857-585hqv.log

But didn't seem to understand it at all.

Please guide me on how to solve this problem.

Here is my environment:

CentOS Linux release 7.2.1511 (Core)
ovirt-hosted-engine-setup-1.3.2.3-1.el7.centos.noarch
vdsm-4.17.18-1.el7.noarch
glusterfs-3.7.8-1.el7.x86_64

Thank you,
Wee


---
ซอฟต์แวร์ Avast แอนตี้ไวรัสตรวจสอบหาไวรัสจากอีเมลนี้แล้ว
https://www.avast.com/antivirus


___
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] engine-backup - readlink: missing operand

2016-02-23 Thread Yedidyah Bar David
On Tue, Feb 23, 2016 at 11:27 AM, Halsey, Michael <
michael.hal...@intechnologywifi.com> wrote:

>
>
> Michael Halsey
> Dev Ops Engineer - intechnologyWiFi
> michael.hal...@intechnologywifi.com
> Direct 01423 510650
> Mobile 07467 145626
> Head Office 01423 510510
>
>
>
>> Hi All,
>>
>>
>> I’m having issues using the engine-backup command.
>>
>>
>> When running:
>>
>>
>> engine-backup --mode=backup --scope=files —file=veng.bak --log backup.log
>>
>
> Please try '--log=backup.log' (with '=').
>
> That was unfortunately only a typo in the email. And not when running the
> actual command.
>

You have an EM DASH (U+2014) instead of two HYPHEN-MINUS (U+002D) in front
of 'file='.

Where did you copy that command from?


>
>
>> I get back the following error:
>>
>>
>> readlink: missing operand
>>
>> Try 'readlink --help' for more information.
>>
>> /usr/bin/engine-backup: line 1405: : No such file or directory
>>
>> Notifying engine
>>
>> /usr/bin/engine-backup: line 1472: : No such file or directory
>>
>> /usr/bin/engine-backup: line 1405: : No such file or directory
>>
>> FATAL: Failed notifying engine
>>
>>
>> Log file is not created.
>>
>> I receive similar errors when changing the scope to ‘all' and ‘db'.
>>
>>
>> I’m running:
>>
>>
>> CentOS Linux release 7.2.1511 (Core)
>>
>> oVirt Engine Version: 3.6.2.6-1.el7.centos
>>
>> Engine is running on bare metal.
>>
>>
>> I have tried this with SELinux in Permissive mode. No difference.
>> All packages are up to date.
>>
>>
>> Can anyone advise a fix for this or if I’m doing anything wrong?
>>
>>
>> Thanks in advance,
>>
>>
>>
>>
>>
>> Michael Halsey
>> Dev Ops Engineer - intechnologyWiFi
>> michael.hal...@intechnologywifi.com
>> Direct 01423 510650
>> Mobile 07467 145626
>> Head Office 01423 510510
>>
>>
>>
>>
>>
>> This is an email from inTechnology plc, Cardale House, Cardale Court,
>> Beckwith Head Road, Harrogate, UK, HG3 1RY.
>> Registered in England 3916586.
>>
>> The contents of this message may be privileged and confidential. If you
>> have received this message in error, you may not use, disclose, copy or
>> distribute its content in any way. Please notify the sender immediately.
>> All messages are scanned for all viruses.
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Didi
>
>
> This is an email from inTechnology plc, Cardale House, Cardale Court,
> Beckwith Head Road, Harrogate, UK, HG3 1RY.
> Registered in England 3916586.
>
> The contents of this message may be privileged and confidential. If you
> have received this message in error, you may not use, disclose, copy or
> distribute its content in any way. Please notify the sender immediately.
> All messages are scanned for all viruses.
>



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


Re: [ovirt-users] engine-backup - readlink: missing operand

2016-02-23 Thread Halsey, Michael


Michael Halsey
Dev Ops Engineer - intechnologyWiFi
michael.hal...@intechnologywifi.com
Direct 01423 510650
Mobile 07467 145626
Head Office 01423 510510



Hi All,


I’m having issues using the engine-backup command.


When running:


engine-backup --mode=backup --scope=files —file=veng.bak --log backup.log

Please try '--log=backup.log' (with '=').

That was unfortunately only a typo in the email. And not when running the 
actual command.



I get back the following error:


readlink: missing operand

Try 'readlink --help' for more information.

/usr/bin/engine-backup: line 1405: : No such file or directory

Notifying engine

/usr/bin/engine-backup: line 1472: : No such file or directory

/usr/bin/engine-backup: line 1405: : No such file or directory

FATAL: Failed notifying engine


Log file is not created.

I receive similar errors when changing the scope to ‘all' and ‘db'.


I’m running:


CentOS Linux release 7.2.1511 (Core)

oVirt Engine Version: 3.6.2.6-1.el7.centos

Engine is running on bare metal.


I have tried this with SELinux in Permissive mode. No difference.

All packages are up to date.


Can anyone advise a fix for this or if I’m doing anything wrong?


Thanks in advance,




Michael Halsey
Dev Ops Engineer - intechnologyWiFi
michael.hal...@intechnologywifi.com
Direct 01423 510650
Mobile 07467 145626
Head Office 01423 510510

[cid:image4bc459.PNG@be32fafc.4eb13c18]



This is an email from inTechnology plc, Cardale House, Cardale Court, Beckwith 
Head Road, Harrogate, UK, HG3 1RY.
Registered in England 3916586.

The contents of this message may be privileged and confidential. If you have 
received this message in error, you may not use, disclose, copy or distribute 
its content in any way. Please notify the sender immediately. All messages are 
scanned for all viruses.

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




--
Didi


This is an email from inTechnology plc, Cardale House, Cardale Court, Beckwith 
Head Road, Harrogate, UK, HG3 1RY.
Registered in England 3916586.

The contents of this message may be privileged and confidential. If you have 
received this message in error, you may not use, disclose, copy or distribute 
its content in any way. Please notify the sender immediately. All messages are 
scanned for all viruses.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users