Skip to content

[BUG] installing salt-minion on PhotonOS fails due to wrong naming in installer #2079

@erwindon

Description

@erwindon

Description
The bootstrap installer fails on PhotonOS 4 and 5.
The reason is that the installer assumes the name "photon".
But the installer tries to find "vmware_photon_os".
These names are used to find the internal functions in the insaller.

Changing the installer script as follow makes it work again.
sed --in-place 's/_photon_/_vmware_photon_os_/' /tmp/bootstrap-salt.sh

Setup
VirtualBox with PhotonOS 4
or
VirtualBox with PhotonOS 5

Please be as specific as possible and give set-up details.

  • on-prem machine
  • VM (Virtualbox 7.12)
  • VM running on a cloud service, please be explicit and add details
  • container (Kubernetes, Docker, containerd, etc. please specify)
  • or a combination, please be explicit
  • jails if it is FreeBSD
  • classic packaging
  • onedir packaging
  • used bootstrap to install

Steps to Reproduce the behavior

Expected behavior
running bootstrap-salt.sh succeeds (and leaves a working minion).

Screenshots

 *  INFO: Running version: 2025.02.24
 *  INFO: Executed by: sh
 *  INFO: Command line: '/tmp/bootstrap-salt.sh '

 *  INFO: System Information:
 *  INFO:   CPU:          GenuineIntel
 *  INFO:   CPU Arch:     x86_64
 *  INFO:   OS Name:      Linux
 *  INFO:   OS Version:   6.1.143-2.ph5
 *  INFO:   Distribution: VMware Photon OS 5.0

 *  INFO: Installing minion
 *  INFO: Found function config_salt
 *  INFO: Found function preseed_master
 *  INFO: Found function daemons_running_onedir
 * ERROR: No dependencies installation function found. Exiting...

Versions Report
(salt-minion is not installed yet, thus salt-master version is irrelevant)

Additional context
(none)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy