Unable to initiate Azure Backup on SLE 15
See original GitHub issueWe are having problems initiating a backup of our VM running SLE 15.
The error message we get on Azure portal is ExtensionSnapshotFailedNoNetwork We’ve set NSG rules allowing outbound access to Azure storage but still end up with this error. Logs on the VM itself give some information, but don’t know if that helps pinpoint the problem.
waagent --version
WALinuxAgent-2.2.36 running on sles 15
Python: 3.6.5
Goal state agent: 2.2.37
From /var/log/azure/Microsoft.Azure.RecoveryServices.VMSnapshotLinux/extension.log
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]Failed to construct ConfigurationProvider, which may due to the old wala code.
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]GetBlobProperties: Failed to get blob properties with error: __init__() takes exactly 2 arguments (1 given), stack trace: Traceback (most recent call last):
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/blobwriter.py", line 207, in GetBlobProperties
2019/03/01 17:58:35 http_util = HttpUtil(self.hutil)
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/HttpUtil.py", line 43, in __init__
2019/03/01 17:58:35 Config = waagent.ConfigurationProvider()
2019/03/01 17:58:35 TypeError: __init__() takes exactly 2 arguments (1 given)
2019/03/01 17:58:35
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]GetBlobProperties: retry times is 3
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]Failed to construct ConfigurationProvider, which may due to the old wala code.
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]GetBlobProperties: Failed to get blob properties with error: __init__() takes exactly 2 arguments (1 given), stack trace: Traceback (most recent call last):
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/blobwriter.py", line 207, in GetBlobProperties
2019/03/01 17:58:35 http_util = HttpUtil(self.hutil)
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/HttpUtil.py", line 43, in __init__
2019/03/01 17:58:35 Config = waagent.ConfigurationProvider()
2019/03/01 17:58:35 TypeError: __init__() takes exactly 2 arguments (1 given)
2019/03/01 17:58:35
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]GetBlobProperties: retry times is 2
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]Failed to construct ConfigurationProvider, which may due to the old wala code.
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]GetBlobProperties: Failed to get blob properties with error: __init__() takes exactly 2 arguments (1 given), stack trace: Traceback (most recent call last):
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/blobwriter.py", line 207, in GetBlobProperties
2019/03/01 17:58:35 http_util = HttpUtil(self.hutil)
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/HttpUtil.py", line 43, in __init__
2019/03/01 17:58:35 Config = waagent.ConfigurationProvider()
2019/03/01 17:58:35 TypeError: __init__() takes exactly 2 arguments (1 given)
2019/03/01 17:58:35
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]GetBlobProperties: retry times is 1
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]GetBlobType: Blob-Type :BlockBlob
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]Failed to construct ConfigurationProvider, which may due to the old wala code.
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]Failed to committing the log with error: __init__() takes exactly 2 arguments (1 given), stack trace: Traceback (most recent call last):
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/blobwriter.py", line 67, in WriteBlockBlob
2019/03/01 17:58:35 http_util = HttpUtil(self.hutil)
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/HttpUtil.py", line 43, in __init__
2019/03/01 17:58:35 Config = waagent.ConfigurationProvider()
2019/03/01 17:58:35 TypeError: __init__() takes exactly 2 arguments (1 given)
2019/03/01 17:58:35
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]retry times is 3
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]Failed to construct ConfigurationProvider, which may due to the old wala code.
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]Failed to committing the log with error: __init__() takes exactly 2 arguments (1 given), stack trace: Traceback (most recent call last):
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/blobwriter.py", line 67, in WriteBlockBlob
2019/03/01 17:58:35 http_util = HttpUtil(self.hutil)
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/HttpUtil.py", line 43, in __init__
2019/03/01 17:58:35 Config = waagent.ConfigurationProvider()
2019/03/01 17:58:35 TypeError: __init__() takes exactly 2 arguments (1 given)
2019/03/01 17:58:35
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]retry times is 2
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]Failed to construct ConfigurationProvider, which may due to the old wala code.
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]Failed to committing the log with error: __init__() takes exactly 2 arguments (1 given), stack trace: Traceback (most recent call last):
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/blobwriter.py", line 67, in WriteBlockBlob
2019/03/01 17:58:35 http_util = HttpUtil(self.hutil)
2019/03/01 17:58:35 File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9147.0/main/HttpUtil.py", line 43, in __init__
2019/03/01 17:58:35 Config = waagent.ConfigurationProvider()
2019/03/01 17:58:35 TypeError: __init__() takes exactly 2 arguments (1 given)
2019/03/01 17:58:35
2019/03/01 17:58:35 [Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0]retry times is 1
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Troubleshoot backup errors with Azure VMs - Microsoft Learn
In this article, learn how to troubleshoot errors encountered with backup and restore of Azure virtual machines.
Read more >Azure Recovery Services Backup VM Snapshot Fails
Error: Unable to save backup policy. Selected items list for Backup is large or selected items have long path names. Please retry operation...
Read more >unraid move vm disk - Ramozzi & Friends
Start the VM and the space is automagically added to the system. use. ... In-Place restore of disks in IaaS VMs is a...
Read more >Druva vs avepoint - Sport Castellano Reports
You'll get the most needed features and be up and running in less than 15 minutes. It will not protect you against acci...
Read more >Bulk update azure ad users
Open Active Directory Users and Computers, click on the Users, ... 15 Jan 2021 #connecting to the Azure AD Connect-AzureAD #importing the CSV...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Over a year has passed by since this issue was reported. I am still encountering a similar error and cannot initiate backups on my images
The machine-id is generated on boot and also available under /etc/machine-id and /var/lib/dbus/machine-id.
I just wanted to know, if the original problem was solved, then I would open up a issue for this myself.
waagent --version WALinuxAgent-2.2.45 running on sles 15.1 Python: 3.6.10 Goal state agent: 2.2.45
@soumyapattnaik Could we have an update on this issue?