Code Monkey home page Code Monkey logo

Comments (13)

rthallisey avatar rthallisey commented on July 23, 2024

@djzager can you have a look?

from hyperconverged-cluster-operator.

rthallisey avatar rthallisey commented on July 23, 2024

Maybe the CRD isn't being added to the scheme? https://github.com/kubevirt/hyperconverged-cluster-operator/blob/master/cmd/hyperconverged-cluster-operator/main.go#L108

from hyperconverged-cluster-operator.

ffromani avatar ffromani commented on July 23, 2024

Maybe the CRD isn't being added to the scheme? https://github.com/kubevirt/hyperconverged-cluster-operator/blob/master/cmd/hyperconverged-cluster-operator/main.go#L108

That CRD is supposed to be part of the scheme. Could be a bug on the ssp-operator side, investigating.

from hyperconverged-cluster-operator.

ffromani avatar ffromani commented on July 23, 2024

SSP-operator side looks OK: https://github.com/MarSik/kubevirt-ssp-operator/blob/master/pkg/apis/kubevirt/v1/types.go#L84

from hyperconverged-cluster-operator.

ffromani avatar ffromani commented on July 23, 2024

I am facing issue while deploying HCO,

Hi, which method did you followed to deploy HCO? On which platform? (e.g. ocp 3.11, okd 4.1.0...)

from hyperconverged-cluster-operator.

maveric-tellrv avatar maveric-tellrv commented on July 23, 2024

@fronmainirh:
OCP Cluster installation method via dev-scripts:
https://github.com/openshift-metal3/dev-scripts

Cluster version  
 4.2.0-0.ci-2019-07-31-123929-kni.0  
Deploy HCO scripts :https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/deploy.sh
Modified : kubectl -> oc 

from hyperconverged-cluster-operator.

maveric-tellrv avatar maveric-tellrv commented on July 23, 2024

@fromanirh ^^

from hyperconverged-cluster-operator.

ffromani avatar ffromani commented on July 23, 2024

https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/deploy.sh

Weird, I used the same deploy.sh script and it works provided I apply #210 (merged now)
It's weird because https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/crds/metrics-aggregation.crd.yaml _does deploy` the metrics aggregation CRD.

from hyperconverged-cluster-operator.

rthallisey avatar rthallisey commented on July 23, 2024

@maveric-tellrv can you paste the logs from the script's execution?

from hyperconverged-cluster-operator.

maveric-tellrv avatar maveric-tellrv commented on July 23, 2024

@rthallisey
Logs for the script execution :

+ oc create ns kubevirt-hyperconverged
namespace/kubevirt-hyperconverged created
++ oc config current-context
+ oc config set-context admin --namespace=kubevirt-hyperconverged
Context "admin" modified.
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/crds/hco.crd.yaml
customresourcedefinition.apiextensions.k8s.io/hyperconvergeds.hco.kubevirt.io created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/crds/kubevirt.crd.yaml
customresourcedefinition.apiextensions.k8s.io/kubevirts.kubevirt.io created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/crds/cdi.crd.yaml
customresourcedefinition.apiextensions.k8s.io/cdis.cdi.kubevirt.io created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/crds/cna.crd.yaml
customresourcedefinition.apiextensions.k8s.io/networkaddonsconfigs.networkaddonsoperator.network.kubevirt.io created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/crds/common-template-bundles.crd.yaml
customresourcedefinition.apiextensions.k8s.io/kubevirtcommontemplatesbundles.kubevirt.io created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/crds/node-labeller-bundles.crd.yaml
customresourcedefinition.apiextensions.k8s.io/kubevirtnodelabellerbundles.kubevirt.io created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/crds/template-validator.crd.yaml
customresourcedefinition.apiextensions.k8s.io/kubevirttemplatevalidators.kubevirt.io created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/crds/nodemaintenance.crd.yaml
customresourcedefinition.apiextensions.k8s.io/nodemaintenances.kubevirt.io created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/cluster_role.yaml
clusterrole.rbac.authorization.k8s.io/hyperconverged-cluster-operator created
clusterrole.rbac.authorization.k8s.io/kubevirt-operator created
clusterrole.rbac.authorization.k8s.io/cdi-operator-cluster created
clusterrole.rbac.authorization.k8s.io/cluster-network-addons-operator created
clusterrole.rbac.authorization.k8s.io/kubevirt-ssp-operator created
clusterrole.rbac.authorization.k8s.io/node-maintenance-operator created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/service_account.yaml
serviceaccount/hyperconverged-cluster-operator created
serviceaccount/cdi-operator created
serviceaccount/kubevirt-operator created
serviceaccount/cluster-network-addons-operator created
serviceaccount/kubevirt-ssp-operator created
serviceaccount/node-maintenance-operator created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/cluster_role_binding.yaml
clusterrolebinding.rbac.authorization.k8s.io/hyperconverged-cluster-operator created
clusterrolebinding.rbac.authorization.k8s.io/kubevirt-operator created
clusterrolebinding.rbac.authorization.k8s.io/cdi-operator created
clusterrolebinding.rbac.authorization.k8s.io/cdi-operator-admin created
clusterrolebinding.rbac.authorization.k8s.io/cluster-network-addons-operator created
clusterrolebinding.rbac.authorization.k8s.io/cluster-network-addons-operator-admin created
clusterrolebinding.rbac.authorization.k8s.io/kubevirt-ssp-operator created
clusterrolebinding.rbac.authorization.k8s.io/node-maintenance-operator created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/operator.yaml
deployment.apps/hyperconverged-cluster-operator created
deployment.apps/virt-operator created
deployment.apps/cdi-operator created
deployment.apps/cluster-network-addons-operator created
deployment.apps/kubevirt-ssp-operator created
deployment.apps/node-maintenance-operator created
+ oc create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/hco.cr.yaml
hyperconverged.hco.kubevirt.io/hyperconverged-cluster created

from hyperconverged-cluster-operator.

maveric-tellrv avatar maveric-tellrv commented on July 23, 2024

my bad my script was missing this line :
kubectl create -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/crds/metrics-aggregation.crd.yaml

I will retry and update the status here :

from hyperconverged-cluster-operator.

rthallisey avatar rthallisey commented on July 23, 2024

@maveric-tellrv are you executing with curl https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/master/deploy/deploy.sh | bash or are you carrying a local copy? Recommend always curling the latest script to avoid it getting out of date.

from hyperconverged-cluster-operator.

rthallisey avatar rthallisey commented on July 23, 2024

This should either be fixed by updating the script or by using HCO with #210

from hyperconverged-cluster-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.