Ask Your Question
0

Unable to SSH/Ping to an instance

asked 2013-07-18 15:12:17 -0600

ptc61891 gravatar image

I can successfully create and run a RHEL instance but I cannot pin or ssh to it. I added TCP 22 0.0.0.0 and ICMP -1 -1 0.0.0.0 to the security rules and still nothing. I can't ping the floating IP from either the vm itself or the host machine. please help

Single node set up, installed using packstack, RHEL machine This is my nova.conf

[DEFAULT]

#

Options defined in nova.availability_zones

#

availability_zone to show internal services under (string

value)

#internal_service_availability_zone=internal

default compute node availability_zone (string value)

#default_availability_zone=nova

#

Options defined in nova.crypto

#

Filename of root CA (string value)

#ca_file=cacert.pem

Filename of private key (string value)

#key_file=private/cakey.pem

Filename of root Certificate Revocation List (string value)

#crl_file=crl.pem

Where we keep our keys (string value)

#keys_path=$state_path/keys

Where we keep our root CA (string value)

#ca_path=$state_path/CA

Should we use a CA for each project? (boolean value)

#use_project_ca=false

Subject for certificate for users, %s for project, user,

timestamp (string value)

#user_cert_subject=/C=US/ST=California/O=OpenStack/OU=NovaDev/CN=%.16s-%.16s-%s

Subject for certificate for projects, %s for project,

timestamp (string value)

#project_cert_subject=/C=US/ST=California/O=OpenStack/OU=NovaDev/CN=project-ca-%.16s-%s

#

Options defined in nova.exception

#

make exception message format errors fatal (boolean value)

#fatal_exception_format_errors=false

#

Options defined in nova.manager

#

Some periodic tasks can be run in a separate process. Should

we run them here? (boolean value)

#run_external_periodic_tasks=true

#

Options defined in nova.netconf

#

ip address of this host (string value)

#my_ip=10.0.0.1

Name of this node. This can be an opaque identifier. It is

not necessarily a hostname, FQDN, or IP address. However,

the node name must be valid within an AMQP key, and if using

ZeroMQ, a valid hostname, FQDN, or IP address (string value)

#host=nova

use ipv6 (boolean value)

#use_ipv6=false

#

Options defined in nova.notifications

#

If set, send compute.instance.update notifications on

instance state changes. Valid values are False for no

notifications, True for notifications on any instance

changes. (boolean value)

#notify_on_any_change=false

If set, send api.fault notifications on caught exceptions in

the API service. (boolean value)

#notify_api_faults=false

If set, send compute.instance.update notifications on

instance state changes. Valid values are None for no

notifications, "vm_state" for notifications on VM state

changes, or "vm_and_task_state" for notifications on VM and

task state changes. (string value)

#notify_on_state_change=<none>

#

Options defined in nova.paths

#

Directory where the nova python module is installed (string

value)

#pybasedir=/usr/lib/python/site-packages

Directory where nova binaries are installed (string value)

#bindir=$pybasedir/bin

Top-level directory for maintaining nova's state (string

value)

#state_path=/var/lib/nova state_path=/var/lib/nova

#

Options defined in nova.policy

#

JSON file representing policy (string value)

#policy_file=policy.json

Rule checked when requested rule is not found (string value)

#policy_default_rule=default

#

Options defined in nova.quota

#

number of instances allowed per project (integer value)

#quota_instances=10 ... (more)

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2013-07-18 19:39:18 -0600

maoliping455 gravatar image

In your VM, run ifconfig , does it have IP in eth0? If not, it is dhcp issue...

edit flag offensive delete link more
0

answered 2013-07-18 20:00:48 -0600

ptc61891 gravatar image

I do not have an eth0 up and running in my vm, only a loop back...

lo Link encap:Local Loopback inet addr: 127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/28 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TXpackets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 Rx bytes:0 (0.0 b) TX bytes:0 (0.0 b)

How would I set up dhcp?

edit flag offensive delete link more
0

answered 2015-05-12 21:56:21 -0600

jeddgo gravatar image

Hi all. were you able to fix this issue. I am running into the same issue using RHEL 7.1 and their packstack all-in-one installation using NOVA networking I can ping between the instances and ssh from host to the instances. But I cannot route out of the bridge interface so my questions 1. do you need NAT configured? 2. do you need IP tables setup, mine is currently disabled Any assistance would be appreciated rgds, jedd

edit flag offensive delete link more

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: 2013-07-18 15:12:17 -0600

Seen: 477 times

Last updated: Jul 18 '13