Review openshift SOP
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
0f4ea0ff92
commit
61955e9fbf
3 changed files with 29 additions and 30 deletions
|
@ -80,8 +80,8 @@
|
||||||
** xref:nonhumanaccounts.adoc[Non-human Accounts Infrastructure - SOP]
|
** xref:nonhumanaccounts.adoc[Non-human Accounts Infrastructure - SOP]
|
||||||
** xref:nuancier.adoc[Nuancier - SOP]
|
** xref:nuancier.adoc[Nuancier - SOP]
|
||||||
** xref:odcs.adoc[On Demand Compose Service - SOP]
|
** xref:odcs.adoc[On Demand Compose Service - SOP]
|
||||||
** xref:openqa.adoc[openqa - SOP in review ]
|
** xref:openqa.adoc[OpenQA Infrastructure - SOP]
|
||||||
** xref:openshift.adoc[openshift - SOP in review ]
|
** xref:openshift.adoc[OpenShift - SOP]
|
||||||
** xref:openvpn.adoc[openvpn - SOP in review ]
|
** xref:openvpn.adoc[openvpn - SOP in review ]
|
||||||
** xref:outage.adoc[outage - SOP in review ]
|
** xref:outage.adoc[outage - SOP in review ]
|
||||||
** xref:packagedatabase.adoc[packagedatabase - SOP in review ]
|
** xref:packagedatabase.adoc[packagedatabase - SOP in review ]
|
||||||
|
|
|
@ -1,14 +1,18 @@
|
||||||
= openQA Infrastructure SOP
|
= OpenQA Infrastructure SOP
|
||||||
|
|
||||||
openQA is an automated test system used to run validation tests on
|
OpenQA is an automated test system used to run validation tests on
|
||||||
nightly and candidate Fedora composes, and also to run a subset of these
|
nightly and candidate Fedora composes, and also to run a subset of these
|
||||||
tests on critical path updates.
|
tests on critical path updates.
|
||||||
|
|
||||||
openQA production instance: https://openqa.fedoraproject.org openQA
|
OpenQA production instance: https://openqa.fedoraproject.org
|
||||||
staging instance: https://openqa.stg.fedoraproject.org Wiki page on
|
|
||||||
Fedora openQA deployment: https://fedoraproject.org/wiki/OpenQA Upstream
|
OpenQA staging instance: https://openqa.stg.fedoraproject.org
|
||||||
project page: http://open.qa/ Upstream repositories:
|
|
||||||
https://github.com/os-autoinst
|
Wiki page on Fedora openQA deployment: https://fedoraproject.org/wiki/OpenQA
|
||||||
|
|
||||||
|
Upstream project page: http://open.qa/
|
||||||
|
|
||||||
|
Upstream repositories: https://github.com/os-autoinst
|
||||||
|
|
||||||
== Contact Information
|
== Contact Information
|
||||||
|
|
||||||
|
@ -18,8 +22,6 @@ Contact::
|
||||||
#fedora-qa, #fedora-admin, qa-devel mailing list
|
#fedora-qa, #fedora-admin, qa-devel mailing list
|
||||||
People::
|
People::
|
||||||
Adam Williamson (adamwill / adamw), Petr Schindler (pschindl)
|
Adam Williamson (adamwill / adamw), Petr Schindler (pschindl)
|
||||||
Location::
|
|
||||||
PHX2
|
|
||||||
Machines::
|
Machines::
|
||||||
See ansible inventory groups with 'openqa' in name
|
See ansible inventory groups with 'openqa' in name
|
||||||
Purpose::
|
Purpose::
|
||||||
|
|
|
@ -4,10 +4,9 @@ OpenShift is used in Fedora Infrastructure to host a number of
|
||||||
applications. This SOP is applicable to the OpenShift cluster and not
|
applications. This SOP is applicable to the OpenShift cluster and not
|
||||||
the application running on it.
|
the application running on it.
|
||||||
|
|
||||||
Production instance: https://os.fedoraproject.org/ Staging instance:
|
Production instance: https://os.fedoraproject.org/
|
||||||
https://os.stg.fedoraproject.org/
|
|
||||||
|
|
||||||
Contents
|
Staging instance: https://os.stg.fedoraproject.org/
|
||||||
|
|
||||||
== Contact information
|
== Contact information
|
||||||
|
|
||||||
|
@ -17,17 +16,15 @@ Contact::
|
||||||
#fedora-admin
|
#fedora-admin
|
||||||
Persons::
|
Persons::
|
||||||
.oncall
|
.oncall
|
||||||
Location::
|
|
||||||
Phoenix
|
|
||||||
Servers::
|
Servers::
|
||||||
* os-master01.phx2.fedoraproject.org
|
* os-master01.iad2.fedoraproject.org
|
||||||
* os-master02.phx2.fedoraproject.org
|
* os-master02.iad2.fedoraproject.org
|
||||||
* os-master03.phx2.fedoraproject.org
|
* os-master03.iad2.fedoraproject.org
|
||||||
* os-node01.phx2.fedoraproject.org
|
* os-node01.iad2.fedoraproject.org
|
||||||
* os-node02.phx2.fedoraproject.org
|
* os-node02.iad2.fedoraproject.org
|
||||||
* os-node03.phx2.fedoraproject.org
|
* os-node03.iad2.fedoraproject.org
|
||||||
* os-node04.phx2.fedoraproject.org
|
* os-node04.iad2.fedoraproject.org
|
||||||
* os-node05.phx2.fedoraproject.org
|
* os-node05.iad2.fedoraproject.org
|
||||||
Purpose::
|
Purpose::
|
||||||
Run Fedora Infrastructure applications
|
Run Fedora Infrastructure applications
|
||||||
|
|
||||||
|
@ -38,16 +35,16 @@ Purpose::
|
||||||
If an application build seems stuck, it generally helps to restart the
|
If an application build seems stuck, it generally helps to restart the
|
||||||
docker service on the node used for the build.
|
docker service on the node used for the build.
|
||||||
|
|
||||||
First check which builds are currently running on the cluster. :
|
First check which builds are currently running on the cluster:
|
||||||
|
|
||||||
....
|
....
|
||||||
[os-master01] # oc get builds --all-namespaces | grep -i running
|
[os-master01] # oc get builds --all-namespaces | grep -i running
|
||||||
....
|
....
|
||||||
|
|
||||||
if the builds seems stuck (ie running for more than 20 mins), Check on
|
If the builds seems stuck (ie running for more than 20 mins) check on
|
||||||
which nodes they are scheduled.
|
which nodes they are scheduled.
|
||||||
|
|
||||||
Let's take a bodhi build for example :
|
Let's take a bodhi build for example:
|
||||||
|
|
||||||
....
|
....
|
||||||
[os-master01] # oc -n bodhi get builds
|
[os-master01] # oc -n bodhi get builds
|
||||||
|
@ -56,20 +53,20 @@ Let's take a bodhi build for example :
|
||||||
....
|
....
|
||||||
|
|
||||||
Once you have identified which node the build is running on, you can
|
Once you have identified which node the build is running on, you can
|
||||||
restart the docker service on this node. :
|
restart the docker service on this node:
|
||||||
|
|
||||||
....
|
....
|
||||||
[os-node02] # systemctl restart docker
|
[os-node02] # systemctl restart docker
|
||||||
....
|
....
|
||||||
|
|
||||||
You can start a new build.:
|
You can start a new build:
|
||||||
|
|
||||||
....
|
....
|
||||||
[os-master01] # oc -n bodhi start-build bodhi-base
|
[os-master01] # oc -n bodhi start-build bodhi-base
|
||||||
....
|
....
|
||||||
|
|
||||||
Finally you can check if there are any more build stuck. If that's the
|
Finally you can check if there are any more build stuck. If that's the
|
||||||
case just repeat these steps. :
|
case just repeat these steps:
|
||||||
|
|
||||||
....
|
....
|
||||||
[os-master01] # oc get builds --all-namespaces
|
[os-master01] # oc get builds --all-namespaces
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue