Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap release 2024.07.12 has trouble with Ubuntu 24.04 #2007

Closed
cro opened this issue Jul 16, 2024 · 3 comments
Closed

Bootstrap release 2024.07.12 has trouble with Ubuntu 24.04 #2007

cro opened this issue Jul 16, 2024 · 3 comments
Assignees

Comments

@cro
Copy link
Contributor

cro commented Jul 16, 2024

Description of Issue/Question

Bootstrap script fails to run install_ubuntu_onedir_deps.

Setup

Amazon t3.medium instance, official Ubuntu 24.04 server AMI.

Steps to Reproduce Issue

# curl https://bootstrap.saltproject.io > bs.sh
# bash bs.sh stable

*  INFO: Running version: 2024.07.12
 *  INFO: Executed by: bash
 *  INFO: Command line: 'bs.sh stable'

 *  INFO: System Information:
 *  INFO:   CPU:          GenuineIntel
 *  INFO:   CPU Arch:     x86_64
 *  INFO:   OS Name:      Linux
 *  INFO:   OS Version:   6.8.0-1010-aws
 *  INFO:   Distribution: Ubuntu 24.04

 *  INFO: Installing minion
 *  INFO: Found function install_ubuntu_onedir_deps
 *  INFO: Found function config_salt
 *  INFO: Found function preseed_master
 *  INFO: Found function install_ubuntu_onedir
 *  INFO: Found function install_ubuntu_restart_daemons
 *  INFO: Found function daemons_running_onedir
 *  INFO: Found function install_ubuntu_check_services
 *  INFO: Running install_ubuntu_onedir_deps()
Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:5 https://repo.saltproject.io/salt/py3/ubuntu/24.04/amd64/minor/3007.0 noble InRelease
Err:6 https://repo.saltproject.io/salt/py3/ubuntu/24.04/amd64/minor/3007.0 noble Release
  404  Not Found [IP: 18.161.6.100 443]
Reading package lists...
 * ERROR: Failed to run install_ubuntu_onedir_deps()!!!

(Include debug logs if possible, bootstrap-salt.sh -D.)

Sorry, I was too quick to destroy the instance, forgot to grab debug logs beforehand.

Versions and Systems

Bootstrap 2024.07.12

@dmurphy18
Copy link
Contributor

Please retry with just release 2024-07-16, tried it with Amazon VM for 24.04 arm64

./bootstrap-salt.sh stable

And it installed the latest version of Salt which is 3007.1

Pending kernel upgrade!
Running kernel version:
  6.8.0-1009-aws
Diagnostics:
  The currently running kernel version is not the expected kernel version 6.8.0-1010-aws.

Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting.

Restarting services...

Service restarts being deferred:
 /etc/needrestart/restart.d/dbus.service

No containers need to be restarted.

User sessions running outdated binaries:
 ubuntu @ session #1: sshd[1075]
 ubuntu @ user manager service: systemd[1080]

No VM guests are running outdated hypervisor (qemu) binaries on this host.
 *  INFO: Running install_ubuntu_check_services()
 *  INFO: Running install_ubuntu_restart_daemons()
 *  INFO: Running daemons_running_onedir()
 *  INFO: Salt installed!
root@ip-172-31-51-151:/home/ubuntu/test# cat /etc/apt/sources.list.d/salt.list 
deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=arm64] https://repo.saltproject.io/salt/py3/ubuntu/24.04/arm64/latest/ noble main
root@ip-172-31-51-151:/home/ubuntu/test# 

Note: the fixes from 2024-07-12 to 2024-07-16, are minor (arm64 fix, etc) and 2024-07-12 should have worked.

@cro
Copy link
Contributor Author

cro commented Jul 16, 2024

Confirmed fixed with 2024-07-16.

@cro cro closed this as completed Jul 16, 2024
@dmurphy18
Copy link
Contributor

Also tried with 2024-07-12 on x86_64 and got the same result

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
 *  INFO: Running install_ubuntu_check_services()
 *  INFO: Running install_ubuntu_restart_daemons()
 *  INFO: Running daemons_running_onedir()
 *  INFO: Salt installed!
root@ip-172-31-27-215:/home/ubuntu/test# 
deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg] https://repo.saltproject.io/salt/py3/ubuntu/24.04/amd64/latest/ noble main
root@ip-172-31-27-215:/home/ubuntu/test# 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants