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

[Draft] Add flag for custom user_data for nodes. Resolves #18. #19

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jlamillan
Copy link
Collaborator

This PR adds support for --oci-node-user-data-contents. Resolves #18

@jlamillan
Copy link
Collaborator Author

Provisioning new RKE/RKE2 clusters is currently failing when trying to use this feature:

rancher-78c78459c9-hwgkj rancher Doing /etc/rancher/ssl
rancher-78c78459c9-hwgkj rancher docker-machine-driver-oci
rancher-78c78459c9-hwgkj rancher docker-machine-driver-oci: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
rancher-78c78459c9-hwgkj rancher Trying to access option  which does not exist
rancher-78c78459c9-hwgkj rancher THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
rancher-78c78459c9-hwgkj rancher Type assertion did not go smoothly to string for key 
rancher-78c78459c9-hwgkj rancher [cmdCreateInner] could not alter cloud-init file: open IyEvYmluL3NoCnN1ZG8gL3Vzci9zYmluL2V0aHRvb2wgLS1vZmZsb2FkICQoL3Vzci9zYmluL2lwIC1vIC00IHJvdXRlIHNob3cgdG8gZGVmYXVsdCB8IGF3ayAne3ByaW50ICQ1fScpIHR4IG9mZiAgfCB0cnVlCnN1ZG8gaXB0YWJsZXMgLUYgfCB0cnVlCnN1ZG8gc2V0ZW5mb3JjZSAwIHwgdHJ1ZQpzdWRvIHN5c3RlbWN0bCBzdG9wIGZpcmV3YWxsZC5zZXJ2aWNlIHwgdHJ1ZQpzdWRvIHN5c3RlbWN0bCBkaXNhYmxlIGZpcmV3YWxsZC5zZXJ2aWNlIHwgdHJ1ZQpzdWRvIHN5c2N0bCAtdyB2bS5tYXhfbWFwX2NvdW50PTI2MjE0NCB8IHRydWUKc3VkbyBncm91cGFkZCBkb2NrZXIgfCB0cnVlCnN1ZG8gdXNlcm1vZCAtYUcgZG9ja2VyIG9wYyB8IHRydWUKc3VkbyB0b3VjaCAvdG1wL0plc3NlCg==: file name too long, waiting for agent to check in and apply initial plan

@jlamillan jlamillan marked this pull request as draft October 10, 2022 22:48
@jlamillan jlamillan changed the title Add flag for custom user_data for nodes. Resolves #18. [Draft] Add flag for custom user_data for nodes. Resolves #18. Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add flag for custom cloud-init / user_data for RKE nodes
1 participant