#2315: Make LXC containers referenceable by name by resolver
---------------------------+-------------------
Reporter: strk | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+-------------------
See https://blog.simos.info/how-to-use-lxd-container-hostnames-on-the-
host-in-ubuntu-18-04/
It would help generalizing the ssh configuration from client to reach each
and every container...
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2315>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2315: Make LXC containers referenceable by name by resolver
---------------------------+---------------------
Reporter: strk | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+---------------------
Changes (by strk):
* status: new => closed
* resolution: => fixed
Comment:
For the time being this is already possible from any LXC container (at
least the "download" one) so I'm closing this as done, to some extent.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2315#comment:1>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2315: Make LXC containers referenceable by name by resolver
---------------------------+-----------------------
Reporter: strk | Owner: sac@…
Type: task | Status: reopened
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+-----------------------
Changes (by strk):
* status: closed => reopened
* resolution: fixed =>
Comment:
Re-opening, as name resolution seems to be still unstable (see #2318)
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2315#comment:2>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2315: Make LXC containers referenceable by name by resolver
---------------------------+---------------------
Reporter: strk | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+---------------------
Changes (by robe):
* status: reopened => closed
* resolution: => fixed
Comment:
closing this as I think that was a fluke.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2315#comment:3>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2315: Make LXC containers referenceable by name by resolver
---------------------------+-----------------------
Reporter: strk | Owner: sac@…
Type: task | Status: reopened
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+-----------------------
Changes (by strk):
* status: closed => reopened
* resolution: fixed =>
Comment:
Really? This is what happens right now from download.osgeo.org:
{{{
strk@download:~$ host secure.lxd
Host secure.lxd not found: 3(NXDOMAIN)
strk@download:~$ host secure.lxc
Host secure.lxc not found: 3(NXDOMAIN)
strk@download:~$ host secure
Host secure not found: 2(SERVFAIL)
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2315#comment:4>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2315: Make LXC containers referenceable by name by resolver
---------------------------+----------------------
Reporter: strk | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: invalid
Keywords: |
---------------------------+----------------------
Changes (by robe):
* status: reopened => closed
* resolution: => invalid
Comment:
That's cause you have the name wrong. It's new-secure, not secure.
We can change the name of the container if it'll make you feel better.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2315#comment:5>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2315: Make LXC containers referenceable by name by resolver
---------------------------+----------------------
Reporter: strk | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: invalid
Keywords: |
---------------------------+----------------------
Comment (by strk):
It actually would
Using `old-` for old and unprefixed for current would be more consistent
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2315#comment:6>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2315: Make LXC containers referenceable by name by resolver
---------------------------+----------------------
Reporter: strk | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: invalid
Keywords: |
---------------------------+----------------------
Comment (by robe):
Done
and updated
https://git.osgeo.org/gitea/sac/osgeo7/wiki/secure
with details of the renaming.
Also changed read me to reflect the new name
now you should be able to access via secure.lxd
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2315#comment:7>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2315: Make LXC containers referenceable by name by resolver
---------------------------+----------------------
Reporter: strk | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: invalid
Keywords: |
---------------------------+----------------------
Comment (by strk):
Thanks, confirmed. My .ssh/config now looks like this:
{{{
Host osgeo-*
ProxyCommand ssh download.osgeo.org -W $(sed -e "s/^osgeo-//;s/$/.lxd/"
<<< "%h"):%p
}}}
And I can successfully do:
{{{
ssh osgeo-secure
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2315#comment:8>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2315: Make LXC containers referenceable by name by resolver
---------------------------+----------------------
Reporter: strk | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: invalid
Keywords: |
---------------------------+----------------------
Comment (by strk):
NOTE: I've further updated the README with my .ssh/config block
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2315#comment:9>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.