Hi,
I was playing with the liscence file in the delivery folder in my server machine and when I ran an update for the trial version license of automate server using automate-server-ctl reconfigure it’s throwing a validation error as shown below:
================================================================================
Error executing action validate
on resource ‘delivery_license_validity[license]’
================================================================================
RuntimeError
------------
***************************************************
Chef Automate License Validation Error:
Error: Unable to determine Chef Automate license validity
ok
Chef Automate requires a valid license to run.
To learn more, please visit:
https://www.chef.io/automate/
Or contact your CHEF account representative.
***************************************************
Cookbook Trace:
---------------
/var/opt/delivery/embedded/cookbooks/cache/cookbooks/delivery/resources/license_validity.rb:13:in `block (2 levels) in class_from_file'
/var/opt/delivery/embedded/cookbooks/cache/cookbooks/delivery/resources/license_validity.rb:5:in `block in class_from_file'
Resource Declaration:
---------------------
# In /var/opt/delivery/embedded/cookbooks/cache/cookbooks/delivery/recipes/license_check.rb
24: delivery_license_validity 'license' do
25: action :validate
26: end
Compiled Resource:
------------------
# Declared in /var/opt/delivery/embedded/cookbooks/cache/cookbooks/delivery/recipes/license_check.rb:24:in `from_file'
delivery_license_validity("license") do
action [:validate]
retries 0
retry_delay 2
default_guard_interpreter :default
declared_type :delivery_license_validity
cookbook_name "delivery"
recipe_name "license_check"
end
System Info:
------------
chef_version=12.21.4
platform=ubuntu
platform_version=16.04
ruby=ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
program_name=chef-client worker: ppid=15374;start=12:14:52;
executable=/opt/delivery/embedded/bin/chef-client
Thank you.