Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Halite is not compatible with no_lazy_load false, please set no_lazy_load true in your Chef configuration file. #209

Open
blagoygenadiev-taulia opened this issue Jun 8, 2015 · 4 comments

Comments

@blagoygenadiev-taulia
Copy link

This module doesn't work for me. Please have e look a the error I receive.
I give up, I think its better to do look for other zabbix instal and configure module!

[2015-06-08T12:06:39+00:00] INFO: Storing updated cookbooks/iis/recipes/remove_default_site.rb in the cache.
[2015-06-08T12:06:39+00:00] INFO: Storing updated cookbooks/iis/attributes/default.rb in the cache.
[2015-06-08T12:06:39+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_auth_windows.rb in the cache.
[2015-06-08T12:06:39+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_compress_dynamic.rb in the cache.
[2015-06-08T12:06:39+00:00] INFO: Storing updated cookbooks/iis/CHANGELOG.md in the cache.
[2015-06-08T12:06:39+00:00] INFO: Storing updated cookbooks/iis/libraries/matcher.rb in the cache.
[2015-06-08T12:06:39+00:00] INFO: Storing updated cookbooks/iis/recipes/mod_tracing.rb in the cache.
[2015-06-08T12:06:39+00:00] INFO: Storing updated cookbooks/iis/libraries/helper.rb in the cache.
[2015-06-08T12:06:39+00:00] INFO: Storing updated cookbooks/iis/README.md in the cache.
[2015-06-08T12:06:39+00:00] INFO: Storing updated cookbooks/iis/metadata.json in the cache.
�[0m
================================================================================�[0m
�[31mRecipe Compile Error in /var/chef/cache/cookbooks/poise/libraries/default.rb�[0m
================================================================================�[0m

�[0mRuntimeError�[0m
------------�[0m
Halite is not compatible with no_lazy_load false, please set no_lazy_load true in your Chef configuration file.�[0m

�[0mCookbook Trace:�[0m
---------------�[0m
/var/chef/cache/cookbooks/poise/libraries/default.rb:17:in `<top (required)>'�[0m

�[0mRelevant File Content:�[0m
----------------------�[0m
/var/chef/cache/cookbooks/poise/libraries/default.rb:
�[0m
�[0m 10: # Unless required by applicable law or agreed to in writing, software
�[0m 11: # distributed under the License is distributed on an "AS IS" BASIS,
�[0m 12: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
�[0m 13: # See the License for the specific language governing permissions and
�[0m 14: # limitations under the License.
�[0m 15: #
�[0m 16:
�[0m 17>> raise 'Halite is not compatible with no_lazy_load false, please set no_lazy_load true in your Chef configuration file.' unless Chef::Config[:no_lazy_load]
�[0m 18: $LOAD_PATH << File.expand_path('../../files/halite_gem', FILE)
�[0m 19: �[0m

�[0m[2015-06-08T12:06:39+00:00] ERROR: Running exception handlers
[2015-06-08T12:06:39+00:00] ERROR: Exception handlers complete
[2015-06-08T12:06:39+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2015-06-08T12:06:39+00:00] ERROR: Halite is not compatible with no_lazy_load false, please set no_lazy_load true in your Chef configuration file.
[2015-06-08T12:06:39+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[2015-06-08T12:06:39+00:00] INFO: Deleting client key...
time="2015-06-08T12:06:49Z" level="info" msg="The command

@ghost
Copy link

ghost commented Jul 7, 2015

It looks like this is the dependency chain:

zabbix -> ufw -> firewall -> poise

The dependency on ufw is open-ended, which is generally a bad practice. ufw's dependency on firewall is also opened-ended.
I've opened sous-chefs/ufw#16 to recommend the use of a pessimistic version constraint from ufw to firewall. Once that is done, this cookbook should be updated to use a pessimistic version constraint to ufw.

@blagoygenadiev-taulia
Copy link
Author

Hi Ian,
Thanks for looking at the issue, I hope they will set the pessimistic version constraint soon.

@tb3088
Copy link

tb3088 commented Aug 5, 2015

tb3088@c1ebc97

@itssasanka
Copy link

To me, this error came via Firewall gem (Which zabbix was depending on)
Zabbix > ufw > firewall.

I just changed the firewall version to '0.11.8' and it worked.
( As some guy suggested here:
tb3088@c1ebc97)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants