Skip to content

Boostrap script on 64-bit Pi 3 does not detect architecture #905

Closed

Description

@meggiebot

Description of Issue/Question

On 64-bit Pi3 the architecture wasn't detected.

Reported via Twitter: https://twitter.com/joesusecom/status/748867271049809921

Activity

  1. joesusecom commented on Jul 5, 2016

    @joesusecom

    I've tried on the Raspberry Pi Model B (32-bit). Doesn't work there either, unless I'm checking out of git. The error message is:

    bootstrap_salt.sh: 2822: bootstrap_salt.sh: repo_arch: parameter not set

    I'll try the latest script from

    wget https://bootstrap.saltstack.com/develop

    Seems that
    https://docs.saltstack.com/en/latest/topics/tutorials/salt_bootstrap.html

    has an error:

    If I do what it says in "Downloading the script from develop branch:"

    wget https://bootstrap.saltstack.com/develop
    sudo sh bootstrap_salt.sh

    that won't work, because the script is actually saved as "develop".

  2. rallytime commented on Jul 5, 2016

    @rallytime
    Contributor

    @joesusecom I suspect that we'll need a change similar to #899, only we'll need to also check for the armv8 arch cpu in addition to checking for armv7l.

  3. joesusecom commented on Jul 6, 2016

    @joesusecom

    Actually the check for armv7l (which was added after I tested the script) should work with the Raspberry Pi 3. It reports as armv7l. For the Pi B we'd need armv6l. I verified with the same SD card that the same Raspberry image also runs on the Pi B.

  4. rallytime commented on Jul 6, 2016

    @rallytime
    Contributor

    @joesusecom Oh, that is good to know about the armv7l reporting on Pi 3. I had read some issues online saying that is reported, even though the Pi 3 wiki says it should be armv8.

    that won't work, because the script is actually saved as "develop".

    Can you clarify what you mean here? You should be able to run the script with whatever name it downloads as.

  5. joesusecom commented on Jul 6, 2016

    @joesusecom

    Am 06.07.2016 um 17:40 schrieb Nicole Thomas <[email protected]mailto:[email protected]>:

    @joesusecomhttps://github.com/joesusecom Oh, that is good to know about the armv7l reporting on Pi 3. I had read some issues online saying that is reported, even though the Pi 3 wiki says it should be armv8.

    that won't work, because the script is actually saved as "develop".

    Can you clarify what you mean here? You should be able to run the script with whatever name it downloads as.

    Sure, but the docs at

    https://docs.saltstack.com/en/latest/topics/tutorials/salt_bootstrap.html

    say

    wget https://bootstrap.saltstack.com/develop

    sudo sh bootstrap_salt.sh

    If you do exactly that, it can't work.

    Also, many of the bash examples on that page are marked up as Python ...

    Cheers
    Joachim

    —
    You are receiving this because you were mentioned.
    Reply to this email directly, view it on GitHubhttps://github.com//issues/905#issuecomment-230811843, or mute the threadhttps://github.com/notifications/unsubscribe/ADmXg-aDcmHnVb1G1-VB_GodDu1J0ChUks5qS8x8gaJpZM4JFfft.

  6. rallytime commented on Jul 6, 2016

    @rallytime
    Contributor

    Heh. I actually haven't seen those docs before.

    You should be able to wget -O bootstrap_salt.sh https://bootstrap.saltstack.com/develop and then sh bootstrap_salt.sh.

  7. rallytime commented on Jul 6, 2016

    @rallytime
    Contributor

    @joesusecom I have fixed those instructions in the above pull request. Thanks for letting me know.

  8. rallytime commented on Jul 7, 2016

    @rallytime
    Contributor

    @joesusecom I just realized that the link you were talking about doesn't actually pull down the correct develop version. So even if you were running what you thought was the develop version, it was still the latest stable.

    We're releasing a new stable version of the bootstrap script today, so you should be able to try this again from stable soon.

    I spoke off-line with @Ch3LL, who did some testing on our Raspberry Pis, (she tested both Pi 2 and Pi 3) and the new stable version works correctly. Since we've confirmed this on our end, I am going to close this, but if you run into any trouble with the new stable script, please let me know and we'll take another look. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions