Bug 710086 - No such file or directory /var/log/spacewalk/schema-upgrade
Summary: No such file or directory /var/log/spacewalk/schema-upgrade
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Upgrades
Version: 541
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Šimon Lukašík
URL:
Whiteboard:
Depends On:
Blocks: sat541-triage
TreeView+ depends on / blocked
 
Reported: 2011-06-02 12:37 UTC by Šimon Lukašík
Modified: 2012-03-08 09:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-02 12:58:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Šimon Lukašík 2011-06-02 12:37:09 UTC
Description of problem:
The upgrade procedure from RHN Satellite 5.2.1 to RHN Satellite 5.4.1
on RHEL5 ends up with 

  No such file or directory

error

Version-Release number of selected component (if applicable):
rhn-upgrade-5.4.0.25-1.el5sat

How reproducible:
always

Steps to Reproduce:
1. Follow instruction from rhn-upgrade
2. /usr/bin/spacewalk-schema-upgrade
3.
  
Actual results:
Schema upgrade: [rhn-satellite-schema-5.2.0-8] -> [satellite-schema-5.4.0.13-1.el5sat]
Searching for upgrade path: [rhn-satellite-schema-5.2.0-8] -> [satellite-schema-5.4.0.13-1]
Searching for upgrade path: [rhn-satellite-schema-5.2.0] -> [satellite-schema-5.4.0.13]
Searching for upgrade path: [rhn-satellite-schema-5.2] -> [satellite-schema-5.4.0]
Searching for upgrade path: [rhn-satellite-schema-5.2] -> [satellite-schema-5.4]
The path: [rhn-satellite-schema-5.2] -> [satellite-schema-5.3] -> [satellite-schema-5.4]
Failed to create log directory [/var/log/spacewalk/schema-upgrade]: No such file or directory


Expected results:
Pass

The directory should be either created implicitly or user should be advised  create it.

Additional info:

Comment 2 Šimon Lukašík 2011-06-02 12:58:24 UTC
This is NOTABUG. I have run the script as oracle user. Which is my failure.


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