Self hosted engine installation - Failed to deploy the VM on ISCSI storage

I was trying to install the latest ovirt engine v4.4.7 but it failed at the following step when I was using the command line. I have tried installing as user root or other sudoers, but same issue. [ INFO ] changed: [localhost] [ INFO ] TASK [ovirt.hosted_engine_setup : Copy configuration archive to storage] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["dd", "bs=20480", "count=1", "oflag=direct", "if=/var/tmp/localvmV8yIIX/5607a2c3-7e94-4403-ad86-7c3bcc745b16", "of=/rhev/data-center/mnt/blockSD/61612a87-4b25-4e09-aecd-02b63c679cf1/images/f9ebe70c-58f4-4229-a149-a18a09571d08/5607a2c3-7e94-4403-ad86-xxxxxxxxxxxx"], "delta": "0:00:00.011759", "end": "2020-08-14 09:03:35.702527", "msg": "non-zero return code", "rc": 1, "start": "2020-08-14 09:03:35.690768", "stderr": "dd: failed to open â/var/tmp/localvmV8yIIX/5607a2c3-7e94-4403-ad86-7c3bcc745b16â: Permission denied", "stderr_lines": ["dd: failed to open â/var/tmp/localvmV8yIIX/5607a2c3-7e94-4403-ad86-xxxxxxxxxxxx: Permission denied"], "stdout": "", "stdout_lines": []} [ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook [ INFO ] Stage: Clean up [ INFO ] Cleaning temporary resources Just curious if anyone hits the same issue? Thank you.

On Sat, Jul 31, 2021 at 10:15 AM <ericsitunew@gmail.com> wrote:
I was trying to install the latest ovirt engine v4.4.7 but it failed at the following step when I was using the command line.
I have tried installing as user root or other sudoers, but same issue.
[ INFO ] changed: [localhost] [ INFO ] TASK [ovirt.hosted_engine_setup : Copy configuration archive to storage] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["dd", "bs=20480", "count=1", "oflag=direct", "if=/var/tmp/localvmV8yIIX/5607a2c3-7e94-4403-ad86-7c3bcc745b16", "of=/rhev/data-center/mnt/blockSD/61612a87-4b25-4e09-aecd-02b63c679cf1/images/f9ebe70c-58f4-4229-a149-a18a09571d08/5607a2c3-7e94-4403-ad86-xxxxxxxxxxxx"], "delta": "0:00:00.011759", "end": "2020-08-14 09:03:35.702527", "msg": "non-zero return code", "rc": 1, "start": "2020-08-14 09:03:35.690768", "stderr": "dd: failed to open â/var/tmp/localvmV8yIIX/5607a2c3-7e94-4403-ad86-7c3bcc745b16â: Permission denied", "stderr_lines": ["dd: failed to open â/var/tmp/localvmV8yIIX/5607a2c3-7e94-4403-ad86-xxxxxxxxxxxx: Permission denied"], "stdout": "", "stdout_lines": []} [ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook [ INFO ] Stage: Clean up [ INFO ] Cleaning temporary resources
Just curious if anyone hits the same issue? Thank you.
Seems similar to https://bugzilla.redhat.com/show_bug.cgi?id=1564873 . Perhaps wrong permissions on /var/tmp, or check 'tar tvf /usr/share/ovirt-engine-appliance*.ova' . Best regards, -- Didi

Thanks for your reply, [root@server ~]# tar tvf /usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.4-20210720124053.1.el8.ova -rw-r--r-- root/root 3725 2021-07-20 05:29 master/vms/f2b9699d-5693-46a4-93ff-632c051dedef/f2b9699d-5693-46a4-93ff-632c051dedef.ovf -rwxr-xr-x root/root 5256445952 2021-07-20 05:29 images/6728db2a-1a44-44c5-a92d-c452d8ecb24f/6fa3346a-2fe2-48c1-b019-02f710496b9b -rw-r--r-- root/root 332 2021-07-20 05:29 images/6728db2a-1a44-44c5-a92d-c452d8ecb24f/6fa3346a-2fe2-48c1-b019-02f710496b9b.meta /var/tmp permission: drwxrwxrwt. 14 root root 4096 Aug 3 14:15 tmp is it what we expected? wondering if we have any workaround for this. Thank you. Regards, Eric
participants (3)
-
Eric Szeto
-
ericsitunew@gmail.com
-
Yedidyah Bar David