Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] 4.5 Tagging the EC2 Instances #270

Open
Thr3d opened this issue Feb 25, 2022 · 4 comments
Open

[doc] 4.5 Tagging the EC2 Instances #270

Thr3d opened this issue Feb 25, 2022 · 4 comments
Assignees
Labels

Comments

@Thr3d
Copy link

Thr3d commented Feb 25, 2022

4.5 Tagging the EC2 Instances:

https://documentation.suse.com/sbp/all/html/SLES4SAP-hana-sr-guide-PerfOpt-15_AWS/index.html#id-tagging-the-ec2-instances

Using a capitalized value for the EC2 fence tag will cause the fence operation to fail even if the node's hostname is capitalized.
A note should be added here mentioning the value needs to be lowercase.

Example: pacemaker tag value is SAP15SP2-NODE0 but EC2 stonith agent expects sap15sp2-node1. Updating the tag value to be lowercase resolved this.

Feb 25 21:38:56 SAP15SP2-NODE0 external/ec2(res_AWS_STONITH)[16017]: info: status check for sap15sp2-node1 is
Feb 25 21:38:58 SAP15SP2-NODE0 external/ec2(res_AWS_STONITH)[16031]: info: status check for sap15sp2-node1 is
Feb 25 21:38:59 SAP15SP2-NODE0 external/ec2(res_AWS_STONITH)[16045]: info: status check for sap15sp2-node1 is
Feb 25 21:39:00 SAP15SP2-NODE0 pacemaker-fenced[7641]:  warning: fence_legacy[11256] stderr: [ An error occurred (InvalidInstanceID.Malformed) when calling the DescribeInstances operation: Invalid id: "sap15sp2-node1" ]
Feb 25 21:39:00 SAP15SP2-NODE0 pacemaker-fenced[7641]:  error: Operation 'off' [11256] (call 10 from pacemaker-controld.7645) for host 'SAP15SP2-NODE1' with device 'res_AWS_STONITH' returned: -62 (Timer expired)
Feb 25 21:39:00 SAP15SP2-NODE0 pacemaker-fenced[7641]:  error: Operation 'off' targeting SAP15SP2-NODE1 on SAP15SP2-NODE0 for [email protected]: Timer expired
@chabowski
Copy link
Collaborator

@fmherschel @lpinne could you please have a look at this issue? Thanks very much :-).

@lpinne
Copy link
Contributor

lpinne commented Mar 1, 2022

Hi Thr3d, hi Meike,

we need to discuss who should handle that cloud platform specific requests.

Regards,
Lars

@stephenmogg
Copy link
Contributor

Hi Meike, I just updated the doc and logged a bug for this.

@chabowski
Copy link
Collaborator

Hi Stephen, thank you very much! The changes will be online with the next repo build - this however will only happen somewhen next week. Hope this is okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants