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
startup-scripts don't seem to work for Ubuntu 16.04 image #342
Comments
/cc @OddBloke Thanks for the report - this appears to be an issue with the latest image release. As we work with Canonical to fix the issue, I'd suggest using the ubuntu-1604-xenial-v20160921 image. |
The problematic image is rolled back so the issue should be (mostly) resolved. |
Hey there, Unfortunately this doesn't seem to be resolved (or I'm experiencing a similar issue). Here's my bug report on the old / other bug tracker: https://code.google.com/p/google-compute-engine/issues/detail?id=426 PS: I was able to reproduce the problem today. @illfelder |
Oh I see, the Cloud Console says "amd64 xenial image built on 2016-09-21" so that obviously does not include the fix you mentioned above. When are images expected to be updated in Cloud Console? |
/cc @gaughen |
The existing image that you are running should work out of the box, however the issue presents after updating packages. Canonical is pushing package updates to close off the issue (followed by new images). |
Any update on this issue? One and a half year passed and it's still not working for me. |
Hi @Kamforka, could you give us an example gcloud command line that reproduces the problem you are seeing? |
Hi @OddBloke this is my way of doing things: I've set up a metadata for my Ubuntu 16.04 LTS compute engine instance as:
I restarted the VM, did ssh into in through the web console. And noted that the mount command specified in the startup wasn't executed. Also tried to execute the startup-script manually like: |
@OddBloke |
@Kamforka I'd suggest opening a separate issue for that. :-) @illfelder I think we can close this out now? |
When running manually, add the debug flag to your command so you can see the script output: |
We are facing the same problem. We upgraded from Ubuntu 14.04 to Ubuntu 16.04 (with When we run manually the 14.04 version: When we run manually the 16.04 version: How to solve this? |
@flaviokr Could you run |
We installed |
It looks like your VM is running a very old version of the guest environment. It's possible you're running into an issue we fixed in a guest environment change that you haven't yet updated to. We have instructions on how to update here: https://cloud.google.com/compute/docs/instances/linux-guest-environment. Let me know if you run into any problems. |
problem exists with ubuntu18
|
Version: ubuntu-1604-xenial-v20160922
Tried using the startup-script option as well as via Google Storage.
The text was updated successfully, but these errors were encountered: