francescotimperi commented on issue #41:
URL: https://github.com/apache/openserverless/issues/41#issuecomment-2646356959

   > [@francescotimperi](https://github.com/francescotimperi) can we use the 
`ops setup status` result and trigger the check if it is different from 
`nothing installed yet` ?
   
   This could work, but there's the need to ensure that the ops setup status 
commands, returns `nothing installed yet` even when there's no docker 
available. I tried on a MAC, with not docker running and the `ops setup status` 
command failed...due to something like
   ```
   franz@MacMini-di-Francesco ~ % ops setup status
   ERROR: failed to list clusters: command "docker ps -a --filter 
label=io.x-k8s.kind.cluster --format '{{.Label "io.x-k8s.kind.cluster"}}'" 
failed with error: exit status 1
   Command Output: Cannot connect to the Docker daemon at 
unix:///Users/franz/.docker/run/docker.sock. Is the docker daemon running?
   Cluster Apache OpenServerless not found
   ```
   
   In my opinion, this control about the operator version should happen only if 
there's an active installation available, by using for instance the result of 
the `ops debug operator:version`. This should return a non empty value matching 
the currently installed operator version, if any.


-- 
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-unsubscr...@openserverless.apache.org

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

Reply via email to