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

Scripted user-data is not saved (although logs say otherwise) nor executed #2420

albertdb opened this Issue Jul 20, 2018 · 3 comments


None yet
3 participants

albertdb commented Jul 20, 2018

RancherOS Version: 1.3.0

Where are you running RancherOS? openstack

Steps to reproduce:

  1. Launch instance with a shell script as user-data (containing apart from shebang echo whatever > /home/rancher/expectedFile). Check Configuration drive (required for OpenStack).
  2. SSH instance.
  3. Check /home/rancher/expectedFile. Doesn't exist.
  4. Review /var/log/boot/cloud-init-save.log. Will contain line Writing to /var/lib/rancher/conf/cloud-config-script.
  5. Check /var/lib/rancher/conf/cloud-config-script. Doesn't exist.

This in combination with #2415 makes the issue impossible to circumvent.


This comment has been minimized.


niusmallnan commented Jul 31, 2018

This is indeed a bug, hidden for so long.


This comment has been minimized.

rootwuj commented Aug 28, 2018

Tested with RancherOS version- v1.4.1-rc2 with AWS.
This version of user data has been written and /var/lib/rancher/conf/cloud-config-script exists.

@rootwuj rootwuj closed this Aug 28, 2018

@niusmallnan niusmallnan added BACKPORTED and removed BACKPORT labels Sep 16, 2018


This comment has been minimized.


niusmallnan commented Sep 19, 2018

Backported to v1.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment