action #48812
closed[kernel][public cloud] test update and smt ipa tests failing for GCE
0%
Description
Updated by jlausuch almost 6 years ago
- Status changed from New to Workable
- Target version set to 454
Looks like a problem to report to Public Cloud team.
Updated by jlausuch almost 6 years ago
- Target version changed from 454 to 445
- Parent task set to #48893
Updated by asmorodskyi almost 6 years ago
- Status changed from Workable to In Progress
product bug is opened regarding this issue https://bugzilla.suse.com/show_bug.cgi?id=1128526 . so most probably nothing todo in term of this progress issue moving it to feedback for now
Updated by asmorodskyi almost 6 years ago
- Status changed from In Progress to Feedback
Updated by cfconrad over 5 years ago
- Status changed from Blocked to In Progress
Further investigation shows a problem of /usr/bin/gcemetadata
from repo https://github.com/SUSE-Enceladus/gcemetadata
The call of meta.get_flattended_opts()
doesn't return a opt `--identity'.
See:
gce-ipa-test-fkscg:/home/susetest # /usr/bin/gcemetadata --query instance --identity http://smt-gce.susecloud.net --identity-format full --xml
[('--query', 'instance'), ('--identity', 'http://smt-gce.susecloud.net'), ('--identity-format', 'full'), ('--xml', '')]
compared to:
cfconrad-vm-18a8631147f68801:/home/susetest # /usr/bin/gcemetadata --query instance --identity http://smt-gce.susecloud.net --identity-format full --xml
[('--query', 'instance'), ('--identity-format', 'http://smt-gce.susecloud.net'), ('--identity-format', 'full'), ('--xml', '')]
This problem happens only, if we instantiate the VM with terraform. With IPA or google-console this failure doesn't appear.
Updated by jlausuch over 5 years ago
So, just that change? identity-format
where it should say identity
Updated by cfconrad over 5 years ago
The fix is this: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7408
The problem was that the service_account info was missed. The meta info can be retrieved from a running GCE instance with:
curl "http://metadata.google.internal/computeMetadata/v1/?recursive=true&alt=text" -H "Metadata-Flavor: Google"
This showed that we do not have here instance/service-accounts/*
and so the call of /usr/bin/gcemetadata
failed with that misleading message.
Updated by cfconrad over 5 years ago
- Status changed from In Progress to Resolved
Fixed in GMC: https://openqa.suse.de/tests/2892884
Updated by pcervinka about 4 years ago
- Target version changed from 457 to QE Kernel Done