
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
A comprehensive toolkit for managing and upgrading Red Hat OpenShift AI (RHOAI) installations with parallel installation support.
rhoshift/
āāā rhoshift/ # Main package directory
ā āāā __init__.py
ā āāā main.py # CLI entry point
ā āāā cli/ # Command-line interface
ā ā āāā __init__.py
ā ā āāā args.py # Argument parsing
ā ā āāā commands.py # Command implementations
ā āāā logger/ # Logging utilities
ā ā āāā __init__.py
ā ā āāā logger.py # Logging configuration
ā āāā utils/ # Core utilities
ā āāā __init__.py
ā āāā constants.py # Constants and configurations
ā āāā operator.py # Operator management
ā āāā utils.py # Utility functions
āāā run_upgrade_matrix.sh # Upgrade matrix execution script
āāā upgrade_matrix_usage.md # Upgrade matrix documentation
āāā pyproject.toml # Project dependencies and configuration
āāā README.md # This document
/tmp/rhoshift.log
)git clone https://github.com/mwaykole/O.git
cd O
pip install -e .
rhoshift --help
# Install single operator
rhoshift --serverless
# Install multiple operators
rhoshift --serverless --servicemesh
# Install RHOAI with raw configuration
rhoshift --rhoai --rhoai-channel=<channel> --rhoai-image=<image> --raw=True
# Install RHOAI with Serverless configuration
rhoshift --rhoai --rhoai-channel=<channel> --rhoai-image=<image> --raw=False --all
# Install all operators
rhoshift --all
# Create DSC and DSCI with RHOAI operator installation
rhoshift --rhoai --deploy-rhoai-resources
# Clean up all operators
rhoshift --cleanup
# Custom oc binary path
rhoshift --serverless --oc-binary /path/to/oc
# Custom timeout (seconds)
rhoshift --all --timeout 900
# Verbose output
rhoshift --all --verbose
To run the upgrade matrix tests, you can use either method:
./run_upgrade_matrix.sh [options] <current_version> <current_channel> <new_version> <new_channel>
run-upgrade-matrix [options] <current_version> <current_channel> <new_version> <new_channel>
Options:
-s, --scenario
: Run specific scenario(s) (serverless, rawdeployment, serverless,rawdeployment)--skip-cleanup
: Skip cleanup before each scenario--from-image
: Custom source image path--to-image
: Custom target image pathExample:
# Using shell script
./run_upgrade_matrix.sh -s serverless -s rawdeployment 2.10 stable 2.12 stable
# Using Python command
run-upgrade-matrix -s serverless -s rawdeployment 2.10 stable 2.12 stable
The toolkit uses a comprehensive logging system:
/tmp/rhoshift.log
To view logs:
tail -f /tmp/rhoshift.log
LOG_FILE_LEVEL
: Set file logging level (default: DEBUG)LOG_CONSOLE_LEVEL
: Set console logging level (default: INFO)--oc-binary
: Path to oc CLI (default: oc)--retries
: Max retry attempts (default: 3)--retry-delay
: Delay between retries in seconds (default: 10)--timeout
: Command timeout in seconds (default: 300)pytest tests/
Operator Installation Fails
oc whoami
oc get catalogsource
tail -f /tmp/rhoshift.log
Permission Issues
Timeout Errors
--timeout 900
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
RHOAI tool kit for managing and upgrading RHOAI
We found that rhoshift demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.