Bug 1496228
| Summary: | Cassandra readiness probe can incorrectly fail in multi node setup | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Matt Wringe <mwringe> | ||||
| Component: | Hawkular | Assignee: | Ruben Vargas Palma <rvargasp> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Junqi Zhao <juzhao> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.2.1 | CC: | aos-bugs, jcosta, juzhao | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.2.1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 1494673 | Environment: | |||||
| Last Closed: | 2019-11-21 18:38:13 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1494673, 1511627, 1511628, 1511629, 1511631 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Matt Wringe
2017-09-26 17:30:44 UTC
Created attachment 1332416 [details]
sample_nodetool_output
sample nodetool output
Tested based on Comment 5,this issue is fixed in metrics-cassandra:3.2.1-17, /tmp/output file ********************************************************************* cat: /etc/ld.so.conf.d/*.conf: No such file or directory Picked up JAVA_TOOL_OPTIONS: -Duser.home=/home/jboss -Duser.name=jboss Datacenter: datacenter1 ======================= Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Tokens Owns Host ID Rack UN 10.1.0.6 523.8 KB 256 ? 89f099c3-0a24-4201-84d6-9dc5c0b373ad rack1 DN 10.1.0.60 ? 256 ? 1cbb8dc3-6758-4578-b3a1-80f4d6db5077 rack1 Note: Non-system keyspaces don't have the same replication settings, effective ownership information is meaningless ********************************************************************* Tested with metrics-cassandra:3.2.1-16 firstly, it showed the following error ***************************************************************************** sh-4.2$ source /opt/apache-cassandra/bin/cassandra-docker-ready.sh sh: [: too many arguments Cassandra not in the up and normal state. Current state is UN DN error: error executing remote command: Error executing command in container: Error executing in Docker Container: 1 ***************************************************************************** It showed Cassandra not in the up and normal state, this was expected. Tested again with metrics-cassandra:3.2.1-17 sh-4.2$ source /opt/apache-cassandra/bin/cassandra-docker-ready.sh Cassandra is in the up and normal state. It is now ready. Set it to VERIFIED |