Bug 1643870 - kubevirt-apb: all plays skipped due unmatched hosts
Summary: kubevirt-apb: all plays skipped due unmatched hosts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 1.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 1.3
Assignee: Ryan Hallisey
QA Contact: Irina Gulina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-29 09:55 UTC by Lukas Bednar
Modified: 2019-01-15 14:05 UTC (History)
4 users (show)

Fixed In Version: kubevirt-apb-v3.11-4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-15 14:05:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukas Bednar 2018-10-29 09:55:07 UTC
Description of problem:

deployment of kubevirt using apb does not deploy kubevirt because all plays are skipped.

Version-Release number of selected component (if applicable):
kubevirt-apb v1.3.0-2


How reproducible: 100%


Steps to Reproduce:
1. Try to deploy kubevirt using APB

Actual results: it does not deploy kubevirt


Expected results: it should deploy kubevirt


Additional info:

[root@cnv-executor-lbednar-master1 ~]# apb  broker catalog
 NAME                             ID                                   BINDABLE 
 ---------------------------- -+- -------------------------------- -+- -------- 
 brew-virtualization           |  478d37510d55e47a89cfbf1d10f92b7d  |  false  

[root@cnv-executor-lbednar-master1 ~]# cat kubevirt-apb.yml 
---
apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
  name: kubevirt
  namespace: kube-system
spec:
  clusterServiceClassExternalName: brew-virtualization
  clusterServicePlanExternalName: default
  parameters:
    admin_user: test_admin
    admin_password: 123456
    docker_tag: "1.3"
    registry_url: brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888
    registry_namespace: cnv13-tech-preview

[root@cnv-executor-lbednar-master1 ~]# oc create -f kubevirt-apb.yml 
serviceinstance.servicecatalog.k8s.io/kubevirt created

[root@cnv-executor-lbednar-master1 ~]# oc get pods --all-namespaces 
NAMESPACE                           NAME                                                          READY     STATUS              RESTARTS   AGE
brew-virtualization-prov-l5hjw      bundle-53d521c2-900e-40fe-a269-ed1b15912762                   0/1       ContainerCreating   0          2s


[root@cnv-executor-lbednar-master1 ~]# oc logs -f -n brew-virtualization-prov-l5hjw bundle-53d521c2-900e-40fe-a269-ed1b15912762
DEPRECATED: APB playbooks should be stored at /opt/apb/project

PLAY [Provision KubeVirt] ******************************************************

TASK [ansible.kubernetes-modules : Install latest openshift client] ************
skipping: [localhost]

TASK [ansibleplaybookbundle.asb-modules : debug] *******************************
skipping: [localhost]
 [WARNING]: Could not match supplied host pattern, ignoring: masters


PLAY [masters[0]] **************************************************************
skipping: no hosts matched

PLAY [masters[0]] **************************************************************
skipping: no hosts matched

PLAY [masters[0]] **************************************************************
skipping: no hosts matched

PLAY RECAP *********************************************************************
localhost                  : ok=0    changed=0    unreachable=0    failed=0

Comment 1 Ryan Hallisey 2018-11-05 15:18:47 UTC
fixed in latest downstream build

Comment 2 Lukas Bednar 2018-11-13 11:37:50 UTC
kubevirt-apb-v3.11-4 doesn't have these symptoms - considering that as fixed.

Comment 3 Fabian Deutsch 2018-11-15 12:47:16 UTC
I think this is targeted for 1.3


Note You need to log in before you can comment on or make changes to this bug.