Hi all, I'm trying to get a simple instance of la...
# help
u
Hi all, I'm trying to get a simple instance of lakefs running on azure container instances. I've got a container running lakefs, using a command tail","-f", "/dev/null" to keep it running, with the environment variables set and port set to 8000. How can I access the interface for lakefs like in https://docs.lakefs.io/setup/create-repo.html? what other components need to be setup? I'd appreciate any help I can get on this matter
u
Hi @Tristan van der vlugt and welcome to Lakefs! I am not very familiar with azure container instances, so forgive me if I may ask so dumb questions. Can I assume you followed this documentation to set up your lakefs environment?
u
Another question, when running the
docker ps
command, does your container appear there as running (and on port 8000)?
u
When browsing to
<http://127.0.0.1:8000>
, I assume you are getting an error response?
u
Connection to <azure container group public ip>:8000 does result in a timeout/error. the container/image itself has port 8000 set.
u
Ok, can elaborate on which env variables you set, and the command you used to start lakefs?
u
I can run lakectl (cli)
u
Hey @Tristan van der vlugt, can you please: 1. Make sure lakectl works fine by sharing the output of
lakectl repo list
? 2. Let me know which machine you are running lakectl from? Is it one of the containers or outside of them? 3. Share the ~/.lakectl.yaml file from the machine where you are running lakectl
u
@Tristan van der vlugt, looks like lakectl doesn't work as well. Let's verify that port 8000 is exposed in your Azure Container Group. Can you take a look at the settings of the container group?
u
It should have a port setting, which is by default 80, but in our case it should be 8000.
u
@Tristan van der vlugt BTW you should not be using
api/v1
in the url as this only used to interact with the API
u
Thanks, that was the request it sent when executing .
Copy code
lakectl repo list
u
Can you please share the screenshot with the whole screen? I'll try to point you to the settings - I don't have access to Azure at the moment
u
Thank you for this information. I got myself an Azure account and I will try to spin up lakefs in Container Instances. I will let you know soon
u
Thank you both @Yoni Augarten & @Shimi Wieder for the info and help 🙂. I'm going to play with some port see if I can get it to work.
u
found the issue, thanks @Yoni Augarten
u
Just updating here for future reference: issue was that the container was started with the wrong
command
. After removing the command there is now a DB connection issue, which @Tristan van der vlugt will continue debugging