Hiera dependencies not present, doesn't fail setup_lab_tools |
||
Issue descriptionI ran setup_lab_tools today, on Trusty with an existing lab tools setup. I got this message at the beginning: jkop@jkop:~/shadow_cros/chromeos-admin$ lab-tools/setup_lab_tools /usr/local/bin Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package hiera-eyaml E: Unable to locate package virtualenv and this at the end: 15:36:43 INFO | chmod -R a+rX '/usr/local/google/home/jkop/shadow_cros/src/third_party/autotest/files/site-packages' WARN: 2018-01-24 15:23:48 -0800: Ignoring configured merge_behavior WARN: 2018-01-24 15:23:48 -0800: Must have 'deep_merge' gem installed. WARN: 2018-01-24 15:23:48 -0800: Cannot load backend eyaml: cannot load such file -- hiera/backend/eyaml_backend WARN: 2018-01-24 15:23:48 -0800: Ignoring configured merge_behavior WARN: 2018-01-24 15:23:48 -0800: Must have 'deep_merge' gem installed. WARN: 2018-01-24 15:23:48 -0800: Cannot load backend eyaml: cannot load such file -- hiera/backend/eyaml_backend WARN: 2018-01-24 15:23:48 -0800: Ignoring configured merge_behavior WARN: 2018-01-24 15:23:48 -0800: Must have 'deep_merge' gem installed. WARN: 2018-01-24 15:23:48 -0800: Cannot load backend eyaml: cannot load such file -- hiera/backend/eyaml_backend I'm not sure if it should try harder to install them or fail, but this does not seem like good behavior.
,
Jan 25 2018
hiera-eymal was not added to Ubuntu until Xenial. There is python-virtualenv in Trusty, but no package virtualenv.
,
Jan 25 2018
Confirmed that virtualenv/python-virtualenv are the same thing.
,
Jan 25 2018
While I think about it, the workaround for hiera-eyaml on Trusty should be running make bundle_install in the Puppet directory. The reason for all of this mess is that this has to support three different environments (Trusty workstation, Trusty server, and Rodete workstation), all of which naturally have lots of fun differences.
,
Jan 26 2018
Made separate bug to track the missing packages https://bugs.chromium.org/p/chromium/issues/detail?id=806320 This bug is about setup_tab_tools should fail when it happens.
,
Oct 25
|
||
►
Sign in to add a comment |
||
Comment 1 by ayatane@chromium.org
, Jan 24 2018