I received an error such as this when trying to create a TPU resource. I am new to GCP and could anyone please assist me? I try to find the tutorial too but of no luck. If anyone has any suggestions, please let me know. In the meantime, I would like to solve the below issue:
(gcloud.beta.compute.tpus.create) argument --network: Must be specified.
I am new to this stackoverflow too, please let me know if I asked at the wrong website and I will delete it.
Posting the answer provided by DazWilkin in the comments which might be useful for other community users looking at this thread. When you are using the default VPC network which also called "default", you can use "default" with the "--network" flag while running the below command:
$ gcloud beta compute tpus create
"--network" flag specifies the network that this TPU will be a part of. If you are using any other network, please specify the network name with the "--network" flag.
You can find details of the different flags and its purpose in this document. Google Cloud Console is another option to create TPUs if convenient for you. You can directly go to this link to add TPUs from Cloud Console
Related
I have a small issue I can't find how to fix.
Usually when you are coding, whether you are coding in python or a language like yaml, There are places you can find the commands or you have somewhere that you can find out what certain commands do.
Right now I want to create a http loadbalancer on the google cloud with deployment manager. Very basic stuff. But I just can't find the right command for the type or action.
Where does one find these things?
I hope you guys can help me. I'm feeling lost and googling doesn't help :D
As per the article you can create an LB using GCP Deployment Manager.
I am following the quickstart tutorial for datalab here, within the GCP console. When I try to run
datalab beta create-gpu datalab-instance-name
In step 3 I receive the following error
write() argument must be str, not bytes
Can anyone help explain why this is the case and how to fix it?
Thanks
Referring to the official documentation, before running Datalab instance, the corresponding APIs should be enabled: Google Compute Engine and Cloud Source Repositories APIs. To do so, visit Products -> APIs and Services -> Library and search for the APIs. Additionally, make sure that billing is enabled for your Google Cloud project.
You can also enabling the APIs by typing the following command, which will give you a prompt to enable the API:
datalab list
I made some research and found that the same issue has been reported on the Github page. If enabling API's wouldn't work, the best option would be to contribute (add a comment) in the mentioned Github topic to make it more visible to the Datalab Engineering team.
This morning I logged into my pc and attempted to access remotely into a VM I have. No connection was the reported error. I log into my cloud console to find no projects.
Google Support is not available for me, as I have bronze package and I do not have 150$ available to upgrade it.
Are there any logs that could explain what happened? Did it just get wiped out? The instance is still there. But the machine itself is gone. I can't find any records of it. Please advise any help you can.
I believe your question also confuses others, what do you mean by "The instance is still there. But the machine itself is gone"?
Because you also mentioned "I log into my cloud console to find no projects. ", which means you should see nothing before you choose a valid project
Please be more specific about your questions
Could you indicate us step by step what you do in the Google Cloud Platform console? Where you click and what you type.
Please, check also the Activity tab on the home page of the console. Once in it, on the right-hand side, select Resource type: GCE VM instance, to see modifications in VMs.
We need to know exactly what you are seeing on each step, and any error code. Then we could see if the problem is in your procedure, or if there is an issue you should report to billing support, which is free, as pointed out by John Hanley in his comment.
Please, when you do this, make sure you don't include any personal information in the data you post here (such as project ID or password).
I've checked beta and alpha commands, and can't find any documentation. I'm assuming the answer is no, but thought someone might know.
Google has well documented on their site how to launch marketplace entries interactively with a browser, but I'm interested in if it's possible to do it non-interactively.
There is no such thing, to make sure you can use
gcloud help -- marketplace
to get a list of all gcloud commands with the expression 'marketplace' including alphas and betas.
As an alternative, you can use Deploment Manager for automation
Straight answer is NO.
However, If you are looking to accomplish installing it from API you may be able to get the details of the image you're interested in provided you know the project.
Check this
You can describe the image to get the details necessary to install it on a compute engine. Ignore, if this is not something you're trying to accomplish.
When I open the Google Cloud Shell Code Editor it is not loading the resources and hence I am unable to work. I have attached a screenshot below with a view of the developer tools console. Please help me out. Thanks.
This issue seems to be related to an internal project/billing configuration. Since this kind of access errors are thrown when the accounts have payment issues, I think that you should firstly verify that your billing account is in a good status; however, if you continue getting these error messages after this validation, I suggest you to take a look the Issue Tracker tool that you can use to raise a Cloud Shell ticket in order to verify this scenario with the Google Technical Support Team.
A couple things could cause this:
An interfering browser extension
Are you using any browser extensions that could be interfering
(e.g., an ad blocker)
A bug.
As #Armin_SC suggested, use Issue Tracker to file an issue in this case.
As a workaround, you might want to try gcloud compute ssh to connect to your instances.