Eucalyptus version: 1.6.2
Distribution and architecture:
i've install eucalyptus on ubuntu - https://help.ubuntu.com/community/UEC/PackageInstall
Topology (number of hosts, how they are configured, etc):
i'm trying to setup a testing environment on my workstation.
my workstation is part of local office network (so DHCP server exists for this network) but i'd like to setup an environment for testing purposes only.
by following instructions for ubuntu i've managed to setup eucalyptus and i can run instances but i can't access them (i did run "euca-authorize -P tcp -p 22 default").
i'm guessing that there is a problem with DHCP server running on office network and DHCP server on my workstation configured for eucalyptus but i'm not sure.
$ cat /etc/eucalyptus/eucalyptus.local.conf
VNET_MODE="MANAGED-NOVLAN"
VNET_SUBNET="172.19.0.0"
VNET_NETMASK="255.255.0.0"
VNET_DNS="8.8.8.8"
VNET_ADDRSPERNET="32"
VNET_PUBLICIPS="192.168.1.100-192.168.1.199"
any comments/suggestions are appreciated.
Aljosa Mohorovic
i need this to work on a single machine, i understand that it would be better to separate CC an NC but i'm just trying to setup testing/development environment and not a production system.
any tips on howto do this on a single machine is appreciated.
# ip addr show
1: lo: mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:1d:60:36:42:1d brd ff:ff:ff:ff:ff:ff
inet6 fe80::21d:60ff:fe36:421d/64 scope link
valid_lft forever preferred_lft forever
4: vboxnet0: mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
6: br0: mtu 1500 qdisc noqueue state UNKNOWN
link/ether 00:1d:60:36:42:1d brd ff:ff:ff:ff:ff:ff
inet 10.0.2.111/24 brd 10.0.2.255 scope global br0
inet6 fe80::21d:60ff:fe36:421d/64 scope link
valid_lft forever preferred_lft forever
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 br0
0.0.0.0 10.0.2.10 0.0.0.0 UG 100 0 0 br0
# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.001d6036421d no eth0
Hi aljosa,
Are you sure that your keypairs were successfully created with euca-add-keypair? Remember that you must create (or already have) and attach the keypair to the instance upon creation or else you will not be able to access the instance over SSH. Make sure as well that the permissions on the key are correct (chmod 600 keyfile) and that you're point it out to SSH (ssh -i keyfile) upon connection to the instance.
Thanks,
Andrew