Inaccessible Jenkins Server #29
-
This message was extracted from a discussion that originally took place in Gruntwork Community Slack. Names and URLs have been removed where appropriate From a customer We've built Jenkins AMI using terragrunt module with ref |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
From a grunt Hi person, I will be investigating this today. I am not sure what is causing this behavior off the top of my head, and will require some digging and experimentation to identify the problem. I will provide an update on the investigation by this afternoon. |
Beta Was this translation helpful? Give feedback.
-
From a grunt Ok after investigation, what person said is correct. The main issue here is that you have Because the boot script fails to start up You can workaround this by disabling
|
Beta Was this translation helpful? Give feedback.
From a grunt
Ok after investigation, what person said is correct. The main issue here is that you have
ssh-grunt
configured for the server, but it looks like your environment is not setup to support it.Because the boot script fails to start up
ssh-grunt
, everything after that step fails, including mounting the data volume. The reason directly starting the jenkins service works is because the default location for the jenkins volume is/var/lib
, which exists in the file system. When you callrun-jenkins
, you are configuring the jenkins data volume to be/jenkins
, which does not exist by default - this materializes when the boot script runs attach_volume, which isn’t called if it halts when…