Latest cloud-init fails with AttributeError: 'DataSourceVMware' object has no attribute 'rpctool'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Undecided
|
Chad Smith |
Bug Description
Our current VMs are all reporting the same error, since they upgraded cloud-init to the version 23.4.4-
If I downgrade cloud-init to version 23.1.2-
The following error is visible in journalctl:
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
Mar 07 10:56:44 hostname-redacted cloud-init[
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: cloud-init 23.4.4-
ProcVersionSign
Uname: Linux 5.15.0-97-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CloudArchitecture: x86_64
CloudID: vmware
CloudName: vmware
CloudPlatform: vmware
CloudSubPlatform: guestinfo (guestinfo.
Date: Thu Mar 7 11:15:49 2024
InstallationDate: Installed on 2024-03-02 (5 days ago)
InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
SubiquityClient
2024-03-02 02:32:03,283 INFO subiquity:126 Starting Subiquity revision 4380
2024-03-02 02:32:03,284 INFO subiquity:127 Arguments passed: ['/snap/
2024-03-02 02:32:03,284 DEBUG subiquitycore.
2024-03-02 02:32:03,284 DEBUG asyncio:59 Using selector: EpollSelector
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Latest cloud-init fails with AttributeError: 'DataSourceVMware + Latest cloud-init fails with AttributeError: 'DataSourceVMware' object + has no attribute 'rpctool' |
Changed in cloud-init (Ubuntu): | |
status: | In Progress → Fix Committed |
Thanks, Thomas, for reporting this!
Upstream PR fixing this: https:/ /github. com/canonical/ cloud-init/ pull/5021