Revision history [back]

click to hide/show revision 1
initial version

In Heat's design (maybe the Amazon CloudFormation as well), a stack is to be restarted when a service inside the VM has failed certain times during a specified interval. When the stack is restarted, the old instance is deleted. That is the expected behavior.

My understanding is that you are trying to debug the guest OS crash. If that is the case, you need to tweak the HA template a little bit.

For example, in the template, you may find that a file named '/etc/cfn/notify-httpd-restarted'. The content in that file was a script that calls 'cfn-push-stats --watch '. You can delete that line and the following two lines:

<delete this=""> - '/opt/aws/bin/cfn-push-stats --watch ' - {Ref: HttpFailureAlarm} - ' --service-failure <delete the="" lines="" above="">

Then you can use nova to capture a image of the instance when the failures kept showing up.

BTW, I don't think the problem of your instance lies in the kernel. It could be that the httpd service was not installed or configured correctly.

In Heat's design (maybe the Amazon CloudFormation as well), a stack is to be restarted when a service inside the VM has failed certain times during a specified interval. When the stack is restarted, the old instance is deleted. That is the expected behavior.

My understanding is that you are trying to debug the guest OS crash. If that is the case, you need to tweak the HA template a little bit.

For example, in the template, you may find that a file named '/etc/cfn/notify-httpd-restarted'. The content in that file was a script that calls 'cfn-push-stats --watch '. You can delete that line and the following two lines:

<delete this=""> delete this

          - '/opt/aws/bin/cfn-push-stats --watch '
           - {Ref: HttpFailureAlarm}
           - ' --service-failure
<delete the="" lines="" above="">

delete the lines above

Then you can use nova to capture a image of the instance when the failures kept showing up.

BTW, I don't think the problem of your instance lies in the kernel. It could be that the httpd service was not installed or configured correctly.