uscxiexing commented on PR #1143:
URL: https://github.com/apache/bigtop/pull/1143#issuecomment-1669420531
> I locally built `bigtop/puppet:test-openeuler-22.03-aarch64` and ranger
rpms.
>
> Run the smoke tests: `./docker-hadoop.sh --create 3 --image
bigtop/puppet:test-openeuler-22.03 --memory 16g --repo
file:///bigtop-home/output --disable-gpg-check --enable-local-repo --stack
bigtop-utils,ranger --smoke-tests ranger`
>
> Failed to deploy ranger :
>
> ```
> ...
> Notice: /Stage[main]/Ranger::Prerequisites/Exec[initdb]/returns: executed
successfully
> Error: /Stage[main]/Ranger::Prerequisites/Service[postgresql]: Could not
evaluate: Could not find init script for 'postgresql'
> Notice: /Stage[main]/Ranger::Admin/Package[ranger-admin]: Dependency
Service[postgresql] has failures: true
> ```
>
> It seems that the rerequisites pacakge of postgresql was not properly
installed in openEuler image:`bigtop/puppet:test-openeuler-22.03-aarch64`
Thanks。I follow your way to run smoketest。I have the seem problem。this
problem occured due to the bigtop/puppet:test-openeuler-22.03 without the
initscripts.
1. ranger smoke-test
**resolve:** add _**initscripts**_ temporary.
provisioner/utils/setup-env-centos.sh

**successful log**

**smoke_test** log:

2. After we will move nc、initscripts、 openeuler-lsb、psmisc from
bigtop_tooltain/manifests/packages.pp to bigtop_tooltain/bin/puppetize.sh
,and wo will run other compoenent smoke-test again in openeuler.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]