and using it interactively without manually filing an answerfile?
On Tue, Oct 23, 2018 at 11:19 PM Brendan Holmes <me(a)brendanh.com> wrote:
Hi Simone,
I attempted to use a fixed IP address instead of DHCP. I attach an
attempt using answer-file parameter:
OVEHOSTED_VM/cloudinitVMStaticCIDR=str:10.0.0.109/24
which is in accordance with this example on your website:
https://ovirt.org/develop/release-management/features/integration/heappli...
However, instead of this, you will notice that the log has:
OVEHOSTED_VM/cloudinitVMStaticCIDR=bool:'False'
The same error as usual occurred. Is this:
1. The wrong syntax\format for specifying a “cloudinitVMStaticCIDR” IP?
2. ovirt setup is ignoring it: either failing to assign the IP to the
engine VM or to variable “local_vm_ip.stdout_lines”?
3. Something else?
“You can also connect to that VM with VNC to check what's going on.” –
Doesn’t work. Port querying 10.0.0.109 on 5800\5900 fails, so I don’t
think the VM is networked. Which port does engine VNC use?
Many thanks,
Brendan
*From:* Simone Tiraboschi <stirabos(a)redhat.com>
*Sent:* 23 October 2018 09:09
*To:* B Holmes <me(a)brendanh.com>
*Cc:* users <users(a)ovirt.org>
*Subject:* Re: [ovirt-users] Re: Diary of hosted engine install woes
OK,
according to this log file, the target engine VM didn't got an IPv4
address:
Are you sure that your DHCP server is properly working?
You can also connect to that VM with VNC to check what's going on.
On Mon, Oct 22, 2018 at 10:37 PM Brendan Holmes <me(a)brendanh.com> wrote:
Hi Simone,
Pls see attached the log without any of my variable-enumeration changes.
Many thanks,
Brendan
*From:* Simone Tiraboschi <stirabos(a)redhat.com>
*Sent:* 22 October 2018 13:33
*To:* B Holmes <me(a)brendanh.com>
*Cc:* users <users(a)ovirt.org>
*Subject:* Re: [ovirt-users] Re: Diary of hosted engine install woes
On Sun, Oct 21, 2018 at 11:50 PM Brendan Holmes <me(a)brendanh.com> wrote:
Hi Simone,
Sorry for late response, I’ve been unwell. Attached is the whole log you
requested. I hope it reveals why variable “local_vm_ip.stdout_lines” is
not being populated.
Hi,
according to your log file the deployment was successful:
at this point I can only suggest again to simply run the vanilla code
without any custom patch.
*From:* Simone Tiraboschi <stirabos(a)redhat.com>
*Sent:* 15 October 2018 04:49
On Sun, Oct 14, 2018 at 6:08 AM Brendan Holmes <me(a)brendanh.com> wrote:
Hi Simone,
[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an
option with an undefined variable. The error was: list object has no
element 0\n\nThe error appears to have been in
'/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml': line
396, column 5, but may\nbe elsewhere in the file depending on the exact
syntax problem.\n\nThe offending line appears to be:\n\n changed_when:
True\n - name: Clean /etc/hosts on the host\n ^ here\n"}
I think that this is just an error in the clean up on failures phase due
to something bad before.
Can you please attach the whole deployment log from
/var/log/ovirt-hosted-engine/hosted-engine.log ?