Bug 535613 (RHQ-2290)
| Summary: | need a way to know the version of the CLI | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | John Mazzitelli <mazz> |
| Component: | CLI | Assignee: | John Mazzitelli <mazz> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | Keywords: | SubTask |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://jira.rhq-project.org/browse/RHQ-2290 | ||
| Whiteboard: | |||
| Fixed In Version: | 1.3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| 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: | |||
| Bug Blocks: | 535941 | ||
|
Description
John Mazzitelli
2009-08-04 04:38:00 UTC
We probably also need to perform a version handshake when the CLI connects. This may need to piggyback on the login call, perhaps Subject info could be added? I would not worry about the handshake just yet - get the version information for the user first. The handshaking was required in the agent because the agent is an autonomous process with (usually) no human at the wheel so we needed a way for the agent to automatically get back on its feet if the server is upgraded (without requiring human intervention) - the agent handshake was required for agent auto-upgrade. The CLI will not have an auto-upgrade feature, so the cli handshake is not as important as it is with the agent. Having the CLI provide the user with a version will allow the user to perform their own "manual handshake" to see what version they have and at least tell support what version they have :) so they can verify compatibility. Also, if a cli handshake does exist, would it fail to connect or could we just have it spit out a warning message, "WARNING: this CLI is an older version and may not operate correctly" but let it continue in case there are pieces that are still compatible with the server. to test, make sure the CLI outputs a version string when it starts. also confirm the --version option dumps build # and date along with name/version info This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2290 |