{"action":"created","issue":{"url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/289","repository_url":"https://api.github.com/repos/bundlewrap/bundlewrap","labels_url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/289/comments","events_url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/289/events","html_url":"https://github.com/bundlewrap/bundlewrap/issues/289","id":190796507,"number":289,"title":"set number of workers (to 1)","user":{"login":"MaZderMind","id":142237,"avatar_url":"https://avatars.githubusercontent.com/u/142237?v=3","gravatar_id":"","url":"https://api.github.com/users/MaZderMind","html_url":"https://github.com/MaZderMind","followers_url":"https://api.github.com/users/MaZderMind/followers","following_url":"https://api.github.com/users/MaZderMind/following{/other_user}","gists_url":"https://api.github.com/users/MaZderMind/gists{/gist_id}","starred_url":"https://api.github.com/users/MaZderMind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaZderMind/subscriptions","organizations_url":"https://api.github.com/users/MaZderMind/orgs","repos_url":"https://api.github.com/users/MaZderMind/repos","events_url":"https://api.github.com/users/MaZderMind/events{/privacy}","received_events_url":"https://api.github.com/users/MaZderMind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T18:18:14Z","updated_at":"2016-11-21T18:19:48Z","closed_at":null,"body":"> As a bundle-developer I want to be able to set the number of workers to 1, so I can better examine the order in which tasks are performed and which task resulted in which result.\r\n\r\nExample output showing the issue (identical to #288):\r\n```\r\n[2016-11-21 18:28:37.064311] [DEBUG] running: ssh -o KbdInteractiveAuthentication=no -o PasswordAuthentication=no -o StrictHostKeyChecking=no customer-webseite sudo sh -c 'export LANG=C; su - `stat -c \"%U\" /vagrant/wordpress/htdocs` -c \"[u'\"'\"'/usr/local/bin/wp'\"'\"', u'\"'\"'core'\"'\"', u'\"'\"'config'\"'\"', u'\"'\"'--path=/vagrant/wordpress/htdocs'\"'\"', u'\"'\"'--dbname=wordpress'\"'\"', u'\"'\"'--dbuser=wordpress'\"'\"', u'\"'\"'--dbpass=wordpress'\"'\"']\"'\r\n[2016-11-21 18:29:02.098127] [DEBUG] command finished with return code 0\r\n[2016-11-21 18:29:02.098391] [DEBUG] stat for '/var/www/www.customer.vm/logs' on customer-webseite: {u'owner': u'ubuntu', u'group': u'ubuntu', u'mode': u'0755', u'size': 68}\r\n[2016-11-21 18:29:02.099282] [DEBUG] worker pool apply_customer-webseite delivering result of customer-webseite:directory:/var/www/www.customer.vm/logs on worker #1\r\n[2016-11-21 18:29:02.099602] [DEBUG] worker pool apply_customer-webseite waiting for next task to complete\r\n[2016-11-21 18:29:02.220567] [DEBUG] command finished with return code 0\r\n[2016-11-21 18:29:02.240045] [DEBUG] worker pool apply_customer-webseite delivering result of customer-webseite:pkg_apt:apt-transport-https on worker #0\r\n[2016-11-21 18:29:02.240450] [DEBUG] worker pool apply_customer-webseite is starting task customer-webseite:pkg_apt:unattended-upgrades on worker #0\r\n[2016-11-21 18:29:02.240590] [DEBUG] worker pool apply_customer-webseite waiting for next task to complete\r\n[2016-11-21 18:29:02.241076] [DEBUG] running: ssh -o KbdInteractiveAuthentication=no -o PasswordAuthentication=no -o StrictHostKeyChecking=no customer-webseite sudo sh -c 'export LANG=C; dpkg -s unattended-upgrades | grep '\"'\"'^Status: '\"'\"''\r\n[2016-11-21 18:29:27.178927] [DEBUG] command finished with return code 127\r\n[2016-11-21 18:29:27.181457] [DEBUG] worker pool apply_customer-webseite delivering result of customer-webseite:action:wordpress-core-config on worker #2\r\n[2016-11-21 18:29:27.181965] ✘ customer-webseite  wordpress  action:wordpress-core-config failed \r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/comments/262022090","html_url":"https://github.com/bundlewrap/bundlewrap/issues/289#issuecomment-262022090","issue_url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/289","id":262022090,"user":{"login":"trehn","id":28724,"avatar_url":"https://avatars.githubusercontent.com/u/28724?v=3","gravatar_id":"","url":"https://api.github.com/users/trehn","html_url":"https://github.com/trehn","followers_url":"https://api.github.com/users/trehn/followers","following_url":"https://api.github.com/users/trehn/following{/other_user}","gists_url":"https://api.github.com/users/trehn/gists{/gist_id}","starred_url":"https://api.github.com/users/trehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trehn/subscriptions","organizations_url":"https://api.github.com/users/trehn/orgs","repos_url":"https://api.github.com/users/trehn/repos","events_url":"https://api.github.com/users/trehn/events{/privacy}","received_events_url":"https://api.github.com/users/trehn/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T18:19:48Z","updated_at":"2016-11-21T18:19:48Z","body":"From `bw apply --help`:\r\n\r\n```\r\n  -p NODE_WORKERS, --parallel-nodes NODE_WORKERS\r\n                        number of nodes to apply to simultaneously (defaults\r\n                        to 4)\r\n  -P ITEM_WORKERS, --parallel-items ITEM_WORKERS\r\n                        number of items to apply to simultaneously on each\r\n                        node (defaults to 4)\r\n```\r\n\r\nDoes that help?"}}
{"actor":{"display_login":"trehn"}}