Open pravinpatil28 opened 6 years ago
@pravinpatil28 You can root cause it in two ways
Hi Vinod, Thanks a lot for your quick response.
for my quick reference, currently, I am using REST client to execute, /networks commands.. executing: http://10.1.112.242:9696/v2.0/networks
getting response as below:
{"networks": [{"provider:physical_network": null, "updated_at": "2016-11-07T13:57:06Z", "revision_number": 4, "mtu": 1450, "id": "b149009c-0560-4928-82f9-c5deefa546d3", "router:external": true, "availability_zone_hints": [], "availability_zones": ["nova"], "ipv4_address_scope": null, "shared": false, "project_id": "f60351cbd8f0466e8cac1b5dd8371476", "status": "ACTIVE", "subnets": ["135ca973-8c32-49a8-ae83-8b281b0d5167"], "description": "", "tags": [], "ipv6_address_scope": null, "is_default": false, "provider:segmentation_id": 80, "name": "public", "admin_state_up": true, "tenant_id": "f60351cbd8f0466e8cac1b5dd8371476", "created_at": "2016-11-07T13:56:58Z", "provider:network_type": "vxlan"}]}.
as you mentioned, I will quickly install CLI as well to verify outpout...
One more question, I have enabled http log filter, but could not see any more info in eclipse "console" tab. is there any other location where i can capture these logs.
Sharing code snip... OSClientV3 os = OSFactory.builderV3() .endpoint("http://x.x.x.x:5000/v3") .credentials("admin", "xxxxxxxxxxxx") .domainName("default") .authenticate();
List<? extends Network> networks = os.networking().network().list(); --> networks are coming empty.... List<? extends Server> servers = os.compute().servers().list(); --> servers are coming empty....
here i am getting networks and servers empty, even if there are networks and servers. can someone help here? Thanks in advance.
Thanks, PravinPatil