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
The current implementation initiates the default_hostname configuration value with api.instill.tech only when running inst auth login and ~~/.config/instill/hosts.yml being yet created.
If the user run inst local deploy and inst local undeploy in the very beginning, the default_hostname configuration value will be set to localhost:8080 and the unregistration function won't delete ~~/.config/instill/hosts.yml and will leave the default_hostname unchanged. This will cause the following inst auth login failing with ERROR: instance 'localhost:8080' does not exists.
Steps to Reproduce
brew install instill-ai/tap/inst
inst local deploy
inst local undeploy
inst auth login
Actual Result
Resulting in ERROR: instance 'localhost:8080' does not exists
Expected Behavior
inst auth login should fallback to user the default api.instlil.tech host configuration.
pinglin
changed the title
[Bug] Deploy and undeploy local instance first causing "ERROR: instance 'localhost:8080' does not exists" whtn auth login later
[INS-2349] [Bug] Deploy and undeploy local instance first causing "ERROR: instance 'localhost:8080' does not exists" whtn auth login later
Oct 14, 2023
@pinglin Considering that the latest update for this issue was over five weeks ago, we are closing it. If there are any updates in the future, please reopen the issue and provide the latest requirements and status. Thank you.
Is There an Existing Issue for This?
Project
Instill CLI
Describe the Bug
The current implementation initiates the
default_hostname
configuration value withapi.instill.tech
only when runninginst auth login
and~~/.config/instill/hosts.yml
being yet created.If the user run
inst local deploy
andinst local undeploy
in the very beginning, thedefault_hostname
configuration value will be set tolocalhost:8080
and the unregistration function won't delete~~/.config/instill/hosts.yml
and will leave thedefault_hostname
unchanged. This will cause the followinginst auth login
failing withERROR: instance 'localhost:8080' does not exists
.Steps to Reproduce
brew install instill-ai/tap/inst
inst local deploy
inst local undeploy
inst auth login
Actual Result
Resulting in
ERROR: instance 'localhost:8080' does not exists
Expected Behavior
inst auth login
should fallback to user the default api.instlil.tech host configuration.Technical Details
Anything Else?
No
From SyncLinear.com | INS-2349
The text was updated successfully, but these errors were encountered: