Project

General

Profile

Actions

action #80466

open

docker: Base the webUI and worker Dockerfiles in Tumbleweed

Added by ilausuch about 4 years ago. Updated almost 4 years ago.

Status:
Workable
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
QA (public, currently private due to #173521) - future
Start date:
2020-11-26
Due date:
% Done:

0%

Estimated time:

Description

User story

As developers we want that in order to preserve for our dev environment the Dockerfiles should be build based on Tumbleweed, not Leap 15.2

Acceptance criteria

  • AC1: webUI dockerfile is based on Tumbleweed
  • AC2: worker dockerfile is based on Tumbleweed

Related issues 1 (1 open0 closed)

Related to openQA Project (public) - coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetesBlockedokurz2018-09-26

Actions
Actions #1

Updated by ilausuch about 4 years ago

  • Related to coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes added
Actions #2

Updated by ilausuch about 4 years ago

  • Status changed from New to In Progress
  • Assignee set to ilausuch
Actions #3

Updated by okurz about 4 years ago

  • Description updated (diff)
  • Category set to Feature requests
  • Target version set to Ready
Actions #4

Updated by ilausuch about 4 years ago

Draft PR https://github.com/os-autoinst/openQA/pull/3593
Remains test this in OBS

Actions #5

Updated by okurz about 4 years ago

I don't understand the user story but as I mentioned the idea we can keep it :D

Can you reference the OBS project where you tested and saw problems?

Actions #6

Updated by okurz about 4 years ago

  • Due date set to 2020-12-12

Setting due date based on mean cycle time of SUSE QE Tools

Actions #7

Updated by ilausuch almost 4 years ago

Finally but not successfull modifying the configuration of the project seems that it wanted to build solving the problem of the postgresql13, however there are problems with some requisites

[   88s] Problem: nothing provides /sbin/chkconfig needed by postgresql13-server-13.1-1.1.x86_64
[   88s]  Solution 1: do not install openQA-local-db-4.6.1607507742.c4c7e4dad-3536.1.noarch
[   88s]  Solution 2: break postgresql13-server-13.1-1.1.x86_64 by ignoring some of its dependencies
Actions #8

Updated by ilausuch almost 4 years ago

  • Due date deleted (2020-12-12)
  • Status changed from In Progress to Workable
  • Assignee deleted (ilausuch)

I release this ticket because I am block trying to find a solution.
My current configuration for the project seems not to be correct.

The problem that persists is

[   88s] Problem: nothing provides /sbin/chkconfig needed by postgresql13-server-13.1-1.1.x86_64
[   88s]  Solution 1: do not install openQA-local-db-4.6.1607507742.c4c7e4dad-3536.1.noarch
[   88s]  Solution 2: break postgresql13-server-13.1-1.1.x86_64 by ignoring some of its dependencies

My last attempt is this https://build.opensuse.org/package/show/home:ilausuch:branches:devel:openQA/openQA_container_image_webui but this build can change, so in order to help to the next person takes this task I'm pasting here my configuration

_service

<services>
<service name="download_url">
  <param name="protocol">https</param>
  <param name="host">raw.githubusercontent.com</param>
  <param name="path">/ilausuch/openQA/change_dockerfile_based_on_tumbleweed/docker/webui/Dockerfile</param>
  <param name="filename">Dockerfile</param>
</service>
<service name="download_url">
  <param name="protocol">https</param>
  <param name="host">raw.githubusercontent.com</param>
  <param name="path">/ilausuch/openQA/change_dockerfile_based_on_tumbleweed/docker/webui/openqa-ssl.conf</param>
  <param name="filename">openqa-ssl.conf</param>
</service>
<service name="download_url">
  <param name="protocol">https</param>
  <param name="host">raw.githubusercontent.com</param>
  <param name="path">/ilausuch/openQA/change_dockerfile_based_on_tumbleweed/docker/webui/openqa.conf</param>
  <param name="filename">openqa.conf</param>
</service>
<service name="download_url">
  <param name="protocol">https</param>
  <param name="host">raw.githubusercontent.com</param>
  <param name="path">/ilausuch/openQA/change_dockerfile_based_on_tumbleweed/docker/webui/run_openqa.sh</param>
  <param name="filename">run_openqa.sh</param>
</service>

Meta

<package name="openQA_container_image_webui" project="home:ilausuch:branches:devel:openQA">
  <title>openQA container image for web UI</title>
  <description/>
  <build>
    <enable arch="x86_64" repository="containersTumbleweed"/>
  </build>
</package>

Project config

Prefer: perl-aliased tesseract-ocr -postgresql93 -postgresql93-server -postgresql13-devel-mini postgresql13-devel -postgresql13-devel

%if "%_repository" == "containers"
Type: docker
Repotype: none
Patterntype: none
%endif

%if "%_repository" == "containers15.2"
Type: docker
Repotype: none
Patterntype: none
%endif

%if "%_repository" == "containersTumbleweed"
Type: docker
Repotype: none
Patterntype: none
%endif

%ifarch x86_64
Substitute: qemu-uefi-aarch64 qemu-ovmf-x86_64
%endif
%ifarch aarch64
Substitute: qemu-ovmf-x86_64 qemu-uefi-aarch64
%endif

FileProvides: /sbin/chkconfig chkconfig
Actions #9

Updated by okurz almost 4 years ago

  • Priority changed from Normal to Low
  • Target version changed from Ready to future

thanks for the update. With this I think we can for now postpone this task and remove it from our backlog.

Actions

Also available in: Atom PDF