Duncan Grant created BROOKLYN-556:
-------------------------------------
Summary: gce invalid tags issue when restarting a VM
Key: BROOKLYN-556
URL: https://issues.apache.org/jira/browse/BROOKLYN-556
Project: Brooklyn
Issue Type: Bug
Affects Versions: 1.0.0
Reporter: Duncan Grant
When stopping and then starting a VM on gce I go the below error:
Server error (500): Error invoking start at
BasicApplicationImpl{id=sg4p9q866b}: ProblemStartingChildrenException:
org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking
start at TomcatServerImpl{id=y46id97am1}: Failed to get VM after 2 attempts. -
First cause is org.jclouds.http.HttpResponseException: command: POST
https://www.googleapis.com/compute/v1/projects/cloudsoft-qa/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]':
'owner_entity_id[sg4p9q866b]'. 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]':
'owner_entity_id[sg4p9q866b]'. Must be a match of regex
'(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)'"
}
}
] (listed in primary trace); plus 1 more (e.g. the last is
org.jclouds.http.HttpResponseException: command: POST
https://www.googleapis.com/compute/v1/projects/cloudsoft-qa/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]': 'owner_entity_id[sg4p9q866b]'. 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]':
'owner_entity_id[sg4p9q866b]'. Must be a match of regex
'(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)'"
}
}
]): HttpResponseException: command: POST
https://www.googleapis.com/compute/v1/projects/cloudsoft-qa/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]': 'owner_entity_id[sg4p9q866b]'. 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]': 'owner_entity_id[sg4p9q866b]'. Must be a match of
regex '(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)'"
}
}
]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)