Bug 920974
| Summary: | CLI: data-source add --enable=true does not enable data source | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Dominik Pospisil <dpospisi> |
| Component: | Web Console | Assignee: | Stefano Maestri <smaestri> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bbaranow, brian.stansberry, vrastsel |
| Target Milestone: | ER4 | ||
| Target Release: | EAP 6.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-23 18:38:06 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: | |||
|
Description
Dominik Pospisil
2013-03-13 08:37:18 UTC
It seems thats intentional. There is the '--enabled' property. However its set as "read-only" atm, not sure why. It is accepted as valid data-source add parameter, but it does nothing. I understand the arumentation that having ability to create datasource in two steps is valid in certain situation. However that does not mean that one step creation should not be possible in cases that there is no extra property or subresource to add. Anyway, if it is not to be supported at all (for which I still see no reason), the CLI should not have this option as well. Either there is some assumption Im not aware or its broken. 1. --enabled=true is accepted in 'data-source add' but does nothing 2. cd subsystem=datasources/data-source=NoTxTradeDataSource :enable(persistent=false) Does not work, it fails in CLI, server side: - @Message(id = 10432, value = "Unable to start the ds because it generated more than one cf") 3. cd subsystem=datasources/data-source=NoTxTradeDataSource :enable(persistent=true) Works fine. From Maeste comment CLI should support this. Ref JIRA. Verified on EAP 6.1 ER4. There is a fix for AS7-6760 applied. The described problem won't be fixed. |