403 forbidden on repomd.xml

I am trying to install a tentacle on centos as per the documentation at https://octopus.com/docs/infrastructure/deployment-targets/linux/tentacle. However it is failing as the permissions on the octopus repository metadata file are incorrect.

yum install tentacle
Loaded plugins: priorities
https://rpm.octopus.com/tentacle.repo/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden

Hi @bobjabram

Thanks for getting in touch. I did some testing here on a CentOS 7 test box and haven’t been able to replicate the problem. I’m wondering if perhaps there was a transient issue and if it will work for you now.

Are you able to retest and confirm if the problem still exists at your end?

Regards,
Alex

Hi Alex,

Thanks for looking in to it, appreciate it. Still getting the forbidden, tried on different servers and from a few different networks, its gets blocked each time. The error message i get is the AWS forbidden message so not being blocked by a proxy on the network etc.

Hi @bobjabram

Thanks for the update, we’ll look a bit deeper and see what we can find.

Alex

Hi @bobjabram
What distribution and version of Linux are you using?
The url https://rpm.octopus.com/tentacle.repo/repodata/repomd.xml is not actually valid, So I am interested in knowing how Yum has resolved that, the real url to repomd.xml is http://rpm.octopus.com/x86_64/repodata/repomd.xml

Tom

Hi Tom,

Details below:
NAME=“Amazon Linux”
VERSION=“2”
ID=“amzn”
ID_LIKE=“centos rhel fedora”
VERSION_ID=“2”
PRETTY_NAME=“Amazon Linux 2”
ANSI_COLOR=“0;33”
CPE_NAME=“cpe:2.3:o:amazon:amazon_linux:2”
HOME_URL=“https://amazonlinux.com/
Amazon Linux release 2 (Karoo)

Hi @bobjabram
Are you able to show me the output from running the command lscpu

Hi Tom,

Here is the output:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 79
Model name: Intel® Xeon® CPU E5-2686 v4 @ 2.30GHz
Stepping: 1
CPU MHz: 2299.913
BogoMIPS: 4600.08
Hypervisor vendor: Xen
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 46080K
NUMA node0 CPU(s): 0
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault invpcid_single pti fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt

This is now working correctly, not sure what has changed but thanks for the assistance.

Hi @bobjabram,

Thanks for the update, this one definitely had us stumped.

Glad to hear that it’s working for you.

Regards
Alex

hi when trying to build a repository in our pulp using as a feed url https://rpm.octopus.com/x86_64/, we only do get the repodata but not the packages, can you please help
system centos 3.10.0-1062.1.1.el7.x86_64

found my problem as i am using a proxy i haven’t whitelisted : download.octopusdeploy.com in addition to rpm.octopus.com

1 Like