Expired provisioning tokens

Dear all,

a newbie question… excuses if this is not the right place.
I have Foreman + Foreman proxy + Puppet setup.

Occasionally we have expired provisioning tokens… ( after a holliday )
is there a cli way to

  • find out which provision tokens are expired ?
  • generate new provision tokens ?

regards,

Johan Verdoodt
Belgium

Hello, tokens gets genereated everytime you create new host or click
on build button. There is no UI to list them, you can use foreman-rake
console to get the list tho.

To regenerate a token, click on Cancel build and then Build again or
set them to even longer expiration via Administer - Settings.

If you use bootdisk plugin, note some bootdisk types embeds the tokens
in the ISO files.

LZ

··· On Tue, Apr 18, 2017 at 12:02 PM, jonix wrote: > Dear all, > > a newbie question.. excuses if this is not the right place. > I have Foreman + Foreman proxy + Puppet setup. > > Occasionally we have expired provisioning tokens... ( after a holliday ) > is there a cli way to > - find out which provision tokens are expired ? > - generate new provision tokens ? > > regards, > > > Johan Verdoodt > Belgium > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal