Bug 1649511
Summary: | openstack-swift-object-server will fail to start because it can't bind to 0.0.0.0:6000 if gdm/X is started before | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | David Hill <dhill> |
Component: | instack-undercloud | Assignee: | Christian Schwede (cschwede) <cschwede> |
Status: | CLOSED EOL | QA Contact: | Arik Chernetsky <achernet> |
Severity: | low | Docs Contact: | Laura Marsh <lmarsh> |
Priority: | low | ||
Version: | 13.0 (Queens) | CC: | cschwede, derekh, dhill, jjoyce, jschluet, mburns, michele, zaitcev |
Target Milestone: | --- | Keywords: | Documentation, Triaged, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-07-10 19:37:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Hill
2018-11-13 18:39:14 UTC
It appears that port tcp/6000 is reserved for X11: [root@knox ~]# cat /etc/services |grep 6000\/tcp |head -1 x11 6000/tcp X # the X Window System One quick thing we can do here is to change port 6000 to something else OR make sure gdm/x11 are using other ports OR disable gdm/X11 when running "openstack undercloud install" ... Hi David, yeah the 6000 range is an older range once used. openstack.org docs for swift now introduce 6200, 6201, 6202. if you could change to those you wouldn't clash with the x server and you'd also be inline with the current recommended settings. should just need to change the settings and restart your account/container/object servers. let me know if there is anything else or if we can close this. thanks a lot, Mike Abrams Well the problem is instack-undercloud that uses port 6000 for that while gdm/X are also using port 6000 . This is in OSP13 . So in your /home/stack/undercloud.conf you want to have something like: hieradata_override = /home/stack/hiera_override.yaml And then in /home/stack/hiera_override.yaml you can add: swift::storage::all::object_port: "6200" (I tested this on OSP10 and it works okay) (In reply to Mike Abrams from comment #3) > yeah the 6000 range is an older range once used. > > openstack.org docs for swift now introduce 6200, 6201, 6202. if you could > change to those you wouldn't clash with the x server and you'd also be > inline with the current recommended settings. > > should just need to change the settings and restart your > account/container/object servers. Please don't change the ports lightly, this will break existing deployments and might even result in a data loss. The ports are also in the rings, and depending on the deployment this will not be changed automatically. Related upstream discussion: https://bugs.launchpad.net/swift/+bug/1341952/comments/1 Personally I think X should not run on any undercloud node at all, and I currently don't see benefits in doing so. It's usually accessed remotely by SSH and the webinterface AFAIK, and being a server node it might make more sense to restrict the number of running services with ports exposed to the world to limit security issues. All that said, we can't fix this easily on the TripleO side, thus the right way for now is to either disable X or run it on a different port. OSP13 support officially ended on 27 June 2023 |