Description of problem:setting invalid ip cause an infinite hang when applying Version-Release number of selected component (if applicable):5.4.5.2 How reproducible:100% Steps to Reproduce: 1.ssh into appliance 2.start appliance_console 3.setup static ip with invalid ip address Actual results:Applying static network configuration (never finishes) Expected results:invalid ip address Additional info: Static Network Configuration IP Address: 01.01.01.01 Netmask: 255.255.252.0 Gateway: 10.16.7.254 Primary DNS: 10.10.160.1 Secondary DNS: Search Order: rhq.lab.eng.bos.redhat.com Apply static network configuration? (Y/N) y Applying static network configuration...
Bug also in 5.5.3.2
Luke, I cannot reproduce this in 5.5.3.2. The 5.5.3.2 seems to have nice error message 01.01.01.01 is not a valid IPv4 or IPv6 address> (NoMethodError) instead of hanging on. This has been fixed by Nick, who has rewrote static network handling in https://github.com/ManageIQ/manageiq/pull/4877 I am flipping this ON_QA. Please let me know if this is not appropriate state in this case.
Hi Simon, Just checked this and you are correct, however this error still crashes out of appliance console. I would expect it to just request a correct IP not require the user to launch appliance_console again. Hope this helps.
Yeah, right. It crashes. I have fixed the crash in https://github.com/ManageIQ/manageiq/pull/7823 Can you confirm that the traceback contains word 'massage'?
Verified in 5.6.0.4-beta2.3
Appliance_console also crashes in 5.5.4.0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348