You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/09/30 05:32:43 UTC

[GitHub] [cloudstack-cloudmonkey] sureshanaparti opened a new issue #98: Auto-complete not working for 'id' param in update storagecapabilities

sureshanaparti opened a new issue #98:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/98


   Auto-complete not working for 'id' param in update storagecapabilities
   
   Tested with CloudMonkey 6.2.0 (build: 8aae61e).
   
   ```
   (cloudcmk) > update storagecapabilities 
   filter= id= 
   (cloudcmk) > update storagecapabilities id=
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack-cloudmonkey] Pearl1594 commented on issue #98: Auto-complete not working for 'id' param in update storagecapabilities

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on issue #98:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/98#issuecomment-930806773


   No @rhtyd didn't work in the older versions too:
   ```
   [root@ref-trl-1725-v-M7-pearl-dsilva-mgmt1 ~]# cmk
   Apache CloudStack 🐵 CloudMonkey 6.0.0
   Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
   
   (localcloud) SBCM5> > 
   (localcloud) SBCM5> > 
   (localcloud) SBCM5> > update storagecapabilities id=
   
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack-cloudmonkey] Pearl1594 edited a comment on issue #98: Auto-complete not working for 'id' param in update storagecapabilities

Posted by GitBox <gi...@apache.org>.
Pearl1594 edited a comment on issue #98:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/98#issuecomment-930802636


   @sureshanaparti We could probably look at improving this in the next release of cmk - however, the reason behind this behavior is that when CloudMonkey tries to find the most appropriate list API that can be used to populate the values of `id` - it finds more than one, and hence, doesn't autocomplete the argument's values. For example: this is what is seen in debug mode:
   ```
   (test) 🐱 > update storagecapabilities id=l[debug] Possible related noun for the arg: storagecapabilitiess and type: uuid
   [debug] Finding possible API that have: id related APIs: [cancelStorageMaintenance createStoragePool enableStorageMaintenance findStoragePoolsForMigration syncStoragePool updateStorageCapabilities]
   [debug] Found possible API: listCAProviders
   [debug] Found possible API: listHostHAProviders
   [debug] Found possible API: listNetworkServiceProviders
   [debug] Found possible API: listStorageProviders
   (test) 🐱 > update storagecapabilities id=
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack-cloudmonkey] sureshanaparti commented on issue #98: Auto-complete not working for 'id' param in update storagecapabilities

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #98:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/98#issuecomment-930806979


   > @sureshanaparti was this working with previous versions of cmk, say 6.1.0?
   
   doesn't work with 6.1.0 @rhtyd 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack-cloudmonkey] rhtyd commented on issue #98: Auto-complete not working for 'id' param in update storagecapabilities

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #98:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/98#issuecomment-930804828


   @sureshanaparti was this working with previous versions of cmk, say 6.1.0?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack-cloudmonkey] Pearl1594 commented on issue #98: Auto-complete not working for 'id' param in update storagecapabilities

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on issue #98:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/98#issuecomment-930802636


   @sureshanaparti We could probably look at improving this in the next release of cmk - however, the reason behind this behavior is that when CloudMonkey tries to find the most appropriate list API that can be used to populate the values of `id` - it finds more than one, and hence, doesn't autocomplete the argument's values. For exapme: this is what is seen in debug mode:
   ```
   (test) 🐱 > update storagecapabilities id=l[debug] Possible related noun for the arg: storagecapabilitiess and type: uuid
   [debug] Finding possible API that have: id related APIs: [cancelStorageMaintenance createStoragePool enableStorageMaintenance findStoragePoolsForMigration syncStoragePool updateStorageCapabilities]
   [debug] Found possible API: listCAProviders
   [debug] Found possible API: listHostHAProviders
   [debug] Found possible API: listNetworkServiceProviders
   [debug] Found possible API: listStorageProviders
   (test) 🐱 > update storagecapabilities id=
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org