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

archive method for ZK installation doesn't work #195

Open
haghayeghh opened this issue Sep 29, 2023 · 0 comments
Open

archive method for ZK installation doesn't work #195

haghayeghh opened this issue Sep 29, 2023 · 0 comments

Comments

@haghayeghh
Copy link

haghayeghh commented Sep 29, 2023

I get below error message when I set hiera like this:

zookeeper::install_method: 'archive'
zookeeper::archive_version: '3.9.0'
zookeeper::service_provider: 'exhibitor'
zookeeper::service_name: 'zookeeper-server'
zookeeper::archive_dl_url: 'https://dlcdn.apache.org/zookeeper/zookeeper-3.9.0/apache-zookeeper-3.9.0-bin.tar.gz'
zookeeper::archive_install_dir: '/usr/lib'
zookeeper::initialize_datastore: true
zookeeper::rollingfile_threshold: 'ERROR'

error:

Notice: /Stage[main]/Zookeeper::Config/Exec[initialize_datastore]/returns: /bin/java
Notice: /Stage[main]/Zookeeper::Config/Exec[initialize_datastore]/returns: Unable to find config file at /usr/lib/apache-zookeeper-3.9.0-bin/bin/../conf/zoo.cfg
Error: '/usr/lib/apache-zookeeper-3.9.0-bin/bin/zkServer-initialize.sh --myid=1' returned 1 instead of one of [0]
Error: /Stage[main]/Zookeeper::Config/Exec[initialize_datastore]/returns: change from 'notrun' to ['0'] failed: '/usr/lib/apache-zookeeper-3.9.0-bin/bin/zkServer-initialize.sh --myid=1' returned 1 instead of one of [0] (corrective)


It seems config folder is not created and I suspect issue is related to https://github.com/deric/puppet-zookeeper/blob/master/manifests/install/archive.pp#L64-L72

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

1 participant