Created attachment 1100575 [details] log Description of problem: after first installation, the below appears in log: /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git/git_proxy.rb:155:in `allowed_in_path': The git source git://github.com/ManageIQ/handsoap.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError) Version-Release number of selected component (if applicable): cfme-5.5.0.12-rc2.1.el7cf.x86_64 How reproducible: 100% Steps to Reproduce: 1. install latest cfme 2. less /var/www/miq/vmdb/log/evm.log 3. Actual results: we see git exception in log Expected results: we should not have a git error logged in fvm.log Additional info: /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git/git_proxy.rb:155:in `allowed_in_path': The git source git://github.com/ManageIQ/handsoap.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError) from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git/git_proxy.rb:47:in `revision' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git.rb:215:in `revision' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git.rb:85:in `install_path' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/path.rb:110:in `expanded_path' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/path.rb:132:in `load_spec_files' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git.rb:188:in `load_spec_files' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/path.rb:92:in `local_specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git.rb:159:in `specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:550:in `block in converge_locked_specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:539:in `each' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:539:in `converge_locked_specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:195:in `resolve' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:140:in `specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:185:in `specs_for' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:174:in `requested_specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/environment.rb:18:in `requested_specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/runtime.rb:13:in `setup' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler.rb:127:in `setup' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/setup.rb:18:in `<top (required)>' from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `require' from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `rescue in require' from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in `require' from /var/www/miq/vmdb/config/boot.rb:6:in `<top (required)>' from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require' from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require' from /var/www/miq/vmdb/script/rails:5:in `<main>' /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git/git_proxy.rb:155:in `allowed_in_path': The git source git://github.com/ManageIQ/handsoap.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError) from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git/git_proxy.rb:47:in `revision' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git.rb:215:in `revision' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git.rb:85:in `install_path' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/path.rb:110:in `expanded_path' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/path.rb:132:in `load_spec_files' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git.rb:188:in `load_spec_files' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/path.rb:92:in `local_specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/source/git.rb:159:in `specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:550:in `block in converge_locked_specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:539:in `each' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:539:in `converge_locked_specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:195:in `resolve' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:140:in `specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:185:in `specs_for' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/definition.rb:174:in `requested_specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/environment.rb:18:in `requested_specs' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/runtime.rb:13:in `setup' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler.rb:127:in `setup' from /opt/rh/cfme-gemset/gems/bundler-1.10.6/lib/bundler/setup.rb:18:in `<top (required)>' from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `require' from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `rescue in require' from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in `require' from /var/www/miq/vmdb/config/boot.rb:6:in `<top (required)>'
https://github.com/ManageIQ/manageiq-appliance/pull/49
New commit detected on ManageIQ/manageiq-appliance/master: https://github.com/ManageIQ/manageiq-appliance/commit/ddd6972430a1420aef8fafa182359d73d7930617 commit ddd6972430a1420aef8fafa182359d73d7930617 Author: Nick Carboni <ncarboni> AuthorDate: Mon Dec 14 17:46:13 2015 -0500 Commit: Nick Carboni <ncarboni> CommitDate: Mon Dec 14 17:46:13 2015 -0500 Use the rake command in our path rather than `script/rake` Previously we were using `script/rails runner script/rake` to run rake tasks from evmserver.sh. This is unnecessary and was causing errors at build time. https://bugzilla.redhat.com/show_bug.cgi?id=1286793 LINK/usr/bin/evmserver.sh | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-)
verified on cfme-5.6.0.4-beta2.3.1.el7cf.x86_64
I'm fairly sure this is still not fixed. The clone got pushed back to ON_DEV and I can see the errors still in the referenced build. How did you test this Dafna?
Made a PR to just remove the logs as the last part of the kickstart process https://github.com/ManageIQ/manageiq-appliance-build/pull/138
Also moving this back to ON_DEV as this is definitely not fixed in 5.6 currently.
New commit detected on ManageIQ/manageiq-appliance-build/master: https://github.com/ManageIQ/manageiq-appliance-build/commit/5b675c94eab7c79720a4fcb018a7202ababa0986 commit 5b675c94eab7c79720a4fcb018a7202ababa0986 Author: Nick Carboni <ncarboni> AuthorDate: Fri Jun 24 13:35:29 2016 -0400 Commit: Nick Carboni <ncarboni> CommitDate: Thu Jun 30 17:11:24 2016 -0400 Clean the rails log directory in the kickstart post Some things that are done during the build process have the potential to print to the logs. None of this should be present when the machine is deployed for the first time. https://bugzilla.redhat.com/show_bug.cgi?id=1286793 kickstarts/base.ks.erb | 3 +++ 1 file changed, 3 insertions(+)
Assigning to Satoe for downstream specific changes.
New commit detected on cfme_productization/master: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=ec12682d24b40255786e82f3d01cf177d0eb7d60 commit ec12682d24b40255786e82f3d01cf177d0eb7d60 Merge: 3fd0962 b0f4e0f Author: Jason Frey <jfrey> AuthorDate: Fri Jul 8 10:51:39 2016 -0400 Commit: Jason Frey <jfrey> CommitDate: Fri Jul 8 10:51:39 2016 -0400 Merge branch 'clean_log_dir' into 'master' Clean the rails log directory in the kickstart post (https://github.com/ManageIQ/manageiq-appliance-build/pull/138) https://bugzilla.redhat.com/show_bug.cgi?id=1286793 See merge request !301 manageiq-appliance-build/productization/kickstarts/base.ks.erb | 3 +++ 1 file changed, 3 insertions(+)
New commit detected on cfme_productization/master: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=b0f4e0f3bb5446ee254d0ae4d5df1a5b50417767 commit b0f4e0f3bb5446ee254d0ae4d5df1a5b50417767 Author: Satoe Imaishi <simaishi> AuthorDate: Fri Jul 1 18:05:05 2016 -0400 Commit: Satoe Imaishi <simaishi> CommitDate: Fri Jul 1 18:19:35 2016 -0400 Clean the rails log directory in the kickstart post (https://github.com/ManageIQ/manageiq-appliance-build/pull/138) https://bugzilla.redhat.com/show_bug.cgi?id=1286793 manageiq-appliance-build/productization/kickstarts/base.ks.erb | 3 +++ 1 file changed, 3 insertions(+)
I am not sure do I test it the right way, but upon the boot of the cfme appliance, there is only # cat /var/www/miq/vmdb/log/evm.log Tue Oct 25 11:19:49 UTC 2016 EVMINIT EVM Appliance Booted When the evmd is fully running, there is no error message [root@host-172-16-165-29 ~]# grep handsoap /var/www/miq/vmdb/log/evm.log [root@host-172-16-165-29 ~]#