brooklyncentral / clocker

Apache Brooklyn cloud native infrastructure blueprints
Apache License 2.0
428 stars 66 forks source link

Clocker on GCE failed to deploy #77

Open aledsage opened 9 years ago

aledsage commented 9 years ago

I tried to start clocker on GCE, but it failed (and it created several additional entities+VMs when retrying).

I downloaded the latest tgz from clocker.io's big red button, and then ran ./bin/clocker.sh google-compute-engine:us-central1-a.

I'll share the huge log with @grkvlt who can update this issue with additional details.

grkvlt commented 9 years ago

I get the following error on host provisioning:

com.google.common.util.concurrent.UncheckedExecutionException: org.jclouds.http.HttpResponseException: command: POST https://www.googleapis.com/compute/v1/projects/jclouds-gce/global/firewalls HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "Invalid value for field 'resource.sourceTags[0]': '7924154633858512987'. Must be a match of regex '(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)'"
}
],
"code": 400,
"message": "Invalid value for field 'resource.sourceTags[0]': '7924154633858512987'. Must be a match of regex '(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)'"
}
}
]
grkvlt commented 9 years ago

According to @andreaturli the GCE driver is not yet in a production ready state, so we may need to wait until there is an update to the jclouds code available.