Bug 1277896 - Console shows http://langen_us.utf-8/ as browse link
Summary: Console shows http://langen_us.utf-8/ as browse link
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.6.0
Assignee: Nick Carboni
QA Contact: Ola Pavlenko
URL:
Whiteboard: openstack:black
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-04 10:22 UTC by Marius Cornea
Modified: 2017-09-14 12:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-28 14:21:39 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
console screenshot (25.39 KB, image/png)
2015-11-04 10:25 UTC, Marius Cornea
no flags Details

Description Marius Cornea 2015-11-04 10:22:30 UTC
Description of problem:
I'm deploying the CFME appliance on a regular KVM host by using the Openstack image. After boot the console shows the following:

You can browse to http://192.168.122.187/ or http://langen_us.utf-8/

Version-Release number of selected component (if applicable):
cfme-rhos-5.5.0.9-2.x86_64.qcow2

How reproducible:
100%

Steps to Reproduce:
1. Deploy the image on a KVM host 
2. Boot VM 
3. Check console output

Actual results:
You can browse to http://192.168.122.187/ or http://langen_us.utf-8/

...

langen_us login: 

Expected results:
http://langen_us.utf-8/ is not a valid URL so it shouldn't be there.

I'm not sure if 'langen_us' is expected to be present in the login prompt.

Comment 2 Marius Cornea 2015-11-04 10:25:40 UTC
Created attachment 1089552 [details]
console screenshot

Attaching a console screenshot.

Comment 3 Marius Cornea 2015-11-04 10:35:42 UTC
It looks that the hostname gets set to langen_us.utf-8

[root@langen_us ~]# hostname
langen_us.utf-8
[root@langen_us ~]# hostname -f
hostname: Name or service not known
[root@langen_us ~]# cat /etc/hostname 
langen_us.utf-8

Comment 4 Nick Carboni 2016-01-08 14:30:32 UTC
I see the issue here, but I'm not sure there is anything that we can do.

We can either remove that part of the motd prompt which would (technically) resolve this issue or leave it for the case when the user has set up an externally resolvable hostname.  Unfortunately there is no way for us to tell if the hostname we get from /etc/hostname is resolvable from the outside world so right now we print it unconditionally.


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