{"action":"created","issue":{"url":"https://api.github.com/repos/clustervision/trinity/issues/301","labels_url":"https://api.github.com/repos/clustervision/trinity/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/clustervision/trinity/issues/301/comments","events_url":"https://api.github.com/repos/clustervision/trinity/issues/301/events","html_url":"https://github.com/clustervision/trinity/issues/301","id":87769500,"number":301,"title":"openstack: Unable to connect to mongodb server during installation with packstack","user":{"login":"linuxstudio","id":7702698,"avatar_url":"https://avatars.githubusercontent.com/u/7702698?v=3","gravatar_id":"","url":"https://api.github.com/users/linuxstudio","html_url":"https://github.com/linuxstudio","followers_url":"https://api.github.com/users/linuxstudio/followers","following_url":"https://api.github.com/users/linuxstudio/following{/other_user}","gists_url":"https://api.github.com/users/linuxstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/linuxstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linuxstudio/subscriptions","organizations_url":"https://api.github.com/users/linuxstudio/orgs","repos_url":"https://api.github.com/users/linuxstudio/repos","events_url":"https://api.github.com/users/linuxstudio/events{/privacy}","received_events_url":"https://api.github.com/users/linuxstudio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"linuxstudio","id":7702698,"avatar_url":"https://avatars.githubusercontent.com/u/7702698?v=3","gravatar_id":"","url":"https://api.github.com/users/linuxstudio","html_url":"https://github.com/linuxstudio","followers_url":"https://api.github.com/users/linuxstudio/followers","following_url":"https://api.github.com/users/linuxstudio/following{/other_user}","gists_url":"https://api.github.com/users/linuxstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/linuxstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linuxstudio/subscriptions","organizations_url":"https://api.github.com/users/linuxstudio/orgs","repos_url":"https://api.github.com/users/linuxstudio/repos","events_url":"https://api.github.com/users/linuxstudio/events{/privacy}","received_events_url":"https://api.github.com/users/linuxstudio/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-06-12T15:52:37Z","updated_at":"2015-06-18T20:22:24Z","closed_at":null,"body":"```\r\n[root@openstack ~]# cat /var/log/xcat/xcat.log | grep -i \"error\"\r\n10.141.0.3_mongodb.pp:                            [ ERROR ]\r\nApplying Puppet manifests                         [ ERROR ]\r\nERROR : Error appeared during Puppet run: 10.141.0.3_mongodb.pp\r\nError: Unable to connect to mongodb server! (10.141.0.3:27017)\r\n\r\n[root@openstack ~]# less -R /var/log/xcat/xcat.log\r\n...\r\n\r\nApplying 10.141.0.3_redis.pp\r\n^M10.141.0.3_mongodb.pp:                            [ ERROR ]\r\nApplying Puppet manifests                         [ ERROR ]\r\n\r\nERROR : Error appeared during Puppet run: 10.141.0.3_mongodb.pp\r\nError: Unable to connect to mongodb server! (10.141.0.3:27017)\r\nYou will find full trace in log /var/tmp/packstack/20150611-175027-4tOCSs/manifests/10.141.0.3_mongodb.pp.log\r\n\r\n\r\n\r\n[root@openstack ~]# less -R /var/tmp/packstack/20150611-175027-4tOCSs/manifests/10.141.0.3_mongodb.pp.log\r\nError: NetworkManager is not running.\r\nNotice: Compiled catalog for openstack.cluster in environment production in 2.06 seconds\r\nWarning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.\r\n   (at /usr/share/ruby/vendor_ruby/puppet/type.rb:816:in `set_default')\r\nNotice: /Stage[main]/Main/Packstack::Firewall[mongodb_server]/Firewall[001 mongodb-server incoming mongodb_server]/ensure: created\r\nNotice: /Stage[main]/Mongodb::Server::Install/Package[mongodb_server]/ensure: created\r\nNotice: /Stage[main]/Mongodb::Server::Config/File[/etc/mongodb.conf]/ensure: defined content as '{md5}2388b0b4192f0cfa491e59a893e1269c'\r\n```\r\n\r\nAccording to the packstack puppet manifest `manifests/10.141.0.3_mongodb.pp` the configuration file to be used by packstack when starting mongodb is `/etc/mongod.conf` for CentOS 7.0 which has epel enabled.\r\n\r\nHowever in the packstack answers the parameter for epel is set to NO:\r\n\r\n```\r\n[root@openstack ~]# cat /tmp/packstack-answers.txt | grep -i \"epel\"\r\n# To subscribe each server to EPEL enter \"y\"\r\nCONFIG_USE_EPEL=n\r\n```\r\n\r\nSo this should be changed to \"y\" to have mongodb use the correct configuration file."},"comment":{"url":"https://api.github.com/repos/clustervision/trinity/issues/comments/113278883","html_url":"https://github.com/clustervision/trinity/issues/301#issuecomment-113278883","issue_url":"https://api.github.com/repos/clustervision/trinity/issues/301","id":113278883,"user":{"login":"hansthen","id":2202342,"avatar_url":"https://avatars.githubusercontent.com/u/2202342?v=3","gravatar_id":"","url":"https://api.github.com/users/hansthen","html_url":"https://github.com/hansthen","followers_url":"https://api.github.com/users/hansthen/followers","following_url":"https://api.github.com/users/hansthen/following{/other_user}","gists_url":"https://api.github.com/users/hansthen/gists{/gist_id}","starred_url":"https://api.github.com/users/hansthen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansthen/subscriptions","organizations_url":"https://api.github.com/users/hansthen/orgs","repos_url":"https://api.github.com/users/hansthen/repos","events_url":"https://api.github.com/users/hansthen/events{/privacy}","received_events_url":"https://api.github.com/users/hansthen/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T20:22:24Z","updated_at":"2015-06-18T20:22:24Z","body":"@linuxstudio When you have fixed a bug you should assign it to Themis. She will then merge the fixes in the test or release branch, test it and close the bug. "}}