When using "CrostiniAnsiblePlaybook", the Crostini install fails at the installing Ansible step

41 views
Skip to first unread message

Matthew Roy

unread,
Dec 2, 2024, 12:32:03 PM12/2/24
to ChromiumOS Development
When using "CrostiniAnsiblePlaybook", the Crostini install fails at the installing Ansible step.

Looking at the system logs this appears to occur when the crostini installer requests a specific, older version of Ansible that is not available on all the debian bookworm mirrors. The current version of Ansible for bookworm is 7.7.0+dfsg-3+deb12u1 (see https://packages.debian.org/stable/ansible).

The related line in source seems to be: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ash/crostini/ansible/ansible_management_service.cc;l=24

Google Chrome: Version 130.0.6723.126 (Official Build) (64-bit)
Platform: 16033.58.0 (Official Build) stable-channel brask
Channel: stable-channel
Firmware Version: Google_Kuldax.14505.704.0
ARC Enabled: true
ARC: 12608590
Enterprise Enrolled: true
Developer Mode: false

See the following logs:
2024-11-16T22:02:11.420311Z ERROR chrome[1205:1205]: [crostini_ansible_software_config_view.cc(154)] Progress: Ansible downloading progress: 0%
2024-11-16T22:02:11.922504Z ERROR chrome[1205:1205]: [crostini_ansible_software_config_view.cc(154)] Progress: Ansible downloading progress: 10%
2024-11-16T22:02:12.424641Z ERROR chrome[1205:1205]: [crostini_ansible_software_config_view.cc(154)] Progress: Ansible downloading progress: 36%
2024-11-16T22:02:12.507359Z ERROR chrome[1205:1205]: [crostini_manager.cc(2938)] Install failed: E: https://deb.debian.org/debian bookworm/main amd64 ansible-core all 2.14.3-1 is not (yet) available (404 Not Found [IP: 151.101.2.132 443])
E: https://deb.debian.org/debian bookworm/main amd64 ansible all 7.3.0+dfsg-1 is not (yet) available (404 Not Found [IP: 151.101.2.132 443])
2024-11-16T22:02:12.507411Z ERROR chrome[1205:1205]: [ansible_management_service.cc(154)] Ansible installation failed
2024-11-16T22:02:20.742126Z WARNING chrome[1260:1268]: [spdy_session.cc(2975)] Received HEADERS for invalid stream 1
2024-11-16T22:02:36.649309Z ERROR chrome[1205:1205]: [crostini_manager.cc(948)] Failed to restart Crostini with error code: 47, container: (type:0:TERMINA vm:"termina" container:"penguin")
2024-11-16T22:02:37.930790Z WARNING chrome[1205:1205]: [crostini_manager.cc(743)] Disk already existed for initial Crostini install. Perhaps the VM was created via vmc?
2024-11-16T22:02:38.279623Z ERROR chrome[1205:1205]: [crostini_ansible_software_config_view.cc(154)] Progress: Ansible downloading progress: 44%
2024-11-16T22:02:38.405332Z ERROR chrome[1205:1205]: [crostini_manager.cc(2938)] Install failed: E: https://deb.debian.org/debian bookworm/main amd64 ansible-core all 2.14.3-1 is not (yet) available (404 Not Found [IP: 151.101.2.132 443])
E: https://deb.debian.org/debian bookworm/main amd64 ansible all 7.3.0+dfsg-1 is not (yet) available (404 Not Found [IP: 151.101.2.132 443])
2024-11-16T22:02:38.405424Z ERROR chrome[1205:1205]: [ansible_management_service.cc(154)] Ansible installation failed

If any Google folks see this, we opened this as Workspace Case 55137451, but the support folks barely understand ChromeOS, much less Crostini and Ansible.

Dmitry Torokhov

unread,
Dec 2, 2024, 2:20:00 PM12/2/24
to Matthew Roy, Dennis Kempin, ChromiumOS Development

--
--
ChromiumOS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-dev
Reply all
Reply to author
Forward
0 new messages