$ mycfg=$(cat <<EOF #cloud-config chef: install_type: omnibus server_url: "http://example.com/" validation_name: "my-validation-name" EOF )
$ lxc launch ubuntu-daily:zesty z1 "--config=user.user-data=$mycfg" $ sleep 10 $ lxc file pull z1/var/log/cloud-init.log - | grep WARN 2017-03-13 18:17:20,193 - util.py[WARNING]: Running module chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_chef.py'>) failed After the fix, we do not see any WARN in the log and also $ lxc file pull z1/var/log/cloud-init-output.log - | grep -i Setting Setting up chef (12.19.36-1) ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583837 Title: cc_chef fails when using omnibus installer because UrlResponse doesn't have an 'encode' method To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1583837/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
