Comments (11)
Would you please share the detail steps you do? Did you run "waagent -deprovision+user -force", before you capture the image?
from walinuxagent.
1: Only with
sudo apt-get update+ sudo apt-get dist-upgrade(install the waagent)+reboot and the hostname change to localhost when it init.
2: sudo apt-get update+ sudo apt-get dist-upgrade(install the waagent)+waagent -deprovision+shutdown vm+capture image+create new vm and the hostname change to localhost when it init.
from walinuxagent.
What command did you use to capture VM?
from walinuxagent.
azure vm capture -d [dns] -t [mv] capture_name-20140513-123900
from walinuxagent.
Are you still seeing this issue? I saw this after a package update (walinuxagent was updated) and reboot on 14.04.
from walinuxagent.
I have the same issue in ubuntu 14.04 with last version of wagent
from walinuxagent.
@fbejarano I couldn't repo this issue with official Ubuntu 14.04 image. What image are you using?
My steps are:
- Create a VM
- Run waagent -deprovision+user -force
- Run "azure vm capture -d [dns] -t [vm_name] [image_name]"
- Create a new vm
from walinuxagent.
@yuezh We occasionally see this with our images (which were stock Ubuntu). I have one that just repro'd it right now and can give you access.
from walinuxagent.
Some data
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
$ waagent -version
WALinuxAgent-2.0.14 running on Ubuntu
Original /etc/waagent.conf with 2 changes
# Monitor host name changes and publish changes via DHCP requests.
#Provisioning.MonitorHostName=n
Provisioning.MonitorHostName=y
# Format if unformatted. If 'n', resource disk will not be mounted.
#ResourceDisk.Format=n
ResourceDisk.Format=y
from walinuxagent.
@mmitche @fbejarano could you please try version 2.1.3 version of the Linux Agent and see if the behavior persists? Here's how you can update the agent: https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-update-agent/
from walinuxagent.
closing, due to lack of activity. please reopen if you still see this with the latest agent (currently 2.1.6).
from walinuxagent.
Related Issues (20)
- [FR] Best practice for packaging the WALinuxAgent for Nix/NixOS HOT 4
- [BUG] Installation fails on unendorsed distribution HOT 3
- Deprecation of distutils HOT 1
- Tried to create VMs in azure Across availability zone and got this error: No python interpreter found HOT 4
- [BUG] waagent missing ipv6.addr-gen-mode eui64 from nmcli command HOT 1
- [BUG] DNS issue where deprovisioning sets the hostname to localhost.localdomain HOT 1
- Running collect-logs HOT 2
- Log collection: Memory limit HOT 1
- [BUG] CPU credits drain on B1ls after update to 2.10.0.3 HOT 16
- Issue with extensions when Lib.Dir is modifiend in /etc/waagent.conf HOT 6
- How to disable Azure Portal to automatically install OmsAgentForLinux on my VM? HOT 2
- [BUG] the agent go offline randomly. ERROR ExtHandler ExtHandler Error fetching the goal state in waagent.log HOT 1
- [BUG] WALinuxAgent not updating to latest on Ubuntu HOT 3
- [BUG] VMAccess does not work for FreeBSD HOT 1
- [BUG] Ubuntu versions >= 18.04 checking for dhclient lease files
- [BUG] Flatcar Linux 3602.2.1 Boot Errors HOT 2
- [BUG] udev path mappings for data disks broken in Rocky Linux 9.1 image HOT 2
- [BUG] OpenBSD Deployment Failed HOT 1
- [BUG] Ubuntu22: MonitorHostname does not update iDNS
- [BUG] Ubuntu 2204 & Azure Linux v2: v2.9.1.1 fails to assign IP address for IB interface HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from walinuxagent.