azuredevopslabs icon indicating copy to clipboard operation
azuredevopslabs copied to clipboard

Ansible Lab - VM Provisioning failing

Open larryclaman opened this issue 5 years ago • 0 comments

The ansible lab at https://github.com/Microsoft/azuredevopslabs/tree/master/labs/vstsextend/ansible/ is failing at the VM provisioning step. When the custom extension runs, it errors out with:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "VMExtensionProvisioningError",\r\n "message": "VM has reported a failure when processing extension 'CustomScriptForLinux'. Error message: \"Command returned an error.\n---stdout---\ne amd64 Packages [8570 kB]\nGet:14 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [704 kB]\nGet:15 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [234 kB]\nGet:16 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [8512 B]\nGet:17 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2908 B]\nGet:18 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB]\nGet:19 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]\nGet:20 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]\nGet:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1072 kB]\nGet:22 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [356 kB]\nGet:23 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [96.4 kB]\nGet:24 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [20.9 kB]\nGet:25 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1110 kB]\nGet:26 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [346 kB]\nGet:27 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [19.6 kB]\nGet:28 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6768 B]\nGet:29 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [7516 B]\nGet:30 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [4764 B]\nGet:31 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7736 B]\nGet:32 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [4588 B]\nFetched 20.9 MB in 5s (4093 kB/s)\nReading package lists...\nBuilding dependency tree...\nReading state information...\n5 packages can be upgraded. Run 'apt list --upgradable' to see them.\nReading package lists...\nBuilding dependency tree...\nReading state information...\nCalculating upgrade...\nThe following packages were automatically installed and are no longer required:\n grub-pc-bin linux-headers-4.15.0-117\nUse 'sudo apt autoremove' to remove them.\nThe following packages will be upgraded:\n libssl1.0.0\n1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 1088 kB of archives.\nAfter this operation, 3072 B of additional disk space will be used.\nGet:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.4 [1088 kB]\nFetched 1088 kB in 0s (10.0 MB/s)\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 76609 files and directories currently installed.)\r\nPreparing to unpack .../libssl1.0.0_1.0.2n-1ubuntu5.4_amd64.deb ...\r\nUnpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.4) over (1.0.2n-1ubuntu5.3) ...\r\nSetting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.4) ...\r\ndebconf: unable to initialize frontend: Dialog\r\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\r\ndebconf: falling back to frontend: Readline\r\nProcessing triggers for libc-bin (2.27-3ubuntu1.2) ...\r\nReading package lists...\nBuilding dependency tree...\nReading state information...\nPackage python-dev is not available, but is referred to by another package.\nThis may mean that the package is missing, has been obsoleted, or\nis only available from another source\nHowever the following packages replace it:\n python\n\nPackage libffi-dev is not available, but is referred to by another package.\nThis may mean that the package is missing, has been obsoleted, or\nis only available from another source\n\n\n---errout---\netc/apt/sources.list:54\nW: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:56\nW: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:56\nW: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:56\nW: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:56\nW: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:56\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:52\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:52\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:52\nW: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:52\nW: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:52\nW: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:52\nW: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:52\nW: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:52\nW: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:52\nW: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:52\nW: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:54\nW: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:54\nW: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:54\nW: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:54\nW: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:54\nW: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:56\nW: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:56\nW: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:56\nW: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:56\nW: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:56\n\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \n\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n\nE: Package 'libffi-dev' has no installation candidate\nE: Package 'python-dev' has no installation candidate\nsudo: pip: command not found\n\n\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot "\r\n }\r\n ]\r\n }\r\n}"}]}

larryclaman avatar Sep 16 '20 20:09 larryclaman