Bug 977281
Summary: | get_localhost_ip should raise exception | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Martin Magr <mmagr> |
Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> |
Status: | CLOSED ERRATA | QA Contact: | Nir Magnezi <nmagnezi> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | aortega, derekh, jkt, mlopes, mmagr |
Target Milestone: | beta | Keywords: | Triaged |
Target Release: | 4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-packstack-2013.2.1-0.3.dev722.el6ost | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-20 00:08:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Martin Magr
2013-06-24 08:28:35 UTC
Martin, can you please provide some details about this exception? How may I trigger it? (to verify this fix) Packstack is getting local IP by opening socket to your nameserver. So, you will have to turn off you network. You can also clean content in /etc/resolv.conf and block network communication to 8.8.8.8, which is default nameserver in case you don't have any ns set. Then packstack should fail with "Local IP address discovery failed. Please set nameserver correctly." message. (In reply to Martin Magr from comment #4) > Packstack is getting local IP by opening socket to your nameserver. So, you > will have to turn off you network. You can also clean content in > /etc/resolv.conf and block network communication to 8.8.8.8, which is > default nameserver in case you don't have any ns set. Then packstack should > fail with "Local IP address discovery failed. Please set nameserver > correctly." message. Thanks you Martin. Verified NVR: openstack-packstack-2013.2.1-0.9.dev840.el6ost.noarch Verification Steps: =================== 1. install openstack-packstack 2. stop network service 3. run packstack Result: ======= packstack fails (as expected) with the following error: Local IP address discovery faild. Please set nameserver correctly. Auto qa_ack+ for VERIFIED bugs so they can be added to RC erratum 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. http://rhn.redhat.com/errata/RHEA-2013-1859.html |