Request: increase verbosity of pcluster cli when `Importing CDK` times out
- Dominant language
- Python
- Stars
- 888
- Forks
- 314
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
I'm trying to create a cluster using the `pcluster` cli from my local machine
When I have errors in the configuration it responds with the correct errors and FSids that are in my account, but when the configuration of my cluster is correct nothing happens;
```
❯ pcluster create-cluster -n frankfurt-test-2 -c pcluster-example-config.yaml --dryrun true
{
"message": "Request would have succeeded, but DryRun flag is set."
}
```
However, when turning off the Dry-run flag:
```
❯ pcluster create-cluster -n frankfurt-test-2 -c pcluster-reduced.yaml --debug
```
It just keeps hanging on this command. Adding the `--debug` flag does not change anything.
Note that I am using `granted` to gain access to my aws account and that I'm able to deploy resources using terraform and I can u se the aws cli to interact with my resources.
I checked the logs of my pcluster `~/.parallelcluster/pcluster-cli.log` and saw that it was stuck on the following line:
`cdk_builder.py:34:build_cluster_template() - importing CDK.....`
I used `nvm` to switch to a newer version of cdk, and now it runs, but it took me quite a long time to find this specific error.
ParallelCluster version:
3.11.0
- Cluster name:
frankfurt-test-2
- Output of `pcluster describe-cluster` command.
N/A - cluster would not create
- [Optional] Arn of the cluster CloudFormation main stack:
N/A - cluster would not create
**Bug description and how to reproduce:**
I don't get a but, just no feedback at all.
For issues with Slurm scheduler, please attach the following logs:
* From Head node: `/var/log/parallelcluster/clustermgtd`, `/var/log/parallelcluster/clusterstatusmgtd` (if version >= 3.2.0), `/var/log/parallelcluster/slurm_resume.log`, `/var/log/parallelcluster/slurm_suspend.log`, `/var/log/parallelcluster/slurm_fleet_status_manager.log` (if version >= 3.2.0) and`/var/log/slurmctld.log`.
* From Compute node: `/var/log/parallelcluster/computemgtd.log` and `/var/log/slurmd.log`.
Contributor guide
Assessment
This issue has not been assessed yet.