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

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 2:09 AM, Will Dennis  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  > wrote:
>
> On Mon, Dec 21, 2015 at 5:52 PM, Will Dennis > 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
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 Simone Tiraboschi
On Tue, Dec 22, 2015 at 3:31 PM, Will Dennis <wden...@nec-labs.com> wrote:

> Yes, OK to attached needed logs to bug report...
>
>
>

Done, thanks.

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


>
>
> *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> 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:

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

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 3:06 PM, Will Dennis <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 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]
> *Sent:* Tuesday, December 22, 2015 8:56 AM
> *To:* Will Dennis
> *Cc:* Sahina Bose; Yedidyah Bar David
>
> *Subject:* Re: [ovirt-users] Cannot retrieve answer file from 1st HE host
> when setting up 2nd host
>
>
>
>
>
> On Tue, Dec 22, 2015 at 2:44 PM, Will Dennis <wden...@nec-labs.com> wrote:
>
> Which logs are needed?
>
>
> Let's start with vdsm.log and /var/log/messages
> Then it's quite strange that you have that amount of data in mom.log so
> also that one could be interesting.
>

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] 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 
> wrote:

On Mon, Dec 21, 2015 at 5:52 PM, Will Dennis 
> 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 Simone Tiraboschi
On Mon, Dec 21, 2015 at 3:14 PM, Will Dennis <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)
>
>
> -Original Message-
> *From: *Simone Tiraboschi [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>
> wrote:
>
>> On Sun, Dec 20, 2015 at 10:04 PM, Will Dennis <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> 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
>>
>>
>>
>> --
>> 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] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-21 Thread Yedidyah Bar David
On Sun, Dec 20, 2015 at 10:04 PM, Will Dennis  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.

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 
> > 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



-- 
Didi
___
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


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

2015-12-21 Thread Simone Tiraboschi
On Mon, Dec 21, 2015 at 9:33 AM, Yedidyah Bar David  wrote:

> On Sun, Dec 20, 2015 at 10:04 PM, Will Dennis 
> 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 > 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
>
>
>
> --
> 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] Cannot retrieve answer file from 1st HE host when setting up 2nd host

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

> 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...
>
>
>
Can you please attach a log of hosted-engine-setup also from there?


>
> Sent with Good (www.good.com)
>
>
> -Original Message-
> *From: *Simone Tiraboschi [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> 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)
>>
>>
>> -Original Message-
>> *From: *Simone Tiraboschi [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>
>> wrote:
>>
>>> On Sun, Dec 20, 2015 at 10:04 PM, Will Dennis <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>> 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
>>>
>>>
>>>
>>> --
>>> 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] 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] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-20 Thread Joop van de Wege
On December 20, 2015 8:50:06 PM CET, Will Dennis  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

Can you provide the corresponding log file? 
I suspect that the scp failed. Do you allow root login with password on your 
nodes.

Regards,

Joop

___
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 Joop van de Wege
On December 20, 2015 5:19:43 AM CET, Will Dennis  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…)
No problem, we were all once.

Run hosted-engine --set-maintenance -mode=none

After a couple of minutes you should get mail about engine events. 

Just curious.  What specs sre your host (s) and engine vm?

Regards, 

Joop

___
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 
> 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 
> 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 
> 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

; <<>> 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


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


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

2015-12-19 Thread Joop
On 19-12-2015 3:42, Will Dennis wrote:
> 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?
> ___
>
Are you sure you're dns is setup correctly. It looks like that node01 is
looking up or reverse looking up node02 and that can take a long time if
dns isn't working properly.

Regards,

Joop

___
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