New install of 15.04 as an All-in-One. Everything seemed to complete successfully, however the Virtual Hosts were not set up when running setup-org. Now receiving these errors trying to query the virtualhosts:
[17:35:35: vmach@edge4:~]
* About to connect() to edge4 port 8080 (#0)
* Trying 192.168.21.198... connected
* Connected to edge4 (192.168.21.198) port 8080 (#0)
* Server auth using Basic with user 'tdavid@apigee.com'
> Authorization: Basic dG[...]
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: edge4:8080
> Accept: */*
>
< HTTP/1.1 500 Server Error
< Content-Type: application/json
< Date: Mon, 03 Aug 2015 22:35:49 GMT
< Content-Length: 143
<
{
"code" : "datastore.ErrorWhileAccessingDataStore",
"message" : "Error while accessing datastore;Please retry later",
"contexts" : [ ]
* Connection #0 to host edge4 left intact
* Closing connection #0
}
[17:35:49: vmach@edge4:~]
>
API call to the next higher DB level works fine:
[17:35:28: vmach@edge4:~]
* About to connect() to edge4 port 8080 (#0)
* Trying 192.168.21.198... connected
* Connected to edge4 (192.168.21.198) port 8080 (#0)
* Server auth using Basic with user 'tdavid@apigee.com'
> Authorization: Basic dG[...]
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: edge4:8080
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Mon, 03 Aug 2015 22:35:35 GMT
< Content-Length: 631
<
{
"createdAt" : 1438625428805,
"createdBy" : "tdavid@objix.com",
"lastModifiedAt" : 1438625428805,
"lastModifiedBy" : "tdavid@objix.com",
"name" : "test",
"properties" : {
"property" : [ {
"name" : "useSampling",
"value" : "100"
}, {
"name" : "samplingThreshold",
"value" : "100000"
}, {
"name" : "samplingTables",
"value" : "10=ten;1=one;"
}, {
"name" : "samplingAlgo",
"value" : "reservoir_sampler"
}, {
"name" : "samplingInterval",
"value" : "300000"
}, {
"name" : "aggregationinterval",
"value" : "300000"
} ]
}
* Connection #0 to host edge4 left intact
* Closing connection #0
}
Answer by Terry David · Aug 12, 2015 at 01:35 PM
Issue resolved with a complete re-install all the way down to the OS. Something Somewhere was hosed. ;)
Answer by Abhijit.Lele2 · Sep 23, 2015 at 09:19 PM
I am facing the same issue while adding virtual hosts and alias in the add-env.sh script. My orgs get created fine. Can you explain in detail about your resolution please. I am sort of out of ideas about debugging this issue. Note : I did a complete re install of management server and the analytics stand alone installation. The issue still persists.
Error Trace :
{ "code" : "datastore.ErrorWhileAccessingDataStore", "message" : "Error while accessing datastore;Please retry later", "contexts" : [ ] * Connection #0 to host vmaas-00000174.clouduser.bicadmin.com left intact * Closing connection #0 }
How do I update an existing VirtualHost with updated configuration? 1 Answer
Missing Header 3 Answers
Can I update an existing virtual host without having to delete/recreate it? 2 Answers
VirtualHost configuration with SSL enabled not working. 0 Answers
Is it possible to create Virtual host with curl command in private cloud? 2 Answers