Bug 892318 - All in one install uses 127.0.0.1 as the generated urls for novnc, which makes them impossible to access
Summary: All in one install uses 127.0.0.1 as the generated urls for novnc, which make...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 2.0 (Folsom)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ga
: 2.1
Assignee: Martin Magr
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-06 16:49 UTC by Perry Myers
Modified: 2013-01-29 11:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-29 11:10:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 19867 0 None None None Never
Red Hat Product Errata RHEA-2013:0204 0 normal SHIPPED_LIVE OpenStack 2012.2 Folsom Preview bug fix and enhancement update 2013-01-29 16:08:59 UTC

Description Perry Myers 2013-01-06 16:49:54 UTC
Description of problem:
Doing an all-in-one install for packstack nominally uses 127.0.0.1 addresses for all components as they only need to talk to each other via localhost.  This is fine.

However, let's say you have this environment:
Host running the all-in-one has address 198.168.1.1

You browse to http://192.168.1.1/dashboard

And from the dashboard you select to launch novnc for a particular instance.  This will bring up a 127.0.0.1 based url, which of course from your web browser (which is presumably running not directly on the all-in-one host) will not work.

Perhaps we need a separate option in packstack to configure:
novncproxy_base_url
in nova.conf to use the public ip address of the all-in-one host?

Comment 1 Derek Higgins 2013-01-16 22:40:59 UTC
patch to change packstack to no longer default to 127.0.0.1
https://review.openstack.org/#/c/19867/

this will prevent this problem occurring

Comment 5 Nir Magnezi 2013-01-23 09:03:03 UTC
Verified With: openstack-packstack-2012.2.2-0.1.dev317.el6.noarch

1. Generated an answers file 
   #  packstack --gen-answer-file=test1.txt 

2. Checked the default IP Addresses values. Indeed the default is the "Real" server IP Address and not the loopback 127.0.0.1

Comment 7 errata-xmlrpc 2013-01-29 11:10:51 UTC
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-0204.html


Note You need to log in before you can comment on or make changes to this bug.