Recreate OpenShift v.3.3 router

If for any reason is necessary to recreate OpenShift router, do below
Delete router pod,service, serviceaccount,dc

# oc delete pods $(oc get pods | grep router | awk '{print $1}') 
# oc delete svc router 
# oc delete serviceaccount router 
# oc delete dc router 

re-create router

 
# oadm router router --service-account=router

Reference : Openshift v3.3 documentation

Advertisements

#kubernets, #oadm, #openshift-v3-3, #rhel, #router

rpm package installation fails (warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID XXGGXCC )

Sometimes particular .rpm package will fail with below error:

warning:  rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 37017186

Here rpm complains that it misses Red Hat release keys which are delivered during instillation and can be imported with below command

# rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

After importing keys, package installation should be possible.

More info about rpm can be find at

  • # man rpm

Fedora project rpm guide

Excellent rpm guide can be found here

#gpg, #install, #nokey, #rhel, #rpm, #rpmts_hdrfromfdno