blackducksoftware / synopsys-operator

Archived and moved this to https://github.com/blackducksoftware/synopsysctl
Apache License 2.0
10 stars 14 forks source link

Operator doesn't deploy Hubs #1

Closed tomgonzo closed 5 years ago

tomgonzo commented 6 years ago
➜  kube git:(master) kubectl get all -n hubtest
No resources found.

The startup logs look like this, the error log is in a separate field.

time="2018-11-14T14:08:41Z" level=info msg="Clients: Openshift: false, Kube: false"
time="2018-11-14T14:08:41Z" level=debug msg="config: &{DryRun:false LogLevel:debug Namespace:synopsys-operator Threadiness:5 PostgresRestartInMins:10 NFSPath:/kubenfs HubFederatorConfig:0xc0003d0d80 HubDeletionWaitTimeInSeconds:31557600 OperatorTimeBombInSeconds:315576000}"
time="2018-11-14T14:08:41Z" level=info msg="Starting deployer.  All controllers have been added to horizon."
time="2018-11-14T14:08:41Z" level=info msg="Creating custom defined resource alerts.synopsys.com"
time="2018-11-14T14:08:41Z" level=error msg="unable to create the alert CRD due to CustomResourceDefinition: customresourcedefinitions.apiextensions.k8s.io \"alerts.synopsys.com\" already exists"
time="2018-11-14T14:08:46Z" level=info msg="Initiating controller"
time="2018-11-14T14:08:46Z" level=info msg="Controller cache sync complete"
time="2018-11-14T14:08:46Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:46Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:46Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:46Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:46Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:46Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:46Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:46Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:46Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:46Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:46Z" level=info msg="Creating custom defined resource hubs.synopsys.com"
time="2018-11-14T14:08:46Z" level=info msg="Creating config map federator"
time="2018-11-14T14:08:46Z" level=info msg="Creating secret blackduck-certificate"
time="2018-11-14T14:08:46Z" level=info msg="Creating replication controller federator"
time="2018-11-14T14:08:46Z" level=info msg="Creating service federator-lb"
time="2018-11-14T14:08:46Z" level=info msg="Creating service federator"
time="2018-11-14T14:08:46Z" level=info msg="Creating service federator-np"
time="2018-11-14T14:08:46Z" level=error msg="unable to create the hub federator resources due to CustomResourceDefinition: customresourcedefinitions.apiextensions.k8s.io \"hubs.synopsys.com\" already exists"
[GIN-debug] [WARNING] Now Gin requires Go 1.6 or later and Go 1.7 will be required soon.

[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:   export GIN_MODE=release
 - using code:  gin.SetMode(gin.ReleaseMode)

time="2018-11-14T14:08:51Z" level=debug msg="Ignoring scc privileged for kubernetes cluster"
time="2018-11-14T14:08:51Z" level=debug msg="Ignoring routes for kubernetes cluster"
time="2018-11-14T14:08:51Z" level=info msg="Initiating controller"
time="2018-11-14T14:08:51Z" level=info msg="add hub: opssight"
time="2018-11-14T14:08:51Z" level=info msg="add hub: small-test"
time="2018-11-14T14:08:51Z" level=info msg="Starting controller for hub<->postgres updates... this blocks, so running in a go func."
time="2018-11-14T14:08:51Z" level=debug msg="opssight: Waiting 10 minutes before running repair check."
time="2018-11-14T14:08:51Z" level=debug msg="small-test: Waiting 10 minutes before running repair check."
time="2018-11-14T14:08:51Z" level=info msg="Starting controller for hub<->postgres updates... this blocks, so running in a go func."
time="2018-11-14T14:08:51Z" level=debug msg="dependencyMap: map[default:[opssight small-test]]"
time="2018-11-14T14:08:51Z" level=info msg="running secret controller"
time="2018-11-14T14:08:51Z" level=debug msg="init database hub added event ! &{{Hub synopsys.com/v1} {opssight   /apis/synopsys.com/v1/hubs/opssight cf744b37-e77e-11e8-b563-0273d71b84be 25613 1 2018-11-13 20:00:46 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {opssight OpsSight 5.0.0 empty    No    default      [USE_ALERT:0 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 PUBLIC_HUB_WEBSERVER_HOST:localhost HUB_POSTGRES_USER:blackduck_user SCANNER_CONCURRENCY:1 IPV4_ONLY:0 HUB_POSTGRES_ADMIN:blackduck RABBIT_MQ_HOST:rabbitmq BROKER_USE_SSL:yes CLIENT_CERT_CN:binaryscanner HUB_VERSION:5.0.2 HUB_WEBSERVER_PORT:8443 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr HUB_LOGSTASH_HOST:logstash RABBITMQ_DEFAULT_VHOST:protecodesc RABBIT_MQ_PORT:5671 PUBLIC_HUB_WEBSERVER_PORT:443 USE_BINARY_UPLOADS:0 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_ENABLE_SSL:\"false\" RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} "
time="2018-11-14T14:08:51Z" level=debug msg="init database hub added event ! &{{Hub synopsys.com/v1} {small-test   /apis/synopsys.com/v1/hubs/small-test e7d7df66-e77f-11e8-b563-0273d71b84be 26323 1 2018-11-13 20:08:37 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {small-test Small 5.0.2 empty    No    default      [USE_ALERT:0 CLIENT_CERT_CN:binaryscanner HUB_POSTGRES_ADMIN:blackduck IPV4_ONLY:0 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false RABBIT_MQ_PORT:5671 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 HUB_LOGSTASH_HOST:logstash HUB_POSTGRES_USER:blackduck_user PUBLIC_HUB_WEBSERVER_PORT:443 RABBIT_MQ_HOST:rabbitmq HUB_VERSION:5.0.2 PUBLIC_HUB_WEBSERVER_HOST:localhost SCANNER_CONCURRENCY:1 USE_BINARY_UPLOADS:0 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_WEBSERVER_PORT:8443 RABBITMQ_DEFAULT_VHOST:protecodesc BROKER_USE_SSL:yes HTTPS_VERIFY_CERTS:yes HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_PROXY_NON_PROXY_HOSTS:solr] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} "
time="2018-11-14T14:08:51Z" level=info msg="Creating custom defined resource opssights.synopsys.com"
time="2018-11-14T14:08:51Z" level=debug msg="init database hub added event ! &{{Hub synopsys.com/v1} {opssight   /apis/synopsys.com/v1/hubs/opssight cf744b37-e77e-11e8-b563-0273d71b84be 25613 1 2018-11-13 20:00:46 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {opssight OpsSight 5.0.0 empty    No    default      [USE_ALERT:0 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 PUBLIC_HUB_WEBSERVER_HOST:localhost HUB_POSTGRES_USER:blackduck_user SCANNER_CONCURRENCY:1 IPV4_ONLY:0 HUB_POSTGRES_ADMIN:blackduck RABBIT_MQ_HOST:rabbitmq BROKER_USE_SSL:yes CLIENT_CERT_CN:binaryscanner HUB_VERSION:5.0.2 HUB_WEBSERVER_PORT:8443 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr HUB_LOGSTASH_HOST:logstash RABBITMQ_DEFAULT_VHOST:protecodesc RABBIT_MQ_PORT:5671 PUBLIC_HUB_WEBSERVER_PORT:443 USE_BINARY_UPLOADS:0 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_ENABLE_SSL:\"false\" RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} "
time="2018-11-14T14:08:51Z" level=debug msg="init database hub added event ! &{{Hub synopsys.com/v1} {small-test   /apis/synopsys.com/v1/hubs/small-test e7d7df66-e77f-11e8-b563-0273d71b84be 26323 1 2018-11-13 20:08:37 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {small-test Small 5.0.2 empty    No    default      [USE_ALERT:0 CLIENT_CERT_CN:binaryscanner HUB_POSTGRES_ADMIN:blackduck IPV4_ONLY:0 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false RABBIT_MQ_PORT:5671 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 HUB_LOGSTASH_HOST:logstash HUB_POSTGRES_USER:blackduck_user PUBLIC_HUB_WEBSERVER_PORT:443 RABBIT_MQ_HOST:rabbitmq HUB_VERSION:5.0.2 PUBLIC_HUB_WEBSERVER_HOST:localhost SCANNER_CONCURRENCY:1 USE_BINARY_UPLOADS:0 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_WEBSERVER_PORT:8443 RABBITMQ_DEFAULT_VHOST:protecodesc BROKER_USE_SSL:yes HTTPS_VERIFY_CERTS:yes HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_PROXY_NON_PROXY_HOSTS:solr] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} "
time="2018-11-14T14:08:51Z" level=error msg="unable to create the opssight CRD due to CustomResourceDefinition: customresourcedefinitions.apiextensions.k8s.io \"opssights.synopsys.com\" already exists"
time="2018-11-14T14:08:52Z" level=info msg="Controller cache sync complete"
time="2018-11-14T14:08:52Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:52Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:52Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:52Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:52Z" level=debug msg="ObjectCreated: &{TypeMeta:{Kind:Hub APIVersion:synopsys.com/v1} ObjectMeta:{Name:opssight GenerateName: Namespace: SelfLink:/apis/synopsys.com/v1/hubs/opssight UID:cf744b37-e77e-11e8-b563-0273d71b84be ResourceVersion:25613 Generation:1 CreationTimestamp:2018-11-13 20:00:46 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[] Annotations:map[] OwnerReferences:[] Initializers:nil Finalizers:[] ClusterName:} View:{Clones:map[] StorageClasses:map[] CertificateNames:[] Environs:[] ContainerTags:[]} Spec:{Namespace:opssight Flavor:OpsSight HubVersion:5.0.0 DbPrototype:empty BackupInterval: BackupUnit: PVCStorageClass: BackupSupport:No ScanType: PVCClaimSize: NFSServer: CertificateName:default Certificate: CertificateKey: ProxyCertificate: HubType: State: Environs:[USE_ALERT:0 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 PUBLIC_HUB_WEBSERVER_HOST:localhost HUB_POSTGRES_USER:blackduck_user SCANNER_CONCURRENCY:1 IPV4_ONLY:0 HUB_POSTGRES_ADMIN:blackduck RABBIT_MQ_HOST:rabbitmq BROKER_USE_SSL:yes CLIENT_CERT_CN:binaryscanner HUB_VERSION:5.0.2 HUB_WEBSERVER_PORT:8443 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr HUB_LOGSTASH_HOST:logstash RABBITMQ_DEFAULT_VHOST:protecodesc RABBIT_MQ_PORT:5671 PUBLIC_HUB_WEBSERVER_PORT:443 USE_BINARY_UPLOADS:0 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_ENABLE_SSL:\"false\" RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false] ImageRegistries:[blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] ImageUIDMap:map[]} Status:{State: IP: PVCVolumeName: Fqdn: ErrorMessage:}}"

Then it has a long statement about 'merged hub details' , and then, we get an error (after it thinks the hub was deployed)...

The error then looks like this

time="2018-11-14T14:08:52Z" level=error msg="couldn't update the state of hub object: an empty namespace may not be set when a resource name is provided"

When a failure happens like this, the post install action still occurs.... Which then results in a post-install action immediately happening

time="2018-11-14T14:08:52Z" level=info msg="Done w/ install, starting post-install nanny monitors..."
time="2018-11-14T14:08:52Z" level=info msg="Controller.runWorker: processing next item"
time="2018-11-14T14:08:52Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:52Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:52Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:52Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:52Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:52Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:52Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:52Z" level=debug msg="ObjectCreated: &{TypeMeta:{Kind:Hub APIVersion:synopsys.com/v1} ObjectMeta:{Name:small-test GenerateName: Namespace: SelfLink:/apis/synopsys.com/v1/hubs/small-test UID:e7d7df66-e77f-11e8-b563-0273d71b84be ResourceVersion:26323 Generation:1 CreationTimestamp:2018-11-13 20:08:37 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[] Annotations:map[] OwnerReferences:[] Initializers:nil Finalizers:[] ClusterName:} View:{Clones:map[] StorageClasses:map[] CertificateNames:[] Environs:[] ContainerTags:[]} Spec:{Namespace:small-test Flavor:Small HubVersion:5.0.2 DbPrototype:empty BackupInterval: BackupUnit: PVCStorageClass: BackupSupport:No ScanType: PVCClaimSize: NFSServer: CertificateName:default Certificate: CertificateKey: ProxyCertificate: HubType: State: Environs:[USE_ALERT:0 CLIENT_CERT_CN:binaryscanner HUB_POSTGRES_ADMIN:blackduck IPV4_ONLY:0 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false RABBIT_MQ_PORT:5671 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 HUB_LOGSTASH_HOST:logstash HUB_POSTGRES_USER:blackduck_user PUBLIC_HUB_WEBSERVER_PORT:443 RABBIT_MQ_HOST:rabbitmq HUB_VERSION:5.0.2 PUBLIC_HUB_WEBSERVER_HOST:localhost SCANNER_CONCURRENCY:1 USE_BINARY_UPLOADS:0 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_WEBSERVER_PORT:8443 RABBITMQ_DEFAULT_VHOST:protecodesc BROKER_USE_SSL:yes HTTPS_VERIFY_CERTS:yes HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_PROXY_NON_PROXY_HOSTS:solr] ImageRegistries:[blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] ImageUIDMap:map[]} Status:{State: IP: PVCVolumeName: Fqdn: ErrorMessage:}}"
time="2018-11-14T14:08:52Z" level=debug msg="merged hub details {Namespace:small-test Flavor:Small HubVersion:5.0.2 DbPrototype:empty BackupInterval: BackupUnit: PVCStorageClass: BackupSupport:No ScanType: PVCClaimSize: NFSServer: CertificateName:default Certificate: CertificateKey: ProxyCertificate: HubType:worker State: Environs:[USE_ALERT:0 CLIENT_CERT_CN:binaryscanner HUB_POSTGRES_ADMIN:blackduck IPV4_ONLY:0 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false RABBIT_MQ_PORT:5671 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 HUB_LOGSTASH_HOST:logstash HUB_POSTGRES_USER:blackduck_user PUBLIC_HUB_WEBSERVER_PORT:443 RABBIT_MQ_HOST:rabbitmq HUB_VERSION:5.0.2 PUBLIC_HUB_WEBSERVER_HOST:localhost SCANNER_CONCURRENCY:1 USE_BINARY_UPLOADS:0 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_WEBSERVER_PORT:8443 RABBITMQ_DEFAULT_VHOST:protecodesc BROKER_USE_SSL:yes HTTPS_VERIFY_CERTS:yes HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_PROXY_NON_PROXY_HOSTS:solr] ImageRegistries:[blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] ImageUIDMap:map[]}"
time="2018-11-14T14:08:52Z" level=error msg="couldn't update the state of hub object: an empty namespace may not be set when a resource name is provided"
time="2018-11-14T14:08:52Z" level=info msg="Done w/ install, starting post-install nanny monitors..."
time="2018-11-14T14:08:52Z" level=info msg="Controller.runWorker: processing next item"
time="2018-11-14T14:08:52Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:56Z" level=info msg="Starting controller for hub<->perceptor updates... this blocks, so running in a go func." subsystem=opssight-plugins
time="2018-11-14T14:08:56Z" level=debug msg="Ignoring scc privileged for kubernetes cluster"
time="2018-11-14T14:08:56Z" level=debug msg="configmap updater hub added event! &{{Hub synopsys.com/v1} {opssight   /apis/synopsys.com/v1/hubs/opssight cf744b37-e77e-11e8-b563-0273d71b84be 25613 1 2018-11-13 20:00:46 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {opssight OpsSight 5.0.0 empty    No    default      [USE_ALERT:0 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 PUBLIC_HUB_WEBSERVER_HOST:localhost HUB_POSTGRES_USER:blackduck_user SCANNER_CONCURRENCY:1 IPV4_ONLY:0 HUB_POSTGRES_ADMIN:blackduck RABBIT_MQ_HOST:rabbitmq BROKER_USE_SSL:yes CLIENT_CERT_CN:binaryscanner HUB_VERSION:5.0.2 HUB_WEBSERVER_PORT:8443 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr HUB_LOGSTASH_HOST:logstash RABBITMQ_DEFAULT_VHOST:protecodesc RABBIT_MQ_PORT:5671 PUBLIC_HUB_WEBSERVER_PORT:443 USE_BINARY_UPLOADS:0 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_ENABLE_SSL:\"false\" RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} " subsystem=opssight-plugins
time="2018-11-14T14:08:56Z" level=debug msg="Ignoring routes for kubernetes cluster"
time="2018-11-14T14:08:56Z" level=warning msg="Self timeout is enabled to 87660h0m0s seconds"
time="2018-11-14T14:08:56Z" level=info msg="Initiating controller"
time="2018-11-14T14:08:56Z" level=debug msg="configmap updater hub added event! &{{Hub synopsys.com/v1} {small-test   /apis/synopsys.com/v1/hubs/small-test e7d7df66-e77f-11e8-b563-0273d71b84be 26323 1 2018-11-13 20:08:37 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {small-test Small 5.0.2 empty    No    default      [USE_ALERT:0 CLIENT_CERT_CN:binaryscanner HUB_POSTGRES_ADMIN:blackduck IPV4_ONLY:0 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false RABBIT_MQ_PORT:5671 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 HUB_LOGSTASH_HOST:logstash HUB_POSTGRES_USER:blackduck_user PUBLIC_HUB_WEBSERVER_PORT:443 RABBIT_MQ_HOST:rabbitmq HUB_VERSION:5.0.2 PUBLIC_HUB_WEBSERVER_HOST:localhost SCANNER_CONCURRENCY:1 USE_BINARY_UPLOADS:0 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_WEBSERVER_PORT:8443 RABBITMQ_DEFAULT_VHOST:protecodesc BROKER_USE_SSL:yes HTTPS_VERIFY_CERTS:yes HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_PROXY_NON_PROXY_HOSTS:solr] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} " subsystem=opssight-plugins
time="2018-11-14T14:08:57Z" level=info msg="Controller cache sync complete"
time="2018-11-14T14:08:57Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:57Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:57Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:57Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:57Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:57Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:57Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:57Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:08:57Z" level=debug msg="Controller.runWorker: starting"
time="2018-11-14T14:08:57Z" level=info msg="Controller.processNextItem: start"
time="2018-11-14T14:10:33Z" level=debug msg="configmap updater hub deleted event ! &{{ } {opssight   /apis/synopsys.com/v1/hubs/opssight cf744b37-e77e-11e8-b563-0273d71b84be 123752 1 2018-11-13 20:00:46 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {opssight OpsSight 5.0.0 empty    No    default      [USE_ALERT:0 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 PUBLIC_HUB_WEBSERVER_HOST:localhost HUB_POSTGRES_USER:blackduck_user SCANNER_CONCURRENCY:1 IPV4_ONLY:0 HUB_POSTGRES_ADMIN:blackduck RABBIT_MQ_HOST:rabbitmq BROKER_USE_SSL:yes CLIENT_CERT_CN:binaryscanner HUB_VERSION:5.0.2 HUB_WEBSERVER_PORT:8443 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr HUB_LOGSTASH_HOST:logstash RABBITMQ_DEFAULT_VHOST:protecodesc RABBIT_MQ_PORT:5671 PUBLIC_HUB_WEBSERVER_PORT:443 USE_BINARY_UPLOADS:0 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_ENABLE_SSL:\"false\" RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} " subsystem=opssight-plugins
time="2018-11-14T14:10:33Z" level=debug msg="init database hub deleted event ! &{{ } {opssight   /apis/synopsys.com/v1/hubs/opssight cf744b37-e77e-11e8-b563-0273d71b84be 123752 1 2018-11-13 20:00:46 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {opssight OpsSight 5.0.0 empty    No    default      [USE_ALERT:0 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 PUBLIC_HUB_WEBSERVER_HOST:localhost HUB_POSTGRES_USER:blackduck_user SCANNER_CONCURRENCY:1 IPV4_ONLY:0 HUB_POSTGRES_ADMIN:blackduck RABBIT_MQ_HOST:rabbitmq BROKER_USE_SSL:yes CLIENT_CERT_CN:binaryscanner HUB_VERSION:5.0.2 HUB_WEBSERVER_PORT:8443 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr HUB_LOGSTASH_HOST:logstash RABBITMQ_DEFAULT_VHOST:protecodesc RABBIT_MQ_PORT:5671 PUBLIC_HUB_WEBSERVER_PORT:443 USE_BINARY_UPLOADS:0 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_ENABLE_SSL:\"false\" RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} "
time="2018-11-14T14:10:33Z" level=info msg="stopped hub opssight"
time="2018-11-14T14:10:33Z" level=debug msg="init database hub deleted event ! &{{ } {opssight   /apis/synopsys.com/v1/hubs/opssight cf744b37-e77e-11e8-b563-0273d71b84be 123752 1 2018-11-13 20:00:46 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {opssight OpsSight 5.0.0 empty    No    default      [USE_ALERT:0 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 PUBLIC_HUB_WEBSERVER_HOST:localhost HUB_POSTGRES_USER:blackduck_user SCANNER_CONCURRENCY:1 IPV4_ONLY:0 HUB_POSTGRES_ADMIN:blackduck RABBIT_MQ_HOST:rabbitmq BROKER_USE_SSL:yes CLIENT_CERT_CN:binaryscanner HUB_VERSION:5.0.2 HUB_WEBSERVER_PORT:8443 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr HUB_LOGSTASH_HOST:logstash RABBITMQ_DEFAULT_VHOST:protecodesc RABBIT_MQ_PORT:5671 PUBLIC_HUB_WEBSERVER_PORT:443 USE_BINARY_UPLOADS:0 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_ENABLE_SSL:\"false\" RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} "
time="2018-11-14T14:10:33Z" level=error msg="unable to stop Hub opssight: not found"
time="2018-11-14T14:10:33Z" level=info msg="delete hub: opssight: &{TypeMeta:{Kind: APIVersion:} ObjectMeta:{Name:opssight GenerateName: Namespace: SelfLink:/apis/synopsys.com/v1/hubs/opssight UID:cf744b37-e77e-11e8-b563-0273d71b84be ResourceVersion:123752 Generation:1 CreationTimestamp:2018-11-13 20:00:46 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[] Annotations:map[] OwnerReferences:[] Initializers:nil Finalizers:[] ClusterName:} View:{Clones:map[] StorageClasses:map[] CertificateNames:[] Environs:[] ContainerTags:[]} Spec:{Namespace:opssight Flavor:OpsSight HubVersion:5.0.0 DbPrototype:empty BackupInterval: BackupUnit: PVCStorageClass: BackupSupport:No ScanType: PVCClaimSize: NFSServer: CertificateName:default Certificate: CertificateKey: ProxyCertificate: HubType: State: Environs:[USE_ALERT:0 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 PUBLIC_HUB_WEBSERVER_HOST:localhost HUB_POSTGRES_USER:blackduck_user SCANNER_CONCURRENCY:1 IPV4_ONLY:0 HUB_POSTGRES_ADMIN:blackduck RABBIT_MQ_HOST:rabbitmq BROKER_USE_SSL:yes CLIENT_CERT_CN:binaryscanner HUB_VERSION:5.0.2 HUB_WEBSERVER_PORT:8443 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr HUB_LOGSTASH_HOST:logstash RABBITMQ_DEFAULT_VHOST:protecodesc RABBIT_MQ_PORT:5671 PUBLIC_HUB_WEBSERVER_PORT:443 USE_BINARY_UPLOADS:0 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_ENABLE_SSL:\"false\" RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false] ImageRegistries:[blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] ImageUIDMap:map[]} Status:{State: IP: PVCVolumeName: Fqdn: ErrorMessage:}}"
time="2018-11-14T14:10:33Z" level=debug msg="ObjectDeleted: opssight"
time="2018-11-14T14:10:33Z" level=info msg="Delete hub request opssight, will be careful (31557600)"
time="2018-11-14T14:10:33Z" level=info msg="Waiting 8766h0m0s till we delete !!!"
time="2018-11-14T14:10:35Z" level=info msg="delete hub: small-test: &{TypeMeta:{Kind: APIVersion:} ObjectMeta:{Name:small-test GenerateName: Namespace: SelfLink:/apis/synopsys.com/v1/hubs/small-test UID:e7d7df66-e77f-11e8-b563-0273d71b84be ResourceVersion:123757 Generation:1 CreationTimestamp:2018-11-13 20:08:37 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[] Annotations:map[] OwnerReferences:[] Initializers:nil Finalizers:[] ClusterName:} View:{Clones:map[] StorageClasses:map[] CertificateNames:[] Environs:[] ContainerTags:[]} Spec:{Namespace:small-test Flavor:Small HubVersion:5.0.2 DbPrototype:empty BackupInterval: BackupUnit: PVCStorageClass: BackupSupport:No ScanType: PVCClaimSize: NFSServer: CertificateName:default Certificate: CertificateKey: ProxyCertificate: HubType: State: Environs:[USE_ALERT:0 CLIENT_CERT_CN:binaryscanner HUB_POSTGRES_ADMIN:blackduck IPV4_ONLY:0 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false RABBIT_MQ_PORT:5671 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 HUB_LOGSTASH_HOST:logstash HUB_POSTGRES_USER:blackduck_user PUBLIC_HUB_WEBSERVER_PORT:443 RABBIT_MQ_HOST:rabbitmq HUB_VERSION:5.0.2 PUBLIC_HUB_WEBSERVER_HOST:localhost SCANNER_CONCURRENCY:1 USE_BINARY_UPLOADS:0 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_WEBSERVER_PORT:8443 RABBITMQ_DEFAULT_VHOST:protecodesc BROKER_USE_SSL:yes HTTPS_VERIFY_CERTS:yes HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_PROXY_NON_PROXY_HOSTS:solr] ImageRegistries:[blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] ImageUIDMap:map[]} Status:{State: IP: PVCVolumeName: Fqdn: ErrorMessage:}}"
time="2018-11-14T14:10:35Z" level=debug msg="ObjectDeleted: small-test"
time="2018-11-14T14:10:35Z" level=info msg="Delete hub request small-test, will be careful (31557600)"
time="2018-11-14T14:10:35Z" level=info msg="Waiting 8766h0m0s till we delete !!!"
time="2018-11-14T14:10:35Z" level=debug msg="init database hub deleted event ! &{{ } {small-test   /apis/synopsys.com/v1/hubs/small-test e7d7df66-e77f-11e8-b563-0273d71b84be 123757 1 2018-11-13 20:08:37 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {small-test Small 5.0.2 empty    No    default      [USE_ALERT:0 CLIENT_CERT_CN:binaryscanner HUB_POSTGRES_ADMIN:blackduck IPV4_ONLY:0 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false RABBIT_MQ_PORT:5671 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 HUB_LOGSTASH_HOST:logstash HUB_POSTGRES_USER:blackduck_user PUBLIC_HUB_WEBSERVER_PORT:443 RABBIT_MQ_HOST:rabbitmq HUB_VERSION:5.0.2 PUBLIC_HUB_WEBSERVER_HOST:localhost SCANNER_CONCURRENCY:1 USE_BINARY_UPLOADS:0 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_WEBSERVER_PORT:8443 RABBITMQ_DEFAULT_VHOST:protecodesc BROKER_USE_SSL:yes HTTPS_VERIFY_CERTS:yes HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_PROXY_NON_PROXY_HOSTS:solr] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} "
time="2018-11-14T14:10:35Z" level=info msg="stopped hub small-test"
time="2018-11-14T14:10:35Z" level=debug msg="configmap updater hub deleted event ! &{{ } {small-test   /apis/synopsys.com/v1/hubs/small-test e7d7df66-e77f-11e8-b563-0273d71b84be 123757 1 2018-11-13 20:08:37 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {small-test Small 5.0.2 empty    No    default      [USE_ALERT:0 CLIENT_CERT_CN:binaryscanner HUB_POSTGRES_ADMIN:blackduck IPV4_ONLY:0 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false RABBIT_MQ_PORT:5671 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 HUB_LOGSTASH_HOST:logstash HUB_POSTGRES_USER:blackduck_user PUBLIC_HUB_WEBSERVER_PORT:443 RABBIT_MQ_HOST:rabbitmq HUB_VERSION:5.0.2 PUBLIC_HUB_WEBSERVER_HOST:localhost SCANNER_CONCURRENCY:1 USE_BINARY_UPLOADS:0 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_WEBSERVER_PORT:8443 RABBITMQ_DEFAULT_VHOST:protecodesc BROKER_USE_SSL:yes HTTPS_VERIFY_CERTS:yes HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_PROXY_NON_PROXY_HOSTS:solr] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} " subsystem=opssight-plugins
time="2018-11-14T14:10:35Z" level=debug msg="init database hub deleted event ! &{{ } {small-test   /apis/synopsys.com/v1/hubs/small-test e7d7df66-e77f-11e8-b563-0273d71b84be 123757 1 2018-11-13 20:08:37 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {small-test Small 5.0.2 empty    No    default      [USE_ALERT:0 CLIENT_CERT_CN:binaryscanner HUB_POSTGRES_ADMIN:blackduck IPV4_ONLY:0 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false RABBIT_MQ_PORT:5671 BROKER_URL:amqps://rabbitmq/protecodesc CFSSL:cfssl:8888 HUB_LOGSTASH_HOST:logstash HUB_POSTGRES_USER:blackduck_user PUBLIC_HUB_WEBSERVER_PORT:443 RABBIT_MQ_HOST:rabbitmq HUB_VERSION:5.0.2 PUBLIC_HUB_WEBSERVER_HOST:localhost SCANNER_CONCURRENCY:1 USE_BINARY_UPLOADS:0 BLACKDUCK_REPORT_IGNORED_COMPONENTS:false DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_WEBSERVER_PORT:8443 RABBITMQ_DEFAULT_VHOST:protecodesc BROKER_USE_SSL:yes HTTPS_VERIFY_CERTS:yes HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_PROXY_NON_PROXY_HOSTS:solr] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} "
time="2018-11-14T14:10:35Z" level=error msg="unable to stop Hub small-test: not found"
time="2018-11-14T14:12:08Z" level=info msg="add hub: hubtest"
time="2018-11-14T14:12:08Z" level=debug msg="init database hub added event ! &{{ } {hubtest   /apis/synopsys.com/v1/hubs/hubtest 4587ed19-e817-11e8-b584-06a00fed9f0c 123899 1 2018-11-14 14:12:08 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {hubtest Small 5.0.2 empty    No    default      [BLACKDUCK_REPORT_IGNORED_COMPONENTS:false CLIENT_CERT_CN:binaryscanner USE_BINARY_UPLOADS:0 HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_VERSION:5.0.2 BROKER_URL:amqps://rabbitmq/protecodesc HUB_LOGSTASH_HOST:logstash IPV4_ONLY:0 CFSSL:cfssl:8888 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_USER:blackduck_user RABBITMQ_DEFAULT_VHOST:protecodesc PUBLIC_HUB_WEBSERVER_HOST:localhost USE_ALERT:0 BROKER_USE_SSL:yes PUBLIC_HUB_WEBSERVER_PORT:443 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false HUB_POSTGRES_ADMIN:blackduck HUB_WEBSERVER_PORT:8443 RABBIT_MQ_HOST:rabbitmq RABBIT_MQ_PORT:5671 SCANNER_CONCURRENCY:1 HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} "
time="2018-11-14T14:12:08Z" level=debug msg="configmap updater hub added event! &{{ } {hubtest   /apis/synopsys.com/v1/hubs/hubtest 4587ed19-e817-11e8-b584-06a00fed9f0c 123899 1 2018-11-14 14:12:08 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {hubtest Small 5.0.2 empty    No    default      [BLACKDUCK_REPORT_IGNORED_COMPONENTS:false CLIENT_CERT_CN:binaryscanner USE_BINARY_UPLOADS:0 HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_VERSION:5.0.2 BROKER_URL:amqps://rabbitmq/protecodesc HUB_LOGSTASH_HOST:logstash IPV4_ONLY:0 CFSSL:cfssl:8888 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_USER:blackduck_user RABBITMQ_DEFAULT_VHOST:protecodesc PUBLIC_HUB_WEBSERVER_HOST:localhost USE_ALERT:0 BROKER_USE_SSL:yes PUBLIC_HUB_WEBSERVER_PORT:443 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false HUB_POSTGRES_ADMIN:blackduck HUB_WEBSERVER_PORT:8443 RABBIT_MQ_HOST:rabbitmq RABBIT_MQ_PORT:5671 SCANNER_CONCURRENCY:1 HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} " subsystem=opssight-plugins
time="2018-11-14T14:12:08Z" level=debug msg="ObjectCreated: &{TypeMeta:{Kind: APIVersion:} ObjectMeta:{Name:hubtest GenerateName: Namespace: SelfLink:/apis/synopsys.com/v1/hubs/hubtest UID:4587ed19-e817-11e8-b584-06a00fed9f0c ResourceVersion:123899 Generation:1 CreationTimestamp:2018-11-14 14:12:08 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[] Annotations:map[] OwnerReferences:[] Initializers:nil Finalizers:[] ClusterName:} View:{Clones:map[] StorageClasses:map[] CertificateNames:[] Environs:[] ContainerTags:[]} Spec:{Namespace:hubtest Flavor:Small HubVersion:5.0.2 DbPrototype:empty BackupInterval: BackupUnit: PVCStorageClass: BackupSupport:No ScanType: PVCClaimSize: NFSServer: CertificateName:default Certificate: CertificateKey: ProxyCertificate: HubType: State: Environs:[BLACKDUCK_REPORT_IGNORED_COMPONENTS:false CLIENT_CERT_CN:binaryscanner USE_BINARY_UPLOADS:0 HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_VERSION:5.0.2 BROKER_URL:amqps://rabbitmq/protecodesc HUB_LOGSTASH_HOST:logstash IPV4_ONLY:0 CFSSL:cfssl:8888 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_USER:blackduck_user RABBITMQ_DEFAULT_VHOST:protecodesc PUBLIC_HUB_WEBSERVER_HOST:localhost USE_ALERT:0 BROKER_USE_SSL:yes PUBLIC_HUB_WEBSERVER_PORT:443 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false HUB_POSTGRES_ADMIN:blackduck HUB_WEBSERVER_PORT:8443 RABBIT_MQ_HOST:rabbitmq RABBIT_MQ_PORT:5671 SCANNER_CONCURRENCY:1 HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr] ImageRegistries:[blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] ImageUIDMap:map[]} Status:{State: IP: PVCVolumeName: Fqdn: ErrorMessage:}}"
time="2018-11-14T14:12:08Z" level=debug msg="merged hub details {Namespace:hubtest Flavor:Small HubVersion:5.0.2 DbPrototype:empty BackupInterval: BackupUnit: PVCStorageClass: BackupSupport:No ScanType: PVCClaimSize: NFSServer: CertificateName:default Certificate: CertificateKey: ProxyCertificate: HubType:worker State: Environs:[BLACKDUCK_REPORT_IGNORED_COMPONENTS:false CLIENT_CERT_CN:binaryscanner USE_BINARY_UPLOADS:0 HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_VERSION:5.0.2 BROKER_URL:amqps://rabbitmq/protecodesc HUB_LOGSTASH_HOST:logstash IPV4_ONLY:0 CFSSL:cfssl:8888 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_USER:blackduck_user RABBITMQ_DEFAULT_VHOST:protecodesc PUBLIC_HUB_WEBSERVER_HOST:localhost USE_ALERT:0 BROKER_USE_SSL:yes PUBLIC_HUB_WEBSERVER_PORT:443 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false HUB_POSTGRES_ADMIN:blackduck HUB_WEBSERVER_PORT:8443 RABBIT_MQ_HOST:rabbitmq RABBIT_MQ_PORT:5671 SCANNER_CONCURRENCY:1 HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr] ImageRegistries:[blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] ImageUIDMap:map[]}"
time="2018-11-14T14:12:08Z" level=debug msg="init database hub added event ! &{{ } {hubtest   /apis/synopsys.com/v1/hubs/hubtest 4587ed19-e817-11e8-b584-06a00fed9f0c 123899 1 2018-11-14 14:12:08 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {map[] map[] [] [] []} {hubtest Small 5.0.2 empty    No    default      [BLACKDUCK_REPORT_IGNORED_COMPONENTS:false CLIENT_CERT_CN:binaryscanner USE_BINARY_UPLOADS:0 HUB_POSTGRES_ENABLE_SSL:\"false\" HUB_VERSION:5.0.2 BROKER_URL:amqps://rabbitmq/protecodesc HUB_LOGSTASH_HOST:logstash IPV4_ONLY:0 CFSSL:cfssl:8888 DISABLE_HUB_DASHBOARD:#hub-webserver.env HUB_POSTGRES_USER:blackduck_user RABBITMQ_DEFAULT_VHOST:protecodesc PUBLIC_HUB_WEBSERVER_HOST:localhost USE_ALERT:0 BROKER_USE_SSL:yes PUBLIC_HUB_WEBSERVER_PORT:443 RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT:false HUB_POSTGRES_ADMIN:blackduck HUB_WEBSERVER_PORT:8443 RABBIT_MQ_HOST:rabbitmq RABBIT_MQ_PORT:5671 SCANNER_CONCURRENCY:1 HTTPS_VERIFY_CERTS:yes HUB_PROXY_NON_PROXY_HOSTS:solr] [blackducksoftware/appcheck-worker:1.0.1 blackducksoftware/blackduck-upload-cache:1.0.2 blackducksoftware/hub-authentication:5.0.2 blackducksoftware/hub-cfssl:5.0.2 blackducksoftware/hub-documentation:5.0.2 blackducksoftware/hub-jobrunner:5.0.2 blackducksoftware/hub-logstash:5.0.2 blackducksoftware/hub-nginx:5.0.2 blackducksoftware/hub-postgres:5.0.2 blackducksoftware/hub-registration:5.0.2 blackducksoftware/hub-scan:5.0.2 blackducksoftware/hub-solr:5.0.2 blackducksoftware/hub-webapp:5.0.2 blackducksoftware/hub-zookeeper:5.0.2 blackducksoftware/rabbitmq:1.0.0] map[]} {    }} "
time="2018-11-14T14:12:08Z" level=error msg="couldn't update the state of hub object: an empty namespace may not be set when a resource name is provided"
time="2018-11-14T14:12:08Z" level=info msg="Done w/ install, starting post-install nanny monitors..."
time="2018-11-14T14:12:08Z" level=info msg="Controller.runWorker: processing next item"
time="2018-11-14T14:12:08Z" level=info msg="Controller.processNextItem: start"
msenmurugan commented 5 years ago

Fixed the issue