ManageIQ / manageiq-providers-vmware

ManageIQ plugin for the VMware vSphere and vCloud providers.
Apache License 2.0
22 stars 70 forks source link

VMware Event Catcher Fails on Podified #921

Open agrare opened 2 months ago

agrare commented 2 months ago

image

/opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/shared_helpers.rb:107:in `rescue in filesystem_access': There was an error while trying to write to `/Gemfile.lock`. It is likely that you need to grant write permissions for that path. (Bundler::PermissionError)
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/shared_helpers.rb:104:in `filesystem_access'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/definition.rb:546:in `write_lock'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/definition.rb:337:in `lock'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/runtime.rb:98:in `lock'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/runtime.rb:35:in `setup'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/inline.rb:64:in `block (2 levels) in gemfile'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/settings.rb:158:in `temporary'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/inline.rb:50:in `block in gemfile'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler.rb:429:in `block in with_unbundled_env'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler.rb:684:in `with_env'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler.rb:429:in `with_unbundled_env'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/inline.rb:42:in `gemfile'
    from /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-vmware-8dbccdea9b76/workers/event_catcher/worker:5:in `<main>'
/opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/definition.rb:547:in `initialize': Permission denied @ rb_sysopen - /Gemfile.lock (Errno::EACCES)
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/definition.rb:547:in `open'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/definition.rb:547:in `block in write_lock'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/shared_helpers.rb:105:in `filesystem_access'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/definition.rb:546:in `write_lock'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/definition.rb:337:in `lock'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/runtime.rb:98:in `lock'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/runtime.rb:35:in `setup'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/inline.rb:64:in `block (2 levels) in gemfile'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/settings.rb:158:in `temporary'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/inline.rb:50:in `block in gemfile'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler.rb:429:in `block in with_unbundled_env'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler.rb:684:in `with_env'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler.rb:429:in `with_unbundled_env'
    from /opt/manageiq/manageiq-gemset/gems/bundler-2.5.19/lib/bundler/inline.rb:42:in `gemfile'
    from /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-vmware-8dbccdea9b76/workers/event_catcher/worker:5:in `<main>'
agrare commented 2 months ago

This was caused by a bug in bundler 2.5.19, fixed in 2.5.20