]
Pedro Ruivo updated ISPN-11282:
-------------------------------
Status: Open (was: New)
CLI: site command isn't working properly
----------------------------------------
Key: ISPN-11282
URL:
https://issues.redhat.com/browse/ISPN-11282
Project: Infinispan
Issue Type: Bug
Components: CLI
Affects Versions: 10.1.1.Final
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Priority: Major
* {{site status}}: option {{--site}} isn't working properly. It returns all the
backups even if you use a non-existing site:
{noformat}
[pedro-laptop-3-35787@cluster//containers/default]> site status --cache=xsiteCache
{
"NYC" : "online"
}
[pedro-laptop-3-35787@cluster//containers/default]> site status --cache=xsiteCache
--site=NYC
{
"NYC" : "online"
}
[pedro-laptop-3-35787@cluster//containers/default]> site status --cache=xsiteCache
--site=ajdhds
{
"NYC" : "online"
}
{noformat}
* {{clear-push-state-status}} operation isn't registered
* {{bring-online}} and {{take-offline}} operations seems to fail:
{noformat}
[pedro-laptop-3-35787@cluster//containers/default]> site take-offline
--cache=xsiteCache --site=NYC
Not Found
[pedro-laptop-3-35787@cluster//containers/default]> site status --cache=xsiteCache
{
"NYC" : "offline"
}
[pedro-laptop-3-35787@cluster//containers/default]> site bring-online
--cache=xsiteCache --site=NYC
Not Found
{noformat}