Comments (7)
hi,
Could you share the vhd you used on Azure ? by using https://azurestorageexplorer.codeplex.com/
To find which vhd the vm is using
create SAS access link for that vhd. And you'd better ensure i can logon to that vm by root account.
Set Provisioning.DeleteRootPassword=n in /etc/waaagent.conf, when do deprovision
from walinuxagent.
Could you please share the full error message?
from walinuxagent.
I can't reproduce.
I used VirtualBox to create the VHD and unfortunately that didn't work no matter what I tried. I accoutered this error message a couple of time but I can't reproduce anymore.
The exact error message was just that "[Errno 5] input/output error" When I used verbose output it got printed 4 or 3 times on the screen.
I created my image now with Azure itself. Worked for me! Thanks!
from walinuxagent.
It seems on virtualbox we see an input/output error when writing to /dev/console. We don't commonly see this error on Hyper-V or Azure.
The devs recently added a try/except in LogToCon() to ensure we don't fail at this point, and since we handle the exception in LogToCon() I believe this error is ignorable. But perhaps we can do a bit more to mask the annoying input/output error message.
from walinuxagent.
Makes sense. I had the feeling that I could ignore it and did at first.
Any thoughts as of why my VHD wiht VB won't work? I am desperate ...
from walinuxagent.
It's difficult to say without more info, but one possibility is that you may not have the Hyper-V drivers included with your initramfs. Many Linux installers will only include the required drivers needed for the storage devices that were detected at installation time. Since you installed on Vbox then you may need to add these Hyper-V drivers to your initramfs manually.
For Hyper-V and Azure we need at least hv_vmbus and hv_storvsc in the initramfs so we can detect the storage devices and mount the root file system. In general you can use the following command to rebuild your initramfs and include the required Hyper-V drivers:
mkinitrd --preload=hv_storvsc --preload=hv_vmbus -v -f initramfs-`uname -r`.img `uname -r`
Also, I presume you followed this guide to prepare your CentOS VHD: http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd-centos/. Step #6 in this guide is also particularly important when cloning VMs in virtual environments
from walinuxagent.
Many thanks in advanced! First hint that is not directly in the docu. Will try it later and report back.
from walinuxagent.
Related Issues (20)
- [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
- [RHEL8] chrony service fails to start at boot on Azure VMs if udev has not finished creating /dev/ptp_hyperv symbolic link HOT 3
- [BUG] AlmaLinux 8 support HOT 7
- whitelist extensions and prevent them from being removed HOT 1
- waagent deplets all available inodes HOT 2
- [BUG] Missing disk operation metrics 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.