问题解决了 |
现在页面也可以打开,但是 显示 Failed to connect to server (code: 1006) |
完整日志是 如下:: cirros login: [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.2.0-80-virtual (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #116-Ubuntu SMP Mon Mar 23 17:28:52 UTC 2015 (Ubuntu 3.2.0-80.116-virtual 3.2.68) [ 0.000000] Command line: LABEL=cirros-rootfs ro console=tty1 console=ttyS0 [ 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 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000001ffdc000 (usable) [ 0.000000] BIOS-e820: 000000001ffdc000 - 0000000020000000 (reserved) [ 0.000000] BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved) [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.8 present. [ 0.000000] No AGP bridge found [ 0.000000] last_pfn = 0x1ffdc max_arch_pfn = 0x400000000 [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 [ 0.000000] found SMP MP-table at [ffff8800000f73d0] f73d0 [ 0.000000] init_memory_mapping: 0000000000000000-000000001ffdc000 [ 0.000000] RAMDISK: 1fc6e000 - 1ffcc000 [ 0.000000] ACPI: RSDP 00000000000f71a0 00014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 000000001ffe181b 0002C (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 000000001ffe172f 00074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 000000001ffe0040 016EF (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACS 000000001ffe0000 00040 [ 0.000000] ACPI: APIC 000000001ffe17a3 00078 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-000000001ffdc000 [ 0.000000] Initmem setup node 0 0000000000000000-000000001ffdc000 [ 0.000000] NODE_DATA [000000001ffd4000 - 000000001ffd8fff] [ 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 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x0001ffdc [ 0.000000] ACPI: PM-Timer IO Port: 0x608 [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [ 0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 0, 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] SMP: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 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:dffc0000) [ 0.000000] Booting paravirtualized kernel on bare hardware [ 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 s78848 r8192 d23552 u2097152 [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 128870 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: LABEL=cirros-rootfs ro console=tty1 console=ttyS0 [ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes) [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Memory: 496160k/524144k available (6576k kernel code, 452k absent, 27532k reserved, 6620k data, 928k 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 [tty1] 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] Fast TSC calibration failed [ 0.000000] TSC: Unable to calibrate against PIT [ 0.000000] TSC: using PMTIMER reference calibration [ 0.000000] Detected 2095.137 MHz processor. [ 0.032919] Calibrating delay loop (skipped), value calculated using timer frequency.. 4190.27 BogoMIPS (lpj=8380548) [ 0.033921] pid_max: default: 32768 minimum: 301 [ 0.040221] Security Framework initialized [ 0.043627] AppArmor: AppArmor initialized [ 0.044097] Yama: becoming mindful. [ 0.051263] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.053464] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.054701] Mount-cache hash table entries: 256 [ 0.064710] Initializing cgroup subsys cpuacct [ 0.065190] Initializing cgroup subsys memory [ 0.066209] Initializing cgroup subsys devices [ 0.066527] Initializing cgroup subsys freezer [ 0.066788] Initializing cgroup subsys blkio [ 0.068134] Initializing cgroup subsys perf_event [ 0.072469] mce: CPU supports 10 MCE banks [ 0.074541] SMP alternatives: switching to UP code [ 0.355418] Freeing SMP alternatives: 24k freed [ 0.356622] ACPI: Core revision 20110623 [ 0.388871] ftrace: allocating 26610 entries in 105 pages [ 0.415141] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.458353] CPU0: AMD QEMU Virtual CPU version 2.5+ stepping 03 [ 0.460028] APIC calibration not consistent with PM-Timer: 111ms instead of 100ms [ 0.460028] APIC delta adjusted to PM-Timer: 6250016 (6991874) [ 0.460028] Performance Events: Broken PMU hardware detected, using software events only. [ 0.465030] NMI watchdog disabled (cpu0): hardware events not enabled [ 0.466328] Brought up 1 CPUs [ 0.466592] Total of 1 processors activated (4190.27 BogoMIPS). [ 0.482008] devtmpfs: initialized [ 0.512128] EVM: security.selinux [ 0.512331] EVM: security.SMACK64 [ 0.512481] EVM: security.capability [ 0.524032] print_constraints: dummy: [ 0.524032] RTC time: 9:28:37, date: 07/08/17 [ 0.525620] NET: Registered protocol family 16 [ 0.531082] ACPI: bus type pci registered [ 0.535364] PCI: Using configuration type 1 for base access [ 0.553290] bio: create slab <bio-0> at 0 [ 0.556034] ACPI: Added _OSI(Module Device) [ 0.556034] ACPI: Added _OSI(Processor Device) [ 0.556034] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.556034] ACPI: Added _OSI(Processor Aggregator Device) [ 0.584062] ACPI: Interpreter enabled [ 0.584324] ACPI: (supports S0 S5) [ 0.585347] ACPI: Using IOAPIC for interrupt routing [ 0.630510] ACPI: No dock devices found. [ 0.632131] HEST: Table not found. [ 0.632393] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.636786] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.639046] pci_root PNP0A03:00: host bridge window [io 0x0000-0x0cf7] [ 0.639340] pci_root PNP0A03:00: host bridge window [io 0x0d00-0xffff] [ 0.639627] pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] [ 0.640070] pci_root PNP0A03:00: host bridge window [mem 0x20000000-0xfebfffff] [ 0.663303] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI [ 0.664121] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB [ 1.079133] pci0000:00: Unable to request _OSC control (_OSC support mask: 0x1e) [ 1.114573] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 1.115964] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 1.116115] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 1.117165] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 1.117872] ACPI: PCI Interrupt Link [LNKS] (IRQs *9) [ 1.124069] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 1.124188] vgaarb: loaded [ 1.124366] vgaarb: bridge control possible 0000:00:02.0 [ 1.126490] i2c-core: driver [aat2870] using legacy suspend method [ 1.126753] i2c-core: driver [aat2870] using legacy resume method [ 1.129138] SCSI subsystem initialized [ 1.131497] usbcore: registered new interface driver usbfs [ 1.136249] usbcore: registered new interface driver hub [ 1.137004] usbcore: registered new device driver usb [ 1.139509] PCI: Using ACPI for IRQ routing [ 1.144070] NetLabel: Initializing [ 1.144070] NetLabel: domain hash size = 128 [ 1.144070] NetLabel: protocols = UNLABELED CIPSOv4 [ 1.145068] NetLabel: unlabeled traffic allowed by default [ 1.239525] AppArmor: AppArmor Filesystem Enabled [ 1.240076] pnp: PnP ACPI init [ 1.240155] ACPI: bus type pnp registered [ 1.250174] pnp: PnP ACPI: found 10 devices [ 1.250422] ACPI: ACPI bus type pnp unregistered [ 1.278080] Switching to clocksource acpi_pm [ 1.279656] NET: Registered protocol family 2 [ 1.305757] IP route cache hash table entries: 4096 (order: 3, 32768 bytes) [ 1.311230] TCP established hash table entries: 16384 (order: 6, 262144 bytes) [ 1.312206] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 1.313253] TCP: Hash tables configured (established 16384 bind 16384) [ 1.313622] TCP reno registered [ 1.313982] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 1.315669] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 1.316657] NET: Registered protocol family 1 [ 1.316657] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 1.316657] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 1.316657] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 1.322239] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 [ 1.322803] pci 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11 [ 1.324397] pci 0000:00:01.2: PCI INT D disabled [ 1.340492] Trying to unpack rootfs image as initramfs... [ 1.354745] audit: initializing netlink socket (disabled) [ 1.356394] type=2000 audit(1499506117.348:1): initialized [ 1.567863] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 1.616491] VFS: Disk quotas dquot_6.5.2 [ 1.617376] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.628367] fuse init (API version 7.17) [ 1.630212] msgmni has been set to 969 [ 1.657626] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 1.659725] io scheduler noop registered [ 1.659968] io scheduler deadline registered (default) [ 1.660589] io scheduler cfq registered [ 1.662871] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 1.664208] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 1.667867] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 1.668834] ACPI: Power Button [PWRF] [ 1.695728] ERST: Table is not found! [ 1.695990] GHES: HEST is not enabled! [ 1.702158] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10 [ 1.703115] virtio-pci 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, high) -> IRQ 10 [ 1.705643] virtio-pci 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11 [ 1.709273] Freeing initrd memory: 3448k freed [ 1.709273] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10 [ 1.709273] virtio-pci 0000:00:05.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, high) -> IRQ 10 [ 1.709273] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 1.979708] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 2.002166] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [ 2.045073] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 2.074902] 00:06: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [ 2.078478] Linux agpgart interface v0.103 [ 2.097515] brd: module loaded [ 2.106685] loop: module loaded [ 2.127010] vda: vda1 [ 2.146074] scsi0 : ata_piix [ 2.147927] scsi1 : ata_piix [ 2.148561] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14 [ 2.148561] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15 [ 2.155605] Fixed MDIO Bus: probed [ 2.156158] tun: Universal TUN/TAP device driver, 1.6 [ 2.156362] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 2.169117] PPP generic driver version 2.4.2 [ 2.173432] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.173923] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.174351] uhci_hcd: USB Universal Host Controller Interface driver [ 2.175277] uhci_hcd 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11 [ 2.176675] uhci_hcd 0000:00:01.2: UHCI Host Controller [ 2.178486] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1 [ 2.179622] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c040 [ 2.188215] hub 1-0:1.0: USB hub found [ 2.188839] hub 1-0:1.0: 2 ports detected [ 2.192532] usbcore: registered new interface driver libusual [ 2.193771] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 2.197741] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 2.198233] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 2.200667] mousedev: PS/2 mouse device common for all mice [ 2.205716] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1 [ 2.207647] rtc_cmos 00:01: RTC can wake from S4 [ 2.211829] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 [ 2.212534] rtc0: alarms up to one day, y3k, 114 bytes nvram [ 2.212834] device-mapper: uevent: version 1.0.3 [ 2.217153] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 2.218170] cpuidle: using governor ladder [ 2.218434] cpuidle: using governor menu [ 2.218609] EFI Variables Facility v0.08 2004-May-17 [ 2.220566] TCP cubic registered [ 2.220566] NET: Registered protocol family 10 [ 2.234788] NET: Registered protocol family 17 [ 2.235989] Registering the dns_resolver key type [ 2.239794] registered taskstats version 1 [ 2.350327] Refined TSC clocksource calibration: 2095.131 MHz. [ 2.351803] Switching to clocksource tsc [ 2.424665] Magic number: 9:485:474 [ 2.425863] rtc_cmos 00:01: setting system clock to 2017-07-08 09:28:39 UTC (1499506119) [ 2.426337] powernow-k8: Processor cpuid 6d3 not supported [ 2.428016] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 2.428266] EDD information not available. [ 2.455445] Freeing unused kernel memory: 928k freed [ 2.487681] Write protecting the kernel read-only data: 12288k [ 2.541082] Freeing unused kernel memory: 1596k freed [ 2.582165] Freeing unused kernel memory: 1184k freed [ 2.638221] usb 1-1: new full-speed USB device number 2 using uhci_hcd info: initramfs: up at 2.70 NOCHANGE: partition 1 is size 2072385. it cannot be grown info: initramfs loading root from /dev/vda1 info: /etc/init.d/rc.sysinit: up at 3.94 info: container: none Starting logging: OK modprobe: module virtio_blk not found in modules.dep modprobe: module virtio_net not found in modules.dep WARN: /etc/rc3.d/S10-load-modules failed Initializing random number generator... done. Starting acpid: OK cirros-ds 'local' up at 5.93 no results found for mode=local. up 6.30. searched: nocloud configdrive ec2 Starting network... udhcpc (v1.20.1) started Sending discover... Sending discover... Sending discover... Usage: /sbin/cirros-dhcpc <up|down> No lease, failing WARN: /etc/rc3.d/S40-network failed cirros-ds 'net' up at 187.59 checking http://169.254.169.254/2009-04-04/instance-id failed 1/20: up 187.89. request failed failed 2/20: up 190.13. request failed failed 3/20: up 192.32. request failed failed 4/20: up 194.52. request failed failed 5/20: up 196.73. request failed failed 6/20: up 198.95. request failed failed 7/20: up 201.18. request failed failed 8/20: up 203.40. request failed failed 9/20: up 205.61. request failed failed 10/20: up 207.81. request failed failed 11/20: up 210.02. request failed failed 12/20: up 212.22. request failed failed 13/20: up 214.49. request failed failed 14/20: up 216.72. request failed failed 15/20: up 218.91. request failed failed 16/20: up 221.04. request failed failed 17/20: up 223.18. request failed failed 18/20: up 225.32. request failed failed 19/20: up 227.46. request failed failed 20/20: up 229.61. request failed failed to read iid from metadata. tried 20 no results found for mode=net. up 231.77. searched: nocloud configdrive ec2 failed to get instance-id of datasource Starting dropbear sshd: OK === system information === Platform: RDO OpenStack Compute Container: none Arch: x86_64 CPU(s): 1 @ 2095.137 MHz Cores/Sockets/Threads: 1/1/1 Virt-type: AMD-V RAM Size: 491MB Disks: NAME MAJ:MIN SIZE LABEL MOUNTPOINT vda 253:0 1073741824 vda1 253:1 1061061120 cirros-rootfs / === sshd host keys === -----BEGIN SSH HOST KEY KEYS----- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwC3NJ3FOgggu82rbFUoQDD28b+b1LGsZRiohuTcKY6lxOCq82Laj+Uzhd78eduoIhMzCCKcn9dJ5RUi3Ajxp6dt44D9ZT9HLNUxStK+LypDe41D+YXoUAljVA79yG1HK7FSrNRjztC9Hq7r6xjVwycBP2qMLlSrhqIdgoqdNcpuV+d9 root@cirros ssh-dss AAAAB3NzaC1kc3MAAACBANGf2Ymlgac9vdxVnQ7ybHNeCCO9BGi42TWcUeFZGpnB6+cSN239vlJ/hY+gDiTU1N/wQLvwll9aBs+PNuZcR9bfE21IeFcQmdnfh97bPXTp6wiYgNQ7TqBK18ZH50i5I/W7jWVhg6/Ntrj9DCPDDwWuVX8x+lQWQak96CfmyrZRAAAAFQC2Xihfp9IbDY+qjg1mnMwivwVVcwAAAIEAmZUJ0dtPkdk9IxdBPLh9Io2MkkMMQlj/t1c2hkLFYu/XSMteGCT+ILwqAZLEm8M7H2VI2zo70tEtVWFQ4KMOKbtFcsvIeAkDaGcVkClK4vcWwBZlC5IkBtOssOlRuFRmsN7CC7lZc6nREpQowWU+WlMzPsbjlvzUwKY/yDkuK7sAAACBAKDBTsBIicjzL+5mbAn74rUtE9rD4x7ldiJeIDAa4hJ1WfZxXHWs0xcMs1M348aSMChjvxhC0P0wHHf60pQ/G2niclBmAfpXIO+SHi4XpdXhinHxdOxpS17q2ccPZ8mpl0rrrzccVLCflTiBP2HCYb4HmbkmX1XUCClmiMjuLo9l root@cirros -----END SSH HOST KEY KEYS----- === network info === if-info: lo,up,127.0.0.1,8,::1 if-info: eth0,up,,8,fe80::f816:3eff:fe3e:a84e === datasource: None None === === cirros: current=0.3.4 uptime=233.22 === route: fscanf === pinging gateway failed, debugging connection === ############ debug start ############## ### /etc/init.d/sshd start Starting dropbear sshd: OK route: fscanf ### ifconfig -a eth0 Link encap:Ethernet HWaddr FA:16:3E:3E:A8:4E inet6 addr: fe80::f816:3eff:fe3e:a84e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:558 (558.0 B) TX bytes:1132 (1.1 KiB) 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 /sbin/cirros-status: line 1: can't open /etc/resolv.conf: no such file ### pinging nameservers ### uname -a Linux cirros 3.2.0-80-virtual #116-Ubuntu SMP Mon Mar 23 17:28:52 UTC 2015 x86_64 GNU/Linux ### lsmod Module Size Used by Not tainted nls_iso8859_1 12713 0 nls_cp437 16991 0 vfat 17585 0 fat 61512 1 vfat isofs 40259 0 ip_tables 27473 0 x_tables 29891 1 ip_tables pcnet32 42119 0 8139cp 27360 0 ne2k_pci 13691 0 8390 18856 1 ne2k_pci e1000 108589 0 acpiphp 24231 0 ### dmesg | tail [ 5.142913] acpiphp: Slot [29] registered [ 5.143144] acpiphp: Slot [30] registered [ 5.143413] acpiphp: Slot [31] registered [ 5.205947] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 5.206018] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 5.244183] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker [ 5.276883] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) [ 5.312620] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de [ 5.356262] ip_tables: (C) 2000-2006 Netfilter Core Team [ 17.288289] eth0: no IPv6 routers present ### tail -n 25 /var/log/messages Jul 8 10:28:42 cirros kern.info kernel: [ 5.139389] acpiphp: Slot [15] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.139614] acpiphp: Slot [16] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.139849] acpiphp: Slot [17] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.140100] acpiphp: Slot [18] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.140339] acpiphp: Slot [19] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.140438] acpiphp: Slot [20] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.140438] acpiphp: Slot [21] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.141244] acpiphp: Slot [22] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.141496] acpiphp: Slot [23] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.141736] acpiphp: Slot [24] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.141970] acpiphp: Slot [25] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.142205] acpiphp: Slot [26] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.142450] acpiphp: Slot [27] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.142693] acpiphp: Slot [28] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.142913] acpiphp: Slot [29] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.143144] acpiphp: Slot [30] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.143413] acpiphp: Slot [31] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.205947] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI Jul 8 10:28:42 cirros kern.info kernel: [ 5.206018] e1000: Copyright (c) 1999-2006 Intel Corporation. Jul 8 10:28:42 cirros kern.info kernel: [ 5.244183] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker Jul 8 10:28:42 cirros kern.info kernel: [ 5.276883] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) Jul 8 10:28:42 cirros kern.info kernel: [ 5.312620] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de Jul 8 10:28:42 cirros kern.info kernel: [ 5.356262] ip_tables: (C) 2000-2006 Netfilter Core Team Jul 8 10:28:54 cirros kern.debug kernel: [ 17.288289] eth0: no IPv6 routers present Jul 8 10:32:29 cirros authpriv.info dropbear[294]: Running in background ############ debug end ############## ____ ____ ____ / __/ __ ____ ____ / __ \/ __/ / /__ / // __// __// /_/ /\ \ \___//_//_/ /_/ \____/___/ http://cirros-cloud.net login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root. cirros login: |
实例控制台日志日志长度 35 Go 查看完整日志 Jul 8 10:28:42 cirros kern.info kernel: [ 5.139389] acpiphp: Slot [15] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.139614] acpiphp: Slot [16] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.139849] acpiphp: Slot [17] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.140100] acpiphp: Slot [18] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.140339] acpiphp: Slot [19] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.140438] acpiphp: Slot [20] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.140438] acpiphp: Slot [21] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.141244] acpiphp: Slot [22] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.141496] acpiphp: Slot [23] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.141736] acpiphp: Slot [24] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.141970] acpiphp: Slot [25] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.142205] acpiphp: Slot [26] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.142450] acpiphp: Slot [27] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.142693] acpiphp: Slot [28] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.142913] acpiphp: Slot [29] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.143144] acpiphp: Slot [30] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.143413] acpiphp: Slot [31] registered Jul 8 10:28:42 cirros kern.info kernel: [ 5.205947] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI Jul 8 10:28:42 cirros kern.info kernel: [ 5.206018] e1000: Copyright (c) 1999-2006 Intel Corporation. Jul 8 10:28:42 cirros kern.info kernel: [ 5.244183] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker Jul 8 10:28:42 cirros kern.info kernel: [ 5.276883] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) Jul 8 10:28:42 cirros kern.info kernel: [ 5.312620] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de Jul 8 10:28:42 cirros kern.info kernel: [ 5.356262] ip_tables: (C) 2000-2006 Netfilter Core Team Jul 8 10:28:54 cirros kern.debug kernel: [ 17.288289] eth0: no IPv6 routers present Jul 8 10:32:29 cirros authpriv.info dropbear[294]: Running in background ############ debug end ############## ____ ____ ____ / __/ __ ____ ____ / __ \/ __/ / /__ / // __// __// /_/ /\ \ \___//_//_/ /_/ \____/___/ http://cirros-cloud.net login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root. cirros login: |
2017-07-08 09:28:32.224+0000: starting up libvirt version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem <http://bugs.centos.org>, 2017-05-25-20:52:28, c1bm.rdu2.centos.org), qemu version: 2.6.0 (qemu-kvm-ev-2.6.0-28.el7.10.1), hostname: instance-x66a0ogb LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name guest=instance-00000001,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-instance-00000001/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=tcg,usb=off -m 512 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 1d7835c6-60fa-4ab7-8867-8358e0428ed7 -smbios 'type=1,manufacturer=RDO,product=OpenStack Compute,version=15.0.3-2.el7,serial=97a31c7e-0c10-4dd6-88e7-cb3fcf7292c0,uuid=1d7835c6-60fa-4ab7-8867-8358e0428ed7,family=Virtual Machine' -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-1-instance-00000001/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/1d7835c6-60fa-4ab7-8867-8358e0428ed7/disk,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=28,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:3e:a8:4e,bus=pci.0,addr=0x3 -add-fd set=1,fd=31 -chardev file,id=charserial0,path=/dev/fdset/1,append=on -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0,bus=usb.0,port=1 -vnc 0.0.0.0:0 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on char device redirected to /dev/pts/1 (label charserial1) |
看起来日志是这个 |
狗狗 发表于 2017-7-8 17:45 第一:先看实例是否创建成功,创建成功,是否启动,启动是否有异常。 第二:启动了,是否可以远程访问。 先测试下端口是否通的。 如果Linux,按照下面 telnet 192.168.1.10 6080 如果window,楼主可以自己查下。 |
2017-07-08 09:28:32.224+0000: starting up libvirt version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem <http://bugs.centos.org>, 2017-05-25-20:52:28, c1bm.rdu2.centos.org), qemu version: 2.6.0 (qemu-kvm-ev-2.6.0-28.el7.10.1), hostname: instance-x66a0ogb LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name guest=instance-00000001,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-instance-00000001/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=tcg,usb=off -m 512 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 1d7835c6-60fa-4ab7-8867-8358e0428ed7 -smbios 'type=1,manufacturer=RDO,product=OpenStack Compute,version=15.0.3-2.el7,serial=97a31c7e-0c10-4dd6-88e7-cb3fcf7292c0,uuid=1d7835c6-60fa-4ab7-8867-8358e0428ed7,family=Virtual Machine' -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-1-instance-00000001/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/1d7835c6-60fa-4ab7-8867-8358e0428ed7/disk,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=28,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:3e:a8:4e,bus=pci.0,addr=0x3 -add-fd set=1,fd=31 -chardev file,id=charserial0,path=/dev/fdset/1,append=on -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0,bus=usb.0,port=1 -vnc 0.0.0.0:0 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on char device redirected to /dev/pts/1 (label charserial1) |