There is no resolution, as the current behavior is expected and is the intended behavior.
However, if the prior behavior of all images being available is desired, see the workaround below to make the necessary changes.
Workaround:
- Take simultaneous snapshots of the vRA appliance(s) before making any changes.
- SSH into a vRA appliance
- Edit the provisioning-service-app pod on the deployment with the following command
kubectl -n prelude edit deploy provisioning-service-app
Note: This step will open the vi editor. Scroll to the following section, or type "/JAVA_OPTS" (without the quotation marks) and hit enter to scroll directly to it.
- name: JAVA_OPTS
value: |-
-Dhttps.proxyHost=$(JAVA_PROXY_HOST)
-Dhttp.proxyHost=$(JAVA_PROXY_HOST)
....
- Add -Dcl.vmtemplate.enable.enumeration=false to the option list.
Note: To edit, move the cursor to the line where you want to make the addition, and press the i key on the keyboard to enter insert mode. Press Enter to new line and type in the line specified.
Note: BE VERY CAREFUL WITH SPACES. DO NOT USE TABS, SPACES ONLY. It must be aligned with other options. An example is provided below:
- name: JAVA_OPTS
value: |-
-Dcl.vmtemplate.enable.enumeration=false
-Dhttps.proxyHost=$(JAVA_PROXY_HOST)
-Dhttp.proxyHost=$(JAVA_PROXY_HOST)
....
- Save the changes, press the escape key on the keyboard, and then save the change by pressing :wq. If you make a mistake you can exit without saving by pressing :q! instead.
Note: Kubernetes will redeploy the pod with new settings enabled.
- Monitor the provisioning-service-app pod restart by running watch kubectl get pods -n prelude within the vRA SSH session. Once the pod is restarted and in a ready state 1/1, go to the next step.
- Login to Cloud Assembly followed by Infrastructure > Connections > Cloud Accounts.
- For each cloud account, re-trigger image enumeration by clicking SYNC IMAGES button.
- After image enumeration completes, check image mappings, you should now see all local subscriber image items.