Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1135746 - Fedora 21 Server TC5 software selection spoke is blank
Summary: Fedora 21 Server TC5 software selection spoke is blank
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: comps
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact:
URL:
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F21AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2014-08-31 05:18 UTC by Dan Mossor [danofsatx]
Modified: 2014-09-11 17:34 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-11 17:34:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda.log (21.08 KB, text/plain)
2014-08-31 05:18 UTC, Dan Mossor [danofsatx]
no flags Details

Description Dan Mossor [danofsatx] 2014-08-31 05:18:31 UTC
Created attachment 933045 [details]
anaconda.log

Attempting to install Fedora Server from fedora-server-DVD-x86_64-21-Alpha-TC5.iso but software selection spoke is blank.


Installing in KVM using the TC5 ISO. VM is configured with 2 CPUs, 4GB RAM, 10GB qcow2 disk, and NAT'd networking. All other settings default. System boots, goes to language selection, displays the pre-release warning, then drops to hub. Software Selection is highlighted with "Nothing Selected". Opening the spoke to correct, there is nothing listed in either Base Environment or Add-Ons pane.

Setting the Installation source to http://dl.fedoraproject.org/pub/fedora/linux/development/21/x86_64/os/ populates the package selection panes.

Switching back to the DVD after the metadata has been downloaded from the above url, the Software Selection spoke is again highlighted with "Source changed - verify selection." Entering the spoke, the Base Environment pane is again empty, but the Add-Ons pane is still populated. Selecting or deselecting anything in the Add-Ons pane causes a crash.

The anaconda.log is attached.

Comment 1 Dan Mossor [danofsatx] 2014-08-31 05:22:07 UTC
Proposing as a Fedora 21 Blocker as per release criteria 2.3.3:

"When using a dedicated installer image that contains packages, the installer must be able to use the install medium as a package source."

This install image does not allow the use of the image as install media.

Comment 2 Jared Smith 2014-09-02 16:56:27 UTC
+1 blocker

Comment 3 Stephen Gallagher 2014-09-02 18:00:22 UTC
+1 blocker

I've also verified that the same behavior is occurring with the network install as well.

Comment 4 Brian Lane 2014-09-02 22:41:12 UTC
The .comps.xml file on the DVD is missing the <environment> entries.

Problems with the network install are something different.

Comment 5 Mike Ruckman 2014-09-03 16:17:58 UTC
Discussed in 2014-09-03 Blocker review meeting. Accepted as a blocker because it violates the Alpha criterion: "When using a dedicated installer image that contains packages, the installer must be able to use the install medium as a package source."

Comment 6 Adam Williamson 2014-09-03 17:15:05 UTC
I believe the Server install kickstart does not in fact include any environment groups:

## common stuff
@guest-agents
@standard
@core
@multimedia
@hardware-support

# Some development tools
@development-libs
@development-tools
@c-development
@rpm-development-tools
@fedora-packager

# Fedora Server.
# Including this causes the fedora-release-server package to be included,
# which in turn enables server-product-environment, and due to to its priority
# this will be the default environment.
@server-product
@headless-management
@container-management

# Common server packages
@mysql
@sql-server
@web-server

# Web Server environment
@haproxy
@mongodb
@perl-web
@python-web
@php
@rubyonrails
@tomcat

# Infrastructure Server
@directory-server
@dogtag
@dns-server
@freeipa-server
@ftp-server
@mail-server
@network-server
@printing
@smb-server
@virtualization
@load-balancer
@ha

@javaenterprise

# “uservisible” groups we want to offer
@editors
@network-server
@system-tools
@text-internet

I don't think any of those is an environment group. There is a "web-server-environment" environment group, but that isn't listed above (it includes @web-server, not @web-server-environment). There is a comment in comps-f21.xml.in referring to "fedora-server-environment", but AFAICS that doesn't actually exist.

Comment 7 Adam Williamson 2014-09-03 17:16:24 UTC
There is a 'server-product-environment' group that is not listed in the kickstart. That's probably what should be included?

Comment 8 Adam Williamson 2014-09-04 03:56:53 UTC
for the record, sgallagh indicated on IRC that I'm basically right, and he'll be fixing this, IIRC.

Comment 9 Stephen Gallagher 2014-09-04 11:41:48 UTC
So, here's the issue. The environments are not actual groups that can be specified in the kickstart file. (This is probably worthy of a separate RFE).

What happens is that an environment group "magically" appears in the installer if all of the groups it depends on are present in the composed tree. In the case of server, I recently created a new group "domain-client" as a mandatory part of the Server environment, but I forgot to make the matching change to the kickstart. As a result, the composed image was unable to present the environment and the installer was effectively useless (unless explicitly pointed at the Everything tree).

I've corrected the issue in the Server kickstart, so when TC6 is built it should all work. I've done a manual compose successfully.

Marking this as POST until TC6 is generated.

Comment 10 Adam Williamson 2014-09-04 12:16:38 UTC
"What happens is that an environment group "magically" appears in the installer if all of the groups it depends on are present in the composed tree."

that seems...messy, yeah, why isn't it just an environment group in comps which includes all the regular groups?

Comment 11 Stephen Gallagher 2014-09-04 12:41:51 UTC
(In reply to Adam Williamson (Red Hat) from comment #10)
> "What happens is that an environment group "magically" appears in the
> installer if all of the groups it depends on are present in the composed
> tree."
> 
> that seems...messy, yeah, why isn't it just an environment group in comps
> which includes all the regular groups?

Well, this is essentially the magic way that allows any of our install media to automatically see all of the environments when we point it at the Everything tree during live installation. So it's not a bad idea to *also* allow this, but it would make composition easier if we could just specify a whole environment rather than its contents.

Comment 12 Stephen Gallagher 2014-09-04 14:49:28 UTC
(In reply to Stephen Gallagher from comment #11)
> (In reply to Adam Williamson (Red Hat) from comment #10)
> > "What happens is that an environment group "magically" appears in the
> > installer if all of the groups it depends on are present in the composed
> > tree."
> > 
> > that seems...messy, yeah, why isn't it just an environment group in comps
> > which includes all the regular groups?
> 
> Well, this is essentially the magic way that allows any of our install media
> to automatically see all of the environments when we point it at the
> Everything tree during live installation. So it's not a bad idea to *also*
> allow this, but it would make composition easier if we could just specify a
> whole environment rather than its contents.

It turns out this already exists and I was just completely unaware of it. I'm going to go ahead and fix that in comps so we don't ever see a reappearance of this bug.

Comment 13 Adam Williamson 2014-09-11 17:34:53 UTC
This is fixed in TC6, closing.


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