Skip to content

Instantly share code, notes, and snippets.

@razrichter
Last active December 11, 2015 22:19
Show Gist options
  • Save razrichter/4669168 to your computer and use it in GitHub Desktop.
Save razrichter/4669168 to your computer and use it in GitHub Desktop.
Eucalyptus 3.2 faststart installation diagnostics and config
fog-0-1-1 CC/CLC:
[root@fog-0-1-1 eucalyptus]# . ~/.euca/eucarc
[root@fog-0-1-1 eucalyptus]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> 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: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:26:b9:f9:db:90 brd ff:ff:ff:ff:ff:ff
inet 169.254.169.254/32 scope link em1
inet 172.17.31.11/24 brd 172.17.31.255 scope global em1
inet6 fe80::226:b9ff:fef9:db90/64 scope link
valid_lft forever preferred_lft forever
3: em2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:26:b9:f9:db:92 brd ff:ff:ff:ff:ff:ff
inet6 fe80::226:b9ff:fef9:db92/64 scope link
valid_lft forever preferred_lft forever
[root@fog-0-1-1 eucalyptus]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.17.31.0 0.0.0.0 255.255.255.0 U 0 0 0 em1
0.0.0.0 172.17.31.1 0.0.0.0 UG 0 0 0 em1
[root@fog-0-1-1 eucalyptus]# grep -v '^#' /etc/eucalyptus/eucalyptus.conf | sort -u
CC_PORT="8774"
CLOUD_OPTS=""
CREATE_SC_LOOP_DEVICES="256"
EUCALYPTUS="/"
EUCA_USER="eucalyptus"
HYPERVISOR="kvm"
INSTANCE_PATH="/var/lib/eucalyptus/instances"
NC_PORT="8775"
NC_SERVICE="axis2/services/EucalyptusNC"
NODES="172.17.32.12 172.17.32.13 172.17.32.14"
SCHEDPOLICY="ROUNDROBIN"
USE_VIRTIO_DISK="1"
USE_VIRTIO_NET="0"
USE_VIRTIO_ROOT="1"
VNET_ADDRSPERNET="32"
VNET_BRIDGE="br0"
VNET_DHCPDAEMON="/usr/sbin/dhcpd41"
VNET_DNS="172.17.10.250"
VNET_MODE="MANAGED-NOVLAN"
VNET_NETMASK="255.255.254.0"
VNET_PRIVINTERFACE="em1"
VNET_PUBINTERFACE="em1"
VNET_PUBLICIPS="172.17.31.15-172.17.31.245"
VNET_SUBNET="172.31.254.0"
[root@fog-0-1-1 eucalyptus]# iptables -nvL
Chain INPUT (policy ACCEPT 15642 packets, 3404K bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
43 2880 EUCA_COUNTERS_OUT all -- * * 0.0.0.0/0 0.0.0.0/0
43 2880 EUCA_COUNTERS_IN all -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate ESTABLISHED
6 408 ACCEPT all -- * * 0.0.0.0/0 !172.31.254.0/23
Chain OUTPUT (policy ACCEPT 15641 packets, 3405K bytes)
pkts bytes target prot opt in out source destination
Chain EUCA_COUNTERS_IN (1 references)
pkts bytes target prot opt in out source destination
37 2472 all -- * * 0.0.0.0/0 172.31.254.0/23
Chain EUCA_COUNTERS_OUT (1 references)
pkts bytes target prot opt in out source destination
0 0 all -- * * 172.31.254.0/23 0.0.0.0/0
[root@fog-0-1-1 eucalyptus]# iptables -t nat -nvL
Chain PREROUTING (policy ACCEPT 45124 packets, 2971K bytes)
pkts bytes target prot opt in out source destination
0 0 DNAT tcp -- * * 0.0.0.0/0 169.254.169.254 tcp dpt:80 to:172.17.31.11:8773
Chain POSTROUTING (policy ACCEPT 610K packets, 37M bytes)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- * * 172.31.254.0/23 !172.31.254.0/23
Chain OUTPUT (policy ACCEPT 610K packets, 37M bytes)
pkts bytes target prot opt in out source destination
[root@fog-0-1-1 eucalyptus]# euca-describe-groups
GROUP 909009664950 default default group
PERMISSION 909009664950 default ALLOWS udp 0 0 FROM CIDR 0.0.0.0/0
PERMISSION 909009664950 default ALLOWS tcp 22 22 FROM CIDR 0.0.0.0/0
PERMISSION 909009664950 default ALLOWS tcp 0 0 FROM CIDR 0.0.0.0/0
PERMISSION 909009664950 default ALLOWS icmp 0 0 FROM CIDR 0.0.0.0/0
[root@fog-0-1-1 eucalyptus]# euca-describe-instances
RESERVATION r-ED0F44F2 909009664950
INSTANCE i-0D1B4518 emi-AC273B6F 172.31.254.145 172.31.254.145 terminated 0 c1.medium 2013-01-29T17:50:39.151Z CLUSTER01 eki-8D733EFD eri-47703CB6 monitoring-disabled 172.31.254.145 172.31.254.145 instance-store
[root@fog-0-1-1 eucalyptus]# euca-describe-keypairs
KEYPAIR euca-demo 33:55:8e:a5:fd:0c:4d:73:1e:1a:94:fa:aa:b8:a1:81:1f:05:01:fd
KEYPAIR admin a4:e1:fa:6f:02:56:e0:1a:35:29:7e:89:33:ec:bb:f1:48:a0:45:d4
[root@fog-0-1-1 eucalyptus]# euca_conf --list-nodes
NODE 172.17.32.12 cc_01 i-E961410F
NODE 172.17.32.13 cc_01
NODE 172.17.32.14 cc_01
fog-0-1-2 NC(1):
[root@fog-0-1-2 eucalyptus]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> 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: em1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:26:b9:f9:da:e0 brd ff:ff:ff:ff:ff:ff
3: em2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:26:b9:f9:da:e2 brd ff:ff:ff:ff:ff:ff
inet6 fe80::226:b9ff:fef9:dae2/64 scope link
valid_lft forever preferred_lft forever
5: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 00:26:b9:f9:da:e2 brd ff:ff:ff:ff:ff:ff
inet 172.17.32.12/22 brd 172.17.35.255 scope global br0
inet6 fe80::226:b9ff:fef9:dae2/64 scope link
valid_lft forever preferred_lft forever
[root@fog-0-1-2 eucalyptus]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.17.32.0 0.0.0.0 255.255.252.0 U 0 0 0 br0
169.254.0.0 0.0.0.0 255.255.0.0 U 1005 0 0 br0
0.0.0.0 172.17.32.1 0.0.0.0 UG 0 0 0 br0
[root@fog-0-1-2 eucalyptus]# grep -v '^#' /etc/eucalyptus/eucalyptus.conf | sort -u
CC_PORT="8774"
CLOUD_OPTS=""
CREATE_NC_LOOP_DEVICES=256
EUCALYPTUS="/"
EUCA_USER="eucalyptus"
HYPERVISOR="kvm"
INSTANCE_PATH="/var/lib/eucalyptus/instances"
NC_PORT="8775"
NC_SERVICE="axis2/services/EucalyptusNC"
NODES=""
SCHEDPOLICY="ROUNDROBIN"
USE_VIRTIO_DISK="1"
USE_VIRTIO_NET="0"
USE_VIRTIO_ROOT="1"
VNET_BRIDGE="br0"
VNET_DHCPDAEMON="/usr/sbin/dhcpd41"
VNET_MODE="MANAGED-NOVLAN"
VNET_PRIVINTERFACE="em2"
VNET_PUBINTERFACE="em2"
[root@fog-0-1-2 eucalyptus]# virsh list
Id Name State
----------------------------------------------------
2 i-E961410F running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment