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

Add distribution template for "Linaro" (Ubuntu for ARM SoC's) #6496

Closed
duk3luk3 opened this issue Aug 2, 2013 · 5 comments · Fixed by #6500
Closed

Add distribution template for "Linaro" (Ubuntu for ARM SoC's) #6496

duk3luk3 opened this issue Aug 2, 2013 · 5 comments · Fixed by #6500
Labels
Bug broken, incorrect, or confusing behavior
Milestone

Comments

@duk3luk3
Copy link
Contributor

duk3luk3 commented Aug 2, 2013

Summary
Bootstrapping salt on a Beagleboard running Linaro 12.11 fails due to missing distribution template info.
Resolve by adding appropriate template.

Expected behaviour
salt-bootstrap / salt ppa installs salt properly

Observed behaviour
https://gist.github.com/duk3luk3/6141362

@duk3luk3
Copy link
Contributor Author

duk3luk3 commented Aug 2, 2013

Additional info
I installed salt-minion successfully on two beagleboards using the bootstrap script. Two days later, when I wanted to add another beagleboard, it didn't work anymore. I have no idea why - my operating hypothesis is that Linaro changed the distribution info from "Ubuntu" to "Linaro" some time in the last two days. Seems a bit crazy, but should be easy to check.

@techhat
Copy link
Contributor

techhat commented Aug 2, 2013

Thanks for the report, @duk3luk3! Is it safe to say then that a standard Ubuntu package should be appropriate for Linaro? Or is there a special repo that the bootstrap script should be pointing to?

I have added saltstack/salt-bootstrap#191 to handle this in salt-bootstrap, but it should remain open here as well until proper grains support has been added to salt.

@duk3luk3
Copy link
Contributor Author

duk3luk3 commented Aug 2, 2013

Yes, the standard Ubuntu package should work perfectly. It actually is working perfectly, as far as I can tell, on two nodes. I'm currently working with @terminalmage on irc to extend the os detection in salt.

@duk3luk3
Copy link
Contributor Author

duk3luk3 commented Aug 2, 2013

After testing a modified salt-boostrap.sh from @terminalmage, it looks like this: https://gist.github.com/duk3luk3/6141731

So this is looking like a problem with the ppa script collection / the linaro distribution config now.

@terminalmage
Copy link
Contributor

Just dumping this here for reference: grains.items output

Both the pkg and service providers need to be updated to detect Linaro, should be an easy fix. In the meantime I've instructed @duk3luk3 on how to use the providers option to manually specify apt and upstart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants