Ask Your Question

Tanmoy's profile - activity

2015-04-04 15:09:08 -0500 received badge  Famous Question (source)
2015-03-12 00:24:32 -0500 received badge  Famous Question (source)
2015-03-11 06:08:33 -0500 commented answer Not able to ping/ssh instances

Yes I did. I added rules for ICMP,SSH,HTTP,HTTPS.

2015-03-11 06:07:39 -0500 commented answer Not able to ping/ssh instances

I tried this earlier.Did not work. After login to the instance console through horizon VNC, I ran ifconfig and found that the VM does not have any IPv4 addrress assigned. Why so? any idea ?

2015-03-11 02:49:15 -0500 received badge  Notable Question (source)
2015-03-10 10:47:46 -0500 received badge  Popular Question (source)
2015-03-10 08:43:37 -0500 commented question Not able to ping/ssh instances

I have enabled the network forwording by setting net.ipv4.ip_forward=1 at /etc/sysctl.conf of the host. Still no luck.

2015-03-10 08:32:56 -0500 commented question Not able to ping/ssh instances

Yes I added rules for ICMP,SSH,HTTP,HTTPS. How to enable network forwarding?

2015-03-10 07:59:47 -0500 commented question Not able to ping/ssh instances

osdiaj, I am not able to ping the instance after ip netns - stack@tanmoy:/var$ sudo ip netns exec qrouter-f71a6574-75c8-424e-ab57-ff0f9a20ef54 ping 10.158.XXX.60 PING 10.158.XXX.60 (10.158.XXX.60) 56(84) bytes of data. From 10.158.XXX.71 icmp_seq=1 Destination Host Unreachable

2015-03-10 06:39:54 -0500 asked a question Not able to ping/ssh instances

I have succesfully installed openstack instance with Neutron using Devstack. Now I have a set of IPv4 addresses which I need to assign to my instances as floating IP and make them pingable / SSHable from out side the host.

Though I am able to assign the intended IP as Floating IP to my instances but neither they are pingable inside the host nor outside. I have modified the Security group rules to allow SSH and PING. Here is my network details -

stack@tanmoy:/etc/init.d$ neutron net-list
+--------------------------------------+-----------+------------------------------------------------------+
| id                                   | name      | subnets                                              |
+--------------------------------------+-----------+------------------------------------------------------+
| 1566fc4f-60a9-4170-b860-333a264f22d8 | my-public | 101675c6-7c92-4ea0-b361-7cade98fa5a2 10.158.XXX.0/24 |
| be6f76d4-954f-475e-853e-adb860508e9c | public    | 0604470a-761e-4913-998c-cc5413dcd5a6 172.24.4.0/24   |
| e816c35f-45a0-446b-b3ff-ca3196c98eb2 | private   | f4d617a7-e250-45fa-bb0a-95290cfafb20 10.0.0.0/24     |
+--------------------------------------+-----------+------------------------------------------------------+

stack@tanmoy:/etc/init.d$ neutron subnet-list
+--------------------------------------+----------------+-----------------+----------------------------------------------------+
| id                                   | name           | cidr            | allocation_pools                                   |
+--------------------------------------+----------------+-----------------+----------------------------------------------------+
| 0604470a-761e-4913-998c-cc5413dcd5a6 | public-subnet  | 172.24.4.0/24   | {"start": "172.24.4.2", "end": "172.24.4.254"}     |
| 101675c6-7c92-4ea0-b361-7cade98fa5a2 | ipcloud-dev    | 10.158.XXX.0/24 | {"start": "10.158.XXX.56", "end": "10.158.XXX.62"} |
| f4d617a7-e250-45fa-bb0a-95290cfafb20 | private-subnet | 10.0.0.0/24     | {"start": "10.0.0.2", "end": "10.0.0.254"}         |
+--------------------------------------+----------------+-----------------+----------------------------------------------------+

stack@tanmoy:/etc/init.d$ neutron router-list
+--------------------------------------+--------------+-----------------------------------------------------------------------------+
| id                                   | name         | external_gateway_info                                                       |
+--------------------------------------+--------------+-----------------------------------------------------------------------------+
| 811a483a-6faf-4dad-9d28-d51aa9530691 | ExternalLink | {"network_id": "1566fc4f-60a9-4170-b860-333a264f22d8", "enable_snat": true} |
| f71a6574-75c8-424e-ab57-ff0f9a20ef54 | router1      | {"network_id": "be6f76d4-954f-475e-853e-adb860508e9c", "enable_snat": true} |
+--------------------------------------+--------------+-----------------------------------------------------------------------------+

Please let me know if I am missing something..

2015-01-20 23:10:51 -0500 received badge  Notable Question (source)
2015-01-20 23:10:51 -0500 received badge  Popular Question (source)
2014-10-09 12:01:23 -0500 commented answer Not able to use Apache jcloud to connect to Openstack sandbox

Hey Haneef, I have just sanitized the IP. I am using valid IP only.

2014-10-09 09:31:53 -0500 asked a question Not able to use Apache jcloud to connect to Openstack sandbox

I have installed Rackspace private cloud in my VMware box from the OVA file. I am able to do all operations from Horizon Dashboard. But when trying to list down the server using Apache jclouds getting this exception -

SEVERE: Cannot retry after server error, command has exceeded retry limit 5: [method=public abstract com.google.common.util.concurrent.ListenableFuture org.jclouds.openstack.keystone.v2_0.AuthenticationAsyncApi.authenticateWithTenantNameAndCredentials(java.lang.String,org.jclouds.openstack.keystone.v2_0.domain.PasswordCredentials)[admin, PasswordCredentials{username=admin, password=Passw0rd}], request=POST http://.133..70:5000/v2.0/tokens HTTP/1.1] Exception in thread "main" org.jclouds.http.HttpResponseException: connect timed out connecting to POST http://.133..70:5000/v2.0/tokens HTTP/1.1

I am using Jcloud 1.7.3 and here is the code snippet how I am using the API

String provider = "openstack-nova"; String identity = "admin:admin"; // tenantName:userName String credential = "Passw0rd"; novaApi = ContextBuilder.newBuilder(provider) .endpoint("http://.133.*.70:5000/v2.0") .credentials(identity, credential) .buildApi(NovaApi.class); zones = novaApi.getConfiguredZones();

Here is my keystone endpoint

keystone | Value | +-------------+----------------------------------+ | adminURL | http://.133..70:35357/v2.0 | | region | RegionOne | | publicURL | http://.133..70:5000/v2.0 | | internalURL | http://.133.*.70:5000/v2.0 | | id | 3c418c03c0bf423085a3d5380b83737c |