dfhz_ddp_mpack
dfhz_ddp_mpack copied to clipboard
yum -y install ambari-server: exit code: 1
> wget -O /etc/yum.repos.d/mosga.repo --no-check-certificate https://makeopensourcegreatagain.com/rpms/mosga.repo
> yum -y install ambari-server
...
=> ERROR [ 3/18] RUN yum -y install ambari-server 2.5s
------
> [ 3/18] RUN yum -y install ambari-server:
#6 0.558 Loaded plugins: fastestmirror, ovl
#6 0.684 Determining fastest mirrors
#6 1.725 * base: mirror.aktkn.sg
#6 1.726 * extras: mirror.aktkn.sg
#6 1.726 * updates: mirror.aktkn.sg
#6 2.443 https://makeopensourcegreatagain.com/rpms/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not mat
ch the server's certificate."
#6 2.443 Trying other mirror.
#6 2.445
#6 2.445
#6 2.445 One of the configured repositories failed (MOSGA Open Source Repository),
#6 2.445 and yum doesn't have enough cached data to continue. At this point the only
#6 2.445 safe thing yum can do is fail. There are a few ways to work "fix" this:
#6 2.445
#6 2.445 1. Contact the upstream for the repository and get them to fix the problem.
#6 2.445
#6 2.445 2. Reconfigure the baseurl/etc. for the repository, to point to a working
#6 2.445 upstream. This is most often useful if you are using a newer
#6 2.445
#6 2.445 4. Disable the repository permanently, so yum won't use it by default. Yum
#6 2.445 will then just ignore the repository until you permanently enable it
#6 2.445 again or use --enablerepo for temporary usage:
#6 2.445
#6 2.445 yum-config-manager --disable MOSGA
#6 2.445 or
#6 2.445 subscription-manager repos --disable=MOSGA
#6 2.445
#6 2.445 5. Configure the failing repository to be skipped, if it is unavailable.
#6 2.445 Note that yum will try to contact the repo. when it runs most commands,
#6 2.445 so will have to try and fail each time (and thus. yum will be be much
#6 2.445 slower). If it is a very temporary problem though, this is often a nice
#6 2.445 compromise:
#6 2.445
#6 2.445 yum-config-manager --save --setopt=MOSGA.skip_if_unavailable=true
#6 2.445
#6 2.445 failure: repodata/repomd.xml from MOSGA: [Errno 256] No more mirrors to try.
#6 2.445 https://makeopensourcegreatagain.com/rpms/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate."
------
executor failed running [/bin/sh -c yum -y install ambari-server]: exit code: 1
Thanks for the heads up.
Cert is renewed.