Environment
- YugabyteDB - v2.16.x
Issue
-
When the universe is upgraded from 2.14+ to 2.16+, the upgrade fails with below errors.
Failed to execute task {"sleepAfterMasterRestartMillis":180000,"sleepAfterTServerRestartMillis":
180000,"nodeExporterUser":"prometheus","deviceInfo":{"volumeSize":200,"numVolumes":1,
"storageClass":"standard","mountPoints":"/yb01","storageType":"Scratch"},"universeUUID":
"12ce8150-8a5e-4a5b-a9d4-ff35c509d90e","enableYbc":true,"ybcSoftwareVersion":"1.0.0-b16",
"installYbc":true,"ybcInstalled":false,"encryptionAtRestConfig":{"encryptionAtRestEnabled":
false,"opType":"UNDEFINED","type":"DATA_KEY"},"communicationPorts":{"ma..., hit error: null.
Resolution
Overview
- v2.16.2 needs YB-controller (YBC) packages. We need to ensure that YBC bits are present in the right location.
-
To do this, we can run the below commands to get the right files in right location
$ mkdir -p /opt/yugabyte/ybc/release $ mkdir -p /opt/yugabyte/ybc/releases $ cp /opt/yugabyte/yugaware/ybc/* /opt/yugabyte/ybc/release/
After performing the above steps, click on the refresh button in the releases page.
- Doing this would create the required directory structure in
/opt/yugabyte/ybc/releases
- Retrying the universe upgrade will then complete successfully.
Comments
0 comments
Please sign in to leave a comment.