Kira-kira udah bener belum ya dengan konfigurasi seperti itu ?
nyoba create instance pake image cirros VHD, waktu booting gak dapet IP
info: initramfs: up at 0.28
GROWROOT: CHANGED: partition=1 start=16065 old: size=64260 end=80325 new: size=2072385,end=2088450
info: initramfs loading root from /dev/xvda1
info: /etc/init.d/rc.sysinit: up at 0.41
[ 0.417158] EXT3-fs (xvda1): warning: checktime reached, running e2fsck is recommended
Starting logging: OK
Initializing random number generator... done.
Starting network...
udhcpc (v1.18.5) started
Sending discover...
Sending select for 10.5.5.2...
Sending select for 10.5.5.2...
Sending select for 10.5.5.2...
No lease, failing
WARN: /etc/rc3.d/S40-network failed
cloud-setup: checking http://169.254.169.254/2009-04-04/meta-data/instance-id
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 1/30: up 9.58. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 2/30: up 10.60. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
........
cloud-setup: failed 30/30: up 38.75. request failed
cloud-setup: after 30 fails, debugging
cloud-setup: running debug (30 tries reached)
############ debug start ##############
### /etc/rc.d/init.d/sshd start
/etc/rc3.d/S45-cloud-setup: line 66: /etc/rc.d/init.d/sshd: not found
route: fscanf
### ifconfig -a
eth0 Link encap:Ethernet HWaddr FA:16:3E:19:10:E4
inet6 addr: fe80::f816:3eff:fe19:10e4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1356 (1.3 KiB) TX bytes:1792 (1.7 KiB)
Interrupt:25
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
### route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
route: fscanf
### cat /etc/resolv.conf
cat: can't open '/etc/resolv.conf': No such file or directory
### gateway not found
/etc/rc3.d/S45-cloud-setup: line 66: can't open /etc/resolv.conf: no such file
### pinging nameservers
### uname -a
Linux cirros 3.0.0-12-virtual #20-Ubuntu SMP Fri Oct 7 18:19:02 UTC 2011 x86_64 GNU/Linux
### lsmod
Module Size Used by Not tainted
vfat 17585 0
fat 61475 1 vfat
isofs 40253 0
ip_tables 27473 0
x_tables 29846 1 ip_tables
pcnet32 42078 0
8139cp 27412 0
ne2k_pci 13691 0
8390 18856 1 ne2k_pci
e1000 108573 0
acpiphp 24080 0
### dmesg | tail
[ 0.417158] EXT3-fs (xvda1): warning: checktime reached, running e2fsck is recommended
[ 0.426455] EXT3-fs (xvda1): using internal journal
[ 0.482688] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.487149] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 0.487153] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 0.490515] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
[ 0.493154] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 0.496001] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbo...@alpha.franken.de
[ 0.500576] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.976038] eth0: no IPv6 routers present
### tail -n 25 /var/log/messages
Dec 11 23:18:52 cirros kern.info kernel: [ 0.264448] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
Dec 11 23:18:52 cirros kern.info kernel: [ 0.264573] EDD information not available.
Dec 11 23:18:52 cirros kern.info kernel: [ 0.265435] Freeing unused kernel memory: 900k freed
Dec 11 23:18:52 cirros kern.info kernel: [ 0.265850] Write protecting the kernel read-only data: 12288k
Dec 11 23:18:52 cirros kern.info kernel: [ 0.277186] Freeing unused kernel memory: 1968k freed
Dec 11 23:18:52 cirros kern.info kernel: [ 0.278921] Freeing unused kernel memory: 1368k freed
Dec 11 23:18:52 cirros kern.info kernel: [ 0.302510] EXT3-fs: barriers not enabled
Dec 11 23:18:52 cirros kern.info kernel: [ 0.302759] kjournald starting. Commit interval 5 seconds
Dec 11 23:18:52 cirros kern.info kernel: [ 0.302778] EXT3-fs (xvda1): mounted filesystem with ordered data mode
Dec 11 23:18:52 cirros kern.info kernel: [ 0.334129] xvda: xvda1
Dec 11 23:18:52 cirros kern.info kernel: [ 0.372602] xvda: xvda1
Dec 11 23:18:52 cirros kern.info kernel: [ 0.379034] xvda: xvda1
Dec 11 23:18:52 cirros kern.info kernel: [ 0.383526] EXT3-fs: barriers not enabled
Dec 11 23:18:52 cirros kern.info kernel: [ 0.383805] kjournald starting. Commit interval 5 seconds
Dec 11 23:18:52 cirros kern.info kernel: [ 0.383819] EXT3-fs (xvda1): mounted filesystem with ordered data mode
Dec 11 23:18:52 cirros kern.warn kernel: [ 0.417158] EXT3-fs (xvda1): warning: checktime reached, running e2fsck is recommended
Dec 11 23:18:52 cirros kern.info kernel: [ 0.426455] EXT3-fs (xvda1): using internal journal
Dec 11 23:18:52 cirros kern.info kernel: [ 0.482688] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
Dec 11 23:18:52 cirros kern.info kernel: [ 0.487149] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
Dec 11 23:18:52 cirros kern.info kernel: [ 0.487153] e1000: Copyright (c) 1999-2006 Intel Corporation.
Dec 11 23:18:52 cirros kern.info kernel: [ 0.490515] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
Dec 11 23:18:52 cirros kern.info kernel: [ 0.493154] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
Dec 11 23:18:52 cirros kern.info kernel: [ 0.496001] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbo...@alpha.franken.de
Dec 11 23:18:52 cirros kern.info kernel: [ 0.500576] ip_tables: (C) 2000-2006 Netfilter Core Team
Dec 11 23:19:02 cirros kern.debug kernel: [ 10.976038] eth0: no IPv6 routers present
############ debug end ##############
cloud-setup: failed to read iid from metadata. tried 30
WARN: /etc/rc3.d/S45-cloud-setup failed
Starting dropbear sshd: generating rsa key... generating dsa key... OK
===== cloud-final: system completely up in 40.21 seconds ====
wget: can't connect to remote host (169.254.169.254): Network is unreachable
wget: can't connect to remote host (169.254.169.254): Network is unreachable
wget: can't connect to remote host (169.254.169.254): Network is unreachable
instance-id:
public-ipv4:
local-ipv4 :
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-userdata: failed to read instance id
WARN: /etc/rc3.d/S99-cloud-userdata failed
____ ____ ____
/ __/ __ ____ ____ / __ \/ __/
/ /__ / // __// __// /_/ /\ \
\___//_//_/ /_/ \____/___/
http://launchpad.net/cirros
login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.
cirros login:
dan inilah config nova.conf saya di compute node yang ada nova-networknya
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
# libvirt_use_virtio_for_bridges=True
# connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
rpc_backend = nova.rpc.impl_kombu
rabbit_host = roadrunner
rabbit_password = password
#VNC
my_ip=192.168.10.32
vnc_enabled=True
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=192.168.10.28
novncproxy_base_url=http://192.168.10.29:6080/vnc_auto.html
#glance
glance_host=roadrunner
#xenserver
compute_driver=xenapi.XenAPIDriver
xenapi_connection_url=http://192.168.10.28
xenapi_connection_username=root
xenapi_connection_password=password
xenapi_vif_driver=nova.virt.xenapi.vif.XenAPIBridgeDriver
#NETWORK
network_manager=nova.network.manager.FlatDHCPManager
# firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
firewall_driver=nova.virt.xenapi.firewall.Dom0IptablesFirewallDriver
network_size=254
allow_same_net_traffic=False
multi_host=True
send_arp_for_ha=True
share_dhcp_address=True
force_dhcp_release=True
fixed_range=''
flat_injected=False
flat_network_bridge=br100
flat_interface=eth1
public_interface=eth0
[database]
# The SQLAlchemy connection string used to connect to the database
connection = mysql://nova:password@roadrunner/nova
kira-kira salah dimana ya koq instancenya gak dapet IP DHCP ?