--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/42c782e0-9540-4b95-b4ec-54efa18a3913%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
Hi Rich,
Just tested that with a quick curl and that was successful. The repo data file now also appears in the Assets list. So, connectivity principally works.
I then did a "yum clean all && yum makecache" and primary, filelists, etcalso appear. Then, a "yum list" on the repo now correctly return files.
Finally, a "yum install" for a package of the repo goes through: I see the package in both Assets and Components.
So, the issue seems to be that first initialising of the repo which doesn't happen automatically. Having to manually do this first init for every repo would obviously be a bit of a pain! :)
As if something isn't running that should be (this is the RPM based Nexus3 3.50-02 package, with mostly the default parameters - apart from proxy settings, of course).
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/cc03916e-b79a-4358-8c35-df4344b28427%40glists.sonatype.com.
Minimal configuration steps are:
- Define Name e.g. yum-proxy
- Define URL for Remote storage, e.g. http://mirror.centos.org/centos/
- Pick a Blob store for Storage
[nexusrepo]
name=Nexus Repository
baseurl=https://malbec.centaur.id.au/repository/yum-proxy/$releasever/os/$basearch/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
priority=1
Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
epel/x86_64/metalink | 2.9 kB 00:00:00
extras | 3.4 kB 00:00:00
nexusrepo | 2.2 kB 00:00:00
updates | 3.4 kB 00:00:00
nexusrepo/7/x86_64/group_gz FAILED
https://myserver.mydomain.com/repository/yum-proxy/7/os/x86_64/repodata/9346184be1deb727caf4b1ecf4a7949155da5da74af9b92c172687b290a773df-c7-x86_64-comps.xml.gz: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
nexusrepo/7/x86_64/filelists FAILED
https://myserver.mydomain.com/repository/yum-proxy/7/os/x86_64/repodata/c1561546c684bd06b3a499c2babc35c761b37b2fc331677eca12f0c769b1bb37-filelists.xml.gz: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
nexusrepo/7/x86_64/primary FAILED
https://myserver.mydomain.com/repository/yum-proxy/7/os/x86_64/repodata/b686d3a0f337323e656d9387b9a76ce6808b26255fc3a138b1a87d3b1cb95ed5-primary.xml.gz: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
nexusrepo/7/x86_64/other FAILED
https://myserver.mydomain.com/repository/yum-proxy/7/os/x86_64/repodata/a0af68e1057f6b03a36894d3a4f267bbe0590327423d0005d95566fb58cd7a29-other.xml.gz: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
Loading mirror speeds from cached hostfile
* base: mirror.as24220.net
* epel: mirror.as24220.net
* extras: mirror.aarnet.edu.au
* updates: mirror.as24220.net
https://myserver.mydomain.com/repository/yum-proxy/7/os/x86_64/repodata/b686d3a0f337323e656d9387b9a76ce6808b26255fc3a138b1a87d3b1cb95ed5-primary.xml.gz: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
One of the configured repositories failed (Nexus Repository),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=nexusrepo ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable nexusrepo
or
subscription-manager repos --disable=nexusrepo
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=nexusrepo.skip_if_unavailable=true
failure: repodata/b686d3a0f337323e656d9387b9a76ce6808b26255fc3a138b1a87d3b1cb95ed5-primary.xml.gz from nexusrepo: [Errno 256] No more mirrors to try.
https://myserver.mydomain.com/repository/yum-proxy/7/os/x86_64/repodata/b686d3a0f337323e656d9387b9a76ce6808b26255fc3a138b1a87d3b1cb95ed5-primary.xml.gz: [Errno 14] HTTPS Error 404 - Not Found7/os/x86_64/repodata/repomd.xml192.168.20.91 - - [03/Nov/2017:19:15:46 +1100] "GET /repository/yum-proxy/7/os/x86_64/repodata/repomd.xml HTTP/1.1" 200 2264 2 "urlgrabber/3.10 yum/3.4.3"
192.168.20.91 - - [03/Nov/2017:19:15:47 +1100] "GET /repository/yum-proxy/7/os/x86_64/repodata/9346184be1deb727caf4b1ecf4a7949155da5da74af9b92c172687b290a773df-c7-x86_64-comps.xml.gz HTTP/1.1" 404 1853 1 "urlgrabber/3.10 yum/3.4.3"
192.168.20.91 - - [03/Nov/2017:19:15:47 +1100] "GET /repository/yum-proxy/7/os/x86_64/repodata/c1561546c684bd06b3a499c2babc35c761b37b2fc331677eca12f0c769b1bb37-filelists.xml.gz HTTP/1.1" 404 1853 1 "urlgrabber/3.10 yum/3.4.3"
192.168.20.91 - - [03/Nov/2017:19:15:47 +1100] "GET /repository/yum-proxy/7/os/x86_64/repodata/b686d3a0f337323e656d9387b9a76ce6808b26255fc3a138b1a87d3b1cb95ed5-primary.xml.gz HTTP/1.1" 404 1853 1 "urlgrabber/3.10 yum/3.4.3"
192.168.20.91 - - [03/Nov/2017:19:15:47 +1100] "GET /repository/yum-proxy/7/os/x86_64/repodata/a0af68e1057f6b03a36894d3a4f267bbe0590327423d0005d95566fb58cd7a29-other.xml.gz HTTP/1.1" 404 1853 1 "urlgrabber/3.10 yum/3.4.3"
192.168.20.91 - - [03/Nov/2017:19:15:47 +1100] "GET /repository/yum-proxy/7/os/x86_64/repodata/b686d3a0f337323e656d9387b9a76ce6808b26255fc3a138b1a87d3b1cb95ed5-primary.xml.gz HTTP/1.1" 404 1853 1 "urlgrabber/3.10 yum/3.4.3"--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/dd9f7925-a089-483d-93b6-5ef950f9ee0b%40glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CAPLPygn91vU9J6H5NH8eTQTaNVM38MfzE5TpuNgbfVoVHh%2BC4g%40mail.gmail.com.