Ask Your Question

thrice801's profile - activity

2015-08-12 08:39:13 -0600 received badge  Student (source)
2014-02-26 07:42:21 -0600 received badge  Taxonomist
2013-08-26 06:12:31 -0600 received badge  Notable Question (source)
2013-08-26 06:12:31 -0600 received badge  Famous Question (source)
2013-08-07 09:04:24 -0600 received badge  Popular Question (source)
2013-08-04 19:56:02 -0600 commented question devstack unable to access vm via ssh

Just updated post thx!

2013-08-04 19:51:36 -0600 received badge  Editor (source)
2013-08-04 18:13:38 -0600 asked a question devstack unable to access vm via ssh

Was hoping to get some help, I keep trying to set open stack up and giving up, not so good with the networking -- Anyways Ive got open stack running on a ubuntu server OS installed on my macpro (not through VM through bootloader) -- I THINK part of the troubles Im having is due to the two ethernet ports, I dont really know honestly.

Im having all sorts of issues with virtual machines. (Im running dev stack, reinstalled yesterday so should be running grizzly) http://devstack.org/

I can ping the virtual machine, but I cant seem to SSH to them. I already did

nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0 nova secgroup-add-rule default tcp 22 22 0.0.0.0/0

And I can see that they were added in my gui e.g.

default

    ALLOW -1:-1 from 0.0.0.0/0
    ALLOW 22:22 from 0.0.0.0/0

Here is a copy of my localrc file:

    BLED_SERVICES=q-meta,q-lbaas,n-obj,n-cpu,n-sch,n-cauth,horizon,mysql,rabbit,sysstat,cinder,c-api,c-vol,c-sch,n-cond,quantum,q-svc,q-agt,q-dhcp,q-l3,n-novnc,n-xvnc,q-lbaas,g-api,g-reg,key,n-api,n-crt
    DATABASE_PASSWORD=password
    ADMIN_PASSWORD=password
    SERVICE_PASSWORD=password
    SERVICE_TOKEN=password
    RABBIT_PASSWORD=password
    # Compute Service
    NOVA_BRANCH=stable/grizzly
    # Volume Service
    CINDER_BRANCH=stable/grizzly
    # Image Service
    GLANCE_BRANCH=stable/grizzly
    # Web UI (Dashboard)
    HORIZON_BRANCH=stable/grizzly
    # Auth Services
    KEYSTONE_BRANCH=stable/grizzly
    # Quantum (Network) service
    QUANTUM_BRANCH=stable/grizzly
    #Enable Logging
    LOGFILE=/opt/stack/logs/stack.sh.log
    VERBOSE=True
    LOG_COLOR=False
    SCREEN_LOGDIR=/opt/stacko/logs

    FLAT_INTERFACE=eth1
    FIXED_IP=10.0.1.5

    SERVICE_HOST=$FIXED_IP
    OS_TENANT_NAME=demo
    OS_USERNAME=demo
    OS_PASSWORD=password
    OS_AUTH_URL=http://$FIXED_IP:5000/v2.0/
    SERVICE_ENDPOINT=http://$FIXED_IP:35357/v2.0/

Heres part of my ifconfig if it helps.

eth0      Link encap:Ethernet  HWaddr 00:1f:5b:32:c5:b0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:18 Memory:90820000-90840000

eth1      Link encap:Ethernet  HWaddr 00:1f:5b:32:c5:b1
          inet addr:10.0.1.5  Bcast:10.0.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:5bff:fe32:c5b1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:51412 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13094 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16910058 (16.9 MB)  TX bytes:4535816 (4.5 MB)
          Interrupt:19 Memory:90800000-90820000

So ya, anyone have any idea what I could be doing wrong? Also when I access the VM via console, i cant ping other machines on my local network, from the VM. Not sure if thats normal behavior or not.

Any help would be much appreciated.

-- EDIT -- Heres the output from my iptables --list.(The ubuntu server install was setup just to run openstack, so ... (more)