{"action":"created","issue":{"url":"https://api.github.com/repos/test-kitchen/kitchen-openstack/issues/146","repository_url":"https://api.github.com/repos/test-kitchen/kitchen-openstack","labels_url":"https://api.github.com/repos/test-kitchen/kitchen-openstack/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/test-kitchen/kitchen-openstack/issues/146/comments","events_url":"https://api.github.com/repos/test-kitchen/kitchen-openstack/issues/146/events","html_url":"https://github.com/test-kitchen/kitchen-openstack/issues/146","id":159484603,"number":146,"title":"Permission Denied on kitchen runs after first","user":{"login":"qubitrenegade","id":14947209,"avatar_url":"https://avatars.githubusercontent.com/u/14947209?v=3","gravatar_id":"","url":"https://api.github.com/users/qubitrenegade","html_url":"https://github.com/qubitrenegade","followers_url":"https://api.github.com/users/qubitrenegade/followers","following_url":"https://api.github.com/users/qubitrenegade/following{/other_user}","gists_url":"https://api.github.com/users/qubitrenegade/gists{/gist_id}","starred_url":"https://api.github.com/users/qubitrenegade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qubitrenegade/subscriptions","organizations_url":"https://api.github.com/users/qubitrenegade/orgs","repos_url":"https://api.github.com/users/qubitrenegade/repos","events_url":"https://api.github.com/users/qubitrenegade/events{/privacy}","received_events_url":"https://api.github.com/users/qubitrenegade/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-09T19:07:26Z","updated_at":"2016-06-10T17:38:39Z","closed_at":"2016-06-10T17:38:39Z","body":"Hello,\r\n\r\nI am receiving an error on any kitchen converge or kitchen verify runs after the inital run:\r\n\r\n```\r\n$ kitchen converge\r\n-----> Starting Kitchen (v1.8.0)\r\n[2016-06-09T13:03:05-06:00] WARN: Ohai::Config[:log_level] is set. Ohai::Config[:log_level] is deprecated and will be removed in future releases of ohai. Use ohai.log_level in your configuration file to configure :log_level for ohai.\r\n[2016-06-09T13:03:05-06:00] WARN: Ohai::Config[:log_location] is set. Ohai::Config[:log_location] is deprecated and will be removed in future releases of ohai. Use ohai.log_location in your configuration file to configure :log_location for ohai.\r\n[2016-06-09T13:03:05-06:00] WARN: Ohai::Config[:log_level] is set. Ohai::Config[:log_level] is deprecated and will be removed in future releases of ohai. Use ohai.log_level in your configuration file to configure :log_level for ohai.\r\n[2016-06-09T13:03:05-06:00] WARN: Ohai::Config[:log_location] is set. Ohai::Config[:log_location] is deprecated and will be removed in future releases of ohai. Use ohai.log_location in your configuration file to configure :log_location for ohai.\r\n-----> Converging <default-centos-65>...\r\n       Preparing files for transfer\r\n       Preparing dna.json\r\n       Resolving cookbook dependencies with Berkshelf 4.3.3...\r\n       Removing non-cookbook files before transfer\r\n       Preparing validation.pem\r\n       Preparing client.rb\r\n-----> Chef Omnibus installation detected (install only if missing)\r\n       Transferring files to <default-centos>\r\n>>>>>> ------Exception-------\r\n>>>>>> Class: Kitchen::ActionFailed\r\n>>>>>> Message: Failed to complete #converge action: [scp: /tmp/kitchen/cookbooks: Permission denied\r\n]\r\n>>>>>> ----------------------\r\n>>>>>> Please see .kitchen/logs/kitchen.log for more details\r\n>>>>>> Also try running `kitchen diagnose --all` for configuration\r\n\r\n```\r\n\r\nMy kitchen config is as follows:\r\n\r\n```\r\n---\r\ndriver:\r\n  openstack_username: <%= ENV['OS_USERNAME'] %>\r\n  openstack_api_key: <%= ENV['OS_PASSWORD'] %>\r\n  openstack_auth_url: <%= \"#{ENV['OS_AUTH_URL']}/tokens\" %>\r\n  openstack_tenant: <%= ENV['OS_TENANT'] %>\r\n  key_name: <%= ENV['OS_KEY_NAME'] %>\r\n  floating_ip_pool: <%= ENV['OS_IP_POOL'] %>\r\n  image_ref: <%= ENV['OS_IMAGE'] %>\r\n  flavor_ref: <%= ENV['OS_FLAVOR_REF'] %>\r\n  require_chef_omnibus: true\r\n  disable_ssl_validation: true\r\n  network_ref: <%= ENV['OS_NETWORK_REF'] %>\r\n  security_groups:\r\n    - <%= ENV['OS_SECGROUP'] %>\r\n\r\ntransport:\r\n  username: centos\r\n  password: CentOS\r\n\r\nprovisioner:\r\n  name: chef_zero\r\n\r\nplatforms:\r\n  - name: centos\r\n\r\nsuites:\r\n  - name: default\r\n    driver_plugin: openstack\r\n\r\n    # Edit this to reflect the recipes/cookbooks you're testing\r\n    run_list:\r\n      - recipe[my_chefclient::default]\r\n    attributes:\r\n      chef_client:\r\n        conf_dir: '/tmp/kitchen'\r\n```\r\n\r\nAs this is openstack using cloud-init I'm unable to login as root...\r\n\r\nAny ideas how to fix this?  Or is this a problem with the driver itself?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/test-kitchen/kitchen-openstack/issues/comments/225247178","html_url":"https://github.com/test-kitchen/kitchen-openstack/issues/146#issuecomment-225247178","issue_url":"https://api.github.com/repos/test-kitchen/kitchen-openstack/issues/146","id":225247178,"user":{"login":"jjasghar","id":810824,"avatar_url":"https://avatars.githubusercontent.com/u/810824?v=3","gravatar_id":"","url":"https://api.github.com/users/jjasghar","html_url":"https://github.com/jjasghar","followers_url":"https://api.github.com/users/jjasghar/followers","following_url":"https://api.github.com/users/jjasghar/following{/other_user}","gists_url":"https://api.github.com/users/jjasghar/gists{/gist_id}","starred_url":"https://api.github.com/users/jjasghar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjasghar/subscriptions","organizations_url":"https://api.github.com/users/jjasghar/orgs","repos_url":"https://api.github.com/users/jjasghar/repos","events_url":"https://api.github.com/users/jjasghar/events{/privacy}","received_events_url":"https://api.github.com/users/jjasghar/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T17:38:39Z","updated_at":"2016-06-10T17:38:39Z","body":"I'd look into making the `chef-client` cookbook more robust. We use tk with all our internal cookbooks so I'm surprised that this issue has popped up now and not before.\r\n\r\nI'd start there and see what what the cookbook team says and move from there. \r\n\r\nThanks!"}}
{"actor":{"display_login":"jjasghar"}}