VMware Cloud Community
Grzesiekk
Expert
Expert
Jump to solution

Issue with installing vRO 8.0.1

Hello all,

has anyone had similar issues/knows how to fix the issue ? I want to try out the new orchestrator, i have a tiny lab 2 hosts + 1 vcenter 6.7.

I am deploying vRO via ova, answered all the questions, used fqdn, right ip/dns/mask etc, i can login to vRO machine, it can resolve via name/ip vc/esx/vro.

If i open the vRO website i get: 'bad gateway', when i login to the vro box itself i see that vco container is not running, any idea how to go from here?

Installed from O11N_VA-8.0.1.7355-15296158_OVF10.ova  i  installed it from extracted ova as well, same result.

x1.png

appliance console look:

x2.png

dns

x3.png

x4.png

containers:

root@vro [ ~ ]# kubectl get pods --all-namespaces

NAMESPACE     NAME                                         READY   STATUS                  RESTARTS   AGE

ingress       ingress-ctl-traefik-67cc495d5c-rkhnj         1/1     Running                 1          16h

kube-system   coredns-6922m                                1/1     Running                 1          16h

kube-system   endpoints-weight-dddmx                       1/1     Running                 1          16h

kube-system   etcd-vro.infralab.local                      1/1     Running                 1          16h

kube-system   health-reporting-app-7hg2m                   1/1     Running                 1          16h

kube-system   kube-apiserver-vro.infralab.local            1/1     Running                 1          16h

kube-system   kube-controller-manager-vro.infralab.local   1/1     Running                 1          16h

kube-system   kube-flannel-ds-f2957                        2/2     Running                 2          16h

kube-system   kube-proxy-gbbmg                             1/1     Running                 1          16h

kube-system   kube-scheduler-vro.infralab.local            1/1     Running                 1          16h

kube-system   kubelet-rubber-stamp-z9sh6                   1/1     Running                 1          16h

kube-system   metrics-server-cms97                         1/1     Running                 1          16h

kube-system   predictable-pod-scheduler-lz9k5              1/1     Running                 1          16h

kube-system   prelude-noop-extnet-ds-mkm6s                 1/1     Running                 1          16h

kube-system   prelude-noop-intnet-ds-zdnn4                 2/2     Running                 2          16h

kube-system   state-enforcement-cron-1584085320-wkf2k      0/1     Completed               0          3m24s

kube-system   state-enforcement-cron-1584085440-22zbr      0/1     Error                   0          51s

kube-system   state-enforcement-cron-1584085440-crqws      0/1     Error                   0          81s

kube-system   state-enforcement-cron-1584085440-hxr2v      0/1     Error                   0          11s

kube-system   state-enforcement-cron-1584085440-llmjt      0/1     Error                   0          84s

kube-system   state-enforcement-cron-1584085440-wjq8p      0/1     Error                   0          71s

kube-system   tiller-deploy-89fdbcb48-m7kl7                1/1     Running                 1          16h

prelude       orchestration-ui-app-86947f69d-vk9x8         1/1     Running                 1          16h

prelude       pgpool-5f5c55b9bd-7qwgt                      1/1     Running                 2          16h

prelude       postgres-0                                   1/1     Running                 1          16h

prelude       proxy-service-dlxcx                          1/1     Running                 1          16h

prelude       symphony-logging-daemonset-s75l5             1/1     Running                 1          16h

prelude       vco-app-778f85f7bc-qttcx                     0/2     Init:CrashLoopBackOff   4          15h

vro website

x5.png

All i did is just deploy from ova nothing more. i also did the same thing at different environment but i deployed it to VC 6.0 and it worked there, i don't see any reason why it should not work deployed to 6.7 build 10244857

i have completely now i idea how to troubleshoot it, i found /var/log/containers and i can correlate those logs to containers name

the containers that are in failed state last lines of logs

tail -n 50 vco-app-778f85f7bc-qttcx_prelude_install-rpms-511f56c3931d4fdd22b1a7bb32ec0b4241899e70a720e873cce0c3c4a4227904.log

{"log":"vco-cfg-cli-8.0.1.1576058314-15282010 ########################################\n","stream":"stdout","time":"2020-03-13T07:49:51.433780448Z"}

{"log":"warning: user vco does not exist - using root\n","stream":"stderr","time":"2020-03-13T07:49:51.434921086Z"}

{"log":"warning: group vco does not exist - using root\n","stream":"stderr","time":"2020-03-13T07:49:51.434955111Z"}

{"log":"warning: user vco does not exist - using root\n","stream":"stderr","time":"2020-03-13T07:49:51.436257558Z"}

{"log":"warning: group vco does not exist - using root\n","stream":"stderr","time":"2020-03-13T07:49:51.436284833Z"}

{"log":"warning: user vco does not exist - using root\n","stream":"stderr","time":"2020-03-13T07:49:51.436759513Z"}

{"log":"warning: group vco does not exist - using root\n","stream":"stderr","time":"2020-03-13T07:49:51.436801222Z"}

{"log":"warning: user vco does not exist - using root\n","stream":"stderr","time":"2020-03-13T07:49:51.437533823Z"}

{"log":"warning: group vco does not exist - using root\n","stream":"stderr","time":"2020-03-13T07:49:51.437580895Z"}

{"log":"/init_run.sh: line 126: /usr/lib/vco/app-server/bin/vco-reset-keystore-password.sh: No such file or directory\n","stream":"stderr","time":"2020-03-13T07:49:52.318109806Z"}

{"log":"Missing /usr/lib/vco/keystore.password file. Falling back to default value for keystore password...\n","stream":"stdout","time":"2020-03-13T07:49:52.375283518Z"}

{"log":"Orchestrator's root folder: /usr/lib/vco\n","stream":"stdout","time":"2020-03-13T07:49:52.797000465Z"}

{"log":"Orchestrator Configuration Tool. Version: 8.0.1.15282010 Build: 15282010\n","stream":"stdout","time":"2020-03-13T07:49:52.799879067Z"}

{"log":"\n","stream":"stdout","time":"2020-03-13T07:49:52.799898621Z"}

{"log":"Can not read the Orchestrator pid from /usr/lib/vco/app-server/logs/tomcat.pid\n","stream":"stderr","time":"2020-03-13T07:49:52.833717508Z"}

{"log":"Start configuring database settings.\n","stream":"stdout","time":"2020-03-13T07:49:53.405862003Z"}

{"log":"2020-03-13 07:49:53,507 [INFO] File not found: /usr/lib/vco/app-server/conf/vmo.properties. Return empty byte array.\n","stream":"stdout","time":"2020-03-13T07:49:53.508271318Z"}

{"log":"2020-03-13 07:49:53,524 [INFO] File not found: /usr/lib/vco/app-server/conf/security/passwordencryptor.key. Return empty byte array.\n","stream":"stdout","time":"2020-03-13T07:49:53.524189158Z"}

{"log":"Property source file is missing and failed to create it. File: '/usr/lib/vco/app-server/conf/vmo.properties'\n","stream":"stdout","time":"2020-03-13T07:49:53.53281343Z"}

{"log":"java.lang.RuntimeException: Property source file is missing and failed to create it. File: '/usr/lib/vco/app-server/conf/vmo.properties'\n","stream":"stdout","time":"2020-03-13T07:49:53.532829392Z"}

{"log":"\u0009at com.vmware.o11n.settings.impl.PropFileSettingsSource.assureSourceExist(PropFileSettingsSource.java:291) ~[o11n-settings-8.0.1.jar:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.532832378Z"}

{"log":"\u0009at com.vmware.o11n.settings.impl.PropFileSettingsSource.save(PropFileSettingsSource.java:270) ~[o11n-settings-8.0.1.jar:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.532834827Z"}

{"log":"\u0009at com.vmware.o11n.settings.impl.PropFileSettingsSource.put(PropFileSettingsSource.java:108) ~[o11n-settings-8.0.1.jar:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.532837Z"}

{"log":"\u0009at com.vmware.o11n.settings.proxies.SettingsInvocationHandler.invoke(SettingsInvocationHandler.java:107) ~[o11n-app-settings-8.0.1.jar:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.53283928Z"}

{"log":"\u0009at com.sun.proxy.$Proxy28.setDriverClassname(Unknown Source) ~[?:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.532841536Z"}

{"log":"\u0009at com.vmware.o11n.cli.configuration.commands.db.DbCommand.persistSettings(DbCommand.java:119) ~[o11n-commandline-configuration-8.0.1.jar:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.532843651Z"}

{"log":"\u0009at com.vmware.o11n.cli.configuration.commands.db.DbCommand.execute(DbCommand.java:91) ~[o11n-commandline-configuration-8.0.1.jar:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.5328458Z"}

{"log":"\u0009at com.vmware.o11n.cli.configuration.commands.ConfigurationCommand.executeCmd(ConfigurationCommand.java:120) ~[o11n-commandline-configuration-8.0.1.jar:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.532848058Z"}

{"log":"\u0009at com.vmware.o11n.cli.configuration.ConfigurationCli.executeCommand(ConfigurationCli.java:122) [o11n-commandline-configuration-8.0.1.jar:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.532864747Z"}

{"log":"\u0009at com.vmware.o11n.cli.configuration.ConfigurationCli.main(ConfigurationCli.java:98) [o11n-commandline-configuration-8.0.1.jar:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.532867321Z"}

{"log":"Caused by: java.io.IOException: No such file or directory\n","stream":"stdout","time":"2020-03-13T07:49:53.532869554Z"}

{"log":"\u0009at java.io.UnixFileSystem.createFileExclusively(Native Method) ~[?:1.8.0-internal]\n","stream":"stdout","time":"2020-03-13T07:49:53.532871663Z"}

{"log":"\u0009at java.io.File.createNewFile(File.java:1012) ~[?:1.8.0-internal]\n","stream":"stdout","time":"2020-03-13T07:49:53.532873766Z"}

{"log":"\u0009at com.vmware.o11n.settings.impl.PropFileSettingsSource.assureSourceExist(PropFileSettingsSource.java:289) ~[o11n-settings-8.0.1.jar:?]\n","stream":"stdout","time":"2020-03-13T07:49:53.532875827Z"}

{"log":"\u0009... 9 more\n","stream":"stdout","time":"2020-03-13T07:49:53.532878036Z"}

{"log":"ERROR: Unable to configure database.\n","stream":"stdout","time":"2020-03-13T07:49:53.537741992Z"}

root@vro [ /var/log/containers ]# tail -n 50 vco-app-778f85f7bc-qttcx_prelude_vco-dependencies-48347f5b45ead243fa473ccab44c786ec184ccb191a4640b9434fdba29c1dad8.log

{"log":"2020/03/13 07:37:32 Loading dependencies from /dependencies/init-dependencies.yaml\n","stream":"stderr","time":"2020-03-13T07:37:32.029703426Z"}

{"log":"2020/03/13 07:37:32 Loading k8s config\n","stream":"stderr","time":"2020-03-13T07:37:32.029768005Z"}

{"log":"2020/03/13 07:37:32 Creading k8s clientset\n","stream":"stderr","time":"2020-03-13T07:37:32.029893689Z"}

{"log":"2020/03/13 07:37:32 Reading current namespace\n","stream":"stderr","time":"2020-03-13T07:37:32.030813647Z"}

{"log":"2020/03/13 07:37:32 Running in namespace prelude\n","stream":"stderr","time":"2020-03-13T07:37:32.030834968Z"}

{"log":"2020/03/13 07:37:32 Running checks\n","stream":"stderr","time":"2020-03-13T07:37:32.030839661Z"}

root@vro [ /var/log/containers ]# kubectl get ingress -A

NAMESPACE   NAME                HOSTS                ADDRESS   PORTS   AGE

prelude     orchestration-ui    vro.infralab.local             80      16h

prelude     vco                 vro.infralab.local             80      16h

prelude     vco-controlcenter   vro.infralab.local             80      16h

root@vro [ /var/log/containers ]# kubectl get deploy vco-app -n prelude

NAME      READY   UP-TO-DATE   AVAILABLE   AGE

vco-app   0/1     1            0           16h

root@vro [ /var/log/containers ]# kubectl describe deploy vco-app -n prelude

Name:               vco-app

Namespace:          prelude

CreationTimestamp:  Thu, 12 Mar 2020 16:01:30 +0000

Labels:             <none>

Annotations:        deployment.kubernetes.io/revision: 1

Selector:           app=vco-app,environment=new,product=prelude

Replicas:           1 desired | 1 updated | 1 total | 0 available | 1 unavailable

StrategyType:       Recreate

MinReadySeconds:    0

Pod Template:

  Labels:  app=vco-app

           environment=new

           product=prelude

  Init Containers:

   vco-dependencies:

    Image:      vco_private:latest

    Port:       <none>

    Host Port:  <none>

    Command:

      /dependencies/depcheck

      -depconfig

      /dependencies/init-dependencies.yaml

      -backoff

      5s

      -runcount

      0

    Environment:  <none>

    Mounts:

      /dependencies/depcheck from depcheck (ro)

      /dependencies/init-dependencies.yaml from dependencies (ro,path="init-dependencies.yaml")

   install-rpms:

    Image:      vco_private:latest

    Port:       <none>

    Host Port:  <none>

    Command:

      /bin/bash

      -c

      /init_run.sh

    Environment:

      JAVA_PROXY_SCHEME:     <set to the key 'internet.proxy.scheme' in secret 'internet.proxy.scheme'>                          Optional: false

      JAVA_PROXY_HOST:       <set to the key 'internet.proxy.host' in secret 'internet.proxy.host'>                              Optional: false

      JAVA_PROXY_PORT:       <set to the key 'internet.proxy.port' in secret 'internet.proxy.port'>                              Optional: false

      JAVA_PROXY_NON_PROXY:  <set to the key 'internet.proxy.java-proxy-exclude' in secret 'internet.proxy.java-proxy-exclude'>  Optional: false

      SAAS_ENABLED:          false

      VCO_INSTALL_DIR:       /usr/lib/vco

      PG_HOST:               pgpool

      PG_PORT:               5432

      PG_USER:               vco-db

      PG_PASSWORD:           <set to the key 'vco-db' in secret 'db-credentials'>  Optional: false

      PG_DATABASE:           vco-db

      KS_PASSWORD:           dunesdunes

      AUTH_PROVIDER:         basic

      HOST_URL:              https://vro.infralab.local

    Mounts:

      /run/external-certs from extcert-secret (ro)

      /usr/lib/vco from vco-vol (rw)

  Containers:

   vco-server-app:

    Image:      vco_private:latest

    Port:       8280/TCP

    Host Port:  0/TCP

    Command:

      /bin/bash

      -c

      ./create_server_symlinks && /var/opt/apache-tomcat/bin/catalina.sh run

    Limits:

      memory:  4G

    Requests:

      memory:   3G

    Liveness:   exec [/usr/bin/bash -c if [[ -f /usr/lib/vco/app-server/conf/restart_required ]]; then rm /usr/lib/vco/app-server/conf/restart_required; kill `pgrep java`; exit 0; fi; /usr/bin/bash -c 'cat < /dev/null > /dev/tcp/127.0.0.1/8280';] delay=180s timeout=10s period=30s #success=1 #failure=10

    Readiness:  http-get http://:8280/vco/api/healthstatus delay=20s timeout=10s period=5s #success=1 #failure=10

    Environment:

      JAVA_PROXY_SCHEME:     <set to the key 'internet.proxy.scheme' in secret 'internet.proxy.scheme'>                          Optional: false

      JAVA_PROXY_HOST:       <set to the key 'internet.proxy.host' in secret 'internet.proxy.host'>                              Optional: false

      JAVA_PROXY_PORT:       <set to the key 'internet.proxy.port' in secret 'internet.proxy.port'>                              Optional: false

      JAVA_PROXY_NON_PROXY:  <set to the key 'internet.proxy.java-proxy-exclude' in secret 'internet.proxy.java-proxy-exclude'>  Optional: false

      CATALINA_BASE:         /usr/lib/vco/app-server

      KS_PASSWORD:           dunesdunes

      JVM_OPTS:               -Dvco.db.max-keep-alive-time=0 -Dvco.app.hostname=vro.infralab.local -Dhttps.proxyHost=$JAVA_PROXY_HOST -Dhttp.proxyHost=$JAVA_PROXY_HOST -Dhttps.proxyPort=$JAVA_PROXY_PORT -Dhttp.proxyPort=$JAVA_PROXY_PORT -Dhttp.nonProxyHosts=$JAVA_PROXY_NON_PROXY -Dvco.app.server.internal.port=8280 -Djava.security.krb5.conf=/usr/lib/vco/app-server/conf/krb5.conf

      http_proxy:            $JAVA_PROXY_SCHEME://$JAVA_PROXY_HOST:$JAVA_PROXY_PORT

    Mounts:

      /usr/lib/vco from vco-vol (rw)

      /var/run/vco from vco-scripting (rw)

   vco-controlcenter-app:

    Image:      vco_private:latest

    Port:       8282/TCP

    Host Port:  0/TCP

    Command:

      /bin/bash

      -c

      ./create_controlcenter_symlinks && /var/opt/apache-tomcat/bin/catalina.sh run

    Liveness:   http-get http://:8282/vco-controlcenter/api/server/about delay=90s timeout=5s period=10s #success=1 #failure=5

    Readiness:  http-get http://:8282/vco-controlcenter/api/server/about delay=20s timeout=5s period=10s #success=1 #failure=3

    Environment:

      JAVA_PROXY_SCHEME:       <set to the key 'internet.proxy.scheme' in secret 'internet.proxy.scheme'>                          Optional: false

      JAVA_PROXY_HOST:         <set to the key 'internet.proxy.host' in secret 'internet.proxy.host'>                              Optional: false

      JAVA_PROXY_PORT:         <set to the key 'internet.proxy.port' in secret 'internet.proxy.port'>                              Optional: false

      JAVA_PROXY_NON_PROXY:    <set to the key 'internet.proxy.java-proxy-exclude' in secret 'internet.proxy.java-proxy-exclude'>  Optional: false

      TELEMETRY_ENDPOINT_ENV:  <set to the key 'endpointEnv' of config map 'telemetry-config'>                                     Optional: false

      ENABLE_TELEMETRY:        false

      CATALINA_BASE:           /usr/lib/vco/configuration

      KS_PASSWORD:             dunesdunes

      JVM_OPTS:                 -Dhttps.proxyHost=$JAVA_PROXY_HOST -Dhttp.proxyHost=$JAVA_PROXY_HOST -Dhttps.proxyPort=$JAVA_PROXY_PORT -Dhttp.proxyPort=$JAVA_PROXY_PORT -Dhttp.nonProxyHosts=$JAVA_PROXY_NON_PROXY -Dvco.db.max-keep-alive-time=0 -Dvco.app.hostname=vro.infralab.local -Dvco.app.controlcenter.internal.port=8282 -Dvco.app.server.internal.port=8280

    Mounts:

      /usr/lib/vco from vco-vol (rw)

      /usr/lib/vco/configuration/conf/users.properties from vco-controlcenter-user-vol (rw,path="users.properties")

  Volumes:

   vco-vol:

    Type:          HostPath (bare host directory volume)

    Path:          /data/vco/usr/lib/vco

    HostPathType:  DirectoryOrCreate

   vco-scripting:

    Type:          HostPath (bare host directory volume)

    Path:          /data/vco/var/run/vco

    HostPathType:  DirectoryOrCreate

   extcert-secret:

    Type:        Secret (a volume populated by a Secret)

    SecretName:  cert-ext

    Optional:    false

   dependencies:

    Type:      ConfigMap (a volume populated by a ConfigMap)

    Name:      vco-dependencies

    Optional:  false

   depcheck:

    Type:          HostPath (bare host directory volume)

    Path:          /usr/local/bin/depcheck

    HostPathType:  File

   vco-controlcenter-user-vol:

    Type:        Secret (a volume populated by a Secret)

    SecretName:  vco-controlcenter-user-secret

    Optional:    false

Conditions:

  Type           Status  Reason

  ----           ------  ------

  Available      False   MinimumReplicasUnavailable

  Progressing    False   ProgressDeadlineExceeded

OldReplicaSets:  vco-app-778f85f7bc (1/1 replicas created)

NewReplicaSet:   <none>

Events:

  Type    Reason             Age   From                   Message

  ----    ------             ----  ----                   -------

  Normal  ScalingReplicaSet  16h   deployment-controller  Scaled up replica set vco-app-778f85f7bc to 1

I have another 8.0.1 running in different environment and it looks like there is something wrong with tou /data/vco mount

Left is working 8.0.1 installation (1-2 days old, also fresh) and right one is the one that is failing.

x7.png

Wiadomość była edytowana przez: Grzegorz

--- @blog https://grzegorzkulikowski.info
1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee
Jump to solution

Hi,

I guess you may be hitting a case when one of the containers is deployed with an already expired password, causing container to crash.

Could you run the following command (replacing <pod-ID-from-your-env> with the proper vco-app POD ID from your environment as returned by 'get pods' command)?

kubectl -n prelude logs vco-app-<pod-ID-from-your-env> -c install-rpms

and then check if the output messages say something about password expired.

To workaround the expired password issue, you'll need to edit and run some shell scripts in the appliance. I'd suggest to contact your VMware representative and ask for internal KB 76870.

View solution in original post

5 Replies
iiliev
VMware Employee
VMware Employee
Jump to solution

Hi,

I guess you may be hitting a case when one of the containers is deployed with an already expired password, causing container to crash.

Could you run the following command (replacing <pod-ID-from-your-env> with the proper vco-app POD ID from your environment as returned by 'get pods' command)?

kubectl -n prelude logs vco-app-<pod-ID-from-your-env> -c install-rpms

and then check if the output messages say something about password expired.

To workaround the expired password issue, you'll need to edit and run some shell scripts in the appliance. I'd suggest to contact your VMware representative and ask for internal KB 76870.

Grzesiekk
Expert
Expert
Jump to solution

not sure how to understand this log.

root@vro [ ~ ]# kubectl -n prelude logs vco-app-778f85f7bc-6gblz -c install-rpms

Start vRO initial install and configuration

Preparing...                          ########################################

find: ‘/usr/lib/vco/app-server/deploy/’: No such file or directory

You are required to change your password immediately (password expired)

groupadd: PAM: Authentication token is no longer valid; new one required

useradd: group 'vco' does not exist

error: %prein(vco-server-8.0.1.1576058314-15282010.noarch) scriptlet failed, exit status 6

error: vco-server-8.0.1.1576058314-15282010.noarch: install failed

find: ‘/usr/lib/vco/configuration/webapps/’: No such file or directory

You are required to change your password immediately (password expired)

groupadd: PAM: Authentication token is no longer valid; new one required

useradd: group 'vco' does not exist

error: %prein(vco-controlcenter-8.0.1.1576058314-15282010.noarch) scriptlet failed, exit status 6

error: vco-controlcenter-8.0.1.1576058314-15282010.noarch: install failed

You are required to change your password immediately (password expired)

groupadd: PAM: Authentication token is no longer valid; new one required

useradd: group 'vco' does not exist

passwd: user 'vco' does not exist

Updating / installing...

warning: user vco does not exist - using root

warning: group vco does not exist - using root

(...)

warning: user vco does not exist - using root

warning: group vco does not exist - using root

vco-cfg-cli-8.0.1.1576058314-15282010 ########################################

warning: user vco does not exist - using root

warning: group vco does not exist - using root

warning: user vco does not exist - using root

warning: group vco does not exist - using root

warning: user vco does not exist - using root

warning: group vco does not exist - using root

warning: user vco does not exist - using root

warning: group vco does not exist - using root

/init_run.sh: line 126: /usr/lib/vco/app-server/bin/vco-reset-keystore-password.sh: No such file or directory

Missing /usr/lib/vco/keystore.password file. Falling back to default value for keystore password...

Orchestrator's root folder: /usr/lib/vco

Orchestrator Configuration Tool. Version: 8.0.1.15282010 Build: 15282010

Can not read the Orchestrator pid from /usr/lib/vco/app-server/logs/tomcat.pid

Start configuring database settings.

2020-03-13 10:04:10,872 [INFO] File not found: /usr/lib/vco/app-server/conf/vmo.properties. Return empty byte array.

2020-03-13 10:04:10,883 [INFO] File not found: /usr/lib/vco/app-server/conf/security/passwordencryptor.key. Return empty byte array.

Property source file is missing and failed to create it. File: '/usr/lib/vco/app-server/conf/vmo.properties'

java.lang.RuntimeException: Property source file is missing and failed to create it. File: '/usr/lib/vco/app-server/conf/vmo.properties'

        at com.vmware.o11n.settings.impl.PropFileSettingsSource.assureSourceExist(PropFileSettingsSource.java:291) ~[o11n-settings-8.0.1.jar:?]

        at com.vmware.o11n.settings.impl.PropFileSettingsSource.save(PropFileSettingsSource.java:270) ~[o11n-settings-8.0.1.jar:?]

        at com.vmware.o11n.settings.impl.PropFileSettingsSource.put(PropFileSettingsSource.java:108) ~[o11n-settings-8.0.1.jar:?]

        at com.vmware.o11n.settings.proxies.SettingsInvocationHandler.invoke(SettingsInvocationHandler.java:107) ~[o11n-app-settings-8.0.1.jar:?]

        at com.sun.proxy.$Proxy28.setDriverClassname(Unknown Source) ~[?:?]

        at com.vmware.o11n.cli.configuration.commands.db.DbCommand.persistSettings(DbCommand.java:119) ~[o11n-commandline-configuration-8.0.1.jar:?]

        at com.vmware.o11n.cli.configuration.commands.db.DbCommand.execute(DbCommand.java:91) ~[o11n-commandline-configuration-8.0.1.jar:?]

        at com.vmware.o11n.cli.configuration.commands.ConfigurationCommand.executeCmd(ConfigurationCommand.java:120) ~[o11n-commandline-configuration-8.0.1.jar:?]

        at com.vmware.o11n.cli.configuration.ConfigurationCli.executeCommand(ConfigurationCli.java:122) [o11n-commandline-configuration-8.0.1.jar:?]

        at com.vmware.o11n.cli.configuration.ConfigurationCli.main(ConfigurationCli.java:98) [o11n-commandline-configuration-8.0.1.jar:?]

Caused by: java.io.IOException: No such file or directory

        at java.io.UnixFileSystem.createFileExclusively(Native Method) ~[?:1.8.0-internal]

        at java.io.File.createNewFile(File.java:1012) ~[?:1.8.0-internal]

        at com.vmware.o11n.settings.impl.PropFileSettingsSource.assureSourceExist(PropFileSettingsSource.java:289) ~[o11n-settings-8.0.1.jar:?]

        ... 9 more

ERROR: Unable to configure database.

--- @blog https://grzegorzkulikowski.info
Reply
0 Kudos
Grzesiekk
Expert
Expert
Jump to solution

looks silimar to the KB, will try to make the workaround part there

--- @blog https://grzegorzkulikowski.info
Reply
0 Kudos
Grzesiekk
Expert
Expert
Jump to solution

I can not tell you how much i am happy right now.. i wasted like 20 hours on this already . Thank you so much for pointing me out to this KB. It works now !

--- @blog https://grzegorzkulikowski.info
Reply
0 Kudos