airbytehq / airbyte

The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
https://airbyte.com
Other
15.59k stars 4.01k forks source link

[abctl] In place install fails due to previously used port #42945

Open Andrew-InTheBox opened 1 month ago

Andrew-InTheBox commented 1 month ago

What happened?

When attempting to run abctl local install to do an in-place upgrade, it fails and reports that port 8000 is unavailable.

What did you expect to happen?

abctl should spin down the containers, update/upgrade everything, and restart without losing local configuration data.

Abctl Version

```console $ abctl version version: v0.11.0 ```

Docker Version

```console $ docker version Client: Version: 27.1.1 API version: 1.46 Go version: go1.21.12 Git commit: 6312585 Built: Tue Jul 23 19:55:52 2024 OS/Arch: linux/amd64 Context: default Server: Docker Desktop () Engine: Version: 27.1.1 API version: 1.46 (minimum version 1.24) Go version: go1.21.12 Git commit: cc13f95 Built: Tue Jul 23 19:57:19 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.19 GitCommit: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41 runc: Version: 1.7.19 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0 ```

OS Version

```console # On Linux: $ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy ```
yourdevDex commented 1 month ago

I also encounter this. 404 not found. Whats the solution?

colesnodgrass commented 1 month ago

@Andrew-InTheBox @yourdevDex

Could you provide what the following two commands return?

docker ps | grep airbyte-abctl
curl -v http://localhost:8000/api/v1/instance_configuration 1> /dev/null
Andrew-InTheBox commented 1 month ago

Sure thing.

acb@ACBDESKTOP:~$ docker ps | grep airbyte-abctl c68f404f5229 kindest/node:v1.29.1 "/usr/local/bin/entr…" 4 weeks ago Up 34 seconds 0.0.0.0:8000->80/tcp, 127.0.0.1:34491->6443/tcp airbyte-abctl-control-plane

acb@ACBDESKTOP:~$ curl -v http://localhost:8000/api/v1/instance_configuration 1> /dev/null

Andrew-InTheBox commented 1 month ago

Any updates or recommended work-arounds on this?

abuchanan-airbyte commented 2 weeks ago

Can you try this with the newer version of abctl v0.14.2?

abuchanan-airbyte commented 5 days ago

@Andrew-InTheBox did you get this working with a newer version?