Project

General

Profile

Actions

action #48812

closed

[kernel][public cloud] test update and smt ipa tests failing for GCE

Added by asmorodskyi about 5 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
QE Kernel - QE Kernel Done
Start date:
2019-03-07
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP1-GCE-x86_64-ipa_on_demand_gce@gce_n1_standard_2 fails in
ipa

Test suite description

Reproducible

Fails since (at least) Build 0035

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by jlausuch about 5 years ago

  • Status changed from New to Workable
  • Target version set to 454

Looks like a problem to report to Public Cloud team.

Actions #2

Updated by jlausuch about 5 years ago

  • Target version changed from 454 to 445
  • Parent task set to #48893
Actions #3

Updated by asmorodskyi about 5 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

Actions #4

Updated by asmorodskyi about 5 years ago

  • Status changed from In Progress to Feedback
Actions #5

Updated by cfconrad about 5 years ago

  • Status changed from Feedback to Blocked
Actions #6

Updated by cfconrad almost 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.

Actions #7

Updated by jlausuch almost 5 years ago

So, just that change? identity-format where it should say identity

Actions #8

Updated by cfconrad almost 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.

Actions #9

Updated by cfconrad almost 5 years ago

  • Status changed from In Progress to Resolved
Actions #10

Updated by cfconrad almost 5 years ago

  • Assignee set to cfconrad
Actions #11

Updated by jlausuch almost 5 years ago

  • Target version changed from 445 to 457
Actions #12

Updated by pcervinka over 3 years ago

  • Target version changed from 457 to QE Kernel Done
Actions

Also available in: Atom PDF