On Tue, May 7, 2019 at 9:42 AM Simone Tiraboschi <stirabos@redhat.com> wrote:


On Tue, May 7, 2019 at 12:29 AM Brian Kircher <Brian.Kircher@iongeo.com> wrote:

Thanks Simone,

 

I’m using the ansible code that is packaged with the rpm packages as this is a fully offline development deployment without access to our ansible server or the internet in general.  This also has the added benefit of using the exact ansible roles/plays that were packaged with the release at a single point in time.


Yes, please notice that now ovirt-hosted-engine-setup rpm depends on ovirt-ansible-hosted-engine-setup one which installs the role.
All the deployment logic is inside ovirt-ansible-hosted-engine-setup which is packaged as an rpm while ovirt-hosted-engine-setup contains the CLI interactive front-end.
If you need a fully unattended setup with no interactive validation I'd suggest to simply consume the ansible role. 

Simone - perhaps we can consider using otopi answer files for --generate-answer, while still using our own for the shared ones, if needed (still used for additional host installs, IIUC)?

See also:



Best regards,
 
 

That did the trick though.  Thanks for the assist.  It would be nice to be able to just accept the default and continue though.  A bit surprised these new options don’t show up in the generated answer file either.

 

Brian

 

From: Simone Tiraboschi <stirabos@redhat.com>
Sent: Thursday, May 2, 2019 2:09 AM
To: Brian Kircher <Brian.Kircher@iongeo.com>
Cc: users@ovirt.org
Subject: Re: [ovirt-users] silent install failing in 4.3.3.5-1 due to question on fqdn of host

 

 

 

On Wed, May 1, 2019 at 10:24 PM Brian Kircher <Brian.Kircher@iongeo.com> wrote:

Anyone happen to know if I can get the following into an answer file for a silent deployment? It’s asking to confirm or change from the fqdn of the host doing the HE install. Default is fine, but I have to connect in to the screen to answer this before it will continue. Default hostname changed to generic in below log.  Forward and reverse are both working via dns.

 

QUESTION/1/OVESETUP_NETWORK_FQDN_first_HE

 

 

019-04-30 18:56:38,802-0500  DEBUG otopi.context context.dumpEnvironment:745 ENVIRONMENT DUMP - END

2019-04-30 18:56:38,804-0500  DEBUG otopi.context context._executeMethod:127 Stage validation METHOD  otopi.plugins.gr_he_common.network .bridge.Plugin._validate_hostname_first_host

2019-04-30 18:56:38,806-0500  DEBUG  otopi.plugins.gr_he_common.network .bridge dialog.queryEnvKey:90 queryEnvKey called for key OVEHOSTED_NETWORK/host_name

2019-04-30 18:56:38,806-0500  DEBUG otopi.plugins.otopi.dialog.human human.queryString:159 query OVESETUP_NETWORK_FQDN_first_HE

 

Hi,
you can use OVEHOSTED_NETWORK/host_name

Please notice that now if you need a fully unassisted deployment you can directly trigger ovirt.hosted_engine_setup ansible role.
You can find its documentation here: https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/blob/master/README.md

 

 

2019-04-30 18:56:38,807-0500  DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Please provide the hostname of this host on the management network [ host01.domain.com ]:

 

Version 4.3.3.5-1.el7

 

Thanks,

 

Brian

 




This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify the sender and delete the original.

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y3JPBUXPXSXHIZTZFRBO6JV2FHAWUBRA/





This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify the sender and delete the original.



--

Simone Tiraboschi

He / Him / His

Principal Software Engineer

Red Hat

stirabos@redhat.com   

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/M4TDNCQL5YDWLH3NGYOTE6BKUNPQPXSC/


--
Didi