[Starlingx-discuss] Issue with registry.local when applying platform-integ-app
r b
00100011f at gmail.com
Tue Mar 17 06:38:04 UTC 2020
Hi,
I'm deploying platform-integ-app with command:
```
system application-apply platform-integ-app
```
but it fails with log `failed to download one or more image`.
The environment is `All in One` deployment of StarlingX; there is only one node named `simplex-controller-0`.
The registry.local is resolved to 192.168.204.2 and the lo:1 on controller-0 is 192.168.204.3.
`system application-list` shows:
[root at controller-0 ~(keystone_admin)]# system application-list
+---------------------+---------+-------------------------------+-----------+--------------+--------------------------------+
| application | version | manifest name | manifest | status | progress |
| | | | file | | |
+---------------------+---------+-------------------------------+-----------+--------------+--------------------------------+
| platform-integ-apps | 1.0-7 | platform-integration-manifest | manifest. | apply-failed | Deployment of application |
| | | | yaml | | platform-integ-apps (1.0-7) |
| | | | | | failed: failed to download one |
| | | | | | or more image(s). |
| | | | | | |
+---------------------+---------+-------------------------------+-----------+--------------+--------------------------------+
`/var/log/sysinv.log` shows:
2020-03-10 04:19:02.336 92570 ERROR sysinv.conductor.kube_app [-] Image registry.local:9001/docker.io/port/ceph-config-helper:v1.10.3 <http://docker.io/port/ceph-config-helper:v1.10.3> download failed from local registry: 500 Server Error: Internal Server Error ("Get https://registry.local:9001/v2/: <https://registry.local:9001/v2/:> Forbidden")
And I can not use `docker pull registry.local:9001/docker.io/port/ceph-config-helper:v1.10.3 <http://docker.io/port/ceph-config-helper:v1.10.3%60>` <http://docker.io/port/ceph-config-helper:v1.10.3%60> manually:
Error response from daemon: Get https://registry.local:9001/v2/: <https://registry.local:9001/v2/:> Forbidden
BTY, I found one similar issue here (https://bugs.launchpad.net/starlingx/+bug/1850592 <https://bugs.launchpad.net/starlingx/+bug/1850592>), which mainly is `"Get https://registry.local:9001/v2/ <https://registry.local:9001/v2/>: dial tcp: lookup registry.local: no such host"`.
So, is there any extra step should I do to configure the local registry? I have followed the official installation guide step by step. Or is it possible for me just to edit the configurations to remove the `registry.local:9001` prefix of images' address? I tried to modify the .yml files in /opt/platform/armada/19.08/platform-integ-apps/1.0-7/ but it makes no sense.
(Firstly my goal is to deploy stx-openstack but it stucks with the state of `applying` for a few days and there is no error log in /var/log/, and I find that the platform-integ-apps failed, so maybe I should deploy the platform-integ-apps at first...)
Thanks,
Bonan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20200317/e916be84/attachment.html>
More information about the Starlingx-discuss
mailing list