You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while the cluster is spinning up open a new terminal and then run cortex cluster up --env cluster2
After both clusters are created successfully, cortex env list
Expected behaviour
Depending on whichever cluster completed spinning up second, you will only find that only one of the environments was saved.
Suggested solution
Environments are cached after being read for the first time. When an environment is added or updated, the cached version modified and then written to disk. It is possible for the cached version to be out of sync with the actual environments file, especially for long running commands such as cortex cluster up. Refresh the cache before updating the environments file or get rid of the caching entirely.
The text was updated successfully, but these errors were encountered:
Version
<= 0.20.0
Steps to reproduce
cortex cluster up --env cluster1
cortex cluster up --env cluster2
cortex env list
Expected behaviour
Depending on whichever cluster completed spinning up second, you will only find that only one of the environments was saved.
Suggested solution
Environments are cached after being read for the first time. When an environment is added or updated, the cached version modified and then written to disk. It is possible for the cached version to be out of sync with the actual environments file, especially for long running commands such as
cortex cluster up
. Refresh the cache before updating the environments file or get rid of the caching entirely.The text was updated successfully, but these errors were encountered: