@elefeint NO_GCE_CHECK=true only cleared the log for "failed to detect whether we ....", but I can see more (at least 2) logs like below, so it is a partial workaround:
2020-01-29T15:49:08,655 INFO (1)main [ComputeEngineCredentials.java:257]: Failed to detect whether we are running on Google Compute Engine.
2020-01-29T15:49:08,656 WARN (1)main [DefaultCredentialsProvider.java:128]: No core credentials are set. Service-specific credentials (e.g., spring.cloud.gcp.pubsub.credentials.*) should be used if your app uses services that require credentials.
2020-01-29T15:49:08,698 INFO (1)main [GcpContextAutoConfiguration.java:75]: The default project ID is XXX
this is a temporary workaround until we upgrade to the latest zipkin-sender-stackdriver
Query for Help on GCP with Cloud Storage
I am hoping someone can help me with the following. I have a Google App Engine Standard Environment Java application in which I am trying to create a bucket into which I want to store some data. When I create a bucket, it creates it in the root of my buckets (I.e.
/Buckets/) as a sibling to my project bucket (i.e. the bucket with the name
/Buckets/<projectId>.appspot.com). When I try to specify the full name of the bucket as:
<projectId>.appspot.com/<new_bucket_name> it tells me my bucket name is invalid. When I simply use
<new_bucket_name> as the name of the bucket to be created it does create it but at the location
How do I create a new bucket inside of my project bucket?
The code I am using is as follows:
Storage storage = StorageOptions.getDefaultInstance().getService() Bucket bucket = storage.create(BucketInfo.of(bucketName)) bucket.create(fileName, fileContent.getBytes(StandardCharsets.UTF_8)
Any help would be greatly appreciated.