Red Hat Bugzilla – Bug 1464994
Setting static ipv6 address clears ipv4 address in appliance console.
Last modified: 2017-07-19 09:59:20 EDT
Description of problem:Setting static ipv6 address clears ipv4 address in appliance console.
Version-Release number of selected component (if applicable):188.8.131.52
Steps to Reproduce:
2.ssh to appliance
4.configure static ipv6
Actual results:ipv6 is set but ipv4 is cleared
Expected results:ipv6 address is configured while ipv4 address remains
appliance console summary info screen shows hostname and ipv6 address fields filled out but ipv4 only shows '/'
New commit detected on ManageIQ/linux_admin/master:
Author: Nick Carboni <email@example.com>
AuthorDate: Mon Jul 17 15:48:48 2017 -0400
Commit: Nick Carboni <firstname.lastname@example.org>
CommitDate: Mon Jul 17 15:55:52 2017 -0400
Don't change BOOTPROTO to static when setting a static IPv6 address
This tells the network service to not start dhclient at all which will
result in us not getting a v4 address if we were previously relying on
dhcp for that.
lib/linux_admin/network_interface/network_interface_rh.rb | 1 -
spec/network_interface/network_interface_rh_spec.rb | 4 +---
2 files changed, 1 insertion(+), 4 deletions(-)
Sorry, Gregg. I meant to leave this ONDEV.
We need to bump the linux_admin gem version and open another PR to manageiq-gems-pending to pull in the changes I made.
I will change this when it is ready for testing.
PR to bump linux_admin version: https://github.com/ManageIQ/manageiq-gems-pending/pull/243