Distributed Cloud: subcloud cannot use central-cloud's local registry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Tao Liu |
Bug Description
Brief Description
-----------------
Currently the subclouds can not use the central cloud's local registry to pull images from for a couple of reasons.
- there is no DNS entry in the subcloud for the central-cloud's local registry ... and need to use DNS name in order to more easily use either IPv4 or IPv6, and
- need to add this DNS entry to the SANs of the central-cloud's local registry
i.e. proposed solution ... to do this automatically
* On central-cloud,
> On bootstrap of ‘systemcontroller’ role,
- Add ‘registry.central’ into the central-cloud’s docker registry’s certificate SAN
( this certificate is auto-generated )
* On subclouds
> On bootstrap of subcloud
- Add to dnsmasq ‘registry.central à < central-cloud’s floating management ip address >’
o i.e. do this early so we could use ‘registry.central’ in docker registries:
- NOTE: dnsmasq may not be available during bootstrap,
NOTE: solution needs to make sure that both controllers/masters and workers on the subcloud can resolve registry.central and pull from the central-cloud's local registry.
Severity
--------
<Major: System/Feature is usable but degraded>
Steps to Reproduce
------------------
Configure DC and a subcloud and try to pull from central-cloud's local registry using IP Address.
Expected Behavior
------------------
Subcloud nodes should be able to pull from central-cloud's local registry.
Actual Behavior
----------------
They can not.
Reproducibility
---------------
100% reproducible
System Configuration
-------
Any/All.
Branch/Pull Time/Commit
-------
NA
Last Pass
---------
NA
Timestamp/Logs
--------------
NA
Test Activity
-------------
[Evaluation]
tags: | added: stx.dis |
tags: |
added: stx.3.0 stx.distcloud removed: stx.dis |
Changed in starlingx: | |
importance: | Undecided → Medium |
status: | New → Triaged |
assignee: | nobody → Angie Wang (angiewang) |
Changed in starlingx: | |
assignee: | Angie Wang (angiewang) → Tao Liu (tliu88) |
Changed in starlingx: | |
status: | Triaged → In Progress |
Fix proposed to branch: master /review. opendev. org/690082
Review: https:/