Bug 1002503

Summary: Empty selectbox to set time zone in the kickstart profile of Fedora
Product: Red Hat Satellite 5 Reporter: Martin Korbel <mkorbel>
Component: WebUIAssignee: Tomas Lestach <tlestach>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 560CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-30 10:39:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 462714    
Attachments:
Description Flags
kickstart profile none

Description Martin Korbel 2013-08-29 10:45:13 UTC
Created attachment 791698 [details]
kickstart profile

Description of problem:
Empty selectbox to set time zone in the kickstart profile of Fedora.
(look at attachment kickstart-profile-fedora.png)

Version-Release number of selected component (if applicable):
Sat 5.6.0@RHEL6  (kickstart profile for Fedora 19)
Sat 5.5.0@RHEL6  (kickstart profile for Fedora 16)
SW  2.0@Centos6  (kickstart profile for Fedora 19)

How reproducible:
100%

Steps to Reproduce:
1. Create repo and channel for Fedora. We don't need to do synchronize.
> spacewalk-common-channels -u admin -p xxx -a i386 fedora19
2. Download Fedora DVD and mount it.
> wget http://download.englab.brq.redhat.com/released/F-19/GOLD/Fedora/i386/iso/Fedora-19-i386-DVD.iso
> mkdir /srv/Fedora19-i386
# disable selinux, because mounted DVD has got "iso9660_t" selinux type and satellite doesn't have a right to read it.
> setenforce 0
> mount -o loop Fedora-19-i386-DVD.iso /srv/Fedora19-i386
3. Add distribution
> spacewalk-api --server=localhost --user=admin --password=xxx kickstart.tree.create "%session%" distro-fedora19-i386 /srv/Fedora19-i386  fedora19-i386 fedora
4. Create kickstart profile
> spacewalk-api --server=localhost --user=admin --password=xxx kickstart.createProfile "%session%" ks-fedora19-i386 none distro-fedora19-i386 $(hostname) redhat
5. Open Systems > Kickstart > profiles > ks-fedora19-i386 > System Details > Locale


Actual results:
Empty selectbox

Expected results:
List of timezones

Additional info:
no tracebacks in logs

Comment 1 Tomas Lestach 2013-08-29 13:19:53 UTC
Right, for Fedora(s) we do not list any timezones in the rhnKickstartTimezone table. That is why the selectbox is empty.
So, we need to get the list of supported timezones from a running fedora system and populate rhnKickstartTimezone table similar to commit 3f9ae912 fo rhel_7.

Not a regression.

Comment 3 Clifford Perry 2013-08-30 10:39:44 UTC
Since we don't support Fedora, we won't fix this as a Satellite bug. 

If needed, create a spacewalk BZ. 

Cliff