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

Revision history [back]

click to hide/show revision 1
initial version

OpenStudio Cloud Management Console shows OpenStudio (CLI) version error

Hi,

While debugging a failed PAT job, I noticed the OpenStudio Cloud Management Console admin tab showed an error finding the OpenStudio (CLI) version:

Server Information
Version of OpenStudio Server: 3.3.0
Version of OpenStudio (CLI): Error executing argv: ["--bundle", "/var/oscli/Gemfile", "--bundle_path", "/var/oscli/gems", "--bundle_without", "native_ext", "openstudio_version" Error: cannot load such file -- tmpdir in :/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler.rb:769. . .

The remote server is running OpenStudio-server in an AWS kubernetes cluster. It was set up following these instructions:
(1) https://github.com/NREL/openstudio-server-helm/blob/develop/aws/README.md
(2) https://github.com/NREL/openstudio-server-helm

Looking through the OpenStudio-server code, it seems like the 'OPENSTUDIO_EXE_PATH' environment variable may not be getting set properly (index.html.erb L75 -> admin_controller.rb L49 -> oss.rb L26 -> openstudio_meta), although I may be missing a distinction here between code that is run locally vs. on a remote server.

Any help understanding this better/figuring out next steps would be appreciated, thanks!

OpenStudio Cloud Management Console shows OpenStudio (CLI) version error

Hi,

While debugging a failed PAT job, I noticed the OpenStudio Cloud Management Console admin tab showed an error finding the OpenStudio (CLI) version:

Server Information
Version of OpenStudio Server: 3.3.0
Version of OpenStudio (CLI): Error executing argv: ["--bundle", "/var/oscli/Gemfile", "--bundle_path", "/var/oscli/gems", "--bundle_without", "native_ext", "openstudio_version" Error: cannot load such file -- tmpdir in :/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler.rb:769. . .

The remote server is running OpenStudio-server in an AWS kubernetes cluster. It was set up following these instructions:
(1) https://github.com/NREL/openstudio-server-helm/blob/develop/aws/README.md
(2) https://github.com/NREL/openstudio-server-helm

Looking through the OpenStudio-server code, it seems like the 'OPENSTUDIO_EXE_PATH' environment variable may not be getting set properly (index.html.erb L75 -> admin_controller.rb L49 -> oss.rb L26 -> openstudio_meta), although I may be missing a distinction here between code that is run locally vs. on a remote server.

Any help understanding this better/figuring out next steps would be appreciated, thanks!