Comments (19)
@elisiano looks like latest version of augeasproviders break everything.
Could you try with that branch ? https://github.com/mcanevet/puppet-openldap/tree/fix/augeasprovider
from puppet-openldap.
@elisiano I published a new version on the forge (0.1.4) with augeas
provider disabled as it breaks the most commonly used olc
provider. I'll see with augeasproviders devs to fix it later.
from puppet-openldap.
Hi @mcanevet, thanks for your prompt action.
Unfortunately it did not fix the issue.
After a clean checkout I still see the same issue:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter provider at /etc/puppet/environments/development/modules/openldap/manifests/server/database.pp:37 on node node.domain.tld
Is there anything I should try? (like commenting the provider parameters in database.pp?)
from puppet-openldap.
@elisiano with https://github.com/mcanevet/puppet-openldap/tree/fix/augeasprovider or with the latest version I just published on the forge ?
from puppet-openldap.
With the latest version published to the forge. Shall I try the github one?
from puppet-openldap.
I confirm I have the same issues with the fix/augeasprovider version from github
from puppet-openldap.
@elisiano do you have pluginsync
enabled ?
from puppet-openldap.
@mcanevet yes
from puppet-openldap.
@elisiano well, this is strange... What version of puppet are you using ?
from puppet-openldap.
The latest 3.5.1
from puppet-openldap.
@elisiano Have you run puppet on your development env on your master so that it picks up the new type ? (running with noop and Ctrl+C after pluginsync should be enough)
from puppet-openldap.
@mcanevet I'm not sure what you mean. I did run puppet agent on the master (but the master per se is not in the development environment). On the openldap client though, I see that the plugins changed before trying to apply the catalog. I also looked at the logs on the master but they were not helpful.
I don't know what else I can try.
from puppet-openldap.
@elisiano do you have another version of our module in the env used by the master's agent ?
from puppet-openldap.
No, just that version and just in that environment.
I'm pretty sure the client uses the latest files because when I delete manually some plugins then it re-syncs them from the master
from puppet-openldap.
So I put the module in a common directory included in all environments and I run the agent on the master (but nothing was sync'ed, maybe because that class was not included on the master).
Now the error is different (good news?):
Error: Could not autoload puppet/type/openldap_access: no such file to load -- /var/lib/puppet/lib/puppet/type/../../../../augeasproviders/lib/augeasproviders/type.rb
Error: Could not retrieve catalog from remote server: Could not intern from text/pson: Could not autoload puppet/type/openldap_access: no such file to load -- /var/lib/puppet/lib/puppet/type/../../../../augeasproviders/lib/augeasproviders/type.rb
Might this be related to https://tickets.puppetlabs.com/browse/PUP-1515 ?
from puppet-openldap.
so I copied manually /var/lib/puppet/lib/augeasproviders* from the client to the master (because the master just didn't want to download them).
One step further:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload puppet/type/openldap_database: Could not autoload puppet/provider/openldap_database/augeas: undefined method `provider' for nil:NilClass on node node.domain.tld
right now I'm using the github version. Shall I switch to the forge one or are they the same?
from puppet-openldap.
@elisiano this is strange that you have this error message because I removed the augeas provider for the openldap_database type : https://github.com/camptocamp/puppet-openldap/tree/master/lib/puppet/provider/openldap_database
Are you sure you are using the latest version ?
from puppet-openldap.
So, I was using the branch that you pointed out (fix/augeasprovider) but from the link above it looks like it's in the master. So I did another checkout/pull from github and this time I'm using the master.
After that there was a problem of synchronization between the module and the plugin's library on the master. I run the agent on the master and that was fixed (the database now initializes).
Thanks a lot for your help.
The issue now seems to be with the ACL code
Shall I open a different issue?
from puppet-openldap.
@elisiano yes please open a new Issue with the code that does not work with the ACL so that I can add units and/or acceptance tests to reproduce the bug.
from puppet-openldap.
Related Issues (20)
- [poll] What to do with the islast parameter of openldap_access?
- openldap::server::database initdb data type should support value false
- `$openldap::server::database::mirrormode` does not enable olcMirrorMode
- openldap::server::overlay incorrectly parses suffix HOT 5
- openldap::server::dbindex is missing documentation HOT 3
- Unable to configure openldap on FreeBSD 13.0-RELEASE HOT 5
- Wrong data type for `$openldap::server::database::limits`
- LDIF mangling is in schema provider does not handle LDIF line wrapping correctly HOT 1
- Data type enforcement for openldap_database security is not idempotent HOT 1
- dc=my-domain,dc=com entry in Database HOT 3
- Inconsistent parameters for `openldap::client`
- Version 6.1.0 breaks disabling nonexistent services HOT 3
- cn=accesslog database: Parameter suffix failed
- Parameter suffix failed, because of too restrictive patterns in openldap/lib/puppet/type/openldap_database.rb HOT 2
- No parameter named 'multiprovider' HOT 4
- no parameter named 'multiprovider' HOT 3
- Cannot ensure: absent on dbindex
- acls with identical access definitions are not implemented correctly
- Unable to configure hashing with the pw-pbkdf2 module
- chain overlay not supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-openldap.