Chef client run using cfn-init fails while creating chef client task

We created a Windows AMI with option to set hostname as IP- using EC2Config & did sysprep.

Using that AMI when we launch an instance through CloudFormation and initiate chef-client run as part of cfn-init. During chef-client run it fails to create a scheduled task and it fails. PFA cfn-init.log.

In the same instance it works fine if we login and execute chef-client manually.

Another AMI without setting hostname as IP- works fine without any issue.



SDL PLC confidential, all rights reserved.

If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents,
and we further request that you advise us.

SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.

Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.

This message has been scanned for malware by Websense.