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

uuidgen isn't part of a base debian system #39

Open
cwseys opened this issue Apr 9, 2015 · 8 comments
Open

uuidgen isn't part of a base debian system #39

cwseys opened this issue Apr 9, 2015 · 8 comments

Comments

@cwseys
Copy link

cwseys commented Apr 9, 2015

Example:

# puppet agent -tv
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Loading facts
sh: 1: /usr/bin/uuidgen: not found
Info: Caching catalog for ns1.physics.wisc.edu
Info: Applying configuration version '1428526910'

Probably in one of the "facts" ?
/usr/share/puppet/modules/gluster# grep uuidgen . -r
[...]
./lib/facter/gluster_fsuuid.rb: result = system("/usr/bin/uuidgen > '" + uuidfile + "'")
./lib/facter/gluster_uuid.rb: result = system("/usr/bin/uuidgen > '" + uuidfile + "'")
[...]

@cwseys
Copy link
Author

cwseys commented Apr 9, 2015

Thanks!
C.

@purpleidea
Copy link
Owner

@lickdragon Please provide some information on what os/version you're running this on.
Also provide the output of:
which uuidgen

Thanks

@cwseys
Copy link
Author

cwseys commented Apr 10, 2015 via email

@purpleidea
Copy link
Owner

@lickdragon Looks like it's a legit issue then. Could you send a patch to add this package into the requirements for puppet-gluster? It would need to use this technique: https://ttboj.wordpress.com/2014/06/04/hiera-data-in-modules-and-os-independent-puppet/

There are lots of code examples that do this currently in puppet-gluster.

Thanks,
James

@purpleidea purpleidea changed the title puppet nodes without /usr/bin/uuidgen generate noise when running puppet /usr/bin/uuidgen isn't part of a base debian system Apr 10, 2015
@purpleidea purpleidea changed the title /usr/bin/uuidgen isn't part of a base debian system uuidgen isn't part of a base debian system Apr 10, 2015
@bittner
Copy link

bittner commented Oct 5, 2017

Doesn't that translate to:

Puppet (or facter?) requires the uuidgen command, i.e. the uuid-runtime package as a dependency on Debian systems? Then Puppet Labs needs to fix that.

See ticket PUP-3704 in the Puppet Labs bug tracker for reference.

@purpleidea
Copy link
Owner

@bittner I'm not maintaining this package much anymore, but I can add you as a maintainer if you want to send some patches. Most of my work is on https://github.com/purpleidea/mgmt/ these days.

@bittner
Copy link

bittner commented Oct 5, 2017

No no no, don't get me wrong! 😊

I only found this ticket when doing research on "/usr/bin/uuidgen: not found", and since the issue status is still "open" I thought, "drop them a note". No worries!

@ashahba
Copy link

ashahba commented Aug 22, 2018

Any updates on this issue?
We need this is also for our CI environment during kubeflow install:
https://circleci.com/gh/IntelAI/mlt/2078

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

4 participants