Bug 710086

Summary: No such file or directory /var/log/spacewalk/schema-upgrade
Product: Red Hat Satellite 5 Reporter: Šimon Lukašík <slukasik>
Component: UpgradesAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED NOTABUG QA Contact: Šimon Lukašík <slukasik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 541CC: jpazdziora
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: 2011-06-02 12:58:24 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: 677498    

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.