{"action":"created","issue":{"url":"https://api.github.com/repos/Metaswitch/clearwater-juju/issues/42","repository_url":"https://api.github.com/repos/Metaswitch/clearwater-juju","labels_url":"https://api.github.com/repos/Metaswitch/clearwater-juju/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/Metaswitch/clearwater-juju/issues/42/comments","events_url":"https://api.github.com/repos/Metaswitch/clearwater-juju/issues/42/events","html_url":"https://github.com/Metaswitch/clearwater-juju/issues/42","id":155435079,"number":42,"title":"Juju hook failed: \"install\" for  unmet dependencies for - libboost-filesystem1.54.0","user":{"login":"Subhranshu","id":3736411,"avatar_url":"https://avatars.githubusercontent.com/u/3736411?v=3","gravatar_id":"","url":"https://api.github.com/users/Subhranshu","html_url":"https://github.com/Subhranshu","followers_url":"https://api.github.com/users/Subhranshu/followers","following_url":"https://api.github.com/users/Subhranshu/following{/other_user}","gists_url":"https://api.github.com/users/Subhranshu/gists{/gist_id}","starred_url":"https://api.github.com/users/Subhranshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Subhranshu/subscriptions","organizations_url":"https://api.github.com/users/Subhranshu/orgs","repos_url":"https://api.github.com/users/Subhranshu/repos","events_url":"https://api.github.com/users/Subhranshu/events{/privacy}","received_events_url":"https://api.github.com/users/Subhranshu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Metaswitch/clearwater-juju/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Metaswitch/clearwater-juju/labels/medium-priority","name":"medium-priority","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-18T07:37:02Z","updated_at":"2016-05-20T11:47:31Z","closed_at":null,"body":"Hi Team, \r\n\r\nI facing the following issue while deploying **clearwater-bono (Current version:\r\ncs:~projectclearwater/precise/clearwater-bono-2)** using **juju version 1.25.5-trusty-amd64** on **Openstack Mitaka** Bootstrapped environment.\r\n\r\nThe same issue is getting replicated while using **Juju version 2.0-beta6-trusty-amd64** as well \r\n\r\nLooks like something to do with precise repositories, \r\n\r\nFollowing is the output for **/var/chef-solo/chef-stacktrace.out**\r\nGenerated at 2016-05-18 03:30:16 +0000\r\nChef::Exceptions::Exec: package[clearwater-snmp-alarm-agent] (clearwater::alarms line 35) had an error: Chef::Exceptions::Exec: apt-get -q -y --force-yes install clearwater-snmp-alarm-agent=1.0-160513.165438 returned 100, expected 0\r\n---- Begin output of apt-get -q -y --force-yes install clearwater-snmp-alarm-agent=1.0-160513.165438 ----\r\nSTDOUT: Reading package lists...\r\nBuilding dependency tree...\r\nReading state information...\r\nSome packages could not be installed. This may mean that you have\r\nrequested an impossible situation or if you are using the unstable\r\ndistribution that some required packages have not yet been created\r\nor been moved out of Incoming.\r\nThe following information may help to resolve the situation:\r\n\r\nThe following packages have unmet dependencies:\r\n clearwater-snmp-alarm-agent : Depends: clearwater-snmpd but it is not going to be installed\r\n                               Depends: libboost-filesystem1.54.0 but it is not installableSTDERR: E: Unable to correct problems, you have held broken packages.\r\n---- End output of apt-get -q -y --force-yes install clearwater-snmp-alarm-agent=1.0-160513.165438 ----\r\n\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/command.rb:128:in `handle_command_failures'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/command.rb:75:in `run_command'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/command.rb:143:in `run_command_with_systems_locale'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider/package/apt.rb:97:in `install_package'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider/package.rb:82:in `block in action_install'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/why_run.rb:52:in `call'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/why_run.rb:52:in `add_action'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider.rb:149:in `converge_by'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider/package.rb:80:in `action_install'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider.rb:114:in `run_action'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource.rb:625:in `run_action'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:49:in `run_action'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block (2 levels) in converge'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `each'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block in converge'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:98:in `block in execute_each_resource'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:96:in `execute_each_resource'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:80:in `converge'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:429:in `converge'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:494:in `do_run'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:199:in `block in run'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `fork'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `run'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:183:in `run_chef_client'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/solo.rb:239:in `block in run_application'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/solo.rb:231:in `loop'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/solo.rb:231:in `run_application'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:66:in `run'\r\n/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/bin/chef-solo:25:in `<top (required)>'\r\n/usr/bin/chef-solo:23:in `load'\r\n/usr/bin/chef-solo:23:in `<main>'\r\n\r\nKindly suggest\r\nBest Regards\r\nSubhranshu"},"comment":{"url":"https://api.github.com/repos/Metaswitch/clearwater-juju/issues/comments/220585301","html_url":"https://github.com/Metaswitch/clearwater-juju/issues/42#issuecomment-220585301","issue_url":"https://api.github.com/repos/Metaswitch/clearwater-juju/issues/42","id":220585301,"user":{"login":"Subhranshu","id":3736411,"avatar_url":"https://avatars.githubusercontent.com/u/3736411?v=3","gravatar_id":"","url":"https://api.github.com/users/Subhranshu","html_url":"https://github.com/Subhranshu","followers_url":"https://api.github.com/users/Subhranshu/followers","following_url":"https://api.github.com/users/Subhranshu/following{/other_user}","gists_url":"https://api.github.com/users/Subhranshu/gists{/gist_id}","starred_url":"https://api.github.com/users/Subhranshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Subhranshu/subscriptions","organizations_url":"https://api.github.com/users/Subhranshu/orgs","repos_url":"https://api.github.com/users/Subhranshu/repos","events_url":"https://api.github.com/users/Subhranshu/events{/privacy}","received_events_url":"https://api.github.com/users/Subhranshu/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T11:47:30Z","updated_at":"2016-05-20T11:47:30Z","body":"Hi Mir,\r\n\r\nWhile checking the logs again based on your suggestion, that it reports **downloaded metadata file is corrupted or an uncaught error encountered in downloading the file metadata file,**\r\n\r\nis this is the problem? \r\n\r\n2016-05-20 11:26:18 INFO install Reading package lists...\r\n2016-05-20 11:26:18 INFO install Building dependency tree...\r\n2016-05-20 11:26:18 INFO install Reading state information...\r\n2016-05-20 11:26:18 INFO install curl is already the newest version.\r\n2016-05-20 11:26:18 INFO install git is already the newest version.\r\n2016-05-20 11:26:18 INFO install libxml2-dev is already the newest version.\r\n2016-05-20 11:26:18 INFO install libxslt1-dev is already the newest version.\r\n2016-05-20 11:26:18 INFO install wget is already the newest version.\r\n2016-05-20 11:26:18 INFO install 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.\r\n2016-05-20 11:26:18 INFO install Downloading Chef 11.6.0 for ubuntu...\r\n2016-05-20 11:26:18 INFO install downloading https://www.opscode.com/chef/metadata?v=11.6.0&prerelease=false&nightlies=false&p=ubuntu&pv=12.04&m=x86_64\r\n2016-05-20 11:26:18 INFO install   to file /tmp/install.sh.6144/metadata.txt\r\n2016-05-20 11:26:18 INFO install trying wget...\r\n2016-05-20 11:26:20 INFO install sha1   5fe8e4e9ddfd8ba66597670f1a1029c3409b9453\r\n2016-05-20 11:26:20 INFO install sha256 1f7360b9cf3af4f5704f5f672c620d480b2776c4d24771ba4d4b590e388baea0\r\n2016-05-20 11:26:20 INFO install url    https://packages.chef.io/stable/ubuntu/12.04/chef_11.6.0-1.ubuntu.12.04_amd64.deb\r\n2016-05-20 11:26:20 INFO install version        11.6.0downloaded metadata file is corrupted or an uncaught error was encountered in downloading the file...\r\n2016-05-20 11:26:20 INFO install Version: 11.6.0\r\n2016-05-20 11:26:20 INFO install\r\n2016-05-20 11:26:20 INFO install Please file a Bug Report at https://github.com/opscode/opscode-omnitruck/issues/new\r\n2016-05-20 11:26:20 INFO install Alternatively, feel free to open a Support Ticket at https://www.getchef.com/support/tickets\r\n2016-05-20 11:26:20 INFO install More Chef support resources can be found at https://www.getchef.com/support\r\n2016-05-20 11:26:20 INFO install\r\n2016-05-20 11:26:20 INFO install Please include as many details about the problem as possible i.e., how to reproduce\r\n2016-05-20 11:26:20 INFO install the problem (if possible), type of the Operating System and its version, etc.,\r\n2016-05-20 11:26:20 INFO install and any other relevant details that might help us with troubleshooting.\r\n2016-05-20 11:26:20 INFO install\r\n2016-05-20 11:26:20 INFO install HEAD is now at 9e0cb1c... Merge pull request #163 from Metaswitch/fix_merge\r\n2016-05-20 11:26:20 INFO install Submodule 'cookbooks/apt' () registered for path 'cookbooks/apt'\r\n2016-05-20 11:26:20 INFO install Submodule 'cookbooks/chef-solo-search' () registered for path 'cookbooks/chef-solo-search'\r\n2016-05-20 11:26:20 INFO worker.uniter.jujuc server.go:172 running hook tool \"unit-get\" [\"private-address\"]\r\n\r\nBest Regards,\r\nSubhranshu"}}
{"actor":{"display_login":"Subhranshu"}}