[ovirt-users] Re: Failing to install self hosted engine - 4.2.4

2018-05-27 Thread Simone Tiraboschi
On Sun, May 27, 2018 at 11:32 AM, Maton, Brett 
wrote:

> Thanks Simone,
>
>   I think the problem is that /tmp is mounted noexec by default on my
> servers.
>   Remounting and enabling exec seems to fix the problem.
>
>   I think that allowing users to specify a working temp space would be
> better than assuming that /tmp is mounted exec and also in my case big
> enough to store the hosted engine vm (which the installer doesn't check, it
> just fails late in the install process).
>
>

If you execute hosted-engine-setup from CLI it will honor TMPDIR env
variable (with /var/tmp as default) but I don't think your issue is there
indeed your bootstrap engine VM was running.
Your issue was related to the execution of host-deploy code: host-deploy is
the code used to configure the host to be used as an hypervisor, the engine
copies it over ssh to the host under /tmp and executes it there so your
issue with noexec on /tmp.
I'm not aware of any way to customize host-deploy location.


> Regards,
> Brett
>
> On 26 May 2018 at 21:25, Simone Tiraboschi  wrote:
>
>>
>>
>> On Sat, May 26, 2018 at 11:10 AM, Maton, Brett 
>> wrote:
>>
>>> Hi,
>>>
>>>   I can't see in the log what the problem is, I expect it's something
>>> simple though...
>>>   Hoping that someone can see what the problem is.
>>>
>>>   engine setup log attached.
>>>
>>
>> 2018-05-26 09:56:09,676+0100 ERROR 
>> otopi.ovirt_hosted_engine_setup.ansible_utils
>> ansible_utils._process_output:98 fatal: [localhost]: FAILED! =>
>> {"ansible_facts": {"ovirt_hosts": [{"address": "node1.example.com",
>> "affinity_labels": [], "auto_numa_status": "unknown", "certificate":
>> {"organization": "testlab.lan", "subject": "O=testlab.lan,CN=node1.exampl
>> e.com"}, "cluster": {"href": "/ovirt-engine/api/clusters/dd
>> a509fe-60c0-11e8-ac4e-00163e2285d7", "id": 
>> "dda509fe-60c0-11e8-ac4e-00163e2285d7"},
>> "comment": "", "cpu": {"speed": 0.0, "topology": {}}, "device_passthrough":
>> {"enabled": false}, "devices": [], 
>> "external_network_provider_configurations":
>> [], "external_status": "ok", "hardware_information":
>> {"supported_rng_sources": []}, "hooks": [], "href":
>> "/ovirt-engine/api/hosts/b0976daa-e4b5-4881-a59b-49f9eb51f7c5", "id":
>> "b0976daa-e4b5-4881-a59b-49f9eb51f7c5", "katello_errata": [],
>> "kdump_status": "unknown", "ksm": {"enabled": false},
>> "max_scheduling_memory": 0, "memory": 0, "name": "node1.example.com",
>> "network_attachments": [], "nics": [], "numa_nodes": [], "numa_supported":
>> false, "os": {"custom_kernel_cmdline": ""}, "permissions": [], "port":
>> 54321, "power_management": {"automatic_pm_enabled": true, "enabled": false,
>> "kdump_detection": true, "pm_proxies": []}, "protocol": "stomp",
>> "se_linux": {}, "spm": {"priority": 5, "status": "none"}, "ssh":
>> {"fingerprint": "SHA256:xh1kvHMx+qp3q2L4lxf4fwra9lCAVxlfAGiVBVa7I7M",
>> "port": 22}, "statistics": [], "status": "install_failed",
>> "storage_connection_extensions": [], "summary": {"total": 0}, "tags":
>> [], "transparent_huge_pages": {"enabled": false}, "type": "rhel",
>> "unmanaged_networks": [], "update_available": false}]}, "attempts": 120,
>> "changed": false}
>>
>> The engine failed to deploy your host and indeed we see "status":
>> "install_failed"
>> but to understand why it failed you have to consult host-deploy logs.
>> You can find them under /var/log/ovirt-engine/host-deploy on the engine
>> VM or also on your host in a directory inside hosted-engine-setup logs dir
>> if hosted-engine-setup correctly managed to fetch them from the engine VM.
>>
>>
>>
>>>
>>> Regards,
>>> Brett
>>>
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>>
>>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Failing to install self hosted engine - 4.2.4

2018-05-26 Thread Simone Tiraboschi
On Sat, May 26, 2018 at 11:10 AM, Maton, Brett 
wrote:

> Hi,
>
>   I can't see in the log what the problem is, I expect it's something
> simple though...
>   Hoping that someone can see what the problem is.
>
>   engine setup log attached.
>

2018-05-26 09:56:09,676+0100 ERROR
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:98 fatal: [localhost]: FAILED! =>
{"ansible_facts": {"ovirt_hosts": [{"address": "node1.example.com",
"affinity_labels": [], "auto_numa_status": "unknown", "certificate":
{"organization": "testlab.lan", "subject": "O=testlab.lan,CN=
node1.example.com"}, "cluster": {"href":
"/ovirt-engine/api/clusters/dda509fe-60c0-11e8-ac4e-00163e2285d7", "id":
"dda509fe-60c0-11e8-ac4e-00163e2285d7"}, "comment": "", "cpu": {"speed":
0.0, "topology": {}}, "device_passthrough": {"enabled": false}, "devices":
[], "external_network_provider_configurations": [], "external_status":
"ok", "hardware_information": {"supported_rng_sources": []}, "hooks": [],
"href": "/ovirt-engine/api/hosts/b0976daa-e4b5-4881-a59b-49f9eb51f7c5",
"id": "b0976daa-e4b5-4881-a59b-49f9eb51f7c5", "katello_errata": [],
"kdump_status": "unknown", "ksm": {"enabled": false},
"max_scheduling_memory": 0, "memory": 0, "name": "node1.example.com",
"network_attachments": [], "nics": [], "numa_nodes": [], "numa_supported":
false, "os": {"custom_kernel_cmdline": ""}, "permissions": [], "port":
54321, "power_management": {"automatic_pm_enabled": true, "enabled": false,
"kdump_detection": true, "pm_proxies": []}, "protocol": "stomp",
"se_linux": {}, "spm": {"priority": 5, "status": "none"}, "ssh":
{"fingerprint": "SHA256:xh1kvHMx+qp3q2L4lxf4fwra9lCAVxlfAGiVBVa7I7M",
"port": 22}, "statistics": [], "status": "install_failed",
"storage_connection_extensions": [], "summary": {"total": 0}, "tags": [],
"transparent_huge_pages": {"enabled": false}, "type": "rhel",
"unmanaged_networks": [], "update_available": false}]}, "attempts": 120,
"changed": false}

The engine failed to deploy your host and indeed we see "status":
"install_failed"
but to understand why it failed you have to consult host-deploy logs.
You can find them under /var/log/ovirt-engine/host-deploy on the engine VM
or also on your host in a directory inside hosted-engine-setup logs dir if
hosted-engine-setup correctly managed to fetch them from the engine VM.



>
> Regards,
> Brett
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org