GithubHelp home page GithubHelp logo

Comments (7)

qingfuwang avatar qingfuwang commented on June 2, 2024

hi,
Could you share the vhd you used on Azure ? by using https://azurestorageexplorer.codeplex.com/
image
To find which vhd the vm is using
image

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.

yuezh avatar yuezh commented on June 2, 2024

Could you please share the full error message?

from walinuxagent.

hkropp avatar hkropp commented on June 2, 2024

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.

szarkos avatar szarkos commented on June 2, 2024

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.

hkropp avatar hkropp commented on June 2, 2024

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.

szarkos avatar szarkos commented on June 2, 2024

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.

hkropp avatar hkropp commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.