{"action":"created","issue":{"url":"https://api.github.com/repos/cf-tm-bot/services/issues/52","repository_url":"https://api.github.com/repos/cf-tm-bot/services","labels_url":"https://api.github.com/repos/cf-tm-bot/services/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/cf-tm-bot/services/issues/52/comments","events_url":"https://api.github.com/repos/cf-tm-bot/services/issues/52/events","html_url":"https://github.com/cf-tm-bot/services/issues/52","id":179010959,"number":52,"title":"detaching persistent disk fails when audit logs and syslog are configured - Story Id: 131023259","user":{"login":"cf-tm-bot","id":20690070,"avatar_url":"https://avatars.githubusercontent.com/u/20690070?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-tm-bot","html_url":"https://github.com/cf-tm-bot","followers_url":"https://api.github.com/users/cf-tm-bot/followers","following_url":"https://api.github.com/users/cf-tm-bot/following{/other_user}","gists_url":"https://api.github.com/users/cf-tm-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-tm-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-tm-bot/subscriptions","organizations_url":"https://api.github.com/users/cf-tm-bot/orgs","repos_url":"https://api.github.com/users/cf-tm-bot/repos","events_url":"https://api.github.com/users/cf-tm-bot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-tm-bot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cf-tm-bot/services/labels/accepted","name":"accepted","color":"4e8200"},{"url":"https://api.github.com/repos/cf-tm-bot/services/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/cf-tm-bot/services/labels/cf-mysql-release%20v29","name":"cf-mysql-release v29","color":"ededed"},{"url":"https://api.github.com/repos/cf-tm-bot/services/labels/mysql","name":"mysql","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-24T04:57:03Z","updated_at":"2016-09-28T22:57:38Z","closed_at":"2016-09-28T22:57:29Z","body":"e.g. during a stemcell deploy when we detach persistent disks in preparation for remounting them to the new VM, or when re-sizing the persistent disk.\n\nThis is a consequence of configuring rsyslogd to read the audit logs from `/var/vcap/store/`\n\nWriting the audit logs to persistent disk was a deliberate decision - see #122210877\n\n~~As part of this story we should probably enable audit logs with syslog turned on somewhere in CI so we catch this as early as possible~~\n\n---\n\nMirrors: [story 131023259](https://www.pivotaltracker.com/story/show/131023259) submitted on Sep 24, 2016 UTC\n- **Requester**: Rob Dimsdale-Zucker\n- **Owners**: Andrew Crump, Joseph Palermo\n- **Estimate**: 0.0"},"comment":{"url":"https://api.github.com/repos/cf-tm-bot/services/issues/comments/250325740","html_url":"https://github.com/cf-tm-bot/services/issues/52#issuecomment-250325740","issue_url":"https://api.github.com/repos/cf-tm-bot/services/issues/52","id":250325740,"user":{"login":"cf-tm-bot","id":20690070,"avatar_url":"https://avatars.githubusercontent.com/u/20690070?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-tm-bot","html_url":"https://github.com/cf-tm-bot","followers_url":"https://api.github.com/users/cf-tm-bot/followers","following_url":"https://api.github.com/users/cf-tm-bot/following{/other_user}","gists_url":"https://api.github.com/users/cf-tm-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-tm-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-tm-bot/subscriptions","organizations_url":"https://api.github.com/users/cf-tm-bot/orgs","repos_url":"https://api.github.com/users/cf-tm-bot/repos","events_url":"https://api.github.com/users/cf-tm-bot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-tm-bot/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T22:57:38Z","updated_at":"2016-09-28T22:57:38Z","body":"Morgan Fine [commented](https://www.pivotaltracker.com/n/projects/969486/stories/131023259/comments/151010649) on Sep 28, 2016, 9.37 PM UTC:\n\nthen, when trying to upgrade to v29 and scale the persistent disk it fails during the deploy:\n```\nbosh deploy --no-redact\nActing as user 'admin' on deployment 'cf-mysql' on 'my-bosh'\nGetting deployment properties from director...\n\nDetecting deployment changes\n----------------------------\ndisk_pools:\n- name: mysql-persistent-disk\n  disk_size: 100000\n  disk_size: 150000\n\nreleases:\n- name: cf-mysql\n  version: '28'\n  version: 29.rc\n\nproperties:\n  cf_mysql:\n    mysql:\n      persistent_disk: 100000\n      persistent_disk: 150000\nPlease review all changes carefully\n\nDeploying\n---------\nAre you sure you want to deploy? (type 'yes' to continue): yes\n\nDirector task 1257\nDeprecation: Ignoring cloud config. Manifest contains 'networks' section.\n\n  Started preparing deployment > Preparing deployment. Done (00:00:01)\n\n  Started preparing package compilation > Finding packages to compile. Done (00:00:00)\n\n  Started updating job mysql_z1 > mysql_z1/0 (55170f29-1796-48ef-ac48-abb325eec1a8) (canary). Failed: Action Failed get_task: Task 462ff34b-78ed-4d16-5ce9-fd707a45e9f1 result: Migrating persistent disk: Remounting persistent disk as readonly: Unmounting /var/vcap/store: Running command: 'umount /var/vcap/store', stdout: '', stderr: 'umount: /var/vcap/store: device is busy.\n        (In some cases useful info about processes that use\n         the device is found by lsof(8) or fuser(1))\n': exit status 1 (00:11:21)\n```\ni.e. I have reproduced the bug in a way that I am expecting to see it. Upgrading from a version that has it to the new fixed version. \n\nNext step, follow Andrew's instructions to see that I can redeploy without needing manual steps\n\n<!--\nComment Id: 151010649\n-->"}}
{"actor":{"display_login":"cf-tm-bot"}}