21 Apr 2023 05:15 PM - last edited on 08 May 2023 12:36 PM by MaciejNeumann
Hi, I'm trying to run download using monaco 2.0.0 but it gets hung after the message "INFO Resolving dependencies between configurations". This generates a really high CPU load on the server this command is run but doesnt progress. Didn't had any issue when running monaco 1.8.9 on the same server to download. Tried using both with a manifest.yaml file and also by specifying the url option with the same result. Any help is appreciated.
Solved! Go to Solution.
21 Apr 2023 05:42 PM
Hi,
Are you following this?
Could you paste which command are you using to download configuration?
Best regards
21 Apr 2023 07:01 PM - last edited on 24 Apr 2023 07:54 AM by MaciejNeumann
I'm using monaco version 2(not 1.8.9) for linux. Running the following command(same result whether I export NEW_CLI or not)
monaco download --url https://{environmentid}.live.dynatrace.com --token dynToken
and I export my token as dynToken.
(With monaco 1.8.9 I can access and download using the same token. However I was advised to use version 2 by Dyn Support for deployment testings. So trying to get the download working first with v2)
Updated:
I can run the same command successfully if I specify "--only-api" but get stuck if I don't specify or use "--only-settings". However with --only-api option it doesnt download all the configuration in Dynatrace.
01 May 2023 10:18 AM
Hi,
I am using Monaco version 1.8.9 and normally create a "environments.yaml":
test:
- name: "test"
- env-url: "https://{environmentid}.live.dynatrace.com"
- env-token-name: "TEST_TOKEN"
I set environments variables (in Windows):
And I execute command “monaco download --environments=environments.yaml”. It will download all APIs configuration to that environment.
If you want only a specific environment defined in YAML file or a specific API, you can use these parameters "monaco download -e environments.yaml -s test --specific-api synthetic-monitor"
Best regards