Skip to content

Commit

Permalink
Use latest helpernode commit for ansible error
Browse files Browse the repository at this point in the history
Fixes ocp-power-automation#455

Signed-off-by: Yussuf Shaikh <yussuf.shaikh1@ibm.com>
  • Loading branch information
yussufsh committed Jan 25, 2023
1 parent ef7c787 commit d1c9bb6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

The `ocp4-upi-powervs` [project](https://github.com/ocp-power-automation/ocp4-upi-powervs) provides Terraform based automation code to help with the deployment of OpenShift Container Platform (OCP) 4.x on [IBM® Power Systems™ Virtual Server on IBM Cloud](https://www.ibm.com/cloud/power-virtual-server).

This project leverages the helpernode [ansible playbook](https://github.com/RedHatOfficial/ocp4-helpernode) internally for OCP deployment on IBM Power Systems Virtual Servers (PowerVS).
This project leverages the helpernode [ansible playbook](https://github.com/redhat-cop/ocp4-helpernode) internally for OCP deployment on IBM Power Systems Virtual Servers (PowerVS).

## Before You Start
The [main](https://github.com/ocp-power-automation/ocp4-upi-powervs/tree/master) branch must be used with latest OCP pre-release versions only.

The [main](https://github.com/ocp-power-automation/ocp4-upi-powervs/tree/master) branch must be used with latest OCP pre-release versions only.
Ensure you checkout the correct `release-VERSION` branch depending on the version (4.5, 4.6 ...) of RedHat OpenShift you want to install:

For example to use OCP 4.8 perform the following
```
export VERSION=4.8
Expand Down
6 changes: 3 additions & 3 deletions docs/var.tfvars-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ In order to retrieve the PowerVS region, zone and instance specific details plea
| syd | syd04 |
| sao | sao01 |
| tor | tor01 |
| tok | tok04 |
| tok | tok04 |
| us-east | us-east |

NOTE: us-east is Washington, DC datacenter.

Tieing all these, the values to be used will be as shown below:
Expand Down Expand Up @@ -267,7 +267,7 @@ release_image_override = ""

These variables specify the ansible playbooks that are used for OpenShift install and post-install customizations.
```
helpernode_repo = "https://github.com/RedHatOfficial/ocp4-helpernode"
helpernode_repo = "https://github.com/redhat-cop/ocp4-helpernode"
helpernode_tag = "5eab3db53976bb16be582f2edc2de02f7510050d"
install_playbook_repo = "https://github.com/ocp-power-automation/ocp4-playbooks"
install_playbook_tag = "02a598faa332aa2c3d53e8edd0e840440ff74bd5"
Expand Down
6 changes: 3 additions & 3 deletions modules/5_install/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ variable "local_registry_image" {}
variable "ocp_release_tag" {}
variable "ocp_release_name" {}

variable "helpernode_repo" { default = "https://github.com/RedHatOfficial/ocp4-helpernode" }
variable "helpernode_tag" { default = "master" }
variable "helpernode_repo" { default = "https://github.com/redhat-cop/ocp4-helpernode" }
variable "helpernode_tag" { default = "main" }
variable "install_playbook_repo" { default = "https://github.com/ocp-power-automation/ocp4-playbooks" }
variable "install_playbook_tag" { default = "master" }
variable "install_playbook_tag" { default = "main" }

variable "storage_type" {}
variable "log_level" {}
Expand Down
4 changes: 2 additions & 2 deletions var.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ worker = { memory = "32", processors = "0.5", "count" = 2 }
rhel_image_name = "rhel-8.3"
rhcos_image_name = "rhcos-4.6"

### Provide these parameters if RHCOS image needs to be imported from public bucket of cloud object storage to PVS.
### Provide these parameters if RHCOS image needs to be imported from public bucket of cloud object storage to PVS.
### When this is provided, data provided through parameter "rhcos_image_name" will be ignored.
rhcos_import_image = false # true/false (default=false).
rhcos_import_image_filename = "rhcos-410-84-202201251004-0-ppc64le-powervs.ova.gz"
Expand Down Expand Up @@ -74,7 +74,7 @@ use_zone_info_for_names = true # If set it to false, the zone info would not be
#release_image_override = ""


#helpernode_repo = "https://github.com/RedHatOfficial/ocp4-helpernode"
#helpernode_repo = "https://github.com/redhat-cop/ocp4-helpernode"
#helpernode_tag = ""
#install_playbook_repo = "https://github.com/ocp-power-automation/ocp4-playbooks"
#install_playbook_tag = ""
Expand Down
6 changes: 3 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -289,14 +289,14 @@ variable "installer_log_level" {
variable "helpernode_repo" {
type = string
description = "Set the repo URL for using ocp4-helpernode"
default = "https://github.com/RedHatOfficial/ocp4-helpernode"
default = "https://github.com/redhat-cop/ocp4-helpernode"
# Repo for running ocp4 installations steps.
}

variable "helpernode_tag" {
type = string
description = "Set the branch/tag name or commit# for using ocp4-helpernode repo"
default = "fba129fe20682a466c62a632b0d9a5a863162bcf"
default = "adb1102f64b2f25a8a1b44a96c414f293d72d3fc"
# Checkout level for var.helpernode_repo which is used for setting up services required on bastion node
}

Expand Down Expand Up @@ -624,7 +624,7 @@ variable "csi_driver_version" {
}

################################################################
# Image upload variables (used only for uploading RHCOS image
# Image upload variables (used only for uploading RHCOS image
# from cloud object storage to PowerVS catalog)
################################################################
variable "rhcos_import_image" {
Expand Down

0 comments on commit d1c9bb6

Please sign in to comment.