Hashicorp repository sync error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
New
|
Undecided
|
Unassigned |
Bug Description
Sync hashicorp mirror fail with error:
"summary": "Sync pocket 'release' of series 'hashicorp-jammy' in distribution 'ubuntu'",
"result_text": "b\"ERROR: Condition 'AA16FCBCA621E701+' not fulfilled for './lists/
Step to reproduce:
#Get hashcorp gpg key
wget -O- https:/
#export hashcorp gpg key
gpg --no-default-
#import hashcorp key to landscape
landscape-api import-gpg-key hashicorp-
#import landscape-mirror key
gpg --batch --gen-key ./landscape_
landscape-api import-gpg-key mirror-key landscape-
# create hashicorp series
landscape-api create-series hashicorp-jammy ubuntu \
--pockets release \
--components main \
--architectures amd64 \
--gpg-key mirror-key \
--mirror-gpg-key hashicorp-
--mirror-uri https:/
--mirror-series jammy
# sync pocket
landscape-api sync-mirror-pocket release hashicorp-jammy ubuntu --json
Then check the activity id will see the gpg key error
There is a support case that talks about the same error,
https:/
The case conclude with a workaround to manually setup mirror using reprepro, I wonder if landscape-api can address this issue directly
information type: | Proprietary → Public |