Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-32430

[QE] [Astro] Resolve ephemeral user oauth error

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No
    • Platform Pipeline Sprint 87
    • Normal

      Every test-case fails in ephemeral due to this error...

      A = <Box: {'auth': {'username': 'insights-qa', 'password': 'redhatqa', 'jwt_grant_type': 'password'}, 'identity': {'accoun...: {'org_id': '11789772', 'cross_access': False, 'auth_time': 0}}, 'entitlements': {'insights': {'is_entitled': True}}}>, item = 'OAUTH_CLIENT_ID'    def __getattr__(A,item):
              B=item
              try:
                  try:C=A.__getitem__(B,_ignore_default=_G)
                  except KeyError:C=object.__getattribute__(A,B)
              except AttributeError as E:
                  if B=='__getstate__':raise BoxKeyError(B) from _A
                  if B==_H:raise BoxError('_box_config key must exist') from _A
                  if A._box_config[_E]:
                      D=A._safe_attr(B)
                      if D in A._box_config[_C]:return A.__getitem__(A._box_config[_C][D])
                  if A._box_config[_K]:return A.__get_default(B)
      >           raise BoxKeyError(str(E)) from _A
      E     dynaconf.vendor.box.exceptions.BoxKeyError: "'DynaBox' object has no attribute 'OAUTH_CLIENT_ID'"
       

      Fix it !!!

            rh-ee-jarice Jason Rice
            rh-ee-jarice Jason Rice
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: