Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Datapoint failure running every sample project in PAT on Kubernete Cluster on AWS

I am trying to run some of the PAT 3.4 sample projects on a Kubernete cluster on AWS. I have deployed the cluster and installed the Helm chart according to the instructions here. Everything seems to be working when I run kubectl get pods

NAME                                                       READY   STATUS    RESTARTS   AGE
db-65f4c9ccf6-2928g                                        1/1     Running   0          3m
openstudio-server-nfs-server-provisioner-7784b767d-777qs   1/1     Running   0          3m
redis-5ffc4f5d9f-vk4pv                                     1/1     Running   0          3m
rserve-6f7545dfb7-p59tw                                    1/1     Running   0          3m
web-5fcf97d7b5-xqzvm                                       1/1     Running   0          3m
web-background-75689b764f-wm5n7                            1/1     Running   0          3m
worker-659779bcdb-7zfqf                                    1/1     Running   0          3m
worker-659779bcdb-tnzvp                                    1/1     Running   0          2m45s

I can connect to the server in the PAT application, but when I run the analysis each datapoint fails with the error datapoint failure. This is an extract of a datapoint log

07:32:01.115794 INFO] Creating Workflow Manager instance
[07:32:01.115835 INFO] Directory is /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7
[07:32:01.115898 INFO] Opening run.log file '/mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/run/run.log'
[07:32:01.117454 INFO] Running workflow using cmd /usr/local/bin/openstudio  run --workflow '/mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/data_point.osw'  and writing log to /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/oscli_simulation.log
[07:32:10.068773 ERROR] Workflow /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/data_point.osw failed with error Oscli returned error code 1
[07:32:10.068841 WARN] UrbanOpt simulation output:  does not exist
[07:32:10.068858 WARN] UrbanOpt process output:  does not exist
[07:32:10.068933 INFO] Oscli output: [07:32:09.978669 ERROR] undefined method `create_prototype_building' for #<OpenStudio::Model::Model:0x00005648c0e8f670>
    /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/measures/2c6d68ea-2acb-4774-85ab-d77de08d77bd/measure.rb:148:in `run'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:517:in `apply_measure'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:114:in `block in apply_measures'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in `each_index'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in `apply_measures'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_os_measures.rb:70:in `perform'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in `step'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in `run'
    :/openstudio_cli.rb:1173:in `execute'
    :/openstudio_cli.rb:803:in `execute'
    :/openstudio_cli.rb:1972:in `<main>'
    eval:188:in `eval'
    eval:188:in `require_embedded_absolute'
    eval:173:in `block in require_embedded'
    eval:167:in `each'
    eval:167:in `require_embedded'
    eval:126:in `require'
    eval:3:in `<main>'

I am not a docker expert, let alone a kubernete one, but when I login in the actual EC2 instances for the worker nodes I would expect to find this file /usr/local/bin/openstudio, but it does not exist.

Any suggestion?

Datapoint failure running every sample project in PAT on Kubernete Cluster on AWS

I am trying to run some of the PAT 3.4 sample projects on a Kubernete cluster on AWS. I have deployed the cluster and installed the Helm chart according to the instructions here. Everything seems to be working when I run kubectl get pods

NAME                                                       READY   STATUS    RESTARTS   AGE
db-65f4c9ccf6-2928g                                        1/1     Running   0          3m
openstudio-server-nfs-server-provisioner-7784b767d-777qs   1/1     Running   0          3m
redis-5ffc4f5d9f-vk4pv                                     1/1     Running   0          3m
rserve-6f7545dfb7-p59tw                                    1/1     Running   0          3m
web-5fcf97d7b5-xqzvm                                       1/1     Running   0          3m
web-background-75689b764f-wm5n7                            1/1     Running   0          3m
worker-659779bcdb-7zfqf                                    1/1     Running   0          3m
worker-659779bcdb-tnzvp                                    1/1     Running   0          2m45s

I can connect to the server in the PAT application, but when I run the algorithmic analysis each datapoint fails with the error datapoint failure. This is an extract of a datapoint log

07:32:01.115794 INFO] Creating Workflow Manager instance
[07:32:01.115835 INFO] Directory is /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7
[07:32:01.115898 INFO] Opening run.log file '/mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/run/run.log'
[07:32:01.117454 INFO] Running workflow using cmd /usr/local/bin/openstudio  run --workflow '/mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/data_point.osw'  and writing log to /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/oscli_simulation.log
[07:32:10.068773 ERROR] Workflow /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/data_point.osw failed with error Oscli returned error code 1
[07:32:10.068841 WARN] UrbanOpt simulation output:  does not exist
[07:32:10.068858 WARN] UrbanOpt process output:  does not exist
[07:32:10.068933 INFO] Oscli output: [07:32:09.978669 ERROR] undefined method `create_prototype_building' for #<OpenStudio::Model::Model:0x00005648c0e8f670>
    /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/measures/2c6d68ea-2acb-4774-85ab-d77de08d77bd/measure.rb:148:in `run'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:517:in `apply_measure'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:114:in `block in apply_measures'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in `each_index'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in `apply_measures'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_os_measures.rb:70:in `perform'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in `step'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in `run'
    :/openstudio_cli.rb:1173:in `execute'
    :/openstudio_cli.rb:803:in `execute'
    :/openstudio_cli.rb:1972:in `<main>'
    eval:188:in `eval'
    eval:188:in `require_embedded_absolute'
    eval:173:in `block in require_embedded'
    eval:167:in `each'
    eval:167:in `require_embedded'
    eval:126:in `require'
    eval:3:in `<main>'

I am not a docker expert, let alone a kubernete one, but when I login in the actual EC2 instances for the worker nodes I would expect to find this file /usr/local/bin/openstudio, but it does not exist.

Any suggestion?

Datapoint failure running every sample project in PAT on Kubernete Cluster on AWS

I am trying to run some of the PAT 3.4 sample projects on a Kubernete cluster on AWS. I have deployed the cluster and installed the Helm chart according to the instructions here. Everything seems to be working when I run kubectl get pods

NAME                                                       READY   STATUS    RESTARTS   AGE
db-65f4c9ccf6-2928g                                        1/1     Running   0          3m
openstudio-server-nfs-server-provisioner-7784b767d-777qs   1/1     Running   0          3m
redis-5ffc4f5d9f-vk4pv                                     1/1     Running   0          3m
rserve-6f7545dfb7-p59tw                                    1/1     Running   0          3m
web-5fcf97d7b5-xqzvm                                       1/1     Running   0          3m
web-background-75689b764f-wm5n7                            1/1     Running   0          3m
worker-659779bcdb-7zfqf                                    1/1     Running   0          3m
worker-659779bcdb-tnzvp                                    1/1     Running   0          2m45s

I can connect to the server in the PAT application, but when I run the algorithmic analysis each datapoint fails with the error datapoint failure. This is an extract of a datapoint log

07:32:01.115794 INFO] Creating Workflow Manager instance
[07:32:01.115835 INFO] Directory is /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7
[07:32:01.115898 INFO] Opening run.log file '/mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/run/run.log'
[07:32:01.117454 INFO] Running workflow using cmd /usr/local/bin/openstudio  run --workflow '/mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/data_point.osw'  and writing log to /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/oscli_simulation.log
[07:32:10.068773 ERROR] Workflow /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/data_point_295390e1-1aed-4689-981e-694042a782c7/data_point.osw failed with error Oscli returned error code 1
[07:32:10.068841 WARN] UrbanOpt simulation output:  does not exist
[07:32:10.068858 WARN] UrbanOpt process output:  does not exist
[07:32:10.068933 INFO] Oscli output: [07:32:09.978669 ERROR] undefined method `create_prototype_building' for #<OpenStudio::Model::Model:0x00005648c0e8f670>
    /mnt/openstudio/analysis_a8dd7547-6018-46ee-b137-e7f6133116f5/measures/2c6d68ea-2acb-4774-85ab-d77de08d77bd/measure.rb:148:in `run'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:517:in `apply_measure'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:114:in `block in apply_measures'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in `each_index'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in `apply_measures'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_os_measures.rb:70:in `perform'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in `step'
    :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in `run'
    :/openstudio_cli.rb:1173:in `execute'
    :/openstudio_cli.rb:803:in `execute'
    :/openstudio_cli.rb:1972:in `<main>'
    eval:188:in `eval'
    eval:188:in `require_embedded_absolute'
    eval:173:in `block in require_embedded'
    eval:167:in `each'
    eval:167:in `require_embedded'
    eval:126:in `require'
    eval:3:in `<main>'

I am not a docker expert, let alone a kubernete one, but when I login in the actual EC2 instances for the worker nodes I would expect to find this file /usr/local/bin/openstudio, but it does not exist.

Any suggestion?