Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phase run initinfra-networking-target failing (docker provider) #587

Closed
rkjain opened this issue Jun 22, 2021 · 4 comments
Closed

phase run initinfra-networking-target failing (docker provider) #587

rkjain opened this issue Jun 22, 2021 · 4 comments
Assignees
Labels
bug Something isn't working priority/medium Default priority for items

Comments

@rkjain
Copy link
Contributor

rkjain commented Jun 22, 2021

Description
Phase initinfra-networking-target is not working with the latestmaster.

Porblem

airshipctl phase run initinfra-networking-target --debug
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/phase/executors/k8s_applier.go:110: Filtering out documents that shouldn't be applied to kubernetes from document bundle
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/phase/executors/k8s_applier.go:115: Getting kubeconfig context name from cluster map
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/phase/executors/k8s_applier.go:120: Getting kubeconfig file information from kubeconfig provider
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/builder.go:258: Received error when extracting context, ignoring kubeconfig. Error: failed merging kubeconfig: source context 'target-cluster' does not exist in source kubeconfig
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/builder.go:178: Received error while trying kubeconfig source for cluster 'target-cluster', source type 'filesystem', error 'failed merging kubeconfig: source context 'target-cluster' does not exist in source kubeconfig'
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/builder.go:178: Received error while trying kubeconfig source for cluster 'target-cluster', source type 'bundle', error 'document filtered by selector [Group="airshipit.org", Version="v1alpha1", Kind="KubeConfig"] found no documents'
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/builder.go:211: Getting kubeconfig from cluster API for cluster 'target-cluster'
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/builder.go:258: Received error when extracting context, ignoring kubeconfig. Error: failed merging kubeconfig: source context 'ephemeral-cluster' does not exist in source kubeconfig
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/builder.go:168: Merging kubecontext for cluster 'ephemeral-cluster', into site kubeconfig
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/builder.go:238: Getting child kubeconfig from parent, parent context 'ephemeral-cluster', parent kubeconfig '/tmp/kubeconfig-100037372'
[airshipctl] 2021/06/22 13:40:12 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:13 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:14 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:15 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:16 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:17 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:18 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:19 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:21 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:21 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:22 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:23 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:25 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:25 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:26 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:27 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:29 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:30 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:30 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:31 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:32 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:33 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:34 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:35 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:36 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:37 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:39 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:40 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:41 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:41 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:42 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:43 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/kubeconfig.go:122: get kubeconfig from secret failed, retrying, reason: secrets "target-cluster-kubeconfig" not found
[airshipctl] 2021/06/22 13:40:43 opendev.org/airship/airshipctl/pkg/k8s/kubeconfig/builder.go:178: Received error while trying kubeconfig source for cluster 'target-cluster', source type 'clusterAPI', error 'timed out waiting for the condition'
[airshipctl] 2021/06/22 13:40:43 opendev.org/airship/airshipctl/pkg/events/processor.go:59: Received error on event channel {all kubeconfig sources failed for cluster 'target-cluster'}
Error events received on channel, errors are:
[all kubeconfig sources failed for cluster 'target-cluster']
@rkjain rkjain added bug Something isn't working triage Needs evaluation by project members labels Jun 22, 2021
@jezogwza jezogwza removed the triage Needs evaluation by project members label Jun 23, 2021
@jezogwza jezogwza added the priority/medium Default priority for items label Jun 23, 2021
@ratnopamc
Copy link
Contributor

Please assign this to me since I am already working on fixing CAPD deployment.

@eak13 eak13 assigned ratnopamc and unassigned rkjain Jun 23, 2021
@eak13
Copy link

eak13 commented Jun 23, 2021

@eratnch done

airshipbot pushed a commit that referenced this issue Sep 16, 2021
This PS introduces phase plan for CAPD provider
 * Adds phase to merge kubeconfig
 * Patches type/gating plan to use capd phase plan
 * Patches cluster_map and executor to work with "default" namespace
 * Fixes CAPD zuul failures

Relates-To: #564
Relates-To: #580
Relates-To: #587
Change-Id: I5007970c907bc87dccf6dd9fcb052afc1b5c13f7
@ratnopamc
Copy link
Contributor

This issue can be closed. Fix for this issue has been merged.

@rkjain
Copy link
Contributor Author

rkjain commented Oct 7, 2021

This is resolved.

@rkjain rkjain closed this as completed Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority/medium Default priority for items
Projects
None yet
Development

No branches or pull requests

4 participants