{"action":"created","issue":{"url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/17","repository_url":"https://api.github.com/repos/juju-solutions/cloud-weather-report","labels_url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/17/comments","events_url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/17/events","html_url":"https://github.com/juju-solutions/cloud-weather-report/issues/17","id":151252633,"number":17,"title":"Ambigious bundle options error even thought I specify the bundle in the test plan","user":{"login":"arosales","id":1707853,"avatar_url":"https://avatars.githubusercontent.com/u/1707853?v=3","gravatar_id":"","url":"https://api.github.com/users/arosales","html_url":"https://github.com/arosales","followers_url":"https://api.github.com/users/arosales/followers","following_url":"https://api.github.com/users/arosales/following{/other_user}","gists_url":"https://api.github.com/users/arosales/gists{/gist_id}","starred_url":"https://api.github.com/users/arosales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arosales/subscriptions","organizations_url":"https://api.github.com/users/arosales/orgs","repos_url":"https://api.github.com/users/arosales/repos","events_url":"https://api.github.com/users/arosales/events{/privacy}","received_events_url":"https://api.github.com/users/arosales/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-26T22:16:45Z","updated_at":"2016-06-08T22:29:56Z","closed_at":null,"body":"I have the following test plan which specifies bundle.yaml:\r\n```\r\n$ cat realtime-syslog-analytics.yaml \r\nbundle: bundle:realtime-syslog-analytics\r\nbenchmark:\r\n    plugin:\r\n        terasort\r\nbundle_name: realtime-syslog-analytics\r\nbundle_file: bundle.yaml\r\n\r\nHowever, CWR gives me the following error on Ambiguous bundle given the realtime-syslog-analytics bundle has multiple bundle.yaml files:\r\n\r\n$ cwr -v aws-west2 ./realtime-syslog-analytics.yaml \r\n2016-04-26 13:50:16 INFO Cloud Weather Report started.\r\n2016-04-26 13:50:16 INFO Running test on AWS.\r\n2016-04-26 13:50:16 DEBUG Downloading https://api.jujucharms.com/charmstore/v4/realtime-syslog-analytics/archive\r\n2016-04-26 13:50:16 INFO Starting new HTTPS connection (1): api.jujucharms.com\r\n2016-04-26 13:50:17 DEBUG \"GET /charmstore/v4/realtime-syslog-analytics/archive HTTP/1.1\" 200 6017\r\n2016-04-26 13:50:17 DEBUG Extracting /tmp/bundletester-RsnBiN/tmp1n91tC to /tmp/bundletester-RsnBiN/tmpJPWoNa\r\n2016-04-26 13:50:17 DEBUG unzip /tmp/bundletester-RsnBiN/tmp1n91tC -d /tmp/bundletester-RsnBiN/tmpJPWoNa: Archive:  /tmp/bundletester-RsnBiN/tmp1n91tC\r\n  inflating: /tmp/bundletester-RsnBiN/tmpJPWoNa/README.md  \r\n  inflating: /tmp/bundletester-RsnBiN/tmpJPWoNa/bundle-dev.yaml  \r\n  inflating: /tmp/bundletester-RsnBiN/tmpJPWoNa/bundle-local.yaml  \r\n  inflating: /tmp/bundletester-RsnBiN/tmpJPWoNa/bundle.yaml  \r\n   creating: /tmp/bundletester-RsnBiN/tmpJPWoNa/tests/\r\n  inflating: /tmp/bundletester-RsnBiN/tmpJPWoNa/tests/01-bundle.py  \r\n  inflating: /tmp/bundletester-RsnBiN/tmpJPWoNa/tests/tests.yaml  \r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/cwr\", line 9, in <module>\r\n    load_entry_point('cloud-weather-report==0.2.1', 'console_scripts', 'cwr')()\r\n  File \"/usr/local/lib/python2.7/dist-packages/cloudweatherreport/run.py\", line 21, in entry\r\n    html_filename = main(args)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cloudweatherreport/cloud_weather_report.py\", line 145, in main\r\n    args=args, env=env_name, test_plan=test_plan)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cloudweatherreport/cloud_weather_report.py\", line 77, in run_bundle_test\r\n    status = tester.main(args)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bundletester/tester.py\", line 108, in main\r\n    suite = spec.SuiteFactory(options, options.testdir)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bundletester/spec.py\", line 262, in SuiteFactory\r\n    model = classifier(directory, options)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bundletester/spec.py\", line 216, in BundleClassifier\r\n    bundle = find_bundle_file(directory, options.bundle)\r\n  File \"/usr/local/lib/python2.7/dist-packages/bundletester/spec.py\", line 211, in find_bundle_file\r\n    \"Ambigious bundle options: %s. Disambiguate with --bundle\" % yamls)\r\nOSError: Ambigious bundle options: ['/tmp/bundletester-RsnBiN/tmpJPWoNa/bundle-local.yaml', '/tmp/bundletester-RsnBiN/tmpJPWoNa/bundle.yaml', '/tmp/bundletester-RsnBiN/tmpJPWoNa/bundle-dev.yaml']. Disambiguate with --bundle\r\n```\r\n\r\nI expected CWR to use \"bundle.yaml\" since that was in the the test plan. I was able to work around this issue by specifying the \"-b\" option:\r\n\r\n`arosales@x230:~/devel/cloud-weather-report/build-cloud/test_plans$ cwr -v -b bundle.yaml aws-west2 ./realtime-syslog-analytics.yaml `\r\n\r\n\r\nThese seemed to get me around the Ambigious error"},"comment":{"url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/comments/224750082","html_url":"https://github.com/juju-solutions/cloud-weather-report/issues/17#issuecomment-224750082","issue_url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/17","id":224750082,"user":{"login":"seman","id":1581316,"avatar_url":"https://avatars.githubusercontent.com/u/1581316?v=3","gravatar_id":"","url":"https://api.github.com/users/seman","html_url":"https://github.com/seman","followers_url":"https://api.github.com/users/seman/followers","following_url":"https://api.github.com/users/seman/following{/other_user}","gists_url":"https://api.github.com/users/seman/gists{/gist_id}","starred_url":"https://api.github.com/users/seman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seman/subscriptions","organizations_url":"https://api.github.com/users/seman/orgs","repos_url":"https://api.github.com/users/seman/repos","events_url":"https://api.github.com/users/seman/events{/privacy}","received_events_url":"https://api.github.com/users/seman/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T22:29:55Z","updated_at":"2016-06-08T22:29:55Z","body":"Resolved by https://github.com/juju-solutions/cloud-weather-report/pull/41"}}
{"actor":{"display_login":"seman"}}