Bug 526353
Summary: | when estimating required tablesize, logging-in as oracle should be suggested | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Jan Hutař <jhutar> |
Component: | Upgrades | Assignee: | Milan Zázrivec <mzazrivec> |
Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 530 | CC: | cperry |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-08-26 12:08:07 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: | 608757 |
Description
Jan Hutař
2009-09-29 23:00:21 UTC
Logging in as oracle to execute satellite-temp_tbs-estimate.sql should not be needed because: 1. The script only counts rows of one table to determine TEMP_TBS size estimates for which you don't need sysdba privileges 2. Running it under oracle would mean oracle-server-*'s sqlplus would be used, which is what we don't want. We want to user instantclient's sqlplus. 3. The script needs to work with both embedded and external databases, which means we cannot rely on how oracle user is setup. Besides, the fact that bash complains about /opt/oracle/bin/sqlplus leads me to believe that what in fact happened was: 1. you ran sqlplus on the satellite before the upgrade (which used oracle 9.x) 2. you upgraded to satellite 5.3, which has sqlplus in a different location, though bash would still like to execute /opt/oracle/bin/sqlplus (this is how it remembers it). |