Azure / service-catalog-cli

See the upstream repository ->
https://github.com/kubernetes-incubator/service-catalog
MIT License
33 stars 14 forks source link

Improve status when async operation in progress #93

Closed carolynvs closed 6 years ago

carolynvs commented 6 years ago
$ svcat get bindings
                   NAME                     NAMESPACE                   INSTANCE                              STATUS
+-----------------------------------------+-----------+------------------------------------------+-------------------------------+
  braided-warthog-wordpress-mysql-binding   default     braided-warthog-wordpress-mysql-instance   ErrorAsyncOperationInProgress

$ svcat describe binding braided-warthog-wordpress-mysql-binding
  Name:        braided-warthog-wordpress-mysql-binding
  Namespace:   default
  Status:      ErrorAsyncOperationInProgress - Another operation for this service instance is in progress.  @ 2018-01-03 08:11:23 -0600 CST
  Instance:    braided-warthog-wordpress-mysql-instance

ErrorAsyncOperationInProgress is misleading, as the binding is not in an error state. It's just waiting for the instance to be provisioned.