qontract-reconcile 0.10.1rc1043__py3-none-any.whl → 0.10.1rc1045__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc1043
3
+ Version: 0.10.1rc1045
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Home-page: https://github.com/app-sre/qontract-reconcile
6
6
  Author: Red Hat App-SRE Team
@@ -181,10 +181,10 @@ reconcile/cna/assets/asset_factory.py,sha256=7T7X_J6xIsoGETqBRI45_EyIKEdQcnRPt_G
181
181
  reconcile/cna/assets/null.py,sha256=85mVh97atCoC0aLuX47poTZiyOthmziJeBsUw0c924w,1658
182
182
  reconcile/dynatrace_token_provider/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
183
183
  reconcile/dynatrace_token_provider/dependencies.py,sha256=FuRUnK18EyJIIgFwQBZSskIG08mN2VQAcAcaJFTf8zc,2812
184
- reconcile/dynatrace_token_provider/integration.py,sha256=ZJS5OX7TJb0Vtp9PfXU3rk2l5ZP0Ni419PcT_rwu9Zw,25124
184
+ reconcile/dynatrace_token_provider/integration.py,sha256=Il2DIgeeOjaVtI8A7ou4SbWCo7vpiAopwDxhn5geaEo,25691
185
185
  reconcile/dynatrace_token_provider/metrics.py,sha256=oP-6NTZENFdvWiS0krnmX6tq3xyOzQ8e6vS0CZWYUuw,1496
186
186
  reconcile/dynatrace_token_provider/model.py,sha256=gkpqo5rRRueBXnIMjp4EEHqBUBuU65TRI8zpdb8GJ0A,241
187
- reconcile/dynatrace_token_provider/ocm.py,sha256=iHMsgbsLs-dlrB9UXmWNDF7E4UDe49JOsLa9rnowKfo,4282
187
+ reconcile/dynatrace_token_provider/ocm.py,sha256=66XfJact_PZoa9c8Wz0t_n8N6aSMRQpfPLgKHYtWf8s,4307
188
188
  reconcile/dynatrace_token_provider/validate.py,sha256=40_9QmHoB3-KBc0k_0D4QO00PpNNPS-gU9Z6cIcWga8,1920
189
189
  reconcile/endpoints_discovery/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
190
190
  reconcile/endpoints_discovery/integration.py,sha256=q01DJgCv1YiDY-VUWDfQ5kfGm67BUhP-YP7c0JQObj8,12333
@@ -867,8 +867,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
867
867
  tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
868
868
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
869
869
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
870
- qontract_reconcile-0.10.1rc1043.dist-info/METADATA,sha256=QLdDjexnd5h6fhlK_fEWB2u666L8pGiNg2XsWqDIGdU,2213
871
- qontract_reconcile-0.10.1rc1043.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
872
- qontract_reconcile-0.10.1rc1043.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
873
- qontract_reconcile-0.10.1rc1043.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
874
- qontract_reconcile-0.10.1rc1043.dist-info/RECORD,,
870
+ qontract_reconcile-0.10.1rc1045.dist-info/METADATA,sha256=VRmvtfHEBUva9VdVmKyoYw10P9Lw7J3rOC457iciW1k,2213
871
+ qontract_reconcile-0.10.1rc1045.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
872
+ qontract_reconcile-0.10.1rc1045.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
873
+ qontract_reconcile-0.10.1rc1045.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
874
+ qontract_reconcile-0.10.1rc1045.dist-info/RECORD,,
@@ -154,6 +154,9 @@ class DynatraceTokenProviderIntegration(
154
154
  cluster_uuid=cluster.external_id,
155
155
  error=f"Missing label {DTP_TENANT_LABEL}",
156
156
  )
157
+ logging.warn(
158
+ f"[{cluster.external_id=}] Missing value for label {DTP_TENANT_LABEL}"
159
+ )
157
160
  continue
158
161
  if (
159
162
  tenant_id
@@ -164,6 +167,9 @@ class DynatraceTokenProviderIntegration(
164
167
  cluster_uuid=cluster.external_id,
165
168
  error=f"Dynatrace tenant {tenant_id} does not exist",
166
169
  )
170
+ logging.warn(
171
+ f"[{cluster.external_id=}] Dynatrace {tenant_id=} does not exist"
172
+ )
167
173
  continue
168
174
  dt_client = dependencies.dynatrace_client_by_tenant_id[
169
175
  tenant_id
@@ -178,6 +184,9 @@ class DynatraceTokenProviderIntegration(
178
184
  cluster_uuid=cluster.external_id,
179
185
  error=f"Token spec {cluster.token_spec_name} does not exist",
180
186
  )
187
+ logging.warn(
188
+ f"[{cluster.external_id=}] Token spec '{cluster.token_spec_name}' does not exist"
189
+ )
181
190
  continue
182
191
  if tenant_id not in existing_dtp_tokens:
183
192
  existing_dtp_tokens[tenant_id] = (
@@ -59,7 +59,7 @@ class Cluster(BaseModel):
59
59
 
60
60
  Long-term, we want to remove this behavior.
61
61
  """
62
- token_spec_name = "default"
62
+ token_spec_name = "hypershift-management-cluster-v1"
63
63
  return Cluster(
64
64
  id=cluster.ocm_cluster.id,
65
65
  external_id=cluster.ocm_cluster.external_id,