Bug 708397 - Internal server error when changing Kickstart Distribution tree path
Summary: Internal server error when changing Kickstart Distribution tree path
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 1.4
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jan Pazdziora (Red Hat)
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space15
TreeView+ depends on / blocked
 
Reported: 2011-05-27 14:40 UTC by kwyjibo
Modified: 2011-07-21 14:43 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-21 14:43:35 UTC
Embargoed:


Attachments (Terms of Use)
catalina.out log of relevent time (10.18 KB, text/plain)
2011-05-27 14:40 UTC, kwyjibo
no flags Details

Description kwyjibo 2011-05-27 14:40:57 UTC
Created attachment 501319 [details]
catalina.out log of relevent time

Description of problem:

When changing the Tree Path on the WebUI you get an Intenal Server Error if the current Tree Path is invalid.

Version-Release number of selected component (if applicable):
Spacewalk 1.4

How reproducible:
100%

Steps to Reproduce:
1. Create a valid Kickstart distribution
2. Move the install media to a new location on the disk (so that the current location in spacewalk is invalid).
3. Update the location on the spacewalk WebUI (in the Tree Path field).
  
Actual results:
Spacewalk gets an Internal server error

Expected results:
The new location should be successfully updated.

Additional info:

Comment 1 Jan Pazdziora (Red Hat) 2011-06-08 12:42:56 UTC
Taking.

Comment 2 Jan Pazdziora (Red Hat) 2011-06-08 12:43:08 UTC
What operating system is the Spacewalk running?

Is there any AVC denial in /var/log/audit/audit.log?

Comment 3 kwyjibo 2011-06-08 14:17:09 UTC
(In reply to comment #2)
> What operating system is the Spacewalk running?

Centos 5.5

> Is there any AVC denial in /var/log/audit/audit.log?

Nope, the error that comes up in /var/log/messages is;

Can't stat exported dir <name of deleted directory>: No such file or directory

Comment 4 Jan Pazdziora (Red Hat) 2011-06-08 14:22:27 UTC
(In reply to comment #3)
> 
> Can't stat exported dir <name of deleted directory>: No such file or directory

That's NFS related, isn't it? Is the kickstart distribution on an NFS-mounted volumne?

Comment 5 kwyjibo 2011-06-08 14:42:42 UTC
(In reply to comment #4)
> That's NFS related, isn't it? Is the kickstart distribution on an NFS-mounted
> volumne?

Ah yes sorry, just checked the timestamps and realised it was unrelated to this issue. Just re-created the error now and there is no relevant message in audit.log or the syslog.

Comment 6 Jan Pazdziora (Red Hat) 2011-06-16 13:30:22 UTC
I was not able to reproduce the issue. On Spacewalk (nightly), when the path is no longer valid, I get red warning

    * The initrd could not be found at the specified location: /var/cache/ad-test-23/ks-rhel-i386-server-5-x/images/pxeboot/initrd.img

at the top of the /rhn/kickstart/TreeEdit.do?kstid=1 page, and it allows me to edit the form and save it without any ISE.

Comment 7 Jan Pazdziora (Red Hat) 2011-06-20 07:58:43 UTC
Moving ON_QA.

Comment 8 Jan Pazdziora (Red Hat) 2011-07-21 14:43:35 UTC
Spacewalk 1.5 was released.


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