spinnaker: Hayard v1.45.0 release installs the wrong version of Halyard from installation scripts
Issue Summary:
Unable to install Halyard v1.45.0 using Debian installation script, and also not able to upgrade the incorrect version that gets installed by the script using update-halyard.
Cloud Provider(s):
N/A
Environment:
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
Feature Area:
Halyard
Description:
- The stable version of Halyard at
spinnaker-artifacts/halyard/stable/debian/halyard.tar.gzis version 1.44.1-20210628193525 and not 1.45.0, so the Debian installation script downloads the wrong version. - Specifying the version when running the Debian installation script
./InstallHalyard.sh --version 1.45.0fails, because it can’t find the file. - Running the
update-halyardfails to update Halyard, the version remains the same.
Steps to Reproduce:
- Halyard installing wrong version
cd /tmp
wget https://raw.githubusercontent.com/spinnaker/halyard/v1.45.0/install/debian/InstallHalyard.sh
chmod a+rx InstallHalyard.sh
sudo ./InstallHalyard.sh --user spinnaker -y
hal --version
- Halyard installation fails when specifying the version to install
cd /tmp
wget https://raw.githubusercontent.com/spinnaker/halyard/v1.45.0/install/debian/InstallHalyard.sh
chmod a+rx InstallHalyard.sh
sudo ./InstallHalyard.sh --user spinnaker --version 1.45.0 -y
hal --version
- Halyard upgrade fails
sudo update-halyard
hal --version
Additional Details:
None
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 5
- Comments: 23
If you are upgrading that should be fine, its more for new users. You just need to always run
hal deploy applywith sudo because the Halyard daemon runs as thespinnakeruser.It is also important to note that you will first need to add the Spinnaker apt repo in order for the apt commands to work correctly.
@marfenij Yes, I removed the
update-halyardinstructions from the docs and replaced it with:Since
update-halyardwas not working anymore, and is no longer installed with newer Halyard versions.Seeing the same issue here on Ubuntu 20.04
Validation in halconfig:
$ sudo update-halyard
Here are the last lines from this command:
update-halyard /home/svc_halyard/gke-spinnaker Install completed… restarting Halyard The halyard daemon isn’t running yet… starting it manually… 1.44.1-20210628193525 Bash auto-completion updated. To use the updated auto-completion restart your shell. $ hal -v 1.44.1-20210628193525