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

OpenStudio Cloud Management Console shows OpenStudio (CLI) version error

asked 2022-03-10 15:16:13 -0600

jlorrey's avatar

updated 2022-03-11 08:57:23 -0600

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-se...
(2) https://github.com/NREL/openstudio-se...

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!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-03-15 10:53:50 -0600

jlorrey's avatar

It looks like this is a minor bug in OpenStudio-server (see https://github.com/NREL/OpenStudio-se...) and likely unrelated to the PAT job failing.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2022-03-10 15:16:13 -0600

Seen: 126 times

Last updated: Mar 15 '22