{"action":"opened","issue":{"url":"https://api.github.com/repos/aws/aws-codedeploy-agent/issues/77","repository_url":"https://api.github.com/repos/aws/aws-codedeploy-agent","labels_url":"https://api.github.com/repos/aws/aws-codedeploy-agent/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-codedeploy-agent/issues/77/comments","events_url":"https://api.github.com/repos/aws/aws-codedeploy-agent/issues/77/events","html_url":"https://github.com/aws/aws-codedeploy-agent/issues/77","id":171931871,"number":77,"title":"CodeDeployAgent auto update fails and leaves agent stopped","user":{"login":"chriskinsman","id":1522018,"avatar_url":"https://avatars.githubusercontent.com/u/1522018?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskinsman","html_url":"https://github.com/chriskinsman","followers_url":"https://api.github.com/users/chriskinsman/followers","following_url":"https://api.github.com/users/chriskinsman/following{/other_user}","gists_url":"https://api.github.com/users/chriskinsman/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskinsman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskinsman/subscriptions","organizations_url":"https://api.github.com/users/chriskinsman/orgs","repos_url":"https://api.github.com/users/chriskinsman/repos","events_url":"https://api.github.com/users/chriskinsman/events{/privacy}","received_events_url":"https://api.github.com/users/chriskinsman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-18T15:36:24Z","updated_at":"2016-08-18T15:36:24Z","closed_at":null,"body":"This leaves the machine in a state that it is unable to accept deployments.\r\n\r\nLooking at the logs the issue appears to be that we have modified the codedeployagent.yml file to move the deployment root to a new volume.  This causes DPKG to hang waiting for input asking if it should overwrite or keep the old one.\r\n\r\nFrom the logs:\r\n\r\nSetting up codedeploy-agent (1.0-1.1011) ... \r\nConfiguration file '/etc/codedeploy-agent/conf/codedeployagent.yml' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version.\r\n*** codedeployagent.yml (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package codedeploy-agent (--install): EOF on stdin at conffile prompt\r\nProcessing triggers for ureadahead (0.100.0-16) ...\r\nErrors were encountered while processing: codedeploy-agent   Building data structures... Done\r\nE, [2016-08-17T18:33:19.042768 #8006] ERROR -- : Error installing /tmp/codedeploy-agent_1.0-1.1011_all.tmp-20160817-8006-d6ku3a.deb.\r\nI, [2016-08-17T19:33:01.651283 \r\n\r\nAfter this failure the old agent is not restarted.  This is a huge issue.  Please advise how to correct."}}
{"actor":{"display_login":"chriskinsman"}}