Bug 1117006 - Rubygem-Staypuft: Unable to assign hosts to deployment when installation media wasn't configured during execution of rhel-osp-installer.
Summary: Rubygem-Staypuft: Unable to assign hosts to deployment when installation medi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rubygem-staypuft
Version: 5.0 (RHEL 7)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ga
: Installer
Assignee: Scott Seago
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-07 19:38 UTC by Alexander Chuzhoy
Modified: 2016-04-26 23:04 UTC (History)
2 users (show)

Fixed In Version: ruby193-rubygem-staypuft-0.2.1.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-21 18:04:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
production.log from the staypuft host. (403.05 KB, text/x-log)
2014-07-07 19:38 UTC, Alexander Chuzhoy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1090 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2014-08-22 15:28:08 UTC

Description Alexander Chuzhoy 2014-07-07 19:38:01 UTC
Created attachment 916172 [details]
production.log from the staypuft host.

Rubygem-Staypuft: Unable to assign hosts to deployment when installation media wasn't configured during execution of rhel-osp-installer.

Environment: rhel-osp-installer-0.1.0-2.el6ost.noarch


Steps to reproduce:
1. Install rhel-osp-installer.
2. Execute rhel-osp-istaller and configure it normally-per your requirements until you reach the "installation media" menu .
3. When you get to "Now you should configure installation media which will be used for provisioning."  Click on '3' to skip this step.
4. Skip the subscription manager.
5. Once the installation is finished - create a deployment of 2 hosts (nova controller + compute).
6. Attempt to assign hosts to the deployment.

Result: The host doesn't get assigned, while I get a yellow notification in the right top corner saying "Unassigned hosts: <hostname>".

Expected result: the host should become assigned.

Comment 2 Marek Hulan 2014-07-10 15:40:09 UTC
We can't assign hosts if the installation was not done. There's a notice on installer's media page: 
  'Note that if you don't configure it properly, host provisioning won't work until you configure installation media manually.' 

Should we change it so it's more clear? E.g.
  'Note that if you don't configure it properly or skip this step, deployment won't work until you configure installation media manually.'

Comment 3 Alexander Chuzhoy 2014-07-10 15:43:17 UTC
Well, no matter what is done during the installation, the UI should notify accordingly or disallow assigning hosts until the installation media is set.

Comment 4 Marek Hulan 2014-07-10 15:47:28 UTC
So the expected result is to display the reason why the host can't be assigned?

Comment 5 Alexander Chuzhoy 2014-07-10 15:54:01 UTC
Yes.
Thinking about scenario when one admin installed the rhel-osp-installer and didn't have the right installation media to configure. Then another tries to create a deployment. The message he'll get in the current situation is not clear.
Thanks.

Comment 7 Hugh Brock 2014-07-11 14:26:33 UTC
OK, this is an error-reporting issue. It should be fixed but I don't think it's a blocker.

Comment 9 Marek Hulan 2014-08-07 06:59:47 UTC
I think https://github.com/theforeman/staypuft/pull/234 solves this.

Comment 11 Alexander Chuzhoy 2014-08-12 14:11:00 UTC
Verified: rhel-osp-installer-0.1.9-1.el6ost.noarch

Note the user gets this message: Unassigned hosts:
maca25400702875
Medium can't be blank

Comment 13 errata-xmlrpc 2014-08-21 18:04:59 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/RHBA-2014-1090.html


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