Ask Your Question
1

can't ping ssh openstack launched instance:

asked 2015-12-02 15:15:46 -0600

nag gravatar image

updated 2015-12-02 21:44:12 -0600

Bipin gravatar image

HI, accessIPv4 / accessIPv6 are blank.

[root@controller ~]# nova show instance2

+--------------------------------------+------------------------------------------------------------+
| Property                             | Value                                                      |
+--------------------------------------+------------------------------------------------------------+
| Int-net network                      | 10.0.1.14, 10.145.97.111                                   |
| OS-DCF:diskConfig                    | AUTO                                                       |
| OS-EXT-AZ:availability_zone          | nova                                                       |
| OS-EXT-SRV-ATTR:host                 | compute4                                                   |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute4                                                   |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000013                                          |
| OS-EXT-STS:power_state               | 4                                                          |
| OS-EXT-STS:task_state                | -                                                          |
| OS-EXT-STS:vm_state                  | stopped                                                    |
| OS-SRV-USG:launched_at               | 2015-11-23T17:52:32.000000                                 |
| OS-SRV-USG:terminated_at             | -                                                          |
| accessIPv4                           |                                                            |
| accessIPv6                           |                                                            |
| config_drive                         |                                                            |
| created                              | 2015-11-23T17:52:21Z                                       |
| flavor                               | m1.tiny (1)                                                |
| hostId                               | ef1011e11a13c824f987339c8ed0a8f43db4bdeeab0dc430aaf76f1c   |
| id                                   | a71bcdab-9eff-414f-9ba9-5b53d6a9733d                       |
| image                                | cirros-0.3.4-x86_64 (aa79e952-2575-448d-823d-ed0f59e3f85e) |
| key_name                             | -                                                          |
| metadata                             | {}                                                         |
| name                                 | instance2                                                  |
| os-extended-volumes:volumes_attached | []                                                         |
| security_groups                      | default                                                    |
| status                               | SHUTOFF                                                    |
| tenant_id                            | c3d481aef6514ebab6549d1f69c64a34                           |
| updated                              | 2015-12-01T18:06:47Z                                       |
| user_id                              | 1ae95303dec44e259c13014e03615f54                           |
+--------------------------------------+------------------------------------------------------------+

[root@controller ~]# openstack endpoint list
+----------------------------------+-----------+--------------+--------------+
| ID                               | Region    | Service Name | Service Type |
+----------------------------------+-----------+--------------+--------------+
| 35432fd5303c4eefbd3c7d8896a27dcf | RegionOne | neutron      | network      |
| 68a5f8f5b69d48d0b348a1f9f2b460c0 | RegionOne | glance       | image        |
| 451cb079a0cc4ffebf6eaca78a4ffcb5 | RegionOne | cinderv2     | volumev2     |
| 897a392112fa441497bdf3ef4804887a | RegionOne | cinder       | volume       |
| 04b5c2a9db8447b3a23396cce4299438 | RegionOne | keystone     | identity     |
| 78f477fd6547460c95082f962646b48b | RegionOne | nova         | compute      |
+----------------------------------+-----------+--------------+--------------+

here in end point list for nova keystone cinder i have interface only for admin, but where as according to the documentstion: http://docs.openstack.org/kilo/instal... it showed for both internal public as well. Is this one of the cause.. I am not sure.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-12-02 21:49:38 -0600

Bipin gravatar image

Hello,

try keystone endpoint-list It will show both internal and public. Whats your specific question ? Did you add a security group rule to the tenant to allow ICMP from outside ? Whats the output of the following

nova secgroup-list
nova secgroup-list-rules <your security group name>

Regards

edit flag offensive delete link more

Comments

Hi, I did checked end point list , I couldn't see nova internal and public. The mistake I found is that the instance itself not getting the internal IP address .. DHCP is not assigning address to the instance although I could see IP address on horizon. I have dhcp and meta data running in controller

nag gravatar imagenag ( 2015-12-03 01:23:25 -0600 )edit

There is the conflict bw controller dhcp and neutron shop., It's my mistake I installed deco on n meta data agent on controller . So I tried to disable the services on controller n pinged the instances no luck.. Now re installing the controller.

nag gravatar imagenag ( 2015-12-03 01:25:21 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-02 15:15:46 -0600

Seen: 101 times

Last updated: Dec 02 '15