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

Invalid parameter options on Apt_key[Add key: 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 from Apt::Source nginx] #650

Closed
bhechinger opened this issue Jun 19, 2015 · 14 comments
Labels
needs-feedback Further information is requested

Comments

@bhechinger
Copy link

Do you have any idea with this is?

This started once I upgraded to puppetlabs/apt 2.1.0 and your 0.2.7

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter options on Apt_key[Add key: 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 from Apt::Source nginx] at /etc/puppetlabs/puppet/environments/production/modules/apt/manifests/key.pp:84

@3flex
Copy link
Contributor

3flex commented Jun 19, 2015

Do you have pluginsync set correctly? Looks like it's saying "options" is not a valid value when called internally by puppetlabs-apt module. But it's definitely available on the apt_key type in puppetlabs-apt 2.x.

@3flex 3flex added the needs-feedback Further information is requested label Jun 19, 2015
@bhechinger
Copy link
Author

root@puppet1:~# grep pluginsync /etc/puppetlabs/puppet/puppet.conf
pluginsync = true

@3flex
Copy link
Contributor

3flex commented Jun 19, 2015

Not sure what's going on here, we have a spec test that would hit that code and it's passing OK.

I saw you raised fsalum/puppet-newrelic#39, I'd suggest perhaps asking on the puppet-users mailing list to see if anyone else is running into the issue as it may be specific to your setup or the puppetlabs-apt module.

Could you also try with puppetlabs-apt 2.0.0 or 2.0.1? There were some changes made to add backwards compatibility with puppetlabs-apt 1.8.x series in 2.1.0 which may have tripped things up.

@mwillbanks
Copy link

@bhechinger you likely updated puppetlabs/apt but failed to update puppetlabs/stdlib - I ran into the same exact thing.

@mvisonneau
Copy link
Contributor

@mwillbanks I have the exact same problem with puppetlabs/apt:2.1.0 and puppetlabs/stdlib:4.6.0 :/

@Hufschmidt
Copy link
Contributor

We are having the same issue, using manage_repo=false for now.

"name": "puppetlabs-apt",
"version": "2.1.0",

"name": "jfryman-nginx",
"version": "0.2.7",

"name": "puppetlabs-stdlib",
"version": "4.6.0",

@raoulbhatia
Copy link

I had a similar issue after upgrading various puppet modules,
but with the apt::backports class and not this one.

A restart of the puppet master resolved the issue for me.

Maybe this would be worth a shot?

@Hufschmidt
Copy link
Contributor

Rebooting also fixed the problem for us, according to our sys-admin, the Puppetserver seems to not update (or more specifically reload) module-providers after a module update.

This means, while the module was updated, the puppetmaster is still working with the old (cached) version until restarted.

@mvisonneau
Copy link
Contributor

Yes indeed, it worked for me too. Good to know though !

@ctavan
Copy link

ctavan commented Jul 6, 2015

Same here: puppetlabs/apt:2.1.0 and puppetlabs/stdlib:4.6.0 -> Restart of puppetmaster helped.

@3flex
Copy link
Contributor

3flex commented Jul 6, 2015

@bhechinger can you see if a reboot resolves things?

@maxenced
Copy link

maxenced commented Jul 9, 2015

I can confirm I run into exact same issue and restart of puppetserver solved the stuff for me too.

@3flex
Copy link
Contributor

3flex commented Jul 9, 2015

Sounds like we have consensus here that this is a bug with the Puppet Server implementation rather than this module.

Thanks everyone for the feedback!

@strarsis
Copy link

strarsis commented May 6, 2016

I also run into the same issue - but I use masterless puppet (puppet apply) instead of a puppet server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-feedback Further information is requested
Projects
None yet
Development

No branches or pull requests

9 participants