[infinispan-issues] [JBoss JIRA] (ISPN-11282) CLI: site command isn't working properly

Pedro Ruivo (Jira) issues at jboss.org
Wed Feb 5 09:55:26 EST 2020


     [ https://issues.redhat.com/browse/ISPN-11282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Ruivo updated ISPN-11282:
-------------------------------
    Description: 
* {{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 at cluster//containers/default]> site status --cache=xsiteCache 
{
  "NYC" : "online"
}
[pedro-laptop-3-35787 at cluster//containers/default]> site status --cache=xsiteCache --site=NYC
{
  "NYC" : "online"
}
[pedro-laptop-3-35787 at 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 at cluster//containers/default]> site take-offline --cache=xsiteCache --site=NYC
Not Found 
[pedro-laptop-3-35787 at cluster//containers/default]> site status --cache=xsiteCache 
{
  "NYC" : "offline"
}
[pedro-laptop-3-35787 at cluster//containers/default]> site bring-online --cache=xsiteCache --site=NYC
Not Found 
{noformat}


  was:
* {{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 at cluster//containers/default]> site status --cache=xsiteCache 
{
  "NYC" : "online"
}
[pedro-laptop-3-35787 at cluster//containers/default]> site status --cache=xsiteCache --site=NYC
{
  "NYC" : "online"
}
[pedro-laptop-3-35787 at 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 at cluster//containers/default]> site take-offline --cache=xsiteCache --site=NYC
Not Found 
[pedro-laptop-3-35787 at cluster//containers/default]> site status --cache=xsiteCache 
{
  "NYC" : "offline"
}
[pedro-laptop-3-35787 at cluster//containers/default]> site bring-online --cache=xsiteCache --site=NYC
Not Found 
{noformat}




> 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 at cluster//containers/default]> site status --cache=xsiteCache 
> {
>   "NYC" : "online"
> }
> [pedro-laptop-3-35787 at cluster//containers/default]> site status --cache=xsiteCache --site=NYC
> {
>   "NYC" : "online"
> }
> [pedro-laptop-3-35787 at 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 at cluster//containers/default]> site take-offline --cache=xsiteCache --site=NYC
> Not Found 
> [pedro-laptop-3-35787 at cluster//containers/default]> site status --cache=xsiteCache 
> {
>   "NYC" : "offline"
> }
> [pedro-laptop-3-35787 at cluster//containers/default]> site bring-online --cache=xsiteCache --site=NYC
> Not Found 
> {noformat}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list