Open nyh opened 2 years ago
By the way, I confirmed that the problem that caused this failure is the instance type - if I try the default instance type (i3.2xlarge), it works correctly.
That's another issue - why the instance type that I wanted doesn't work (maybe it just doesn't work with the default AMI), but in this issue I'm asking more about how a beginner can figure out from the error message that: 1. the cluster is still alive, 2. what its IP addresses are, and 3. how to get the real error message about the failed packe.
I'm running scylla stress orchestrator for the first time, following the instructions in https://github.com/scylladb/scylla-stress-orchestrator/wiki/Welcome-to-the-Scylla-Stress-Orchestrator - I did exactly what's written there except one change to variables.tf - I changed cluster_instance_type to "i4i.xlarge" (because I was told that this instance type is more cost-effective). I don't know if this change caused the problem I had next:
Then I ran
provision_terraform
, and there was a lot of seemingly-successful output as things were being done, until, finally, an error:As a beginner, I found myself baffled what this means. I see the message "job for scylla-server.service failed because the control process exited with error code. See "systemctl status scylla-server.service" and "journalctl -xe" for details." but how can I do this? I don't know what is the IP addresses of the cluster just created...
Is the cluster still alive? I see there is a command "provision_terraform" and "unprovision_terraform", but how do I check what is currently provisioned? I wish that instead of spearate commands provision_terraform/unprovision_terraform we had one command, e.g., "sso", with the second parameter saying what to do - provision, unprovision, list, etc.
By the way, the "unprovision_terraform" worked, so clearly the cluster was still alive.