I am installing apigee edge for private cloud 4.18.01 using aio
Error in Test the Install step
# /opt/apigee/apigee-service/bin/apigee-service apigee-validate setup -f apigee_config_aio Checking for required variables Checking required variable MSIP...OK Checking required variable ADMIN_EMAIL...OK Checking for optional variables Found optional variable APIGEE_PORT_HTTP_MS...OK Found optional variable APIGEE_ADMINPW...OK Found optional variable VHOST_PORT...OK Found optional variable REGION...OK Found optional variable MP_POD...OK parse error: Invalid numeric literal at line 2, column 5 parse error: Invalid numeric literal at line 2, column 5 Error: getting pods in region
I checked few basic things to avoid getting existing repsonses.
Router is up and running as I can see from output of below command:
curl -v http://localhost:8081/v1/servers/self *
About to connect() to localhost port 8081 (#0) * Trying 127.0.0.1... * Connected to localhost (127.0.0.1) port 8081 (#0) > GET /v1/servers/self HTTP/1.1 > User-Agent: curl/7.29.0 > Host: localhost:8081 > Accept: */* > < HTTP/1.1 200 OK < Date: Mon, 30 Jul 2018 04:22:00 GMT < Content-Type: application/json < X-Apigee.user: unauthenticated < X-Apigee.organization: null < Date: Mon, 30 Jul 2018 04:22:00 GMT < Content-Length: 1535 < { "buildInfo" : { "buildNumber" : "jenkins-5G_Release_Sanity-1607", "buildTimestamp" : "1526334256159", "rPMName" : "apigee-rpm-1.0.0.1607.6a05119291.1805142133-171117_01", "releaseID" : "171117_01", "sCMBranch" : "origin/OPDK_1801", "sCMRevision" : "6a05119291f59903054d8169602befdff1781315" }, "externalHostName" : "sd-9154-e704.nam.nsroot.net", "externalIP" : "168.72.9.75", "internalHostName" : "sd-9154-e704.nam.nsroot.net", "internalIP" : "168.72.9.75", "isUp" : true, "pod" : "gateway", "reachable" : true, "region" : "dc-1", "tags" : { "property" : [ { "name" : "config_transport", "value" : "HTTP1" }, { "name" : "dp.color", "value" : "green" }, { "name" : "release.id", "value" : "171117_01" }, { "name" : "loadBalancer", "value" : "nginx" }, { "name" : "http.management.port", "value" : "8081" }, { "name" : "rpm.name", "value" : "apigee-rpm-1.0.0.1607.6a05119291.1805142133-171117_01" }, { "name" : "started.at", "value" : "1532918140722" }, { "name" : "startup.interval", "value" : "3754" }, { "name" : "rpc.port", "value" : "4527" }, { "name" : "Profile", "value" : "Router" }, { "name" : "startup.time", "value" : "3 seconds " }, { "name" : "up.time", "value" : "1 hour 46 minutes 15 seconds" } ] }, "type" : [ "router" ], "uUID" : "ff935844-3c22-420a-bc3f-ced2fa7fa45c" * Connection #0 to host localhost left intact
Edge UI is up and running I can see the UI at http://localhost::9000/login
Questions:
1) How to solve this error?
2) If this is not a error in the config file, it should fail with some genuine error details and not Invalid numeric literal error.
Solved! Go to Solution.
In output log of previous step "Install all components on a single node using the command:" setup-root.log I found the below error:
Exception in thread "main" FSWriteError in /home/apigee/.cassandra Caused by: java.io.IOException: Failed to mkdirs /home/apigee/.cassandra
I created directory apigee inside /home with root user and changed owner of apigee directory from root to apigee user. This solved the below issues:
1) /home/apigee/.cassandra Caused by: java.io.IOException:
2) Error "code" : "datastore.ErrorWhileAccessingDataStore", "message" : "Error while accessing datastore;Please retry later"
3) Original issue "Invalid numeric literal at line 2, column 5 parse error: Invalid numeric literal at line 2, column 5 Error: getting pods in region" is also solved with this.
Regards!
Sanjeev Kumar
It is hard to triage without much detail ...check silent file -> apigee_config_aio for any issues.
In output log of previous step "Install all components on a single node using the command:" setup-root.log I found the below error:
Exception in thread "main" FSWriteError in /home/apigee/.cassandra Caused by: java.io.IOException: Failed to mkdirs /home/apigee/.cassandra
I created directory apigee inside /home with root user and changed owner of apigee directory from root to apigee user. This solved the below issues:
1) /home/apigee/.cassandra Caused by: java.io.IOException:
2) Error "code" : "datastore.ErrorWhileAccessingDataStore", "message" : "Error while accessing datastore;Please retry later"
3) Original issue "Invalid numeric literal at line 2, column 5 parse error: Invalid numeric literal at line 2, column 5 Error: getting pods in region" is also solved with this.
Regards!
Sanjeev Kumar