Why is gcloud failing to access all Google APIs and printing out HTML inside a Compute Engine VM? -


when ssh server, running gcloud compute instances list should list instances instead see following in terminal:

<html lang=en>   <meta charset=utf-8>   <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">   <title>error 403 (forbidden)!!1</title>   <style>     *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{ margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images /errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-de coration:none}a img{border:0}@media screen , (max-width:772px){body{background:none;margin-top:0;max-width:none;pad ding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-r epeat;margin-left:-5px}@media screen , (min-resolution:192dpi){#logo{background:url(//www.google.com/images/br anding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/ images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media screen , (-webkit-min-device-pixel-rati o:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-we bkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}   </style>   <a href=//www.google.com/><span id=logo aria-label=google></span></a>   <p><b>403.</b> <ins>that’s error.</ins>   <p>your client not have permission url <code>/0.1/meta-data/service-accounts/default/acquire?scope=http s%3a%2f%2fwww.googleapis.com%2fauth%2fuserinfo.email%20https%3a%2f%2fwww.googleapis.com%2fauth%2fcloud-platform%20htt ps%3a%2f%2fwww.googleapis.com%2fauth%2fappengine.admin%20https%3a%2f%2fwww.googleapis.com%2fauth%2fcompute</code> fro m server.  <ins>that’s know.</ins> 

i have correct scopes added machine should work. it's peculiar command line application tool printing out html (´・ω・`)

trying access other google api vm fails.

it seems gcloud trying authenticate, failing so, because service account on vm damaged in way. error should cleverer in such circumstance. relay teams responsible tool.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -