Bug 782810 - Engine-setup failed when hostname is too long
Summary: Engine-setup failed when hostname is too long
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-installer
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.1
Assignee: Eyal Edri
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-18 15:13 UTC by Vaclav Ehrlich
Modified: 2016-10-04 04:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-09 07:57:11 UTC
oVirt Team: ---


Attachments (Terms of Use)
engine-setup log (16.24 KB, application/octet-stream)
2012-01-19 09:47 UTC, Vaclav Ehrlich
no flags Details

Description Vaclav Ehrlich 2012-01-18 15:13:17 UTC
Description of problem:
When finishing oVirt installation engine-setup end with error. Creating of certificate authority is not possible if is used too long host name.

Version-Release number of selected component (if applicable):
oVirt 3.0.0_0001-1.2.fc16

How reproducible:
Always

Steps to Reproduce:
1.Follow instructions to install oVirt http://ovirt.org/wiki/Installing_ovirt_from_rpm
2.When run engine-setup set long host name (42 characters)
3.Continue with set-up until the end
  
Actual results:
Set-up finish with error with creating certificate authority

Expected results:
Set-up create certificate authority and finish without errors.

Additional info:
Or user should be informed with maximum length of hostname.

Comment 1 Ofer Schreiber 2012-01-18 15:51:28 UTC
1. Please provide the relevant setup logs
2. I think we should restrict the hostname length (or cut it), since the actuall issue here is that openssl doesn't allow really long subjects (which is usually hostname + 5 digit random)

Comment 2 Eyal Edri 2012-01-18 16:23:14 UTC
Regarding the solution,

Miki, is there a preference here for truncating the hostname or limiting it in the setup?

Comment 3 Vaclav Ehrlich 2012-01-19 09:47:52 UTC
Created attachment 556231 [details]
engine-setup log

Show the bug with hostname long 55 characters

Comment 4 Itamar Heim 2012-08-09 07:57:11 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/


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