Hi Keong, Thanks for the support. I missed defining storage.cassandra.keyspace=onap, after defining this property everything came up. I can access the AAI resource service.
Thanks & Regards Vivek *Log snippets for your reference:* *$ grep -ri --exclude-dir=target 'storage.cassandra.keyspace' * | grep '.properties'* graphadmin/src/main/resources/etc/appprops/janusgraph-realtime.properties:storage.cassandra.keyspace=onap graphadmin/src/main/resources/etc/appprops/janusgraph-cached.properties:storage.cassandra.keyspace=onap resources/aai-resources/src/main/resources/etc/appprops/janusgraph-realtime.properties:storage.cassandra.keyspace=onap resources/aai-resources/src/main/resources/etc/appprops/janusgraph-cached.properties:storage.cassandra.keyspace=onap traversal/aai-traversal/src/main/resources/etc/appprops/janusgraph-realtime.properties:storage.cassandra.keyspace=onap traversal/aai-traversal/src/main/resources/etc/appprops/janusgraph-cached.properties:storage.cassandra.keyspace=onap *$ curl -s -k -X GET https://localhost:8447/aai/v11/cloud-infrastructure/cloud-regions/ <https://localhost:8447/aai/v11/cloud-infrastructure/cloud-regions/> -u "AAI:AAI" -H X-TransactionId:test-001 -H X-FromAppId:AAI -H Content-Type:application/json -H Accept:application/json | python -m json.tool * { "requestError": { "serviceException": { "messageId": "SVC3001", "text": "Resource not found for %1 using id %2 (msg=%3) (ec=%4)", "variables": [ "GET", "cloud-infrastructure/cloud-regions/", "Node Not Found:No Node of type cloud-region found at: cloud-infrastructure/cloud-regions/", "ERR.5.4.6114" ] } } } On Tue, Jul 16, 2019 at 7:31 PM Keong Lim <[email protected]> wrote: > Hi Vivek, > > Deep inside the error message of the graphadmin service, the root cause is > shown as: > > Caused by: > com.netflix.astyanax.connectionpool.exceptions.BadRequestException: > BadRequestException: [host=127.0.0.1(127.0.0.1):9160, latency=1(1), > attempts=1]InvalidRequestException(why:Keyspace onap does not exist) > > So that means your setup was not completed using the configuration at step > 7 of the Setup guide: > https://wiki.onap.org/display/DW/AAI+Developer+Environment+Setup+-+Dublin > > i.e. > storage.cassandra.keyspace=onap > > Did you get a success at step 9 of the setup guide? > > If you continue to have problems, please come to either: > https://wiki.onap.org/display/DW/AAI+Weekly+Status+Meeting > https://wiki.onap.org/display/DW/AAI+Developers+Meeting > > so the team can try to help you further. > > > Keong > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18112): https://lists.onap.org/g/onap-discuss/message/18112 Mute This Topic: https://lists.onap.org/mt/32488645/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
