Getting started with gcutil and Compute Engine: Error: Resource projects / <project-id> not found
I am trying to get up and running using the Google Compute Engine and follow the start / hello world tutorial . After installing gcutil (running OSx) and Authentication on Google Compute Engine, the command should pass the following command
$ gcutil getproject --project=<project-id> --cache_flag_values However, the following error message appears
Error: The resource 'projects/<project-id>' was not found Project ID is the ID of the authenticated project. If I try to execute any of the following commands in the tutorial (but including the project identifier, since resetting the value failed), for example.
$ gcutil addfirewall http2 --project=<project-id> --description="Incoming http allowed." --allowed="tcp:http" The same error is returned.
I work in the $ HOME directory (the same directory that contains the gcutil-1.8.0 folder).
Can someone please tell me why I get projects that did not find the error, and if possible, how to overcome it?
Often you will see this error when authentication / authorization fails.
Verify that the gcutil user account is authorized according to the user account specified in the (Cloud Console) command section [https://cloud.google.com/console]. You can find this under the gear icon in the upper right.
To confirm which account gcutil is using, run the following command:
$ gcutil auth --confirm_email --just_check_auth INFO: Authorization succeeded for user xxx@xxx.com If you find that you are logged in with the wrong account (for example, several people from chrome), you can re-authorize gcutil with:
$ gcutil auth Make sure you follow this link in the right tab / browser context.