{"action":"created","issue":{"url":"https://api.github.com/repos/miguno/wirbelsturm/issues/36","labels_url":"https://api.github.com/repos/miguno/wirbelsturm/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/miguno/wirbelsturm/issues/36/comments","events_url":"https://api.github.com/repos/miguno/wirbelsturm/issues/36/events","html_url":"https://github.com/miguno/wirbelsturm/issues/36","id":58165025,"number":36,"title":"Failed dependencies on AWS deployment ","user":{"login":"guerrysemones","id":1843892,"avatar_url":"https://avatars.githubusercontent.com/u/1843892?v=3","gravatar_id":"","url":"https://api.github.com/users/guerrysemones","html_url":"https://github.com/guerrysemones","followers_url":"https://api.github.com/users/guerrysemones/followers","following_url":"https://api.github.com/users/guerrysemones/following{/other_user}","gists_url":"https://api.github.com/users/guerrysemones/gists{/gist_id}","starred_url":"https://api.github.com/users/guerrysemones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guerrysemones/subscriptions","organizations_url":"https://api.github.com/users/guerrysemones/orgs","repos_url":"https://api.github.com/users/guerrysemones/repos","events_url":"https://api.github.com/users/guerrysemones/events{/privacy}","received_events_url":"https://api.github.com/users/guerrysemones/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/miguno/wirbelsturm/labels/environment:aws","name":"environment:aws","color":"5319e7"},{"url":"https://api.github.com/repos/miguno/wirbelsturm/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"miguno","id":294849,"avatar_url":"https://avatars.githubusercontent.com/u/294849?v=3","gravatar_id":"","url":"https://api.github.com/users/miguno","html_url":"https://github.com/miguno","followers_url":"https://api.github.com/users/miguno/followers","following_url":"https://api.github.com/users/miguno/following{/other_user}","gists_url":"https://api.github.com/users/miguno/gists{/gist_id}","starred_url":"https://api.github.com/users/miguno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguno/subscriptions","organizations_url":"https://api.github.com/users/miguno/orgs","repos_url":"https://api.github.com/users/miguno/repos","events_url":"https://api.github.com/users/miguno/events{/privacy}","received_events_url":"https://api.github.com/users/miguno/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-02-19T03:55:10Z","updated_at":"2015-02-21T08:07:46Z","closed_at":null,"body":"Hi,\r\n\r\nI'm attempting to use wirbelstrum on AWS. This is my first experience with wirbelsturm and puppet.\r\n\r\nI set up an instance as the primary box from which to run wirbelsturm. After getting that set up, I followed all of the AWS directions, and that all seemed to go fine. When I run \"vagrant up\" on my primary box, it successfully launches all of the instances on EC2. However, each instance (kafka1, nimbus1, supervisor1, etc.) on the deployment gets failed dependencies (listing for kafka1 section  below).\r\n\r\nThe boxes seem to launch fine, but it appears the dependency failure is complete in that no Storm, Kafka, etc. services are running. Which is probably obvious.\r\n\r\nImmediately I get this warning:\r\n\r\n```\r\n==> kafka1: Warning! The AWS provider doesn't support any of the Vagrant\r\n==> kafka1: high-level network configurations (`config.vm.network`). They\r\n==> kafka1: will be silently ignored.\r\n```\r\n\r\nThe first error is:\r\n```\r\n==> kafka1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list kafka' returned 1: Error: No matching Packages to list\r\n```\r\n\r\nFollowed later by: \r\n```\r\n==> kafka1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list supervisor' returned 1: Existing lock /var/run/yum.pid: another copy is running as pid 4906.\r\n==> kafka1: Another app is currently holding the yum lock; waiting for it to exit...\r\n==> kafka1:   The other application is: yum\r\n==> kafka1:     Memory :  49 M RSS (260 MB VSZ)\r\n==> kafka1:     Started: Thu Feb 19 03:30:52 2015 - 00:01 ago\r\n==> kafka1:     State  : Running, pid: 4906\r\n==> kafka1: Error: No matching Packages to list\r\n==> kafka1: Error: /Stage[main]/Supervisor/Package[supervisor]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list supervisor' returned 1: Existing lock /var/run/yum.pid: another copy is running as pid 4906.\r\n```\r\n\r\nAny pointers or advice?\r\n\r\nThanks in advance! \r\n\r\nGuerry \r\n\r\n(kafka1 listing below).\r\n\r\n```\r\n------------------------------\r\n==> kafka1: Notice: Scope(Class[main]): Deployment environment: 'staging-environment'\r\n==> kafka1: Notice: Scope(Class[main]): I am running within a Vagrant-controlled environment\r\n==> kafka1: Notice: Scope(Class[main]): Disabling firewall...\r\n==> kafka1: Notice: Scope(Class[main]): I have been assigned the role 'kafka_broker'\r\n==> kafka1: Notice: Compiled catalog for kafka1.gateway01.vintel.info in environment production in 1.66 seconds\r\n==> kafka1: Notice: /Stage[main]/Firewall::Linux::Redhat/Service[iptables]/enable: enable changed 'true' to 'false'\r\n==> kafka1: Notice: /Stage[main]/Kafka::Users/Group[kafka]/ensure: created\r\n==> kafka1: Notice: /Stage[main]/Kafka::Users/User[kafka]/ensure: created\r\n==> kafka1: Notice: /Stage[main]/Kafka::Install/File[/var/log/kafka]/ensure: created\r\n==> kafka1: Notice: /Stage[main]/Kafka::Install/Kafka::Install::Create_log_dirs[/app/kafka/log]/Exec[create-kafka-log-directory-/app/kafka/log]/returns: executed successfully\r\n==> kafka1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list kafka' returned 1: Error: No matching Packages to list\r\n==> kafka1: Error: /Stage[main]/Kafka::Install/Package[kafka]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list kafka' returned 1: Error: No matching Packages to list\r\n==> kafka1: Notice: /Stage[main]/Kafka::Install/File[/opt/kafka/logs]: Dependency Package[kafka] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Kafka::Install/File[/opt/kafka/logs]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Wirbelsturm_common::Install/File[/var/lib/cloud/data/scripts]/ensure: created\r\n==> kafka1: Notice: /Stage[main]/Wirbelsturm_common::Install/Package[jq]/ensure: created\r\n==> kafka1: Notice: /Stage[main]/Kafka::Install/Kafka::Install::Create_log_dirs[/app/kafka/log]/File[kafka-log-directory-/app/kafka/log]/owner: owner changed 'root' to 'kafka'\r\n==> kafka1: Notice: /Stage[main]/Kafka::Install/Kafka::Install::Create_log_dirs[/app/kafka/log]/File[kafka-log-directory-/app/kafka/log]/group: group changed 'root' to 'kafka'\r\n==> kafka1: Notice: /Stage[main]/Kafka::Install/Kafka::Install::Create_log_dirs[/app/kafka/log]/File[kafka-log-directory-/app/kafka/log]/mode: mode changed '0755' to '0750'\r\n==> kafka1: Notice: /Stage[main]/Kafka::Config/File[/opt/kafka/config/log4j.properties]: Dependency Package[kafka] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Kafka::Config/File[/opt/kafka/config/log4j.properties]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Kafka::Config/File[/opt/kafka/config/server.properties]: Dependency Package[kafka] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Kafka::Config/File[/opt/kafka/config/server.properties]: Skipping because of failed dependencies\r\n==> kafka1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list supervisor' returned 1: Existing lock /var/run/yum.pid: another copy is running as pid 4906.\r\n==> kafka1: Another app is currently holding the yum lock; waiting for it to exit...\r\n==> kafka1:   The other application is: yum\r\n==> kafka1:     Memory :  49 M RSS (260 MB VSZ)\r\n==> kafka1:     Started: Thu Feb 19 03:30:52 2015 - 00:01 ago\r\n==> kafka1:     State  : Running, pid: 4906\r\n==> kafka1: Error: No matching Packages to list\r\n==> kafka1: Error: /Stage[main]/Supervisor/Package[supervisor]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list supervisor' returned 1: Existing lock /var/run/yum.pid: another copy is running as pid 4906.\r\n==> kafka1: Another app is currently holding the yum lock; waiting for it to exit...\r\n==> kafka1:   The other application is: yum\r\n==> kafka1:     Memory :  49 M RSS (260 MB VSZ)\r\n==> kafka1:     Started: Thu Feb 19 03:30:52 2015 - 00:01 ago\r\n==> kafka1:     State  : Running, pid: 4906\r\n==> kafka1: Error: No matching Packages to list\r\n==> kafka1: Notice: /Stage[main]/Supervisor/File[/var/run/supervisor]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Supervisor/File[/var/run/supervisor]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Supervisor/File[/var/log/supervisor]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Supervisor/File[/var/log/supervisor]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Supervisor/File[/etc/logrotate.d/supervisor]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Supervisor/File[/etc/logrotate.d/supervisor]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Supervisor/File[/etc/supervisord.d]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Supervisor/File[/etc/supervisord.d]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Supervisor/File[/etc/supervisord.conf]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Supervisor/File[/etc/supervisord.conf]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Supervisor/Service[supervisord]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Supervisor/Service[supervisord]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Kafka::Service/Exec[restart-kafka-broker]: Dependency Package[kafka] has failures: true\r\n==> kafka1: Notice: /Stage[main]/Kafka::Service/Exec[restart-kafka-broker]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Kafka::Service/Exec[restart-kafka-broker]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Kafka::Service/Supervisor::Service[kafka-broker]/File[/var/log/supervisor/kafka-broker]: Dependency Package[kafka] has failures: true\r\n==> kafka1: Notice: /Stage[main]/Kafka::Service/Supervisor::Service[kafka-broker]/File[/var/log/supervisor/kafka-broker]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Kafka::Service/Supervisor::Service[kafka-broker]/File[/var/log/supervisor/kafka-broker]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Kafka::Service/Supervisor::Service[kafka-broker]/File[/etc/supervisord.d/kafka-broker.conf]: Dependency Package[kafka] has failures: true\r\n==> kafka1: Notice: /Stage[main]/Kafka::Service/Supervisor::Service[kafka-broker]/File[/etc/supervisord.d/kafka-broker.conf]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Kafka::Service/Supervisor::Service[kafka-broker]/File[/etc/supervisord.d/kafka-broker.conf]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Kafka::Service/Supervisor::Service[kafka-broker]/Service[supervisor::kafka-broker]: Dependency Package[kafka] has failures: true\r\n==> kafka1: Notice: /Stage[main]/Kafka::Service/Supervisor::Service[kafka-broker]/Service[supervisor::kafka-broker]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Kafka::Service/Supervisor::Service[kafka-broker]/Service[supervisor::kafka-broker]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Kafka/Anchor[kafka::end]: Dependency Package[kafka] has failures: true\r\n==> kafka1: Notice: /Stage[main]/Kafka/Anchor[kafka::end]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Kafka/Anchor[kafka::end]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Supervisor::Update/Exec[supervisor::update]: Dependency Package[kafka] has failures: true\r\n==> kafka1: Notice: /Stage[main]/Supervisor::Update/Exec[supervisor::update]: Dependency Package[supervisor] has failures: true\r\n==> kafka1: Warning: /Stage[main]/Supervisor::Update/Exec[supervisor::update]: Skipping because of failed dependencies\r\n==> kafka1: Notice: /Stage[main]/Wirbelsturm_common::Install/Package[java-runtime-environment]/ensure: created\r\n==> kafka1: Notice: Finished catalog run in 17.04 seconds\r\n==> kafka1: An error occurred. The error will be shown after all tasks complete.\r\n------------------------------\r\n```"},"comment":{"url":"https://api.github.com/repos/miguno/wirbelsturm/issues/comments/75361376","html_url":"https://github.com/miguno/wirbelsturm/issues/36#issuecomment-75361376","issue_url":"https://api.github.com/repos/miguno/wirbelsturm/issues/36","id":75361376,"user":{"login":"miguno","id":294849,"avatar_url":"https://avatars.githubusercontent.com/u/294849?v=3","gravatar_id":"","url":"https://api.github.com/users/miguno","html_url":"https://github.com/miguno","followers_url":"https://api.github.com/users/miguno/followers","following_url":"https://api.github.com/users/miguno/following{/other_user}","gists_url":"https://api.github.com/users/miguno/gists{/gist_id}","starred_url":"https://api.github.com/users/miguno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguno/subscriptions","organizations_url":"https://api.github.com/users/miguno/orgs","repos_url":"https://api.github.com/users/miguno/repos","events_url":"https://api.github.com/users/miguno/events{/privacy}","received_events_url":"https://api.github.com/users/miguno/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T08:07:46Z","updated_at":"2015-02-21T08:07:46Z","body":"The AMI we create will only contain the bare minimum.  The \"real\" deployment and provisioning is done by Puppet on top of what the AMI provides.  The miguno.repo etc. are pushes via Puppet, so you won't see them on a vanilla AMI.\n\nDo you find the miguno.repo on your host machine, i.e. somewhere in your Wirbelsturm checkout?\n\nIf you don't, then maybe you didn't run the `./bootstrap` command, ot the command failed in some way.  The bootstrap will fetch all required Puppet modules to your host machine and put those files under the `puppet/` subdir, and the files will include miguno.repo.\n\n\n\n> On 21.02.2015, at 04:04, Guerry Semones <notifications@github.com> wrote:\n> \n> Sorry, the listing above was wrong. I just built a new AMI from the Custom AMI Creation steps in the link I posted above.\n> \n> The script ./aws-prepare-image.sh does a number of yum updates, and puppetlab related repo work. I do not see where the wirbelsturm-epel-6.repo, miguno.repo, and nginx.repo's you list are installed from.\n> \n> Here's my new AMI's listing....\n> \n> [ec2-user@ip-172-31-50-34 ~]$ ls -la /etc/yum.repos.d/\n> total 52\n> drwxr-xr-x  2 root root 4096 Feb 21 03:00 .\n> drwxr-xr-x 73 root root 4096 Feb 21 03:01 ..\n> -rw-r--r--  1 root root  668 Sep 18 00:50 amzn-main.repo\n> -rw-r--r--  1 root root  728 Feb 21 02:39 amzn-main.repo.rpmsave\n> -rw-r--r--  1 root root  324 Sep 18 00:50 amzn-nosrc.repo\n> -rw-r--r--  1 root root  382 Feb 21 02:39 amzn-nosrc.repo.rpmsave\n> -rw-r--r--  1 root root  686 Sep 18 00:50 amzn-preview.repo\n> -rw-r--r--  1 root root  746 Feb 21 02:39 amzn-preview.repo.rpmsave\n> -rw-r--r--  1 root root  686 Sep 18 00:50 amzn-updates.repo\n> -rw-r--r--  1 root root  746 Feb 21 02:39 amzn-updates.repo.rpmsave\n> -rw-r--r--  1 root root  957 Mar  1  2013 epel.repo\n> -rw-r--r--  1 root root 1056 Mar  1  2013 epel-testing.repo\n> -rw-r--r--  1 root root 1262 Feb 21 03:00 puppetlabs.repo\n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}