Fixed
Status Update
Comments
zj...@google.com <zj...@google.com> #2
using the below does resolve the issue and allow the app to be deployed.
gcloud config set app/use_gsutil true
gcloud config set app/use_gsutil true
[Deleted User] <[Deleted User]> #3
Thanks for the update! We think we have a handle on this issue, and there should be a patch in the Cloud SDK 106 release due out next week that will work with the 'use_gsutil false' setting (which will eventually become the new default).
zj...@google.com <zj...@google.com> #4
Is there any chance that you have antivirus software or something similar that would be scanning your disk? The files that Windows cannot delete are temporary files in a directory only gcloud should know about.
in...@gmail.com <in...@gmail.com> #6
You marked as duplicate and did not provide a resolution.
I still cannot upload. How ever I uploaded once (first time) after few days I got this error.
I still cannot upload. How ever I uploaded once (first time) after few days I got this error.
ja...@amuzedesign.com <ja...@amuzedesign.com> #7
Having the same issue
C:\nodejs-getting-started\2-structured-data>gcloud preview app deploy
You are about to deploy the following modules:
- nodejs-books/default (from [C:\nodejs-getting-started\2-structured-data\app.yaml])
Deployed URL: [https://nodejs-books.appspot.com ]
Do you want to continue (Y/n)? Y
Beginning deployment...
Verifying that Managed VMs are enabled and ready.
Building and pushing image for module [default]
ERROR: gcloud crashed (WindowsError): [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\jamesw~1\\appdata\\local\\temp\\tmpxrsalt\\src.tgz'
If you would like to report this issue, please run the following command:
gcloud feedback
C:\nodejs-getting-started\2-structured-data>
C:\nodejs-getting-started\2-structured-data>gcloud preview app deploy
You are about to deploy the following modules:
- nodejs-books/default (from [C:\nodejs-getting-started\2-structured-data\app.yaml])
Deployed URL: [
Do you want to continue (Y/n)? Y
Beginning deployment...
Verifying that Managed VMs are enabled and ready.
Building and pushing image for module [default]
ERROR: gcloud crashed (WindowsError): [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\jamesw~1\\appdata\\local\\temp\\tmpxrsalt\\src.tgz'
If you would like to report this issue, please run the following command:
gcloud feedback
C:\nodejs-getting-started\2-structured-data>
zj...@google.com <zj...@google.com> #8
We have a fix for this, which should go out in the to-be-released Cloud SDK 100.0.0 release.
zj...@google.com <zj...@google.com> #9
Cloud SDK 100.0.0 is out–please let us know if you're still experiencing this.
th...@gmail.com <th...@gmail.com> #10
I am experiencing this issue. What was the solution? I cant submit my build which means I can't get my website to work. This was my error msg:
\basef> firebase serve
! Unable to fetch the CLI MOTD and remote config.
Error: An unexpected error has occurred.
\basef> gcloud builds submit --config cloudbuild.yaml .
Creating temporary tarball archive of 453 file(s) totalling 2.2 MiB before compression.
ERROR: gcloud crashed (PermissionError): [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\Thoma\\AppData\\Local\\Temp\\tmp3chlht3y\\file.tgz'
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
PS \basef> gcloud info --run-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic passed (1/1 checks passed).
Property diagnostic detects issues that may be caused by properties.
Checking hidden properties...done.
Hidden Property Check passed.
Property diagnostic passed (1/1 checks passed).
I removed the full directory for privacy reasons please help me fix this as I can't progress in making my project work. Thanks
- Thomas
\basef> firebase serve
! Unable to fetch the CLI MOTD and remote config.
Error: An unexpected error has occurred.
\basef> gcloud builds submit --config cloudbuild.yaml .
Creating temporary tarball archive of 453 file(s) totalling 2.2 MiB before compression.
ERROR: gcloud crashed (PermissionError): [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\Thoma\\AppData\\Local\\Temp\\tmp3chlht3y\\file.tgz'
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
PS \basef> gcloud info --run-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic passed (1/1 checks passed).
Property diagnostic detects issues that may be caused by properties.
Checking hidden properties...done.
Hidden Property Check passed.
Property diagnostic passed (1/1 checks passed).
I removed the full directory for privacy reasons please help me fix this as I can't progress in making my project work. Thanks
- Thomas
th...@gmail.com <th...@gmail.com> #11
\basef> gcloud version
Google Cloud SDK 430.0.0
alpha 2023.05.09
beta 2023.05.09
bq 2.0.92
core 2023.05.09
gcloud-crc32c 1.0.0
gke-gcloud-auth-plugin 0.5.3
gsutil 5.23
kubectl 1.24.13
minikube 1.30.1
skaffold 2.3.0
Google Cloud SDK 430.0.0
alpha 2023.05.09
beta 2023.05.09
bq 2.0.92
core 2023.05.09
gcloud-crc32c 1.0.0
gke-gcloud-auth-plugin 0.5.3
gsutil 5.23
kubectl 1.24.13
minikube 1.30.1
skaffold 2.3.0
Description
What steps will reproduce the problem?
Following the node.js bookshelf starter app on step 2 using the datastore
Have set - gcloud config set app/use_cloud_build True
What is the expected output? What do you see instead?
Can't deploy
Expected to have app provisioned instead get the error...
Please provide any additional information below.
Traceback (most recent call last):
File "googlecloudsdk\gcloud_main.py", line 169, in main
gcloud_cli.Execute()
File "googlecloudsdk\calliope\cli.py", line 646, in Execute
result = args.cmd_func(cli=self, args=args)
File "googlecloudsdk\calliope\backend.py", line 1402, in Run
resources = command_instance.Run(args)
File "surface\preview\app\deploy.py", line 381, in Run
config_cleanup)
File "googlecloudsdk\api_lib\app\deploy_command_util.py", line 189, in BuildAndPushDockerImages
code_bucket, cloudbuild_client, http)
File "googlecloudsdk\api_lib\app\deploy_command_util.py", line 236, in _BuildImagesWithCloudBuild
cloud_build.UploadSource(image.dockerfile_dir, source_gcs_uri)
File "googlecloudsdk\api_lib\app\cloud_build.py", line 100, in UploadSource
shutil.rmtree(temp_dir)
File "C:\Program Files (x86)\Python27\lib\shutil.py", line 252, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\Program Files (x86)\Python27\lib\shutil.py", line 250, in rmtree
os.remove(fullname)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\bran1\\appdata\\local\\temp\\tmp0jk7bl\\src.tgz'
Installation information:
Google Cloud SDK [96.0.0]
Platform: [Windows, x86_64]
Python Version: [2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]]
[output truncated]