'Failed to start Execute cloud user/final scripts'. : Google compute instance hitting error when running...
How did Monica know how to operate Carol's "designer"?
Can a Bard use an arcane focus?
Giant Toughroad SLR 2 for 200 miles in two days, will it make it?
Is there enough fresh water in the world to eradicate the drinking water crisis?
A social experiment. What is the worst that can happen?
Perfect riffle shuffles
What was required to accept "troll"?
What will be the benefits of Brexit?
Could solar power be utilized and substitute coal in the 19th century?
Can the harmonic series explain the origin of the major scale?
Can I rely on these GitHub repository files?
Organic chemistry Iodoform Reaction
Installing PowerShell on 32-bit Kali OS fails
Partial sums of primes
Simple image editor tool to draw a simple box/rectangle in an existing image
How to check participants in at events?
Why is delta-v is the most useful quantity for planning space travel?
Is there an wasy way to program in Tikz something like the one in the image?
Can a Gentile theist be saved?
I2C signal and power over long range (10meter cable)
Identify a stage play about a VR experience in which participants are encouraged to simulate performing horrific activities
Can I Retrieve Email Addresses from BCC?
Visiting the UK as unmarried couple
Should my PhD thesis be submitted under my legal name?
'Failed to start Execute cloud user/final scripts'. : Google compute instance hitting error when running cloud user/final scripts
not sure if this is appropriate for this site but thought it could be a good place to start.
Question
How can I connect to a Google instance if I have no SSH keys and google user/final scripts will not run?
Problem Context
Google compute instance running Ubuntu 16.04 LTS.
I changed it's base version of python in order to install a python package that was very finicky with python's 'setup-tools'.
My theory is that this change broke the start up of google cloud scripts, which was the only way I had in past connected to the instance.
Problem Details
We can verify the server is on, as it is serving bad nginx networks here: http://35.201.199.224/
I have a server log I can share here if anyone is willing to help me read it here: https://pastebin.com/DF5wsLhH
The part I think is the most important is this snippet
Mar 21 17:21:50 instance-1 systemd[1]: Started Google Compute Engine Network Daemon.
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: Traceback (most recent call last):
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/bin/google_network_daemon", line 9, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: load_entry_point('google-compute-engine==2.8.4', 'console_scripts', 'google_network_daemon')()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return get_distribution(dist).load_entry_point(group, name)
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return ep.load()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return self.resolve()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: module = __import__(self.module_name, fromlist=['__name__'], level=0)
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/networking/network_daemon.py", line 26, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: from google_compute_engine import config_manager
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/config_manager.py", line 23, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: from google_compute_engine.compat import parser
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/compat.py", line 23, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: import distro
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: ModuleNotFoundError: No module named 'distro'
I think it cannot find this module as it is looking in the wrong python version.
Conclusion
I do understand that I was inexcusably lazy connecting only by using Googles 'Connect By SSH button' but I assumed naively that the arguably best commercial developers in the western world would have everything under control from me.
google-compute-engine
New contributor
add a comment |
not sure if this is appropriate for this site but thought it could be a good place to start.
Question
How can I connect to a Google instance if I have no SSH keys and google user/final scripts will not run?
Problem Context
Google compute instance running Ubuntu 16.04 LTS.
I changed it's base version of python in order to install a python package that was very finicky with python's 'setup-tools'.
My theory is that this change broke the start up of google cloud scripts, which was the only way I had in past connected to the instance.
Problem Details
We can verify the server is on, as it is serving bad nginx networks here: http://35.201.199.224/
I have a server log I can share here if anyone is willing to help me read it here: https://pastebin.com/DF5wsLhH
The part I think is the most important is this snippet
Mar 21 17:21:50 instance-1 systemd[1]: Started Google Compute Engine Network Daemon.
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: Traceback (most recent call last):
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/bin/google_network_daemon", line 9, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: load_entry_point('google-compute-engine==2.8.4', 'console_scripts', 'google_network_daemon')()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return get_distribution(dist).load_entry_point(group, name)
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return ep.load()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return self.resolve()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: module = __import__(self.module_name, fromlist=['__name__'], level=0)
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/networking/network_daemon.py", line 26, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: from google_compute_engine import config_manager
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/config_manager.py", line 23, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: from google_compute_engine.compat import parser
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/compat.py", line 23, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: import distro
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: ModuleNotFoundError: No module named 'distro'
I think it cannot find this module as it is looking in the wrong python version.
Conclusion
I do understand that I was inexcusably lazy connecting only by using Googles 'Connect By SSH button' but I assumed naively that the arguably best commercial developers in the western world would have everything under control from me.
google-compute-engine
New contributor
add a comment |
not sure if this is appropriate for this site but thought it could be a good place to start.
Question
How can I connect to a Google instance if I have no SSH keys and google user/final scripts will not run?
Problem Context
Google compute instance running Ubuntu 16.04 LTS.
I changed it's base version of python in order to install a python package that was very finicky with python's 'setup-tools'.
My theory is that this change broke the start up of google cloud scripts, which was the only way I had in past connected to the instance.
Problem Details
We can verify the server is on, as it is serving bad nginx networks here: http://35.201.199.224/
I have a server log I can share here if anyone is willing to help me read it here: https://pastebin.com/DF5wsLhH
The part I think is the most important is this snippet
Mar 21 17:21:50 instance-1 systemd[1]: Started Google Compute Engine Network Daemon.
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: Traceback (most recent call last):
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/bin/google_network_daemon", line 9, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: load_entry_point('google-compute-engine==2.8.4', 'console_scripts', 'google_network_daemon')()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return get_distribution(dist).load_entry_point(group, name)
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return ep.load()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return self.resolve()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: module = __import__(self.module_name, fromlist=['__name__'], level=0)
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/networking/network_daemon.py", line 26, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: from google_compute_engine import config_manager
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/config_manager.py", line 23, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: from google_compute_engine.compat import parser
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/compat.py", line 23, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: import distro
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: ModuleNotFoundError: No module named 'distro'
I think it cannot find this module as it is looking in the wrong python version.
Conclusion
I do understand that I was inexcusably lazy connecting only by using Googles 'Connect By SSH button' but I assumed naively that the arguably best commercial developers in the western world would have everything under control from me.
google-compute-engine
New contributor
not sure if this is appropriate for this site but thought it could be a good place to start.
Question
How can I connect to a Google instance if I have no SSH keys and google user/final scripts will not run?
Problem Context
Google compute instance running Ubuntu 16.04 LTS.
I changed it's base version of python in order to install a python package that was very finicky with python's 'setup-tools'.
My theory is that this change broke the start up of google cloud scripts, which was the only way I had in past connected to the instance.
Problem Details
We can verify the server is on, as it is serving bad nginx networks here: http://35.201.199.224/
I have a server log I can share here if anyone is willing to help me read it here: https://pastebin.com/DF5wsLhH
The part I think is the most important is this snippet
Mar 21 17:21:50 instance-1 systemd[1]: Started Google Compute Engine Network Daemon.
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: Traceback (most recent call last):
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/bin/google_network_daemon", line 9, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: load_entry_point('google-compute-engine==2.8.4', 'console_scripts', 'google_network_daemon')()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return get_distribution(dist).load_entry_point(group, name)
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return ep.load()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: return self.resolve()
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: module = __import__(self.module_name, fromlist=['__name__'], level=0)
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/networking/network_daemon.py", line 26, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: from google_compute_engine import config_manager
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/config_manager.py", line 23, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: from google_compute_engine.compat import parser
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: File "/usr/lib/python3/dist-packages/google_compute_engine/compat.py", line 23, in <module>
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: import distro
Mar 21 17:21:51 instance-1 google_network_daemon[1340]: ModuleNotFoundError: No module named 'distro'
I think it cannot find this module as it is looking in the wrong python version.
Conclusion
I do understand that I was inexcusably lazy connecting only by using Googles 'Connect By SSH button' but I assumed naively that the arguably best commercial developers in the western world would have everything under control from me.
google-compute-engine
google-compute-engine
New contributor
New contributor
New contributor
asked 1 min ago
Jesse Reza KhorasaneeJesse Reza Khorasanee
1012
1012
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Jesse Reza Khorasanee is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f959947%2ffailed-to-start-execute-cloud-user-final-scripts-google-compute-instance-hi%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Jesse Reza Khorasanee is a new contributor. Be nice, and check out our Code of Conduct.
Jesse Reza Khorasanee is a new contributor. Be nice, and check out our Code of Conduct.
Jesse Reza Khorasanee is a new contributor. Be nice, and check out our Code of Conduct.
Jesse Reza Khorasanee is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f959947%2ffailed-to-start-execute-cloud-user-final-scripts-google-compute-instance-hi%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown