Bug 150521
Summary: | Error on kickstart options page | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Mike McCune <mmccune> |
Component: | Provisioning | Assignee: | Robin Norwood <robin.norwood> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Vlady Zlatkin <vzlatkin> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | mspevack, rhn-bugs, tao, wregglej |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | /network/systems/provisioning/kickstarts/select_options.pxt | ||
Whiteboard: | |||
Fixed In Version: | RHN 4.0.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-09-01 02:27:23 UTC | Type: | --- |
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: | 147875, 203074 |
Description
Mike McCune
2005-03-07 22:23:17 UTC
Robin indicated that this is like: 115029 This should be a mustfix - should have already been fixed by bug #115029 Fixed in CVS. Test plan: 1) Create a new kickstart profile. 2) Either during creation, or afterwards, go to the 'Options' page for the ks profile. 3) Enter the following value in the 'Partition Details' section: ' part /boot --ondisk=hda --size=150 --asprimary --fstype=ext3 part pv.1 --ondisk=hda --size=29172 volgroup Volume00 pv.1 logvol / --fstype ext3 --name=lvroot --vgname=Volume00 --size=500 logvol /home --fstype ext3 --name=lvhome --vgname=Volume00 --size=2048 logvol /opt --fstype ext3 --name=lvopt --vgname=Volume00 --size=2048 logvol /tmp --fstype ext3 --name=lvtmp --vgname=Volume00 --size=2048 logvol /usr --fstype ext3 --name=lvusr --vgname=Volume00 --size=4096 logvol /usr/local --fstype ext3 --name=lvlocal --vgname=Volume00 --size=2048 logvol /var --fstype ext3 --name=lvvar --vgname=Volume00 --size=2048 logvol swap --fstype swap --name=lvswap --vgname=Volume00 --size=2048 logvol swap --fstype swap --name=lvswap2 --vgname=Volume00 --size=2048 ' (cut and paste everything between the quotes) - expect no 500 error when you click the submit button. 4) Go to the 'Details' tab, and click the 'View Kickstart' link - Expect to see a kickstart profile that looks 'right'. *** Bug 154687 has been marked as a duplicate of this bug. *** *** Bug 155243 has been marked as a duplicate of this bug. *** *** Bug 155904 has been marked as a duplicate of this bug. *** fails qa, somewhat different, 2 /boot partitions. I don't know why someone would do this, but they shouldn't see a 500 if they do partitions => partition /boot --fstype=ext3 --size=200 partition swap --size=1000 --grow --maxsize=2000 partition / --fstype=ext3 --size=700 --grow part /boot --ondisk=hda --size=150 --asprimary --fstype=ext3 part pv.1 --ondisk=hda --size=29172 volgroup Volume00 pv.1 logvol / --fstype ext3 --name=lvroot --vgname=Volume00 --size=500 logvol /home --fstype ext3 --name=lvhome --vgname=Volume00 --size=2048 logvol /opt --fstype ext3 --name=lvopt --vgname=Volume00 --size=2048 logvol /tmp --fstype ext3 --name=lvtmp --vgname=Volume00 --size=2048 logvol /usr --fstype ext3 --name=lvusr --vgname=Volume00 --size=4096 logvol /usr/local --fstype ext3 --name=lvlocal --vgname=Volume00 --size=2048 logvol /var --fstype ext3 --name=lvvar --vgname=Volume00 --size=2048 logvol swap --fstype swap --name=lvswap --vgname=Volume00 --size=2048 logvol swap --fstype swap --name=lvswap2 --vgname=Volume00 --size=2048 pxt:trap => rhn:kickstart-create-options-cb root_password_1 => root_password_2 => static_ip_iface => success_redir => select_options.pxt timezone => America/New_York zerombr => yes User Information: User vz-temp (id 4095488, org_id 4631986) Error notes: (none) Initial Request: Yes Error message: A line with label '/boot' already exists. at /usr/lib/perl5/site_perl/5.8.5/RHN/Kickstart/Multi.pm line 31. Fixed in SVN. Test plan: o Create a kickstart profile, filling in the 'partitions' section with partitions of the same 'label' - ie, /boot, /usr, etc. - Expect an error message: "Only one /boot partition allowed" * Note that multiple 'swap' partitions are specifically allowed, so this is legal: """ partition /boot --fstype=ext3 --size=200 partition swap --size=1000 --grow --maxsize=2000 partition / --fstype=ext3 --size=700 --grow partition swap --size=100 """ prod ready |