{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Private Cloud Deployment /
avatar image
0
Question by Terry David · Aug 03, 2015 at 11:22 PM · 1.1k Views Private Cloudvirtual host

Error while accessing datastore;please retry later

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

}

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

2 Answers

  • Sort: 
avatar image
0
Best Answer

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. ;)

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Abhijit.Lele2 · Sep 23, 2015 at 09:19 PM

@Terry David

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.

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Abhijit.Lele2 · Sep 23, 2015 at 09:24 PM 0
Link

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 }

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

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

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges