Steps to install and configure openQA in my own VM:
- Boot from a live image of GNOME unstable 2022-01-21T03:08Z
- Install to a harddisk with Calamares
- Install the Debian package openqa
echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list
apt-get update
apt-get install openqa - Configure openqa
cd /etc/apache2/sites-enabled
ln -s ../sites-available/openqa.conf.template openqa.conf
# Replace #ServerName with 'ServerName localhost'
a2enmod headers
a2enmod proxy
a2enmod proxy_http
a2enmod proxy_wstunnel
a2enmod rewrite
a2enmod expires
systemctl restart apache2
Configure openqa version 2:/usr/share/openqa/script/configure-web-proxy
-> However:
26: cannot create /etc/apach2/vhosts.d/openqa.conf: Directory nonexistent - This might have been required:
/usr/share/openqa/script/initdb
- Configure the login procedure:
Edit /etc/openqa/openqa.ini
In the section [auth]: place ‘method = Fake
‘
Edit /etc/openqa/client.conf:[localhost]
key = 1234567890ABCDEF
secret = 1234567890ABCDEF
Restart the openQA webui:systemctl restart openqa-webui
- Prepare salsa
ssh-keygen -t ed25519 -C "VM Debian-openQA"
gedit ~/.ssh/id_ed25519.pub
-> paste in SSH Keys for Salsa - Prepare the git repository:
cd /var/lib/openqa/tests
git clone git@salsa.debian.org:rclobus-guest/openqa-tests-debian.git debian - Initialise the default test settings:
apt-get install python3-jsonschema
cd /var/lib/openqa/tests/debian
python3 fifloader.py templates.fif.json --update --load - Install a local openQA-worker:
apt-get install openqa-worker
- Download the netinst image and run it:
cd /var/lib/openqa/share/factory/iso
wget https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.2.0-amd64-netinst.iso
openqa-cli api -X POST isos ISO=debian-11.2.0-amd64-netinst.iso DISTRI=debian VERSION=stable FLAVOR=netinst-iso ARCH=x86_64 BUILD=1120 - Issue: the tooltip with the guided tour did not disappear after being logged in:
su geekotest
psql openqa
update users set feature_version=0;
\q