Comments (8)
@vnorbix, did you do any proxy config to waagent? Such as:
HttpProxy.Host=None
HttpProxy.Port=None
from walinuxagent.
@yuezh, thanks for your response. HttpProxy is not present in the config, here's my full config I'm using:
Role.StateConsumer=None
Role.ConfigurationConsumer=None
Role.TopologyConsumer=None
Provisioning.Enabled=y
Provisioning.DeleteRootPassword=y
Provisioning.RegenerateSshHostKeyPair=n
Provisioning.SshHostKeyPairType=rsa
Provisioning.MonitorHostName=n
Provisioning.DecodeCustomData=n
Provisioning.ExecuteCustomData=n
ResourceDisk.Format=y
ResourceDisk.Filesystem=ext4
ResourceDisk.MountPoint=/mnt/resource
ResourceDisk.EnableSwap=y
ResourceDisk.SwapSizeMB=2048
LBProbeResponder=y
Logs.Verbose=n
OS.RootDeviceScsiTimeout=300
OS.OpensslPath=None
Do you think a verbose log would help you?
from walinuxagent.
@vnorbix, does cloud-init runs in your VM?
from walinuxagent.
@lizzha, yes, it seems to be, but I found this in cloud-init.log:
Nov 16 13:45:57 [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.7 running 'init-local' at Mon, 16 Nov 2015 12:45:57 +0000. Up 35.65 seconds.
...
Nov 16 13:45:58 [CLOUDINIT] util.py[WARNING]: No instance datasource found! Likely bad things to come!
Nov 16 13:45:58 [CLOUDINIT] util.py[DEBUG]: No instance datasource found! Likely bad things to come!#012Traceback (most recent call last):#12 File "/usr/bin/cloud-init", line 253, in main_init#012 init.fetch()#12 File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 336, in fetch#012 return self._get_data_source()#12 File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 264, in _get_data_source#012 pkg_list, self.reporter)#12 File "/usr/lib/python3/dist-packages/cloudinit/sources/init.py", line 274, in find_source#012 raise DataSourceNotFoundException(msg)#012cloudinit.sources.DataSourceNotFoundException: Did not find any data source, searched classes: (DataSourceAzureNet)
Nov 16 13:45:58 [CLOUDINIT] util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
Nov 16 13:45:58 [CLOUDINIT] util.py[DEBUG]: Read 11 bytes from /proc/uptime
Nov 16 13:45:58 [CLOUDINIT] util.py[DEBUG]: cloud-init mode 'init' took 0.412 seconds (0.42)
Nov 16 13:45:58 [CLOUDINIT] handlers.py[DEBUG]: finish: init-network: SUCCESS: searching for network datasources
from walinuxagent.
@vnorbix Seems there's conflict between cloud-init and waagent in provisioning.
Have you ever tried to set
Provisioning.Enabled=n
ResourceDisk.Format=n
in waagent.conf, and then provision the VM?
from walinuxagent.
@lizzha, I changed the config file, shut down the VM (deallocated), then started it, no changes, the same error lines are in the logs.
from walinuxagent.
@vnorbix , could you please try following steps:
- Make sure the config file contains
Provisioning.Enabled=n
ResourceDisk.Format=n - run command # sudo waagent -deprovision
- shut down the VM
- capture the VM image
- create a new VM from the captured image
If this cannot resolve the issue, could you please provide detailed steps of how you update your VM and update waagent, so that we could try to repro and take a look?
from walinuxagent.
@lizzha, thanks for the suggestion, this solution worked! Now waagent is running without problems. I can now also register the VM to recovery services, that was my initial issue.
So, next time it would be recommanded to recreate the VM when waagent will be updated (major version changes) with the OS, right?
from walinuxagent.
Related Issues (20)
- 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
- [BUG] Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.141 is using a lot of disk space HOT 1
- [BUG] ARM instances does not update to latest version HOT 5
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.