← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1981156] Re: Facing podman error when custom building horizon container

 

It looks like an issue specific to Red Hat OpenStack Platform (RHOSP).
Please report a bug to RHOSP.

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1981156

Title:
  Facing podman error when custom building horizon container

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  I am following the https://access.redhat.com/documentation/zh-
  cn/red_hat_openstack_platform/16.0/html/introduction_to_the_openstack_dashboard/dashboard-
  customization link to custom build the container image. but when
  trying to push i am getting the following error:

  Error: writing blob: initiating layer upload to
  /v2/tripleomaster/openstack-horizon/blobs/uploads/ in
  172.25.201.68:8787: StatusCode: 404, <!DOCTYPE HTML PUBLIC
  "-//IETF//DTD HTML 2.0//EN">...

  [root@hkg2director httpd]# tail -f image_serve_error.log
  [Fri Jul 08 12:58:09.788817 2022] [core:error] [pid 5033:tid 140483665843968] [client 172.25.163.196:33866] AH00126: Invalid URI in request GET /././.. HTTP/1.1
  [Sun Jul 10 21:42:59.744102 2022] [negotiation:error] [pid 33922:tid 140484739585792] (2)No such file or directory: [client 172.25.201.106:58678] AH00683: cannot access type map file: /var/lib/image-serve/v2/tripleomaster/openstack-horizon/manifests/0-8.type-map
  [Sun Jul 10 21:43:01.280405 2022] [negotiation:error] [pid 5035:tid 140483917494016] (2)No such file or directory: [client 172.25.201.97:45222] AH00683: cannot access type map file: /var/lib/image-serve/v2/tripleomaster/openstack-horizon/manifests/0-8.type-map
  [Sun Jul 10 21:43:02.024126 2022] [negotiation:error] [pid 33922:tid 140484043319040] (2)No such file or directory: [client 172.25.201.103:34508] AH00683: cannot access type map file: /var/lib/image-serve/v2/tripleomaster/openstack-horizon/manifests/0-8.type-map
  [Sun Jul 10 21:43:16.852186 2022] [negotiation:error] [pid 33922:tid 140484076889856] (2)No such file or directory: [client 172.25.201.105:53542] AH00683: cannot access type map file: /var/lib/image-serve/v2/tripleomaster/openstack-horizon/manifests/0-8.type-map
  [Sun Jul 10 22:10:05.220181 2022] [negotiation:error] [pid 33922:tid 140485133846272] (2)No such file or directory: [client 172.25.201.106:56804] AH00683: cannot access type map file: /var/lib/image-serve/v2/tripleomaster/openstack-horizon/manifests/0-8.type-map
  [Sun Jul 10 22:10:06.679326 2022] [negotiation:error] [pid 5035:tid 140485108668160] (2)No such file or directory: [client 172.25.201.103:54208] AH00683: cannot access type map file: /var/lib/image-serve/v2/tripleomaster/openstack-horizon/manifests/0-8.type-map
  [Sun Jul 10 22:10:07.026650 2022] [negotiation:error] [pid 5035:tid 140483917494016] (2)No such file or directory: [client 172.25.201.97:35056] AH00683: cannot access type map file: /var/lib/image-serve/v2/tripleomaster/openstack-horizon/manifests/0-8.type-map
  [Sun Jul 10 22:10:22.600075 2022] [negotiation:error] [pid 33922:tid 140484060104448] (2)No such file or directory: [client 172.25.201.105:45446] AH00683: cannot access type map file: /var/lib/image-serve/v2/tripleomaster/openstack-horizon/manifests/0-8.type-map
  [Mon Jul 11 01:23:45.354025 2022] [negotiation:error] [pid 129344:tid 139984250070784] (2)No such file or directory: [client 172.25.201.68:59514] AH00683: cannot access type map file: /var/lib/image-serve/v2/tripleomaster/openstack-horizon/manifests/0-9.type-map

  [stack@hkg2director horizon-themes]$ sudo podman push 172.25.201.68:8787/tripleomaster/openstack-horizon:0-9
  WARN[0000] Failed to decode the keys ["network.network_backend"] from "/usr/share/containers/containers.conf".
  WARN[0000] Failed to decode the keys ["network.network_backend"] from "/usr/share/containers/containers.conf".
  WARN[0000] Failed to decode the keys ["network.network_backend"] from "/usr/share/containers/containers.conf".
  Getting image source signatures
  Copying blob 80c0be683ac9 skipped: already exists
  Copying blob bab1c7b6a899 [--------------------------------------] 8.0b / 59.5KiB
  Copying blob f9f09cbae066 [--------------------------------------] 8.0b / 59.5KiB
  Copying blob b7b591e3443f [--------------------------------------] 8.0b / 20.0KiB
  Copying blob bb83a400dc7e [--------------------------------------] 8.0b / 7.0KiB
  Copying blob 1ca9ec783ad6 [--------------------------------------] 8.0b / 7.0KiB
  Copying blob 3a6b7f2864e6 [--------------------------------------] 8.0b / 7.0KiB
  Copying blob ffd77c9907b7 [--------------------------------------] 8.0b / 9.0KiB
  Copying blob 6ae06b1bf643 [--------------------------------------] 8.0b / 7.5KiB
  Copying blob bc3dd4002908 [--------------------------------------] 8.0b / 7.5KiB
  Copying blob 8b974d9968c1 [--------------------------------------] 8.0b / 14.0KiB
  Copying blob 30f87a7de8b5 [--------------------------------------] 8.0b / 6.0KiB
  Copying blob aa02c13deb86 [--------------------------------------] 0.0b / 4.0KiB
  Copying blob 89b853af1aa2 [--------------------------------------] 8.0b / 14.0KiB
  Copying blob 3ee1ead6db5f [--------------------------------------] 8.0b / 59.5KiB
  Copying blob fd1baa2a1cd0 [--------------------------------------] 8.0b / 59.5KiB
  Copying blob 33afb269824d [--------------------------------------] 8.0b / 7.0KiB
  Copying blob f1117feaa844 [--------------------------------------] 8.0b / 7.0KiB
  Copying blob b36e5fbb3eab [--------------------------------------] 8.0b / 7.0KiB
  Copying blob 5d6773201dfb [--------------------------------------] 8.0b / 7.5KiB
  Copying blob f9ae49c1e307 [--------------------------------------] 8.0b / 7.5KiB
  Copying blob 64e624a7f305 [--------------------------------------] 8.0b / 6.0KiB
  Copying blob 2fa93f4f2a45 [--------------------------------------] 8.0b / 128.6MiB
  Copying blob ccf04fbd6e19 [--------------------------------------] 8.0b / 201.0MiB
  Copying blob 8a36fc7d2feb [--------------------------------------] 8.0b / 281.3MiB
  Error: writing blob: initiating layer upload to /v2/tripleomaster/openstack-horizon/blobs/uploads/ in 172.25.201.68:8787: StatusCode: 404, <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">...

  Dockerfile:

  [stack@hkg2director ~]$ cat horizon-themes/Dockerfile
  FROM 172.25.201.68:8787/tripleomaster/openstack-horizon:current-tripleo
  MAINTAINER Acme
  LABEL name="tripleomaster/openstack-horizon" vendor="Acme" version="1" release="1"
  COPY img/apple-touch-icon.jpg /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/
  COPY img/favicon.jpg /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/
  COPY img/logo-splash.svg /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/
  COPY img/logo.svg /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/
  COPY img/safari-pinned-tab.svg /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/
  COPY img/favicon.ico /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/
  COPY img/openstack-one-color-alt.svg /usr/share/openstack-dashboard/openstack_dashboard/themes/material/templates/material
  COPY img/openstack-one-color.svg /usr/share/openstack-dashboard/openstack_dashboard/themes/material/templates/material
  COPY local_settings /etc/openstack-dashboard/
  COPY _90_manila_shares.py /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/
  COPY ssl.conf /etc/httpd/conf.modules.d/
  RUN sudo chown apache:apache /etc/openstack-dashboard/local_settings
  RUN sudo chown apache:root /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/apple-touch-icon.jpg
  RUN sudo chown apache:root /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/favicon.jpg
  RUN sudo chown apache:root /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/logo-splash.svg
  RUN sudo chown apache:root /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/logo.svg
  RUN sudo chown apache:root /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/safari-pinned-tab.svg
  RUN sudo chown apache:root /usr/share/openstack-dashboard/openstack_dashboard/themes/material/templates/material/openstack-one-color-alt.svg
  RUN sudo chown apache:root /usr/share/openstack-dashboard/openstack_dashboard/themes/material/templates/material/openstack-one-color.svg
  RUN sudo chown apache:root /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_90_manila_shares.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1981156/+subscriptions



References