lxd init의 바인드 문제에 문제가 있습니다. 8443 포트는 다른 응용 프로그램에서 사용되지 않으므로 lxd init는이 포트를 두 번 바인딩하려고합니다.
내 lxd 버전은 3.14이고 Gentoo를 사용하고 있습니다.
이 문제를 해결하는 방법을 알고 있습니까?
alpha /var/log # lxd init
Would you like to use LXD clustering? (yes/no) [default=no]: yes
What name should be used to identify this node in the cluster? [default=alpha]: alpha.stty.cz
What IP address or DNS name should be used to reach this node? [default=171.25.220.247]: alpha.stty.cz
Are you joining an existing cluster? (yes/no) [default=no]:
Setup password authentication on the cluster? (yes/no) [default=yes]:
Trust password for new clients:
Again:
Do you want to configure a new local storage pool? (yes/no) [default=yes]:
Name of the storage backend to use (btrfs, dir, lvm) [default=btrfs]:
Would you like to create a new btrfs subvolume under /var/lib/lxd? (yes/no) [default=yes]:
Do you want to configure a new remote storage pool? (yes/no) [default=no]:
Would you like to connect to a MAAS server? (yes/no) [default=no]:
Would you like to configure LXD to use an existing bridge or host interface? (yes/no) [default=no]: yes
Name of the existing bridge or host interface: ovs-br0
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]:
Error: Failed to update server configuration: cannot listen on https socket: listen tcp 171.25.220.247:8443: bind: address already in use
의 출력 sudo netstat -pna | grep 8443
은
unix 3 [ ] STREAM CONNECTED 28443 7135/konsole
이 문제는 Github에도 게시됩니다. ( https://github.com/lxc/lxd/issues/7560 )
lxd 버전을 3.19 이상으로 업데이트해야 할 가능성이 높습니다. 버그와 문제를 검색하면이 스레드로 이동했습니다.
github.com/lxc/lxd/issues/6682
netstat
8443에서 수신하는 프로세스가 표시되지 않으며 배 모양의 구성이없는 것처럼 들립니다. 단순히 이전 버전의 lxd에서 잡은 버그로 보입니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다