The NPS provides modular commands for performing the individual operations:
Prerequisites
Ensure that the VIM state is in STORAGE_CONFIGURED state.
Procedure
-
Run the following NPS RHOCP command configures storage for image-registry
nps deploy -s rhocp -a configure-image-registry
-
Check the status using the following command:
- If the state is displayed as IMAGE_REGISTRY_CONFIGURED, Storage is successfully configured for image registry
- If the state is displayed IMAGE_REGISTRY_CONFIGURE_FAILED, see
Image registry configuration failed.
Wait until the status is displayed as IMAGE_REGISTRY_CONFIGURED or IMAGE_REGISTRY_CONFIGURE_FAILED