Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 18.04 --deprovision causes host name to become localhost #1398

Closed
digeler opened this issue Nov 15, 2018 · 9 comments
Closed

Ubuntu 18.04 --deprovision causes host name to become localhost #1398

digeler opened this issue Nov 15, 2018 · 9 comments

Comments

@digeler
Copy link

digeler commented Nov 15, 2018

     Icon name: computer-vm
       Chassis: vm
    Machine ID: c6ab5a0378da4d5e8cf2a4becdb7ed0e
       Boot ID: 65906c36c38b4f17a2060e455c1e2060
Virtualization: microsoft

Operating System: Ubuntu 18.04.1 LTS
Kernel: Linux 4.15.0-1021-azure
Architecture: x86-64
root@localhost:/# hostnamectl
Static hostname: localhost.localdomain
Icon name: computer-vm
Chassis: vm
Machine ID: c6ab5a0378da4d5e8cf2a4becdb7ed0e
Boot ID: 65906c36c38b4f17a2060e455c1e2060
Virtualization: microsoft
Operating System: Ubuntu 18.04.1 LTS
Kernel: Linux 4.15.0-1021-azure
Architecture: x86-64

market place image .
here is what I did :

download 18.04 from market place
installed software
waagent --deprovision
generalised
created a vm from the image then host name is: localhost.localdomain

expected behaviour should keep the hostname.

to change the hostname I followed this : https://linuxize.com/post/how-to-change-hostname-on-ubuntu-18-04/
I couldn't reproduce it anymore With new image.
please tell me what can be the reason for this behaviour

@jasonzio
Copy link
Member

Deprovision is expected to throw away the hostname; the whole point is that a deprovisioned VM isn't a VM at all, it's an image which is used to provision a new VM with its own identity and hostname.

The interesting question is: how were you able to create a new VM from the image without setting the hostname as part of the provisioning process?

@digeler
Copy link
Author

digeler commented Nov 15, 2018

If you are asking about the os.profile computer name its there.
No matter which computer name i give,at the end of the provisioning phase its always localhost.
I can share the pre deprovision disk with you if needed.
Let me know.

@digeler
Copy link
Author

digeler commented Nov 17, 2018

more findings : seem like when i use the deprovision the ovf-env.xml is not getting created.
when i created a scratch images from the market place ovf-env.xml
any idea why is this file not copied ?

attaching my boot diagnostics.
�[H�[J�[1;1H�[1;1H3 �[1;1H2 �[1;1H1 �[1;1H0 [ 0.000000] Linux version 4.15.0-1021-azure (buildd@lgw01-amd64-035) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #21-Ubuntu SMP Fri Aug 10 10:02:38 UTC 2018 (Ubuntu 4.15.0-1021.21-azure 4.15.18)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1021-azure root=UUID=9539c956-fc21-4e4f-973e-9d2ec8f3846c ro echo ********** console=tty1 console=ttyS0 earlyprintk=ttyS0 rootdelay=300
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffeffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000003fff0000-0x000000003fffefff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000003ffff000-0x000000003fffffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000027fffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000280200000-0x00000004401fffff] usable
[ 0.000000] bootconsole [earlyser0] enabled
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.3 present.
[ 0.000000] DMI: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090007 06/02/2017
[ 0.000000] Hypervisor detected: Microsoft Hyper-V
[ 0.000000] Hyper-V: features 0x2e7f, hints 0xc2c
[ 0.000000] Hyper-V Host Build:14393-10.0-0-0.274
[ 0.000000] Hyper-V: LAPIC Timer Frequency: 0xc3500
[ 0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[ 0.000000] Hyper-V: Using ext hypercall for remote TLB flush
[ 0.000000] AGP: No AGP bridge found
[ 0.000000] e820: last_pfn = 0x440200 max_arch_pfn = 0x400000000
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
Memory KASLR using RDTSC...
[ 0.000000] e820: last_pfn = 0x3fff0 max_arch_pfn = 0x400000000
[ 0.000000] found SMP MP-table at [mem 0x000ff780-0x000ff78f] mapped at [ (ptrval)]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] Using GB pages for direct mapping
[ 0.000000] RAMDISK: [mem 0x35ca1000-0x36e47fff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000F5BF0 000014 (v00 ACPIAM)
[ 0.000000] ACPI: RSDT 0x000000003FFF0000 000040 (v01 VRTUAL MICROSFT 06001702 MSFT 00000097)
[ 0.000000] ACPI: FACP 0x000000003FFF0200 000081 (v02 VRTUAL MICROSFT 06001702 MSFT 00000097)
[ 0.000000] ACPI: DSDT 0x000000003FFF1D24 003CBE (v01 MSFTVM MSFTVM02 00000002 INTL 02002026)
[ 0.000000] ACPI: FACS 0x000000003FFFF000 000040
[ 0.000000] ACPI: WAET 0x000000003FFF1A80 000028 (v01 VRTUAL MICROSFT 06001702 MSFT 00000097)
[ 0.000000] ACPI: SLIC 0x000000003FFF1AC0 000176 (v01 VRTUAL MICROSFT 06001702 MSFT 00000097)
[ 0.000000] ACPI: OEM0 0x000000003FFF1CC0 000064 (v01 VRTUAL MICROSFT 06001702 MSFT 00000097)
[ 0.000000] ACPI: SRAT 0x000000003FFF0800 000268 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000000] ACPI: APIC 0x000000003FFF0300 000452 (v01 VRTUAL MICROSFT 06001702 MSFT 00000097)
[ 0.000000] ACPI: OEMB 0x000000003FFFF040 000064 (v01 VRTUAL MICROSFT 06001702 MSFT 00000097)
[ 0.000000] SRAT: PXM 0 -> APIC 0x00 -> Node 0
[ 0.000000] SRAT: PXM 0 -> APIC 0x01 -> Node 0
[ 0.000000] SRAT: PXM 0 -> APIC 0x02 -> Node 0
[ 0.000000] SRAT: PXM 0 -> APIC 0x03 -> Node 0
[ 0.000000] SRAT: PXM 1 -> APIC 0x04 -> Node 1
[ 0.000000] SRAT: PXM 1 -> APIC 0x05 -> Node 1
[ 0.000000] SRAT: PXM 1 -> APIC 0x06 -> Node 1
[ 0.000000] SRAT: PXM 1 -> APIC 0x07 -> Node 1
[ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0x3fffffff] hotplug
[ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x100000000-0x27fffffff] hotplug
[ 0.000000] ACPI: SRAT: Node 1 PXM 1 [mem 0x280200000-0x4401fffff] hotplug
[ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x440400000-0xa0fffffff] hotplug
[ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x1000000000-0x87ffdfffff] hotplug
[ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x10000200000-0x17fffffffff] hotplug
[ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x20000200000-0x2ffffffffff] hotplug
[ 0.000000] ACPI: SRAT: Node 1 PXM 1 [mem 0xa10200000-0xfdfdfffff] hotplug
[ 0.000000] ACPI: SRAT: Node 1 PXM 1 [mem 0x8800000000-0xffffdfffff] hotplug
[ 0.000000] ACPI: SRAT: Node 1 PXM 1 [mem 0x18000200000-0x1ffffffffff] hotplug
[ 0.000000] ACPI: SRAT: Node 1 PXM 1 [mem 0x30000200000-0x3ffffffffff] hotplug
[ 0.000000] NUMA: Node 0 [mem 0x00000000-0x3fffffff] + [mem 0x100000000-0x27fffffff] -> [mem 0x00000000-0x27fffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x27ffd5000-0x27fffffff]
[ 0.000000] NODE_DATA(1) allocated [mem 0x4401d4000-0x4401fefff]
[ 0.000000] Section 135 and 136 (node 1) have a circular dependency on usemap and pgdat allocations
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x00000004401fffff]
[ 0.000000] Device empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000003ffeffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x000000027fffffff]
[ 0.000000] node 1: [mem 0x0000000280200000-0x00000004401fffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000027fffffff]
[ 0.000000] Initmem setup node 1 [mem 0x0000000280200000-0x00000004401fffff]
[ 0.000000] Reserved but unavailable: 98 pages
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 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 9 global_irq 9 high level)
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] smpboot: Allowing 8 CPUs, 0 hotplug CPUs
[ 0.000000] e820: [mem 0x40000000-0xffffffff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.000000] random: get_random_bytes called from start_kernel+0x99/0x4fd with crng_init=0
[ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:8 nr_cpu_ids:8 nr_node_ids:2
[ 0.000000] percpu: Embedded 45 pages/cpu @ (ptrval) s147456 r8192 d28672 u524288
[ 0.000000] Built 2 zonelists, mobility grouping on. Total pages: 3612537
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1021-azure root=UUID=9539c956-fc21-4e4f-973e-9d2ec8f3846c ro echo ********** console=tty1 console=ttyS0 earlyprintk=ttyS0 rootdelay=300
[ 0.000000] AGP: Checking aperture...
[ 0.000000] AGP: No AGP bridge found
[ 0.000000] Memory: 14336716K/14679608K available (12300K kernel code, 2283K rwdata, 3972K rodata, 2248K init, 2372K bss, 342892K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=2
[ 0.000000] ftrace: allocating 37800 entries in 148 pages
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=8.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[ 0.000000] NR_IRQS: 524544, nr_irqs: 488, preallocated irqs: 16
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty1] enabled
[ 0.000000] console [ttyS0] enabled
[ 0.000000] console [ttyS0] enabled
[ 0.000000] bootconsole [earlyser0] disabled
[ 0.000000] bootconsole [earlyser0] disabled
[ 0.000000] mempolicy: Enabling automatic NUMA balancing. Configure with numa_balancing= or the kernel.numa_balancing sysctl
[ 0.000000] ACPI: Core revision 20170831
[ 0.000000] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 0.000000] APIC: Switch to symmetric I/O mode setup
[ 0.004000] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[ 0.052000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.056000] tsc: Detected 2094.721 MHz processor
[ 0.060000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4189.44 BogoMIPS (lpj=8378884)
[ 0.064006] pid_max: default: 32768 minimum: 301
[ 0.068114] Security Framework initialized
[ 0.072007] Yama: becoming mindful.
[ 0.076082] AppArmor: AppArmor initialized
[ 0.100500] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[ 0.106692] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[ 0.108136] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.112095] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.116821] mce: CPU supports 1 MCE banks
[ 0.120029] process: using AMD E400 aware idle routine
[ 0.124000] Last level iTLB entries: 4KB 512, 2MB 16, 4MB 8
[ 0.124004] Last level dTLB entries: 4KB 512, 2MB 128, 4MB 64, 1GB 0
[ 0.128007] Spectre V2 : Spectre mitigation: LFENCE not serializing, switching to generic retpoline
[ 0.132003] Spectre V2 : Mitigation: Full generic retpoline
[ 0.136003] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
[ 0.206000] Freeing SMP alternatives memory: 36K
[ 0.210067] smpboot: CPU0: AMD Opteron(tm) Processor 4171 HE (family: 0x10, model: 0x8, stepping: 0x1)
[ 0.212166] Performance Events: PMU not available due to virtualization, using software events only.
[ 0.216121] Hierarchical SRCU implementation.
[ 0.220861] MCE: In-kernel MCE decoding enabled.
[ 0.224016] NMI watchdog: Perf event create on CPU 0 failed with -2
[ 0.228003] NMI watchdog: Perf NMI watchdog permanently disabled
[ 0.232178] smp: Bringing up secondary CPUs ...
[ 0.236176] x86: Booting SMP configuration:
[ 0.240005] .... node #0, CPUs: #1 #2 #3
[ 0.484011] .... node #1, CPUs: #4 #5 #6 #7
[ 0.804210] smp: Brought up 2 nodes, 8 CPUs
[ 0.812005] smpboot: Max logical packages: 2
[ 0.816016] smpboot: Total of 8 processors activated (33852.48 BogoMIPS)
[ 0.826253] devtmpfs: initialized
[ 0.828123] x86/mm: Memory block size: 128MB
[ 0.833694] evm: security.selinux
[ 0.836006] evm: security.SMACK64
[ 0.840013] evm: security.SMACK64EXEC
[ 0.844002] evm: security.SMACK64TRANSMUTE
[ 0.848005] evm: security.SMACK64MMAP
[ 0.852003] evm: security.apparmor
[ 0.856003] evm: security.ima
[ 0.860002] evm: security.capability
[ 0.864394] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.868056] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 0.872457] pinctrl core: initialized pinctrl subsystem
[ 0.880444] NET: Registered protocol family 16
[ 0.884174] audit: initializing netlink subsys (disabled)
[ 0.888051] audit: type=2000 audit(1542472037.888:1): state=initialized audit_enabled=0 res=1
[ 0.904013] cpuidle: using governor ladder
[ 0.912067] cpuidle: using governor menu
[ 0.922979] ACPI: bus type PCI registered
[ 0.928006] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.936625] PCI: Using configuration type 1 for base access
[ 0.944004] PCI: Using configuration type 1 for extended access
[ 0.956920] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.964008] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.976477] ACPI: Added _OSI(Module Device)
[ 0.980015] ACPI: Added _OSI(Processor Device)
[ 0.984004] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.988003] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.992005] ACPI: Added _OSI(Linux-Dell-Video)
[ 1.002218] ACPI: Interpreter enabled
[ 1.004010] ACPI: (supports S0 S5)
[ 1.008007] ACPI: Using IOAPIC for interrupt routing
[ 1.012054] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 1.016289] ACPI: Enabled 1 GPEs in block 00 to 0F
[ 1.051605] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 1.052016] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 1.056018] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 1.060288] PCI host bridge to bus 0000:00
[ 1.064006] pci_bus 0000:00: root bus resource [mem 0xfe0000000-0xfffffffff window]
[ 1.068011] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 1.072004] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 1.076007] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 1.080004] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfffbffff window]
[ 1.084017] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.106312] pci 0000:00:07.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 1.108004] pci 0000:00:07.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 1.112004] pci 0000:00:07.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 1.116006] pci 0000:00:07.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 1.120941] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
[ 1.120941] * this clock source is slow. Consider trying other clock sources
[ 1.130522] pci 0000:00:07.3: quirk: [io 0x0400-0x043f] claimed by PIIX4 ACPI
[ 1.164141] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11 12 14 15)
[ 1.168363] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
[ 1.176306] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
[ 1.180818] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
[ 1.184875] SCSI subsystem initialized
[ 1.188193] pci 0000:00:08.0: vgaarb: setting as boot VGA device
[ 1.192000] pci 0000:00:08.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 1.192035] pci 0000:00:08.0: vgaarb: bridge control possible
[ 1.196012] vgaarb: loaded
[ 1.200100] pps_core: LinuxPPS API ver. 1 registered
[ 1.204012] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 1.208033] PTP clock support registered
[ 1.212228] EDAC MC: Ver: 3.0.0
[ 1.476016] random: fast init done
[ 2.604030] hv_vmbus: Vmbus version:4.0
[ 2.609145] PCI: Using ACPI for IRQ routing
[ 2.612930] NetLabel: Initializing
[ 2.616006] NetLabel: domain hash size = 128
[ 2.620019] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 2.624034] NetLabel: unlabeled traffic allowed by default
[ 2.628311] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[ 2.658210] VFS: Disk quotas dquot_6.6.0
[ 2.663390] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.671402] AppArmor: AppArmor Filesystem Enabled
[ 2.677124] pnp: PnP ACPI init
[ 2.684701] system 00:06: [io 0x01e0-0x01ef] has been reserved
[ 2.691552] system 00:06: [io 0x0160-0x016f] has been reserved
[ 2.698555] system 00:06: [io 0x0278-0x027f] has been reserved
[ 2.705420] system 00:06: [io 0x0378-0x037f] has been reserved
[ 2.712445] system 00:06: [io 0x0678-0x067f] has been reserved
[ 2.719294] system 00:06: [io 0x0778-0x077f] has been reserved
[ 2.727248] system 00:06: [io 0x04d0-0x04d1] has been reserved
[ 2.733844] system 00:07: [io 0x0400-0x043f] has been reserved
[ 2.742143] system 00:07: [io 0x0370-0x0371] has been reserved
[ 2.749058] system 00:07: [io 0x0440-0x044f] has been reserved
[ 2.755986] system 00:07: [mem 0xfec00000-0xfec00fff] could not be reserved
[ 2.762868] system 00:07: [mem 0xfee00000-0xfee00fff] has been reserved
[ 2.770757] system 00:08: [mem 0x00000000-0x0009ffff] could not be reserved
[ 2.778883] system 00:08: [mem 0x000c0000-0x000dffff] could not be reserved
[ 2.786839] system 00:08: [mem 0x000e0000-0x000fffff] could not be reserved
[ 2.794961] system 00:08: [mem 0x00100000-0x3fffffff] could not be reserved
[ 2.802885] system 00:08: [mem 0xfffc0000-0xffffffff] has been reserved
[ 2.810998] pnp: PnP ACPI: found 9 devices
[ 2.826945] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 2.837175] NET: Registered protocol family 2
[ 2.842833] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 2.851779] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 2.859871] TCP: Hash tables configured (established 131072 bind 65536)
[ 2.867827] UDP hash table entries: 8192 (order: 6, 262144 bytes)
[ 2.875272] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[ 2.883577] NET: Registered protocol family 1
[ 2.888912] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 2.896325] pci 0000:00:08.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 2.905999] Unpacking initramfs...
[ 3.324114] Freeing initrd memory: 18076K
[ 3.329665] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 3.338118] software IO TLB [mem 0x3bff0000-0x3fff0000] (64MB) mapped at [ (ptrval)- (ptrval)]
[ 3.349974] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1e31b5ae77e, max_idle_ns: 440795228867 ns
[ 3.352171] Scanning for low memory corruption every 60 seconds
[ 3.352865] Initialise system trusted keyrings
[ 3.352880] Key type blacklist registered
[ 3.353378] workingset: timestamp_bits=36 max_order=22 bucket_order=0
[ 3.355683] zbud: loaded
[ 3.356735] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.357229] fuse init (API version 7.26)
[ 3.366155] Key type asymmetric registered
[ 3.366159] Asymmetric key parser 'x509' registered
[ 3.366242] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 3.367128] io scheduler noop registered (default)
[ 3.457360] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 3.467748] ACPI: Power Button [PWRF]
[ 3.473845] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 3.516929] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 3.564563] 00:04: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 3.591110] Linux agpgart interface v0.103
[ 3.603556] loop: module loaded
[ 3.607259] hv_vmbus: registering driver hv_storvsc
[ 3.614483] scsi host0: storvsc_host_t
[ 3.647515] scsi 0:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 4
[ 3.660786] scsi host1: storvsc_host_t
[ 3.687105] scsi 1:0:1:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 3.725603] scsi host2: storvsc_host_t
[ 3.909292] scsi host3: storvsc_host_t
[ 4.086121] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 4.087026] sd 0:0:0:0: [sda] 62914560 512-byte logical blocks: (32.2 GB/30.0 GiB)
[ 4.087144] sd 0:0:0:0: [sda] Write Protect is off
[ 4.087391] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 4.087721] sd 1:0:1:0: [sdb] 1268776960 512-byte logical blocks: (650 GB/605 GiB)
[ 4.087723] sd 1:0:1:0: [sdb] 4096-byte physical blocks
[ 4.087860] sd 1:0:1:0: [sdb] Write Protect is off
[ 4.088066] sd 1:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.089551] sda: sda1
[ 4.091636] sd 0:0:0:0: [sda] Attached SCSI disk
[ 4.094407] sdb: sdb1
[ 4.095769] sd 1:0:1:0: [sdb] Attached SCSI disk
[ 4.170106] sd 1:0:1:0: Attached scsi generic sg1 type 0
[ 4.178134] ata_piix 0000:00:07.1: Hyper-V Virtual Machine detected, ATA device ignore set
[ 4.201658] scsi host4: ata_piix
[ 4.206543] scsi host5: ata_piix
[ 4.213909] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
[ 4.223394] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
[ 4.233538] libphy: Fixed MDIO Bus: probed
[ 4.239832] tun: Universal TUN/TAP device driver, 1.6
[ 4.249177] PPP generic driver version 2.4.2
[ 4.254973] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[ 4.274758] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 4.278014] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 4.282073] mousedev: PS/2 mouse device common for all mice
[ 4.289808] rtc_cmos 00:00: RTC can wake from S4
[ 4.323272] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[ 4.331877] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[ 4.339995] device-mapper: uevent: version 1.0.3
[ 4.345997] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[ 4.350195] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 4.369052] NET: Registered protocol family 10
[ 4.382379] Segment Routing with IPv6
[ 4.387093] NET: Registered protocol family 17
[ 4.392774] Key type dns_resolver registered
[ 4.638123] RAS: Correctable Errors collector initialized.
[ 4.645648] registered taskstats version 1
[ 4.651196] Loading compiled-in X.509 certificates
[ 4.662584] Loaded X.509 cert 'Build time autogenerated kernel key: 0c779f55845a91108eb28aac97e1130b20b5258a'
[ 4.674630] zswap: loaded using pool lzo/zbud
[ 4.735771] ata2.00: ATAPI: Virtual CD, , max MWDMA2
[ 4.745696] ata2.00: configured for MWDMA2
[ 4.750848] scsi 5:0:0:0: CD-ROM Msft Virtual CD/ROM 1.0 PQ: 0 ANSI: 5
[ 4.751138] Key type big_key registered
[ 4.751146] Key type trusted registered
[ 4.754164] Key type encrypted registered
[ 4.754169] AppArmor: AppArmor sha1 policy hashing enabled
[ 4.754174] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 4.754213] evm: HMAC attrs: 0x1
[ 4.760313] rtc_cmos 00:00: setting system clock to 2018-11-17 16:27:22 UTC (1542472042)
[ 4.760505] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 4.760505] EDD information not available.
[ 4.824190] sr 5:0:0:0: [sr0] scsi3-mmc drive: 0x/0x tray
[ 4.830618] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 4.837504] sr 5:0:0:0: Attached scsi generic sg2 type 5
[ 5.775675] Freeing unused kernel memory: 2248K
[ 5.788047] Write protecting the kernel read-only data: 18432k
[ 5.800438] Freeing unused kernel memory: 2008K
[ 5.807608] Freeing unused kernel memory: 124K
[ 5.825992] x86/mm: Checked W+X mappings: passed, no W+X pages found.
Loading, please wait...
starting version 229
[ 5.866391] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 5.868350] random: udevadm: uninitialized urandom read (16 bytes read)
[ 5.868375] random: udevadm: uninitialized urandom read (16 bytes read)
[ 5.882317] random: udevadm: uninitialized urandom read (16 bytes read)
[ 5.882361] random: udevadm: uninitialized urandom read (16 bytes read)
[ 5.883679] random: udevadm: uninitialized urandom read (16 bytes read)
[ 5.883758] random: udevadm: uninitialized urandom read (16 bytes read)
[ 5.883774] random: udevadm: uninitialized urandom read (16 bytes read)
[ 5.884122] random: udevadm: uninitialized urandom read (16 bytes read)
[ 5.884198] random: udevadm: uninitialized urandom read (16 bytes read)
[ 5.989743] hv_utils: Registering HyperV Utility Driver
[ 5.996392] hv_vmbus: registering driver hv_util
[ 6.004838] hv_utils: Heartbeat IC version 3.0
[ 6.012513] hidraw: raw HID events driver (C) Jiri Kosina
[ 6.020880] hv_utils: Shutdown IC version 3.0
[ 6.027480] hv_utils: TimeSync IC version 4.0
[ 6.034598] hv_vmbus: registering driver hid_hyperv
[ 6.034609] hv_vmbus: registering driver hv_netvsc
[ 6.034697] hv_utils: VSS IC version 5.0
[ 6.056791] hv_vmbus: registering driver hyperv_keyboard
[ 6.061660] input: Microsoft Vmbus HID-compliant Mouse as /devices/0006:045E:0621.0001/input/input3
[ 6.061789] hid 0006:045E:0621.0001: input: HID v0.01 Mouse [Microsoft Vmbus HID-compliant Mouse] on
[ 6.089483] input: AT Translated Set 2 keyboard as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/d34b2567-b9b6-42b9-8778-0a4ec0b955bf/serio2/input/input4
[ 6.113873] hv_vmbus: registering driver hyperv_fb
[ 6.132275] hyperv_fb: Screen resolution: 1152x864, Color depth: 32
[ 6.196343] Console: switching to colour frame buffer device 144x54
Begin: Loading essential drivers ... [ 7.548174] raid6: sse2x1 gen() 2457 MB/s
[ 7.604063] raid6: sse2x1 xor() 2565 MB/s
[ 7.656050] raid6: sse2x2 gen() 4021 MB/s
[ 7.708031] raid6: sse2x2 xor() 4240 MB/s
[ 7.760050] raid6: sse2x4 gen() 5401 MB/s
[ 7.812043] raid6: sse2x4 xor() 2068 MB/s
[ 7.818542] raid6: using algorithm sse2x4 gen() 5401 MB/s
[ 7.826027] raid6: .... xor() 2068 MB/s, rmw enabled
[ 7.831352] raid6: using intx1 recovery algorithm
[ 7.839407] xor: measuring software checksum speed
[ 7.884043] prefetch64-sse: 7909.000 MB/sec
[ 7.928036] generic_sse: 7578.000 MB/sec
[ 7.932699] xor: using function: prefetch64-sse (7909.000 MB/sec)
[ 7.941973] async_tx: api initialized (async)
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... [ 8.044274] Btrfs loaded, crc32c=crc32c-generic
Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
[ 8.202534] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[ 11.463633] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[ 11.482698] systemd[1]: Detected virtualization microsoft.
[ 11.488460] systemd[1]: Detected architecture x86-64.

Welcome to �[1mUbuntu 18.04.1 LTS�[0m!

[ 11.602256] systemd[1]: Set hostname to <localhost.localdomain>.
[ 14.442284] systemd[1]: Listening on Journal Audit Socket.
[�[0;32m OK �[0m] Listening on Journal Audit Socket.
[ 14.453490] systemd[1]: Listening on udev Control Socket.
[�[0;32m OK �[0m] Listening on udev Control Socket.
[ 14.464727] systemd[1]: Listening on LVM2 poll daemon socket.
[�[0;32m OK �[0m] Listening on LVM2 poll daemon socket.
[ 14.476417] systemd[1]: Listening on Journal Socket (/dev/log).
[�[0;32m OK �[0m] Listening on Journal Socket (/dev/log).
[ 14.488322] systemd[1]: Listening on Journal Socket.
[�[0;32m OK �[0m] Listening on Journal Socket.
[ 14.498670] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[�[0;32m OK �[0m] Listening on /dev/initctl Compatibility Named Pipe.
[�[0;32m OK �[0m] Reached target User and Group Name Lookups.
[�[0;32m OK �[0m] Listening on Syslog Socket.
[�[0;32m OK �[0m] Set up automount Arbitrary Executab...ats File System Automount Point.
[�[0;32m OK �[0m] Listening on Network Service Netlink Socket.
[�[0;32m OK �[0m] Reached target Encrypted Volumes.
[�[0;32m OK �[0m] Started Trigger resolvconf update for networkd DNS.
[�[0;32m OK �[0m] Listening on LVM2 metadata daemon socket.
[�[0;32m OK �[0m] Started Forward Password Requests to Wall Directory Watch.
[�[0;32m OK �[0m] Created slice System Slice.
Starting Journal Service...
Starting Uncomplicated firewall...
Mounting Huge Pages File System...
Starting Set the console keyboard layout...
[�[0;32m OK �[0m] Created slice system-serial\x2dgetty.slice.
Starting Create list of required st... nodes for the current kernel...
Starting Remount Root and Kernel File Systems...
Mounting Debug File System...
Starting Nameserver information manager...
Starting Load Kernel Modules...
[�[0;32m OK �[0m] Listening on udev Kernel Socket.
[�[0;32m OK �[0m] Created slice User and Session Slice.
[�[0;32m OK �[0m] Reached target Slices.
Mounting POSIX Message Queue File System...
[�[0;32m OK �[0m] Listening on fsck to fsckd communication Socket.
[�[0;32m OK �[0m] Reached target Swap.
[�[0;32m OK �[0m] Listening on Device-mapper event daemon FIFOs.
Starting Monitoring of LVM2 mirrors... dmeventd or progress polling...
[�[0;32m OK �[0m] Created slice system-systemd\x2dfsck.slice.
[�[0;32m OK �[0m] Started Uncomplicated firewall.
[�[0;32m OK �[0m] Started Create list of required sta...ce nodes for the current kernel.
[ 14.914974] Loading iSCSI transport class v2.0-870.
[ 14.917111] EXT4-fs (sda1): re-mounted. Opts: discard
[�[0;32m OK �[0m] Mounted Huge Pages File System.
[�[0;32m OK �[0m] Started Remount Root and Kernel File Systems.
[�[0;32m OK �[0m] Mounted Debug File System.
[�[0;32m OK �[0m] Mounted POSIX Message Queue File System.
[�[0;32m OK �[0m] Started Nameserver information manager.
[�[0;32m OK �[0m] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ 15.018758] iscsi: registered transport (tcp)
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Create Static Device Nodes in /dev...
[ 15.063036] iscsi: registered transport (iser)
[�[0;32m OK �[0m] Started Load Kernel Modules.
Starting Apply Kernel Variables...
Mounting Configuration File System...
Mounting FUSE Control File System...
[�[0;32m OK �[0m] Mounted Configuration File System.
[�[0;32m OK �[0m] Mounted FUSE Control File System.
[�[0;32m OK �[0m] Started Apply Kernel Variables.
[�[0;32m OK �[0m] Started Load/Save Random Seed.
[�[0;32m OK �[0m] Started Flush Journal to Persistent Storage.
[�[0;32m OK �[0m] Started LVM2 metadata daemon.
[�[0;32m OK �[0m] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
[�[0;32m OK �[0m] Started udev Coldplug all Devices.
[�[0;32m OK �[0m] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[�[0;32m OK �[0m] Started udev Kernel Device Manager.
[�[0;32m OK �[0m] Found device /dev/ttyS0.
[�[0;32m OK �[0m] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[�[0;32m OK �[0m] Found device /sys/subsystem/net/devices/eth0.
[�[0;32m OK �[0m] Found device Virtual_Disk Temporary_Storage.
[�[0;32m OK �[0m] Started Set the console keyboard layout.
[�[0;32m OK �[0m] Reached target Local File Systems (Pre).
[�[0;32m OK �[0m] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
Starting Tell Plymouth To Write Out Runtime Data...
Starting Set console font and keymap...
Starting Initial cloud-init job (pre-networking)...
Starting AppArmor initialization...
Starting File System Check on /dev/disk/cloud/azure_resource-part1...
[�[0;32m OK �[0m] Started Dispatch Password Requests to Console Directory Watch.
[�[0;32m OK �[0m] Started Set console font and keymap.
[�[0;32m OK �[0m] Started File System Check on /dev/disk/cloud/azure_resource-part1.
[�[0;32m OK �[0m] Started Create Volatile Files and Directories.
[�[0;32m OK �[0m] Started Tell Plymouth To Write Out Runtime Data.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[�[0;32m OK �[0m] Started Network Time Synchronization.
[�[0;32m OK �[0m] Reached target System Time Synchronized.
[�[0;32m OK �[0m] Started Update UTMP about System Boot/Shutdown.
[�[0;32m OK �[0m] Started AppArmor initialization.
[ 22.472494] cloud-init[731]: Cloud-init v. 18.3-9-g2e62cb8a-0ubuntu1~16.04.2 running 'init-local' at Sat, 17 Nov 2018 16:27:40 +0000. Up 22.33 seconds.
[ 22.487153] cloud-init[731]: 2018-11-17 16:27:40,994 - util.py[WARNING]: failed stage init-local
[ 22.562677] cloud-init[731]: failed run of stage init-local
[ 22.571896] cloud-init[731]: ------------------------------------------------------------
[ 22.580301] cloud-init[731]: Traceback (most recent call last):
[ 22.592235] cloud-init[731]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 655, in status_wrapper
[ 22.602755] cloud-init[731]: ret = functor(name, args)
[ 22.609567] cloud-init[731]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 323, in main_init
[ 22.620087] cloud-init[731]: init.fetch(existing=existing)
[ 22.627473] cloud-init[731]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 350, in fetch
[ 22.638616] cloud-init[731]: return self._get_data_source(existing=existing)
[ 22.647356] cloud-init[731]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 251, in _get_data_source[�[0;1;31mFAILED�[0m] Failed to start Initial cloud-init job (pre-networking).
See 'systemctl status cloud-init-local.service' for details.
[�[0;32m OK �[0m] Reached target Network (Pre).
Starting Network Service...
Starting Raise network interfaces...
[�[0;32m OK �[0m] Started ifup for eth0.

[ 22.678931] cloud-init[731]: util.del_file(self.paths.instance_link)
[ 22.682741] cloud-init[731]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1746, in del_file
[ 22.688046] cloud-init[731]: raise e
[ 22.690608] cloud-init[731]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1743, in del_file
[ 22.695951] cloud-init[731]: os.unlink(path)
[ 22.701430] cloud-init[731]: IsADirectoryError: [Errno 21] Is a directory: '/var/lib/cloud/instance'
[ 22.709302] cloud-init[731]: ------------------------------------------------------------
[�[0;32m OK �[0m] Started Network Service.
Starting Update resolvconf for networkd DNS...
[�[0;32m OK �[0m] Started Raise network interfaces.
Starting Initial cloud-init job (metadata service crawler)...
[�[0;32m OK �[0m] Reached target Network.
[ 24.872124] cloud-init[1137]: Cloud-init v. 18.3-9-g2e62cb8a-0ubuntu1~16.04.2 running 'init' at Sat, 17 Nov 2018 16:27:43 +0000. Up 24.77 seconds.
[ 24.883535] cloud-init[1137]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
[ 24.895585] cloud-init[1137]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
[ 24.907647] cloud-init[1137]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 24.918890] cloud-init[1137]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
[ 24.931363] cloud-init[1137]: ci-info: | eth0 | True | 10.0.1.5 | 255.255.255.0 | global | 00:0d:3a:0d:4f:46 |
[ 24.943116] cloud-init[1137]: ci-info: | eth0 | True | fe80::20d:3aff:fe0d:4f46/64 | . | link | 00:0d:3a:0d:4f:46 |
[ 24.956200] cloud-init[1137]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 24.969274] cloud-init[1137]: [�[0;1;31mFAILED�[0m] Failed to start Initial cloud-init job (metadata service crawler).
See 'systemctl status cloud-init.service' for details.
[�[0;1;33mDEPEND�[0m] Dependency failed for /mnt.
[�[0;32m OK �[0m] Reached target System Initialization.
ci-info: | lo | True | ::1/128 | . | host | . |
[ 25.003096] cloud-init[1137]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
[ 25.016633] cloud-init[1137]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++
[ 25.025242] cloud-init[1137]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+[�[0;32m OK �[0m] Started Message of the Day.

     Starting Socket activation for snappy daemon.

[ 25.047895] [�[0;32m OK �[0m] cloud-init[1137]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |Listening on ACPID Listen Socket.

[[ 25.063717] �[0;32m OK �[0mcloud-init[1137]: ] ci-info: +-------+-----------------+----------+-----------------+-----------+-------+Started Daily apt download activities.

[ 25.072219] [cloud-init�[0;32m OK �[0m[1137]: ] ci-info: | 0 | 0.0.0.0 | 10.0.1.1 | 0.0.0.0 | eth0 | UG |Started Daily apt upgrade and clean activities.

[ 25.087712] cloud-init [1137]: Starting LXD - unix socket.ci-info: | 1 | 10.0.1.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |

[[ 25.108807] �[0;32m OK �[0mcloud-init] [1137]: Listening on D-Bus System Message Bus Socket.ci-info: | 2 | 168.63.129.16 | 10.0.1.1 | 255.255.255.255 | eth0 | UGH |

[[ 25.125102] �[0;32m OK �[0mcloud-init] [1137]: Started Daily Cleanup of Temporary Directories.ci-info: | 3 | 169.254.169.254 | 10.0.1.1 | 255.255.255.255 | eth0 | UGH |

[[ 25.139648] �[0;32m OK �[0m] cloud-initReached target Timers.[1137]:
ci-info: +-------+-----------------+----------+-----------------+-----------+-------+[
�[0;32m OK �[0m] Started ACPI Events Check.
[ 25.149900] [cloud-init�[0;32m OK �[0m[1137]: ] ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++Reached target Paths.

[ 25.170214] [cloud-init�[0;32m OK �[0m[1137]: ] ci-info: +-------+-------------+---------+-----------+-------+Listening on UUID daemon activation socket.

[ 25.183385] [cloud-init�[0;32m OK �[0m[1137]: ] ci-info: | Route | Destination | Gateway | Interface | Flags |Reached target Cloud-config availability.

[ 25.196824] [cloud-init�[0;32m OK �[0m[1137]: ] ci-info: +-------+-------------+---------+-----------+-------+Listening on Socket activation for snappy daemon.

[ 25.209478] cloud-init[1137]: ci-info: | 0 | fe80::/64 | :: | eth0 | U |
[ 25.223603] cloud-init[1137]: ci-info: | 2 | ff00::/8 | :: | eth0 | U |
[�[0;32m OK �[0m] Listening on LXD - unix socket.
[ 25.231645] cloud-init[1137]: ci-info: +-------+-------------+---------+-----------+-------+
[[ 25.243256] �[0;32m OK �[0mcloud-init] [1137]: Reached target Sockets.2018-11-17 16:27:43,394 - util.py[WARNING]: failed stage init

[�[0;32m OK �[0m] Reached target Basic System.
[ 25.260955] cloud-init Starting Accounts Service...
[1137]: failed run of stage init[�[0;32m OK �[0m] Started Hyper-V VSS Protocol Daemon.

[ 25.276816] Starting LXD - container startup/shutdown...
cloud-init[1137]: Starting Login Service...
------------------------------------------------------------[�[0;32m OK �[0m] Started Unattended Upgrades Shutdown.

[ 25.298594] [�[0;32m OK �[0m] Started Hyper-V File Copy Protocol Daemon.
[�[0;32m OK �[0m] Started FUSE filesystem for LXC.
cloud-init[1137]: Traceback (most recent call last):
Starting System Logging Service...[ 25.317829]
cloud-init[1137]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 655, in status_wrapper
[ 25.331436] cloud-init[1137]: ret = functor(name, args)
[�[0;32m OK �[0m] [ 25.339513] Started Regular background program processing daemon.cloud-init
[1137]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 323, in main_init
[ 25.357206] cloud-initStarting LSB: Record successful boot for GRUB...[1137]:
init.fetch(existing=existing)
[[ 25.368067] �[0;32m OK �[0mcloud-init] [1137]: Started Supervisor process control system for UNIX. File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 350, in fetch

[ 25.377317] cloud-init[1137]: [ return self._get_data_source(existing=existing)�[0;32m OK �[0m]
Started Deferred execution scheduler.
[ 25.402035] cloud-init[1137]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 251, in _get_data_source
[ 25.419861] cloud-init[1137]: util.del_file(self.paths.instance_link)
[�[0;32m OK �[0m] Started Hyper-V KVP Protocol Daemon.
[ 25.425821] cloud-init[1137]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1746, in del_file Starting A high performance web server and a reverse proxy server...
[�[0;32m OK �[0m]
Started irqbalance daemon.
[ 25.446170] cloud-init[1137]: raise e
Starting Snappy daemon...
[ 25.457342] cloud-init[1137]: [ File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1743, in del_file�[0;32m OK �[0m] Started Name Service Cache Daemon.

[�[0;32m OK �[0m] Started D-Bus System Message Bus.
[ 25.473613] cloud-init[1137]: os.unlink(path)
[ 25.486873] cloud-init[1137]: IsADirectoryError: [Errno 21] Is a directory: '/var/lib/cloud/instance'
[ 25.502217] cloud-init[1137]: ------------------------------------------------------------
[�[0;32m OK �[0m] Started memcached daemon.
Starting PostgreSQL RDBMS...
[�[0;32m OK �[0m] Started System Logging Service.
[�[0;32m OK �[0m] Started PostgreSQL RDBMS.
[�[0;32m OK �[0m] Started Login Service.
Starting Authorization Manager...
[�[0;32m OK �[0m] Started Authorization Manager.
[�[0;32m OK �[0m] Started Accounts Service.
[�[0;32m OK �[0m] Started LSB: Record successful boot for GRUB.
[�[0;32m OK �[0m] Started Snappy daemon.
Starting Wait until snapd is fully seeded...
[�[0;32m OK �[0m] Started Wait until snapd is fully seeded.
[�[0;32m OK �[0m] Started LXD - container startup/shutdown.
[�[0;32m OK �[0m] Started A high performance web server and a reverse proxy server.
[�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (10s / no limit)
�[K[�[0;1;31m�[0m�[0;31m �[0m] A start job is running for Update r...or networkd DNS (10s / no limit)
�[K[�[0;31m�[0;1;31m�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (11s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (11s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (12s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m�[0;31m�[0m] A start job is running for Update r...or networkd DNS (12s / no limit)
�[K[ �[0;31m
�[0;1;31m�[0m] A start job is running for Update r...or networkd DNS (13s / no limit)
�[K[ �[0;31m
�[0m] A start job is running for Update r...or networkd DNS (13s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m] A start job is running for Update r...or networkd DNS (14s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m�[0;31m�[0m] A start job is running for Update r...or networkd DNS (14s / no limit)
�[K[ �[0;31m
�[0;1;31m�[0m�[0;31m �[0m] A start job is running for Update r...or networkd DNS (15s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (15s / no limit)
�[K[�[0;31m�[0;1;31m�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (16s / no limit)
�[K[�[0;1;31m�[0m�[0;31m �[0m] A start job is running for Update r...or networkd DNS (16s / no limit)
�[K[�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (17s / no limit)
�[K[�[0;1;31m�[0m�[0;31m �[0m] A start job is running for Update r...or networkd DNS (17s / no limit)
�[K[�[0;31m�[0;1;31m�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (18s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (18s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (19s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m�[0;31m�[0m] A start job is running for Update r...or networkd DNS (19s / no limit)
�[K[ �[0;31m
�[0;1;31m�[0m] A start job is running for Update r...or networkd DNS (20s / no limit)
�[K[ �[0;31m
�[0m] A start job is running for Update r...or networkd DNS (20s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m] A start job is running for Update r...or networkd DNS (21s / no limit)
�[K[�[0;32m OK �[0m] Started Daemon for generating UUIDs.
[ �[0;31m�[0;1;31m�[0m�[0;31m�[0m] A start job is running for Update r...or networkd DNS (26s / no limit)
�[K[ �[0;31m
�[0;1;31m�[0m�[0;31m �[0m] A start job is running for Update r...or networkd DNS (27s / no limit)
�[K[ �[0;31m�[0;1;31m�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (27s / no limit)
�[K[�[0;31m�[0;1;31m�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (28s / no limit)
�[K[�[0;1;31m�[0m�[0;31m �[0m] A start job is running for Update r...or networkd DNS (28s / no limit)
�[K[�[0m�[0;31m* �[0m] A start job is running for Update r...or networkd DNS (29s / no limit)
�[K[�[0;1;31m�[0m�[0;31m �[0m] A start job is running for Update r...or networkd DNS (29s / no limit)
�[K[�[0;32m OK �[0m] Started Update resolvconf for networkd DNS.
[�[0;32m OK �[0m] Reached target Network is Online.
Starting /etc/rc.local Compatibility...
Starting LSB: OMI Server...
Starting OpenBSD Secure Shell server...
Starting Apply the settings specified in cloud-config...
Starting iSCSI initiator daemon (iscsid)...
[�[0;32m OK �[0m] Started Azure Linux Agent.
[�[0;32m OK �[0m] Started /etc/rc.local Compatibility.
[�[0;32m OK �[0m] Started iSCSI initiator daemon (iscsid).
Starting Login to default iSCSI targets...
[�[0;32m OK �[0m] Started Login to default iSCSI targets.
[�[0;32m OK �[0m] Reached target Remote File Systems (Pre).
[�[0;32m OK �[0m] Reached target Remote File Systems.
Starting LSB: automatic crash report generation...
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Starting Permit User Sessions...
Starting Availability of block devices...
[�[0;32m OK �[0m] Started Availability of block devices.
[�[0;32m OK �[0m] Started Permit User Sessions.
Starting Hold until boot process finishes up...
Starting Terminate Plymouth Boot Screen...
[�[0;32m OK �[0m] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[�[0;32m OK �[0m] Started Hold until boot process finishes up.
[�[0;32m OK �[0m] Started Terminate Plymouth Boot Screen.
[�[0;32m OK �[0m] Started LSB: automatic crash report generation.
Starting Set console scheme...
[�[0;32m OK �[0m] Started Serial Getty on ttyS0.
[�[0;32m OK �[0m] Started Set console scheme.
[�[0;32m OK �[0m] Created slice system-getty.slice.
[�[0;32m OK �[0m] Started Getty on tty1.
[�[0;32m OK �[0m] Reached target Login Prompts.
[�[0;32m OK �[0m] Started OpenBSD Secure Shell server.
[�[0;32m OK �[0m] Started LSB: OMI Server.
2018/11/17 16:28:12.425311 INFO Azure Linux Agent Version:2.2.20
[ 53.907123] cloud-init[1679]: failed run of stage modules-config
2018/11/17 16:28:12.431496 INFO OS: ubuntu 18.04
[ 53.914413] cloud-init2018/11/17 16:28:12.440984 INFO Python: 3.5.2
[1679]: ------------------------------------------------------------
[ 53.922637] cloud-init[1679]: Traceback (most recent call last):2018/11/17 16:28:12.454082 INFO Run daemon

[ 53.934686] cloud-init[1679]: 2018/11/17 16:28:12.462879 INFO Clean protocol
File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 655, in status_wrapper
[ 53.942527] 2018/11/17 16:28:12.474852 INFO Provisioning is disabled, skipping.
cloud-init[1679]: ret = functor(name, args)
[ 53.956231] 2018/11/17 16:28:12.484895 INFO Detect protocol endpoints
cloud-init[1679]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 484, in main_modules2018/11/17 16:28:12.490886 INFO Clean protocol

2018/11/17 16:28:12.501945 INFO WireServer endpoint is not found. Rerun dhcp handler
[ 53.980301] cloud-init[1679]: init.fetch(existing="trust")
2018/11/17 16:28:12.506318 INFO Test for route to 168.63.129.16
[ 53.983895] cloud-init[1679]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 350, in fetch
[ 53.985545] 2018/11/17 16:28:12.523860 INFO Route to 168.63.129.16 exists
cloud-init2018/11/17 16:28:12.526408 INFO Wire server endpoint:168.63.129.16
[1679]: return self._get_data_source(existing=existing)
[[ 54.021144] �[0;1;31mFAILED�[0mcloud-init] [1679]: Failed to start Apply the settings specified in cloud-config. File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 251, in _get_data_source

See 'systemctl status cloud-config.service' for details.[ 54.027815] 2018/11/17 16:28:12.554495 INFO Fabric preferred wire protocol version:2015-04-05

cloud-init[1679]: util.del_file(self.paths.instance_link)
[2018/11/17 16:28:12.565720 INFO Wire protocol version:2012-11-30
�[0;32m OK �[0m[ 54.055389] ] cloud-initReached target Multi-User System.[1679]:
File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1746, in del_file
2018/11/17 16:28:12.581099 WARNING Server preferred version:2015-04-05
[ 54.071794] Starting Execute cloud user/final scripts...cloud-init
[1679]: raise e
[�[0;32m OK �[0m] Reached target Graphical Interface.
[ 54.084818] cloud-init[1679]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1743, in del_file
[ 54.100930] Starting Update UTMP about System Runlevel Changes...
cloud-init[1679]: os.unlink(path)
[ 54.109953] [�[0;32m OK �[0mcloud-init] [1679]: Started Update UTMP about System Runlevel Changes.IsADirectoryError: [Errno 21] Is a directory: '/var/lib/cloud/instance'

[ 54.123575] cloud-init[1679]: ------------------------------------------------------------
[ 54.708434] cloud-init[1901]: failed run of stage modules-final
[ 54.721988] cloud-init[1901]: ------------------------------------------------------------
[ 54.732544] cloud-init[1901]: Traceback (most recent call last):
[ 54.738587] cloud-init[1901]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 655, in status_wrapper
[ 54.754030] cloud-init[1901]: ret = functor(name, args)
[ 54.757879] cloud-init[1901]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 484, in main_modules
[ 54.763457] cloud-init[1901]: init.fetch(existing="trust")
[ 54.767182] cloud-init[1901]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 350, in fetch
[ 54.772809] cloud-init[1901]: return self._get_data_source(existing=existing)
[ 54.801577] cloud-init[1901]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 251, in _get_data_source
[ 54.842366] cloud-init[1901]: util.del_file(self.paths.instance_link)[�[0;1;31mFAILED�[0m] Failed to start Execute clo
[ 54.885606] cloud-init[1901]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1746, in del_file
[ 54.892893] cloud-init[1901]: raise e
[ 54.895298] cloud-init[1901]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1743, in del_file
[ 54.900937] cloud-init[1901]: os.unlink(path)
[ 54.904259] cloud-init[1901]: IsADirectoryError: [Errno 21] Is a directory: '/var/lib/cloud/instance'
[ 54.909875] cloud-init[1901]: ------------------------------------------------------------
2018/11/17 16:28:14.437650 INFO RDMA capabilities are not enabled, skipping

U2018/11/17 16:28:14.441672 INFO Installed Agent WALinuxAgent-2.2.20 is the most current agent
buntu 18.04.1 LTS localhost.localdomain ttyS0

localhost login: 2018/11/17 16:28:14.718557 INFO Agent WALinuxAgent-2.2.20 is running as the goal state agent
2018/11/17 16:28:14.741789 INFO Wire server endpoint:168.63.129.16
2018/11/17 16:28:14.756664 INFO Start env monitor service.
2018/11/17 16:28:14.760847 INFO Configure routes
2018/11/17 16:28:14.763798 INFO Gateway:None
2018/11/17 16:28:14.767561 INFO Routes:None
2018/11/17 16:28:14.770697 WARNING Hostname record does not exist, creating [/var/lib/waagent/published_hostname] with hostname [localhost.localdomain]
2018/11/17 16:28:14.793356 INFO Wire server endpoint:168.63.129.16
2018/11/17 16:28:14.794111 INFO WALinuxAgent-2.2.20 running as process 1974
2018/11/17 16:28:14.802429 INFO Event: name=WALinuxAgent, op=Partition, message=80, duration=0
2018/11/17 16:28:14.811424 INFO Event: name=WALinuxAgent, op=AutoUpdate, message=, duration=0
2018/11/17 16:28:14.815676 INFO Wire server endpoint:168.63.129.16
2018/11/17 16:28:14.929742 INFO Event: name=WALinuxAgent, op=Install, message=Agent WALinuxAgent-2.2.20 downloaded successfully, duration=0
2018/11/17 16:28:14.980853 INFO Event: name=WALinuxAgent, op=Install, message=Agent WALinuxAgent-2.2.25 downloaded successfully, duration=0
2018/11/17 16:28:15.038006 INFO Event: name=WALinuxAgent, op=Install, message=Agent WALinuxAgent-2.2.26 downloaded successfully, duration=0
2018/11/17 16:28:15.103339 INFO Event: name=WALinuxAgent, op=Install, message=Agent WALinuxAgent-2.2.31 downloaded successfully, duration=0
2018/11/17 16:28:15.137607 INFO Event: name=WALinuxAgent, op=HeartBeat, message=1;0;891F130C-BDF3-4BA4-A75C-E2C902FDEB93;0, duration=0
2018/11/17 16:28:15.159712 INFO Event: name=WALinuxAgent, op=Install, message=Agent WALinuxAgent-2.2.32.2 downloaded successfully, duration=0
2018/11/17 16:28:15.177824 INFO Agent WALinuxAgent-2.2.20 discovered update WALinuxAgent-2.2.32.2 -- exiting
2018/11/17 16:28:15.456694 INFO Agent WALinuxAgent-2.2.20 launched with command 'python3 -u /usr/sbin/waagent -run-exthandlers' is successfully running
2018/11/17 16:28:15.459139 INFO Event: name=WALinuxAgent, op=Enable, message=Agent WALinuxAgent-2.2.20 launched with command 'python3 -u /usr/sbin/waagent -run-exthandlers' is successfully running, duration=0
2018/11/17 16:28:15.465403 INFO Determined Agent WALinuxAgent-2.2.32.2 to be the latest agent
2018/11/17 16:28:16.059434 INFO ExtHandler Agent WALinuxAgent-2.2.32.2 is running as the goal state agent
2018/11/17 16:28:16.090896 INFO ExtHandler Wire server endpoint:168.63.129.16
2018/11/17 16:28:16.113096 INFO ExtHandler Creating cgroup directory /sys/fs/cgroup/cpu/WALinuxAgent
2018/11/17 16:28:16.116336 INFO ExtHandler Creating cgroup directory /sys/fs/cgroup/memory/WALinuxAgent
2018/11/17 16:28:16.128633 INFO ExtHandler Start env monitor service.
2018/11/17 16:28:16.134814 INFO ExtHandler Configure routes
2018/11/17 16:28:16.138561 INFO ExtHandler Gateway:None
2018/11/17 16:28:16.140691 INFO ExtHandler Routes:None
2018/11/17 16:28:16.164132 INFO ExtHandler Wire server endpoint:168.63.129.16
2018/11/17 16:28:16.175703 INFO ExtHandler WALinuxAgent-2.2.32.2 running as process 2007
2018/11/17 16:28:16.206427 INFO ExtHandler Wire server endpoint:168.63.129.16
2018/11/17 16:28:16.234131 INFO ExtHandler Route table: [{"Iface": "eth0", "Destination": "0.0.0.0", "Gateway": "10.0.1.1", "Mask": "0.0.0.0", "Flags": "0x0003", "Metric": "0"},{"Iface": "eth0", "Destination": "10.0.1.0", "Gateway": "0.0.0.0", "Mask": "255.255.255.0", "Flags": "0x0001", "Metric": "0"},{"Iface": "eth0", "Destination": "168.63.129.16", "Gateway": "10.0.1.1", "Mask": "255.255.255.255", "Flags": "0x0007", "Metric": "0"},{"Iface": "eth0", "Destination": "169.254.169.254", "Gateway": "10.0.1.1", "Mask": "255.255.255.255", "Flags": "0x0007", "Metric": "0"}]
2018/11/17 16:28:16.264357 INFO ExtHandler Wire server endpoint:168.63.129.16
2018/11/17 16:28:16.277030 INFO ExtHandler Initial NIC state: [{ "name": "lo", "link": "<LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000\ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 promiscuity 0 addrgenmode eui64 " }, { "name": "eth0", "link": "<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000\ link/ether 00:0d:3a:0d:4f:46 brd ff:ff:ff:ff:ff:ff promiscuity 0 addrgenmode eui64 " }]
2018/11/17 16:28:16.343645 INFO ExtHandler Wire server endpoint:168.63.129.16
2018/11/17 16:28:16.352951 INFO ExtHandler ProcessGoalState completed [incarnation 1; 92 ms]
2018/11/17 16:28:16.520227 INFO ExtHandler Successfully added Azure fabric firewall rules
2018/11/17 16:28:16.531952 INFO ExtHandler Firewall rules:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- * * 0.0.0.0/0 168.63.129.16 owner UID match 0
0 0 DROP tcp -- * * 0.0.0.0/0 168.63.129.16 ctstate INVALID,NEW

2018/11/17 16:28:16.536103 INFO ExtHandler Set block dev timeout: sdb with timeout: 300
2018/11/17 16:28:16.538351 INFO ExtHandler Set block dev timeout: sda with timeout: 300
����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

@digeler
Copy link
Author

digeler commented Nov 18, 2018

after a lot of trying and testing i found the issue but dont know the rca for this:
so to mitigate this what i did :

  1. discovered that networkd is not working -so enable it by systemctl enable systemd-networkd
  2. delete the directory rm -rf /var/lib/cloud/instance
  3. run dpkg-reconfigure cloud-init ,choose azure ,none
  4. waagent --deprovision
  5. create new ovf-env.xml from here : https://raw.githubusercontent.com/Azure/WALinuxAgent/master/tests/data/ovf-env.xml
    copy it to the /var/lib/waagent --which should be empty
  6. in ps generlize and create the image.

am still puzzeled as for why ovf-env.xml is not pushed.

@1008covingtonlane
Copy link

I am also seeing this. I only started seeing this after upgrading from WALinuxAgent-2.2.33 -> WALinuxAgent-2.2.34 to solve another issue I was seeing (#1394).
The workaround I used was to set 'Provisioning.MonitorHostName = True' in /etc/waagent.conf. Set the hostname of the Linux host using the hostname command and reboot. After doing this the hostname now matches the name of the VM in Azure.

@narrieta
Copy link
Member

narrieta commented Dec 7, 2018

Closing this item since both @digeler and @1008covingtonlane have found a workaround.

@narrieta narrieta closed this as completed Dec 7, 2018
@anamariaduta
Copy link

Hi, I am seeing this bug again in waagent version 2.3.1.1, and Ubuntu 18.04, platform image.
The workaround of setting the hostname manually is doable, but is this bug being investigated?

@anhvoms
Copy link
Collaborator

anhvoms commented Jul 21, 2021

@anamariaduta can you describe the exact steps you took so that we can try to reproduce this issue? Ubuntu 18.04 marketplace images in Azure should be using cloud-init to provision and waagent will yield provisioning to cloud-init. Hostname is set by cloud-init and not waagent.

@anamariaduta
Copy link

anamariaduta commented Jul 30, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants