Re: [ovirt-users] cloud-init not setting gateway
Thanks Luca, I'll give that a go with the custom_script option. Regards, Brett On 31 January 2018 at 08:55, Luca 'remix_tj' Lorenzetto < lorenzetto.l...@gmail.com> wrote: > On Wed, Jan 31, 2018 at 7:35 AM, Maton, Brett > wrote: > > Are there any known issues with cloud-init not setting the network > gateway ? > > > > I'm trying to create a host with the ansible roles, all is Ok apart from > > network settings. > > > > Ansible code: > > > [cut] > > > > I've also tried using the web-ui, again most 'things' get set but not the > > gateway which is a killer as I can only access the VM with remote console > > until I set the gateway. > > Hello Brett, > > we have the same issue with RHEL 7.4. > > Our workaround is writing /etc/sysconfig/network file with the variable > GATEWAY= > so we have the variable set at next network activation. > > Luca > > -- > "E' assurdo impiegare gli uomini di intelligenza eccellente per fare > calcoli che potrebbero essere affidati a chiunque se si usassero delle > macchine" > Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716) > > "Internet è la più grande biblioteca del mondo. > Ma il problema è che i libri sono tutti sparsi sul pavimento" > John Allen Paulos, Matematico (1945-vivente) > > Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , < > lorenzetto.l...@gmail.com> > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] cloud-init not setting gateway
On Wed, Jan 31, 2018 at 9:55 AM, Luca 'remix_tj' Lorenzetto < lorenzetto.l...@gmail.com> wrote: > On Wed, Jan 31, 2018 at 7:35 AM, Maton, Brett > wrote: > > Are there any known issues with cloud-init not setting the network > gateway ? > > > > I'm trying to create a host with the ansible roles, all is Ok apart from > > network settings. > > > > Ansible code: > > > [cut] > > > > I've also tried using the web-ui, again most 'things' get set but not the > > gateway which is a killer as I can only access the VM with remote console > > until I set the gateway. > > Hello Brett, > > we have the same issue with RHEL 7.4. > > Our workaround is writing /etc/sysconfig/network file with the variable > GATEWAY= > so we have the variable set at next network activation. > > Luca > > There are several bugzilla items opened for this problem. The one for RH EL 7.4.z is this on QA https://bugzilla.redhat.com/show_bug.cgi?id=1540094 Others: https://bugzilla.redhat.com/show_bug.cgi?id=1492726 https://bugzilla.redhat.com/show_bug.cgi?id=1539760 Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] cloud-init not setting gateway
On Wed, Jan 31, 2018 at 7:35 AM, Maton, Brett wrote: > Are there any known issues with cloud-init not setting the network gateway ? > > I'm trying to create a host with the ansible roles, all is Ok apart from > network settings. > > Ansible code: > [cut] > > I've also tried using the web-ui, again most 'things' get set but not the > gateway which is a killer as I can only access the VM with remote console > until I set the gateway. Hello Brett, we have the same issue with RHEL 7.4. Our workaround is writing /etc/sysconfig/network file with the variable GATEWAY= so we have the variable set at next network activation. Luca -- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716) "Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente) Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] cloud-init not setting gateway
Are there any known issues with cloud-init not setting the network gateway ? I'm trying to create a host with the ansible roles, all is Ok apart from network settings. Ansible code: - block: - name: Authenticate ovirt_auth: password: *** url: "https://***/ovirt-engine/api"; username: admin@internal - name: "Create Virtual Machines" ovirt_vms: auth: "{{ ovirt_auth }}" clone: false cloud_init: custom_script: "touch /etc/cloud/cloud-init.disabled" dns_search: *** dns_servers: "*** ***" host_name: *** nic_boot_protocol: static nic_gateway: "***" nic_ip_address: "***" nic_name: eth0 nic_netmask: "***" nic_on_boot: true cluster: Default comment: "Ansible Created" name: "***" state: present stateless: false storage_domain: "***" template: CentOS7_1711_could_init timeout: 600 register: ovirt_vm always: - name: "Sign Out" ovirt_auth: ovirt_auth: "{{ ovirt_auth }}" state: absent I've also tried using the web-ui, again most 'things' get set but not the gateway which is a killer as I can only access the VM with remote console until I set the gateway. Regards, Brett ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users