om -u <user> -p <password> -t <ops-manager-url-endpoint> -k staged-config --product-name cf > pas-staged-config.yml
Note:
pas-staged-config.ym
l and look for "tcp_router" under the resource-config section. You will see something similar to this:om -u <user> -p <password> -t <ops-manager-url-endpoint> -k configure-product --config pas-staged-config.yml6. The above command will produce the following error:
staged-config
command, a GET request is made to the Ops Manager API across the following endpoint /api/v0/staged/products/:product_guid/jobs/:job_guid/resource_config
. Next, when you run the configure-product
command, a PUT request was made to put the response back or start configuring the PAS tile.configurable
" is checked in tile metadata for the TCP Router job. The following snippet shows this metadata:configurable
" is set to "false
" in this case, you are restricted from modifying this value and hence the error is produced.
The "Persistent Disk Type" on the TCP Router job should be configurable both from the Ops Manager UI and the Ops Manager CLI.
Engineering is working towards a patch where the expected behavior can be achieved. The current workaround is to configure the PAS tile manually through the UI and skip the Ops Manager CLI configure-product step when trying to configure PAS using the Ops Manager CLI or an automation task.
Note: If you are trying to update the value of the tcp_router size_mb
property in pas-staged-config.yml
from a custom value, such as "2048" to automatic, you will be able to get past this error but at the same time you will get a behavior that is not desired.
For example:
configure-product
now, an error will be thrown.configure-product
command again. The command is successful this time, but will end up changing the value to "Automatic: 1GB". This should be visible in the PAS tile UI itself after successful execution of the configure-product
command, which is not desirable if you are planning to keep the size at 2GB.