Running "kayobe seed host configure" on a host that already has docker and a registry (in this case the kayobe control host) breaks the existing docker containers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kayobe |
New
|
Undecided
|
Unassigned |
Bug Description
Kayobe 14.1, Ubuntu 22.04, Docker version 25.0.2
Hey guys. So after some playing around, and finding some git commits from Mark Goddard from 8 years ago, I decided to try to see if I can get seed and the kayobe host onto the same system, since it seems to me the only thing seed actually does is run the bifrost container (even in the backup/restore steps for seed only bifrost is mentioned).
I've tried just making seed and kayobehost (my sandbox control host) have the same IP, and it seems to work pretty well, except that the containers running on kayobehost are unreachable after `seed host configure` is run. They are running, but for example the nginx container is no longer reachable. This includes the registry (the same one that `kayobe seed host configure` wants to install is already there). All of the containers do work up until this point:
"RUNNING HANDLER [openstack.
task path: /home/ubuntu/
I've been trying to debug exactly what causes it to break but haven't had much luck. I'm sure that the installation isn't the problem, that sums up to just `apt install docker-ce`, so the issue must be at some point in /home/ubuntu/
I also tried adding kayobehost [bifrost:children] and just running `kayobe seed service deploy` but it definitely doesn't like that, it fails at roles/bifrost/
Is there a way to get bifrost going on the control host? Does seed serve any other purpose? Can we figure out why the existing docker registry gets trashed by seed host configure?
Thanks!!
We tend to disable the ip tables integration: https:/ /docs.docker. com/network/ packet- filtering- firewalls/ #prevent- docker- from-manipulati ng-iptables which can break port forwarding. Do you think that could be the issue here?