Configuring, Using, and Auditing VM Service Accounts and Scopes Reviews
Loading...
No results found.

Apply your skills in Google Cloud console

Configuring, Using, and Auditing VM Service Accounts and Scopes Reviews

15191 reviews

It doesn't work, I've done all the steps but it doesn't work, it gives me a score of 70. And I get this error: Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/credentials.py", line 115, in refresh self._retrieve_info(request) File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/credentials.py", line 89, in _retrieve_info request, service_account=self._service_account_email File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/_metadata.py", line 287, in get_service_account_info return get(request, path, params={"recursive": "true"}) File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/_metadata.py", line 240, in get response, google.auth.exceptions.TransportError: ('Failed to retrieve http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/bigquery-qwiklab@qwiklabs-gcp-02-94b0daac9dea.iam.gserviceaccount.com/?recursive=true from the Google Compute Engine metadata service. Status: 404 Response:\nb\'<!DOCTYPE html>\\n<html lang=en>\\n <meta charset=utf-8>\\n <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">\\n <title>Error 404 (Not Found)!!1</title>\\n <style>\\n *{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-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/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 only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\\n </style>\\n <a href=//www.google.com/><span id=logo aria-label=Google></span></a>\\n <p><b>404.</b> <ins>That\\xe2\\x80\\x99s an error.</ins>\\n <p>The requested URL <code>/computeMetadata/v1/instance/service-accounts/bigquery-qwiklab@qwiklabs-gcp-02-94b0daac9dea.iam.gserviceaccount.com/?recursive=true</code> was not found on this server. <ins>That\\xe2\\x80\\x99s all we know.</ins>\\n\'', <google.auth.transport.requests._Response object at 0x7ff7583805f8>) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "query.py", line 20, in <module> print(client.query(query).to_dataframe()) File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/client.py", line 3418, in query job_retry, File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/_job_helpers.py", line 114, in query_jobs_insert future = do_query() File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/_job_helpers.py", line 91, in do_query query_job._begin(retry=retry, timeout=timeout) File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/job/query.py", line 1310, in _begin super(QueryJob, self)._begin(client=client, retry=retry, timeout=timeout) File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/job/base.py", line 701, in _begin timeout=timeout, File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/client.py", line 816, in _call_api return call() File "/usr/local/lib/python3.7/dist-packages/google/api_core/retry.py", line 354, in retry_wrapped_func on_error=on_error, File "/usr/local/lib/python3.7/dist-packages/google/api_core/retry.py", line 191, in retry_target return target() File "/usr/local/lib/python3.7/dist-packages/google/cloud/_http/__init__.py", line 490, in api_request extra_api_info=extra_api_info, File "/usr/local/lib/python3.7/dist-packages/google/cloud/_http/__init__.py", line 342, in _make_request method, url, headers, data, target_object, timeout=timeout File "/usr/local/lib/python3.7/dist-packages/google/cloud/_http/__init__.py", line 380, in _do_request url=url, method=method, headers=headers, data=data, timeout=timeout File "/usr/local/lib/python3.7/dist-packages/google/auth/transport/requests.py", line 545, in request self.credentials.before_request(auth_request, method, url, request_headers) File "/usr/local/lib/python3.7/dist-packages/google/auth/credentials.py", line 156, in before_request self.refresh(request) File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/credentials.py", line 121, in refresh six.raise_from(new_exc, caught_exc) File "<string>", line 3, in raise_from google.auth.exceptions.RefreshError: ('Failed to retrieve http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/bigquery-qwiklab@qwiklabs-gcp-02-94b0daac9dea.iam.gserviceaccount.com/?recursive=true from the Google Compute Engine metadata service. Status: 404 Response:\nb\'<!DOCTYPE html>\\n<html lang=en>\\n <meta charset=utf-8>\\n <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">\\n <title>Error 404 (Not Found)!!1</title>\\n <style>\\n *{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-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/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 only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\\n </style>\\n <a href=//www.google.com/><span id=logo aria-label=Google></span></a>\\n <p><b>404.</b> <ins>That\\xe2\\x80\\x99s an error.</ins>\\n <p>The requested URL <code>/computeMetadata/v1/instance/service-accounts/bigquery-qwiklab@qwiklabs-gcp-02-94b0daac9dea.iam.gserviceaccount.com/?recursive=true</code> was not found on this server. <ins>That\\xe2\\x80\\x99s all we know.</ins>\\n\'', <google.auth.transport.requests._Response object at 0x7ff7583805f8>)

VICTOR J. · Reviewed حوالي سنتان ago

Jude C. · Reviewed حوالي سنتان ago

VICTOR J. · Reviewed حوالي سنتان ago

Jai G. · Reviewed حوالي سنتان ago

Suman Kumar M. · Reviewed حوالي سنتان ago

Ibrahim Y. · Reviewed حوالي سنتان ago

Anubhav R. · Reviewed حوالي سنتان ago

done

Sushanta D. · Reviewed حوالي سنتان ago

Jyoti K. · Reviewed حوالي سنتان ago

Daniel G. · Reviewed حوالي سنتان ago

Abdul S. · Reviewed حوالي سنتان ago

15 g. · Reviewed حوالي سنتان ago

10 g. · Reviewed حوالي سنتان ago

04 g. · Reviewed حوالي سنتان ago

otis t. · Reviewed حوالي سنتان ago

维 哲. · Reviewed حوالي سنتان ago

Yaakov E. · Reviewed حوالي سنتان ago

itshak d. · Reviewed حوالي سنتان ago

avishai w. · Reviewed حوالي سنتان ago

meir k. · Reviewed حوالي سنتان ago

Leon R. · Reviewed حوالي سنتان ago

Yakov O. · Reviewed حوالي سنتان ago

Omer L. · Reviewed حوالي سنتان ago

bar e. · Reviewed حوالي سنتان ago

Ilan B. · Reviewed حوالي سنتان ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.