[Openstack-vi] Nhờ giúp về lỗi không ssh được tới máy ảo sau khi đã khởi tạo (có thể do không cấp được IP)

Chiến Vũ Quang vuquangchien at gmail.com
Wed Oct 23 10:26:41 UTC 2013


Dạ, để em thử build lại openvswitch rồi em sẽ báo lại cho anh sau nhé. Em
cảm ơn :)


On Wed, Oct 23, 2013 at 5:17 PM, Kien Nguyen <kien.nguyen at dtt.vn> wrote:

> hi Chiến,
>
> Lỗi không nằm ở quantum-plugin mà là ở openvswitch.
> Openvswitch bản 1.4.x không chạy được trên Ubuntu kernel 3.8 đâu.
> Mình upgrade lên 1.10.1 thì chạy ngon lành :)
>
> Kiên
>
> On Oct 23, 2013, at 5:02 PM, Chiến Vũ Quang <vuquangchien at gmail.com>
> wrote:
>
> Hi anh Kiên,
> Cảm ơn anh đã giúp em,
> Em chạy *dpkg --list | grep openvswitch* trên compute note thì output ra
> như thế này:
>
> vuquangchien at c01:~$ dpkg --list | grep openvswitch
>> ii  openvswitch-common               1.4.2+git20120612-9.1~deb7u1
>>        Open vSwitch common components
>> ii  openvswitch-datapath-dkms        1.4.2+git20120612-9.1~deb7u1
>>        Open vSwitch datapath module source - DKMS version
>> ii  openvswitch-switch               1.4.2+git20120612-9.1~deb7u1
>>        Open vSwitch switch implementations
>> ii  quantum-plugin-openvswitch       1:2013.1.3-0ubuntu1~cloud0
>>        Quantum is a virtual network service for Openstack - Open vSwitch
>> plugin
>> *ii  quantum-plugin-openvswitch-agent 1:2013.1.3-0ubuntu1~cloud0
>>          Quantum is a virtual network service for Openstack - Open vSwitch
>> plugin agent*
>
>
> Em thấy version của quantum-plugin-openvswitch là 2013.1.3 thì có phải là
> cũ không anh?
>
> Em có chạy lệnh sau thì thấy hình như bản của em là cũng mơi mới rồi,
> không biết có phải add thêm repository nào vào không:
>
> root at cloud:/home/vuquangchien# *apt-cache madison
>> quantum-plugin-openvswitch*
>> quantum-plugin-openvswitch | 1:2013.1.3-0ubuntu1~cloud0 |
>> http://ubuntu-cloud.archive.canonical.com/ubuntu/precise-updates/grizzly/main amd64 Packages
>> quantum-plugin-openvswitch | 2013.1.2-4~bpo70+1 |
>> http://archive.gplhost.com/debian/ grizzly/main amd64 Packages
>> quantum-plugin-openvswitch | 2012.1-0ubuntu4 |
>> http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
>>    quantum | 2012.1-0ubuntu4 | http://us.archive.ubuntu.com/ubuntu/precise/universe Sources
>
>
> Từ câu trả lời của anh em search được thêm thread này trên diễn đàn hỏi
> đáp của OpenStack, hình như cũng có liên quan (
> https://ask.openstack.org/en/question/1427/ovs-plugin-error-failed-to-create-ovs-patch-port/
> )
> Em thấy có bạn bảo là fix được bằng cách
>
>
>
> On Wed, Oct 23, 2013 at 4:12 PM, Kien Nguyen <kien.nguyen at dtt.vn> wrote:
>
>> Dear Chiến,
>>
>> Nhìn qua log của quantum thì thấy quantum-plugin-openvswitch-agent không
>> khởi chạy.
>> Lỗi này là do version của openvswitch quá cũ (có thể kiểm tra bằng lệnh
>> dpkg --list | grep openvswitch). Version của openvswitch cần thiết để
>> quantum-plugin-openvswitch-agent có thể chạy phải > 1.4
>>
>> Kiên
>>
>> On Oct 23, 2013, at 3:37 PM, Chiến Vũ Quang <vuquangchien at gmail.com>
>> wrote:
>>
>> Hi cả nhà,
>> Hiện em đang cài OpenStack nhưng gặp phải lỗi không connect được vào máy
>> ảo sau khi cài (máy ảo không khởi tạo được IP), nhà mình ai có kinh nghiệm
>> vụ này cho em hỏi tí được không ạ.
>>
>> Lỗi cụ thể là như thế này ạ: em có follow theo guide hướng dẫn cài *OpenStack
>> Grizzly Multi node* ở đây:
>> -
>> https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst
>> - em có tham khảo thêm guide Tiếng Việt ở đây:
>> https://github.com/MHST13-06/Documents
>>
>> Hệ thống của em gồm 3 node: controller, network và compute. Hiện tại em
>> đã khởi tạo thành công  máy ảo, tuy nhiên máy ảo không được khởi tạo IP, em
>> không ping, cũng không ssh được.
>> Em cũng có post câu hỏi lên GitHub ở địa chỉ sau (
>> https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/issues/133) nhưng
>> không thấy có bạn nào trả lời cả. Nhờ nhà mình giúp em hoặc chỉ cho em cách
>> để debug, em cảm ơn.
>>
>> Một số thông tin debug như sau ạ.
>>
>> *1. Log khởi tạo máy ảo *
>>
>>> [    0.000000] Initializing cgroup subsys cpuset
>>> [    0.000000] Initializing cgroup subsys cpu
>>> [    0.000000] Linux version 3.0.0-12-virtual (buildd at crested) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #20-Ubuntu SMP Fri Oct 7 18:19:02 UTC 2011 (Ubuntu 3.0.0-12.20-virtual 3.0.4)
>>> [    0.000000] Command line: LABEL=cirros-rootfs ro console=tty0 console=ttyS0 console=hvc0
>>> [    0.000000] KERNEL supported cpus:
>>> [    0.000000]   Intel GenuineIntel
>>> [    0.000000]   AMD AuthenticAMD
>>> [    0.000000]   Centaur CentaurHauls
>>> [    0.000000] BIOS-provided physical RAM map:
>>> [    0.000000]  BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
>>> [    0.000000]  BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
>>> [    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
>>> [    0.000000]  BIOS-e820: 0000000000100000 - 000000001fffd000 (usable)
>>> [    0.000000]  BIOS-e820: 000000001fffd000 - 0000000020000000 (reserved)
>>> [    0.000000]  BIOS-e820: 00000000feffc000 - 00000000ff000000 (reserved)
>>> [    0.000000]  BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
>>> [    0.000000] NX (Execute Disable) protection: active
>>> [    0.000000] DMI 2.4 present.
>>> [    0.000000] No AGP bridge found
>>> [    0.000000] last_pfn = 0x1fffd max_arch_pfn = 0x400000000
>>> [    0.000000] x86 PAT enabled: cpu 0, old 0x70406, new 0x7010600070106
>>> [    0.000000] found SMP MP-table at [ffff8800000fdaf0] fdaf0
>>> [    0.000000] init_memory_mapping: 0000000000000000-000000001fffd000
>>> [    0.000000] RAMDISK: 1fdf9000 - 1ffed000
>>> [    0.000000] ACPI: RSDP 00000000000fd950 00014 (v00 BOCHS )
>>> [    0.000000] ACPI: RSDT 000000001fffd7b0 00034 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
>>> [    0.000000] ACPI: FACP 000000001fffff80 00074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
>>> [    0.000000] ACPI: DSDT 000000001fffd9b0 02589 (v01   BXPC   BXDSDT 00000001 INTL 20100528)
>>> [    0.000000] ACPI: FACS 000000001fffff40 00040
>>> [    0.000000] ACPI: SSDT 000000001fffd910 0009E (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
>>> [    0.000000] ACPI: APIC 000000001fffd830 00072 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
>>> [    0.000000] ACPI: HPET 000000001fffd7f0 00038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
>>> [    0.000000] No NUMA configuration found
>>> [    0.000000] Faking a node at 0000000000000000-000000001fffd000
>>> [    0.000000] Initmem setup node 0 0000000000000000-000000001fffd000
>>> [    0.000000]   NODE_DATA [000000001fff5000 - 000000001fff9fff]
>>> [    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
>>> [    0.000000] kvm-clock: cpu 0, msr 0:1ce28c1, boot clock
>>> [    0.000000] Zone PFN ranges:
>>> [    0.000000]   DMA      0x00000010 -> 0x00001000
>>> [    0.000000]   DMA32    0x00001000 -> 0x00100000
>>> [    0.000000]   Normal   empty
>>> [    0.000000] Movable zone start PFN for each node
>>> [    0.000000] early_node_map[2] active PFN ranges
>>> [    0.000000]     0: 0x00000010 -> 0x0000009d
>>> [    0.000000]     0: 0x00000100 -> 0x0001fffd
>>> [    0.000000] ACPI: PM-Timer IO Port: 0xb008
>>> [    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
>>> [    0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
>>> [    0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
>>> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
>>> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
>>> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
>>> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
>>> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
>>> [    0.000000] Using ACPI (MADT) for SMP configuration information
>>> [    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
>>> [    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
>>> [    0.000000] PM: Registered nosave memory: 000000000009d000 - 000000000009e000
>>> [    0.000000] PM: Registered nosave memory: 000000000009e000 - 00000000000a0000
>>> [    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
>>> [    0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
>>> [    0.000000] Allocating PCI resources starting at 20000000 (gap: 20000000:deffc000)
>>> [    0.000000] Booting paravirtualized kernel on KVM
>>> [    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
>>> [    0.000000] PERCPU: Embedded 27 pages/cpu @ffff88001fa00000 s79296 r8192 d23104 u2097152
>>> [    0.000000] kvm-clock: cpu 0, msr 0:1fa128c1, primary cpu clock
>>> [    0.000000] KVM setup async PF for cpu 0
>>> [    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 129157
>>> [    0.000000] Policy zone: DMA32
>>> [    0.000000] Kernel command line: LABEL=cirros-rootfs ro console=tty0 console=ttyS0 console=hvc0
>>> [    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
>>> [    0.000000] Checking aperture...
>>> [    0.000000] No AGP bridge found
>>> [    0.000000] Memory: 497852k/524276k available (6206k kernel code, 460k absent, 25964k reserved, 6907k data, 900k init)
>>> [    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
>>> [    0.000000] Hierarchical RCU implementation.
>>> [    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
>>> [    0.000000] NR_IRQS:4352 nr_irqs:256 16
>>> [    0.000000] Console: colour VGA+ 80x25
>>> [    0.000000] console [tty0] enabled
>>> [    0.000000] console [ttyS0] enabled
>>> [    0.000000] allocated 4194304 bytes of page_cgroup
>>> [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
>>> [    0.000000] Detected 3192.744 MHz processor.
>>> [    0.008000] Calibrating delay loop (skipped) preset value.. 6385.48 BogoMIPS (lpj=12770976)
>>> [    0.008000] pid_max: default: 32768 minimum: 301
>>> [    0.008034] Security Framework initialized
>>> [    0.009114] AppArmor: AppArmor initialized
>>> [    0.009627] Yama: becoming mindful.
>>> [    0.010142] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
>>> [    0.012011] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
>>> [    0.012947] Mount-cache hash table entries: 256
>>> [    0.013610] Initializing cgroup subsys cpuacct
>>> [    0.014166] Initializing cgroup subsys memory
>>> [    0.014711] Initializing cgroup subsys devices
>>> [    0.015255] Initializing cgroup subsys freezer
>>> [    0.015795] Initializing cgroup subsys net_cls
>>> [    0.016005] Initializing cgroup subsys blkio
>>> [    0.016544] Initializing cgroup subsys perf_event
>>> [    0.017159] CPU: CPU feature xsave disabled, no CPUID level 0xd
>>> [    0.017847] mce: CPU supports 10 MCE banks
>>> [    0.018531] SMP alternatives: switching to UP code
>>> [    0.034407] Freeing SMP alternatives: 24k freed
>>> [    0.034975] ACPI: Core revision 20110413
>>> [    0.036123] ftrace: allocating 26075 entries in 103 pages
>>> [    0.040204] Enabling x2apic
>>> [    0.040960] Enabled x2apic
>>> [    0.044011] Switched APIC routing to physical x2apic.
>>> [    0.048159] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
>>> [    0.049699] CPU0: Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz stepping 0b
>>> [    0.052002] Performance Events: unsupported p6 CPU model 15 no PMU driver, software events only.
>>> [    0.052002] Brought up 1 CPUs
>>> [    0.052002] Total of 1 processors activated (6385.48 BogoMIPS).
>>> [    0.052002] devtmpfs: initialized
>>> [    0.052813] print_constraints: dummy:
>>> [    0.053371] Time:  0:32:58  Date: 10/23/13
>>> [    0.053917] NET: Registered protocol family 16
>>> [    0.054560] ACPI: bus type pci registered
>>> [    0.055140] PCI: Using configuration type 1 for base access
>>> [    0.056247] bio: create slab <bio-0> at 0
>>> [    0.058035] ACPI: Interpreter enabled
>>> [    0.058510] ACPI: (supports S0 S3 S4 S5)
>>> [    0.059219] ACPI: Using IOAPIC for interrupt routing
>>> [    0.061803] ACPI: No dock devices found.
>>> [    0.062299] HEST: Table not found.
>>> [    0.062744] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
>>> [    0.063836] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
>>> [    0.065526] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
>>> [    0.066406] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
>>> [    0.072404]  pci0000:00: Unable to request _OSC control (_OSC support mask: 0x1e)
>>> [    0.075401] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
>>> [    0.076346] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
>>> [    0.077291] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
>>> [    0.078278] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
>>> [    0.079222] ACPI: PCI Interrupt Link [LNKS] (IRQs 9) *0
>>> [    0.080171] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
>>> [    0.081136] vgaarb: loaded
>>> [    0.081521] vgaarb: bridge control possible 0000:00:02.0
>>> [    0.082313] SCSI subsystem initialized
>>> [    0.082945] usbcore: registered new interface driver usbfs
>>> [    0.083594] usbcore: registered new interface driver hub
>>> [    0.084034] usbcore: registered new device driver usb
>>> [    0.084731] PCI: Using ACPI for IRQ routing
>>> [    0.085471] NetLabel: Initializing
>>> [    0.085927] NetLabel:  domain hash size = 128
>>> [    0.086459] NetLabel:  protocols = UNLABELED CIPSOv4
>>> [    0.087053] NetLabel:  unlabeled traffic allowed by default
>>> [    0.088052] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
>>> [    0.088842] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
>>> [    0.089628] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
>>> [    0.096095] Switching to clocksource kvm-clock
>>> [    0.099374] Switched to NOHz mode on CPU #0
>>> [    0.101619] AppArmor: AppArmor Filesystem Enabled
>>> [    0.102207] pnp: PnP ACPI init
>>> [    0.102634] ACPI: bus type pnp registered
>>> [    0.103611] pnp: PnP ACPI: found 8 devices
>>> [    0.104134] ACPI: ACPI bus type pnp unregistered
>>> [    0.110154] NET: Registered protocol family 2
>>> [    0.110783] IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
>>> [    0.111736] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
>>> [    0.112794] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
>>> [    0.113651] TCP: Hash tables configured (established 16384 bind 16384)
>>> [    0.114380] TCP reno registered
>>> [    0.114803] UDP hash table entries: 256 (order: 1, 8192 bytes)
>>> [    0.115472] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
>>> [    0.116234] NET: Registered protocol family 1
>>> [    0.116837] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
>>> [    0.117531] pci 0000:00:01.0: PIIX3: Enabling Passive Release
>>> [    0.118200] pci 0000:00:01.0: Activating ISA DMA hang workarounds
>>> [    0.119156] Trying to unpack rootfs image as initramfs...
>>> [    0.124133] audit: initializing netlink socket (disabled)
>>> [    0.124774] type=2000 audit(1382488379.120:1): initialized
>>> [    0.160080] HugeTLB registered 2 MB page size, pre-allocated 0 pages
>>> [    0.161795] VFS: Disk quotas dquot_6.5.2
>>> [    0.162335] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
>>> [    0.163433] fuse init (API version 7.16)
>>> [    0.163990] msgmni has been set to 972
>>> [    0.167883] Freeing initrd memory: 2000k freed
>>> [    0.172184] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
>>> [    0.173120] io scheduler noop registered
>>> [    0.173616] io scheduler deadline registered (default)
>>> [    0.174243] io scheduler cfq registered
>>> [    0.174791] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
>>> [    0.175449] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
>>> [    0.176279] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
>>> [    0.177213] ACPI: Power Button [PWRF]
>>> [    0.178244] ERST: Table is not found!
>>> [    0.178832] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
>>> [    0.179506] virtio-pci 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, high) -> IRQ 11
>>> [    0.180671] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
>>> [    0.181348] virtio-pci 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI 10 (level, high) -> IRQ 10
>>> [    0.182488] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
>>> [    0.183152] virtio-pci 0000:00:05.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, high) -> IRQ 10
>>> [    0.184251] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
>>> [    0.206222] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>>> [    0.229444] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
>>> [    0.251410] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>>> [    0.272825] 00:06: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
>>> [    0.273590] Linux agpgart interface v0.103
>>> [    0.274709] brd: module loaded
>>> [    0.275410] loop: module loaded
>>> [    0.286870]  vda: vda1
>>> [    0.288736] scsi0 : ata_piix
>>> [    0.289818] scsi1 : ata_piix
>>> [    0.290780] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14
>>> [    0.292488] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15
>>> [    0.294486] Fixed MDIO Bus: probed
>>> [    0.295548] PPP generic driver version 2.4.2
>>> [    0.296802] tun: Universal TUN/TAP device driver, 1.6
>>> [    0.297585] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
>>> [    0.306111] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>>> [    0.306878] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>> [    0.307594] uhci_hcd: USB Universal Host Controller Interface driver
>>> [    0.308354] uhci_hcd 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 10 (level, high) -> IRQ 10
>>> [    0.309835] uhci_hcd 0000:00:01.2: UHCI Host Controller
>>> [    0.311304] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
>>> [    0.313498] uhci_hcd 0000:00:01.2: irq 10, io base 0x0000c040
>>> [    0.315235] hub 1-0:1.0: USB hub found
>>> [    0.316383] hub 1-0:1.0: 2 ports detected
>>> [    0.317800] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
>>> [    0.320860] serio: i8042 KBD port at 0x60,0x64 irq 1
>>> [    0.321679] serio: i8042 AUX port at 0x60,0x64 irq 12
>>> [    0.322332] mousedev: PS/2 mouse device common for all mice
>>> [    0.323092] rtc_cmos 00:01: RTC can wake from S4
>>> [    0.323803] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
>>> [    0.324619] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs
>>> [    0.325485] device-mapper: uevent: version 1.0.3
>>> [    0.326098] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel at redhat.com
>>> [    0.327131] cpuidle: using governor ladder
>>> [    0.327670] cpuidle: using governor menu
>>> [    0.328190] EFI Variables Facility v0.08 2004-May-17
>>> [    0.328908] TCP cubic registered
>>> [    0.329495] NET: Registered protocol family 10
>>> [    0.330386] NET: Registered protocol family 17
>>> [    0.330943] Registering the dns_resolver key type
>>> [    0.331624] registered taskstats version 1
>>> [    0.332365] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
>>> [    0.335837]   Magic number: 1:228:507
>>> [    0.336485] rtc_cmos 00:01: setting system clock to 2013-10-23 00:32:59 UTC (1382488379)
>>> [    0.337522] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
>>> [    0.338231] EDD information not available.
>>> [    0.490155] Freeing unused kernel memory: 900k freed
>>> [    0.492005] Write protecting the kernel read-only data: 12288k
>>> [    0.500531] Freeing unused kernel memory: 1968k freed
>>> [    0.504290] Freeing unused kernel memory: 1368k freed
>>>
>>> info: initramfs: up at 0.50
>>> NOCHANGE: partition 1 is size 64260. it cannot be grown
>>> info: initramfs loading root from /dev/vda1
>>> info: /etc/init.d/rc.sysinit: up at 0.63
>>> [    0.637140] EXT3-fs (vda1): 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 discover...
>>> Sending discover...
>>> 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.77. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 2/30: up 10.78. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 3/30: up 11.78. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 4/30: up 12.78. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 5/30: up 13.79. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 6/30: up 14.79. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 7/30: up 15.79. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 8/30: up 16.80. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 9/30: up 17.80. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 10/30: up 18.80. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 11/30: up 19.81. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 12/30: up 20.81. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 13/30: up 21.81. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 14/30: up 22.82. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 15/30: up 23.82. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 16/30: up 24.82. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 17/30: up 25.83. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 18/30: up 26.83. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 19/30: up 27.83. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 20/30: up 28.84. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 21/30: up 29.84. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 22/30: up 30.84. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 23/30: up 31.85. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 24/30: up 32.85. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 25/30: up 33.85. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 26/30: up 34.86. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 27/30: up 35.86. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 28/30: up 36.86. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 29/30: up 37.87. request failed
>>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>> cloud-setup: failed 30/30: up 38.87. 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:91:DA:36
>>>           inet6 addr: fe80::f816:3eff:fe91:da36/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:21 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:2370 (2.3 KiB)  TX bytes:902 (902.0 B)
>>>
>>> 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.690229] acpiphp: Slot [30] registered
>>> [    0.690237] acpiphp: Slot [31] registered
>>> [    0.701886] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
>>> [    0.701890] e1000: Copyright (c) 1999-2006 Intel Corporation.
>>> [    0.704723] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
>>> [    0.706933] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
>>> [    0.709281] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend at alpha.franken.de
>>> [    0.714137] ip_tables: (C) 2000-2006 Netfilter Core Team
>>> [    1.116081] Refined TSC clocksource calibration: 3192.747 MHz.
>>> [    1.224242] eth0: IPv6 duplicate address fe80::f816:3eff:fe91:da36 detected!
>>> ### tail -n 25 /var/log/messages
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.000000] KERNEL supported cpus:
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.000000]   Intel GenuineIntel
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.000000]   AMD AuthenticAMD
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.000000]   Centaur CentaurHauls
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.000000] BIOS-provided physical RAM map:
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.000000]  BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.689944] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.689995] acpiphp: Slot [1] registered
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.690004] acpiphp: Slot [2] registered
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.690012] acpiphp: Slot [3] registered
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.690019] acpiphp: Slot [4] registered
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.690027] acpiphp: Slot [5] registered
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.690035] acpiphp: Slot [6] registered
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.690047] acpiphp: Slot [7] registered
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.690055] acpiphp: Slot [8] registered
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.690063] acpiphp: Slot [9] registered
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.690071] acpiphp: Slot [10] registered
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.701886] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.701890] e1000: Copyright (c) 1999-2006 Intel Corporation.
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.704723] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.706933] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.709281] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend at alpha.franken.de
>>> Oct 22 18:32:59 cirros kern.info kernel: [    0.714137] ip_tables: (C) 2000-2006 Netfilter Core Team
>>> Oct 22 18:33:00 cirros kern.info kernel: [    1.116081] Refined TSC clocksource calibration: 3192.747 MHz.
>>> Oct 22 18:33:00 cirros kern.info kernel: [    1.224242] eth0: IPv6 duplicate address fe80::f816:3eff:fe91:da36 detected!
>>> ############ 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.05 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:
>>>
>>> *
>> *
>> * 2. Cách ping và ssh từ máy Network*
>>  Em ssh như sau, cách này em học từ guide chính thức của OpenStack ở địa
>> chỉ sau
>> http://docs.openstack.org/grizzly/basic-install/apt/content/basic-install_operate.html
>>
>> vuquangchien at network:~$ ip netns
>>> qrouter-26f355ef-cad2-4ccd-a69e-233aabe66393
>>> qdhcp-404bcb04-842b-499e-ba7a-72780e45edec
>>> vuquangchien at network:~$ sudo ip netns exec
>>> qdhcp-404bcb04-842b-499e-ba7a-72780e45edec ping 50.50.1.1
>>> PING 50.50.1.1 (50.50.1.1) 56(84) bytes of data.
>>> 64 bytes from 50.50.1.1: icmp_req=1 ttl=64 time=0.099 ms
>>> 64 bytes from 50.50.1.1: icmp_req=2 ttl=64 time=0.078 ms
>>> vuquangchien at network:~$ sudo ip netns exec
>>> qdhcp-404bcb04-842b-499e-ba7a-72780e45edec ping 50.50.1.2
>>> PING 50.50.1.2 (50.50.1.2) 56(84) bytes of data.
>>> From 50.50.1.3 icmp_seq=1 Destination Host Unreachable
>>> From 50.50.1.3 icmp_seq=2 Destination Host Unreachable
>>> From 50.50.1.3 icmp_seq=3 Destination Host Unreachable
>>
>> *3. ifconfig từ máy controller (tên máy là cloud)*
>>
>>
>>> vuquangchien at cloud:~$ ifconfig
>>> eth0      Link encap:Ethernet  HWaddr 00:05:1c:1d:6b:a6
>>>           inet addr:10.10.10.51  Bcast:10.10.10.255  Mask:255.255.255.0
>>>           inet6 addr: fe80::205:1cff:fe1d:6ba6/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:646975 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:463908 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:118783255 (118.7 MB)  TX bytes:70280521 (70.2 MB)
>>> eth1      Link encap:Ethernet  HWaddr 00:19:d1:57:11:c2
>>>           inet addr:10.3.9.142  Bcast:10.3.9.255  Mask:255.255.255.0
>>>           inet6 addr: fe80::219:d1ff:fe57:11c2/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:944046 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:64549 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:128325941 (128.3 MB)  TX bytes:8081027 (8.0 MB)
>>> 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:65536  Metric:1
>>>           RX packets:2145604 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:2145604 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:513444621 (513.4 MB)  TX bytes:513444621 (513.4 MB)
>>
>>
>> 3. ifconfig từ máy network ( tên máy là network)
>>
>> vuquangchien at network:~$ ifconfig
>>> eth0      Link encap:Ethernet  HWaddr 00:19:d1:57:1b:32
>>>           inet6 addr: fe80::219:d1ff:fe57:1b32/64 Scope:Link
>>>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>>>           RX packets:4043773 errors:2 dropped:313447 overruns:0 frame:2
>>>           TX packets:244 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:467964870 (467.9 MB)  TX bytes:10680 (10.6 KB)
>>> eth1      Link encap:Ethernet  HWaddr 00:e0:4c:70:6b:eb
>>>           inet addr:10.10.10.52  Bcast:10.10.10.255  Mask:255.255.255.0
>>>           inet6 addr: fe80::2e0:4cff:fe70:6beb/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:917912 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:1456291 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:67029946 (67.0 MB)  TX bytes:250905221 (250.9 MB)
>>> eth2      Link encap:Ethernet  HWaddr 00:e0:4c:a7:31:85
>>>           inet addr:10.20.20.52  Bcast:10.20.20.255  Mask:255.255.255.0
>>>           inet6 addr: fe80::2e0:4cff:fea7:3185/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:16477 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:5635134 (5.6 MB)  TX bytes:828 (828.0 B)
>>> 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:65536  Metric:1
>>>           RX packets:36424 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:36424 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:3240294 (3.2 MB)  TX bytes:3240294 (3.2 MB)
>>
>>
>> 4. ifconfig từ máy compute (tên máy là c01)
>>
>> vuquangchien at c01:~$ ifconfig
>>> eth0      Link encap:Ethernet  HWaddr 6c:3b:e5:1f:c0:3c
>>>           inet addr:10.20.20.53  Bcast:10.20.20.255  Mask:255.255.255.0
>>>           inet6 addr: fe80::6e3b:e5ff:fe1f:c03c/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:0 (0.0 B)  TX bytes:468 (468.0 B)
>>> eth1      Link encap:Ethernet  HWaddr 00:e0:4c:3d:3b:e9
>>>           inet addr:10.10.10.53  Bcast:10.10.10.255  Mask:255.255.255.0
>>>           inet6 addr: fe80::2e0:4cff:fe3d:3be9/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:70690 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:79012 errors:0 dropped:0 overruns:3 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:28075155 (28.0 MB)  TX bytes:17784294 (17.7 MB)
>>> 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:65536  Metric:1
>>>           RX packets:80 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:6472 (6.4 KB)  TX bytes:6472 (6.4 KB)
>>> qbr345b144e-44 Link encap:Ethernet  HWaddr 22:5d:a1:1b:39:de
>>>           inet6 addr: fe80::545b:77ff:fee2:fff5/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:35 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:3692 (3.6 KB)  TX bytes:468 (468.0 B)
>>> qbrd5e6aac1-0f Link encap:Ethernet  HWaddr 9e:04:ee:4a:12:42
>>>           inet6 addr: fe80::1c72:84ff:fe1f:1901/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:37 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:3820 (3.8 KB)  TX bytes:468 (468.0 B)
>>> qbrd60015d1-17 Link encap:Ethernet  HWaddr 8e:d0:f4:c0:ae:1b
>>>           inet6 addr: fe80::9839:15ff:fe87:f63/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:11 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:1448 (1.4 KB)  TX bytes:468 (468.0 B)
>>> qvb345b144e-44 Link encap:Ethernet  HWaddr 22:5d:a1:1b:39:de
>>>           inet6 addr: fe80::205d:a1ff:fe1b:39de/64 Scope:Link
>>>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>>>           RX packets:37 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:4350 (4.3 KB)  TX bytes:846 (846.0 B)
>>> qvbd5e6aac1-0f Link encap:Ethernet  HWaddr 9e:04:ee:4a:12:42
>>>           inet6 addr: fe80::9c04:eeff:fe4a:1242/64 Scope:Link
>>>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>>>           RX packets:32 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:3204 (3.2 KB)  TX bytes:2070 (2.0 KB)
>>> qvbd60015d1-17 Link encap:Ethernet  HWaddr 8e:d0:f4:c0:ae:1b
>>>           inet6 addr: fe80::8cd0:f4ff:fec0:ae1b/64 Scope:Link
>>>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>>>           RX packets:6 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:468 (468.0 B)  TX bytes:2070 (2.0 KB)
>>> qvo345b144e-44 Link encap:Ethernet  HWaddr c2:d2:08:e6:94:87
>>>           inet6 addr: fe80::c0d2:8ff:fee6:9487/64 Scope:Link
>>>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>>>           RX packets:11 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:846 (846.0 B)  TX bytes:4350 (4.3 KB)
>>> qvod5e6aac1-0f Link encap:Ethernet  HWaddr 36:6c:d5:79:76:c1
>>>           inet6 addr: fe80::346c:d5ff:fe79:76c1/64 Scope:Link
>>>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>>>           RX packets:17 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:2070 (2.0 KB)  TX bytes:3204 (3.2 KB)
>>> qvod60015d1-17 Link encap:Ethernet  HWaddr b2:43:a5:42:b9:cb
>>>           inet6 addr: fe80::b043:a5ff:fe42:b9cb/64 Scope:Link
>>>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>>>           RX packets:17 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:2070 (2.0 KB)  TX bytes:468 (468.0 B)
>>> tap345b144e-44 Link encap:Ethernet  HWaddr fe:16:3e:8a:e5:56
>>>           inet6 addr: fe80::fc16:3eff:fe8a:e556/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:500
>>>           RX bytes:0 (0.0 B)  TX bytes:4872 (4.8 KB)
>>> tapd5e6aac1-0f Link encap:Ethernet  HWaddr fe:16:3e:3f:ea:83
>>>           inet6 addr: fe80::fc16:3eff:fe3f:ea83/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:6 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:500
>>>           RX bytes:1224 (1.2 KB)  TX bytes:4950 (4.9 KB)
>>> tapd60015d1-17 Link encap:Ethernet  HWaddr fe:16:3e:91:da:36
>>>           inet6 addr: fe80::fc16:3eff:fe91:da36/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:6 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:500
>>>           RX bytes:1224 (1.2 KB)  TX bytes:2370 (2.3 KB)
>>
>>
>> 5. ovs-vsctl từ máy compute
>>
>> vuquangchien at c01:~$ ovs-vsctl --version
>>> ovs-vsctl (Open vSwitch) 1.4.2
>>> Compiled Jun 29 2013 17:39:06
>>
>>
>> 6. grep ovs /var/log/syslog từ máy compute
>>
>> vuquangchien at c01:~$ grep ovs /var/log/syslog
>>> Oct 23 06:59:40 c01 ovs-vsctl: 00001|vsctl|INFO|Called as
>>> /usr/bin/ovs-vsctl -- --may-exist add-port br-int qvod5e6aac1-0f -- set
>>> Interface qvod5e6aac1-0f
>>> external-ids:iface-id=d5e6aac1-0f91-4a5f-b6b2-c675854dc929
>>> external-ids:iface-status=active
>>> external-ids:attached-mac=fa:16:3e:3f:ea:83
>>> external-ids:vm-uuid=8a6d2483-86ba-41e5-8bf5-626c251f31f8
>>> Oct 23 06:59:41 c01 ovs-vsctl: 00001|vsctl|INFO|Called as
>>> /usr/bin/ovs-vsctl -- --may-exist add-port br-int qvo345b144e-44 -- set
>>> Interface qvo345b144e-44
>>> external-ids:iface-id=345b144e-4405-402e-8579-9e6830154687
>>> external-ids:iface-status=active
>>> external-ids:attached-mac=fa:16:3e:8a:e5:56
>>> external-ids:vm-uuid=8a6d2483-86ba-41e5-8bf5-626c251f31f8
>>> Oct 23 07:32:54 c01 ovs-vsctl: 00001|vsctl|INFO|Called as
>>> /usr/bin/ovs-vsctl -- --may-exist add-port br-int qvod60015d1-17 -- set
>>> Interface qvod60015d1-17
>>> external-ids:iface-id=d60015d1-17af-4595-bfc3-95779425efba
>>> external-ids:iface-status=active
>>> external-ids:attached-mac=fa:16:3e:91:da:36
>>> external-ids:vm-uuid=c3688fda-7793-4fce-9c40-b4095171b10f
>>> Oct 23 08:06:29 c01 ovs-vsctl: 00001|vsctl|ERR|missing command name (use
>>> --help for help)
>>> Oct 23 08:27:28 c01 ovs-vsctl: 00001|vsctl|ERR|missing command name (use
>>> --help for help)
>>
>>
>> 7. grep -i error /var/log/quantum/*
>>
>> /var/log/quantum/openvswitch-agent.log.1:2013-10-17 15:08:03    ERROR
>>> [quantum.openstack.common.rpc.common] AMQP server on localhost:5672 is
>>> unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.(Rất
>>> nhiều cái này)
>>> /var/log/quantum/openvswitch-agent.log.1:2013-10-17 15:08:21    ERROR
>>> [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Failed to create OVS
>>> patch port. Cannot have tunneling enabled on this agent, since this version
>>> of OVS does not support tunnels or patch ports. Agent terminated!
>>> /var/log/quantum/openvswitch-agent.log.1:2013-10-18 14:19:41    ERROR
>>> [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Failed to create OVS
>>> patch port. Cannot have tunneling enabled on this agent, since this version
>>> of OVS does not support tunnels or patch ports. Agent terminated!
>>
>>
>>
>> _______________________________________________
>> VietOpenStack's mailing list
>> openstack-vi at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-vi
>>
>>
>>
>> _______________________________________________
>> VietOpenStack's mailing list
>> openstack-vi at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-vi
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-vi/attachments/20131023/f7cc39c7/attachment-0001.html>


More information about the Openstack-vi mailing list