{"action":"created","issue":{"url":"https://api.github.com/repos/alaxli/ansible_ui/issues/10","labels_url":"https://api.github.com/repos/alaxli/ansible_ui/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/alaxli/ansible_ui/issues/10/comments","events_url":"https://api.github.com/repos/alaxli/ansible_ui/issues/10/events","html_url":"https://github.com/alaxli/ansible_ui/issues/10","id":100703929,"number":10,"title":"部署遇到问题，求教","user":{"login":"light682","id":9816080,"avatar_url":"https://avatars.githubusercontent.com/u/9816080?v=3","gravatar_id":"","url":"https://api.github.com/users/light682","html_url":"https://github.com/light682","followers_url":"https://api.github.com/users/light682/followers","following_url":"https://api.github.com/users/light682/following{/other_user}","gists_url":"https://api.github.com/users/light682/gists{/gist_id}","starred_url":"https://api.github.com/users/light682/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/light682/subscriptions","organizations_url":"https://api.github.com/users/light682/orgs","repos_url":"https://api.github.com/users/light682/repos","events_url":"https://api.github.com/users/light682/events{/privacy}","received_events_url":"https://api.github.com/users/light682/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-13T07:04:38Z","updated_at":"2015-08-19T07:52:07Z","closed_at":null,"body":"执行python manage.py syncdb，这一步报错：django.db.utils.OperationalError: (1045, \"Access denied for user 'ansibleuser'@'localhost' (using password: YES)\")\r\n\r\n之前mysql配置有2个\r\ncreate database ansible CHARACTER SET utf8;\r\ngrant all on ansible.* to ansibleuser@'localhost' identified by '******';\r\n\r\n本人是个菜鸟，不太懂，请大家帮忙，多谢"},"comment":{"url":"https://api.github.com/repos/alaxli/ansible_ui/issues/comments/132481185","html_url":"https://github.com/alaxli/ansible_ui/issues/10#issuecomment-132481185","issue_url":"https://api.github.com/repos/alaxli/ansible_ui/issues/10","id":132481185,"user":{"login":"light682","id":9816080,"avatar_url":"https://avatars.githubusercontent.com/u/9816080?v=3","gravatar_id":"","url":"https://api.github.com/users/light682","html_url":"https://github.com/light682","followers_url":"https://api.github.com/users/light682/followers","following_url":"https://api.github.com/users/light682/following{/other_user}","gists_url":"https://api.github.com/users/light682/gists{/gist_id}","starred_url":"https://api.github.com/users/light682/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/light682/subscriptions","organizations_url":"https://api.github.com/users/light682/orgs","repos_url":"https://api.github.com/users/light682/repos","events_url":"https://api.github.com/users/light682/events{/privacy}","received_events_url":"https://api.github.com/users/light682/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T07:52:07Z","updated_at":"2015-08-19T07:52:07Z","body":"您好，能帮我看看是哪个参数有问题么？,分割线后面是相关的配置\r\n2015-08-19 15:41:40,054 CRIT Supervisor running as root (no user in config file)\r\n2015-08-19 15:41:40,069 INFO RPC interface 'supervisor' initialized\r\n2015-08-19 15:41:40,371 INFO RPC interface 'supervisor' initialized\r\n2015-08-19 15:41:40,371 CRIT Server 'unix_http_server' running without any HTTP authentication checking\r\n2015-08-19 15:41:40,372 INFO daemonizing the supervisord process\r\n2015-08-19 15:41:40,373 INFO supervisord started with pid 2731\r\n2015-08-19 15:41:41,376 INFO spawned: 'ansible_celeryd' with pid 2732\r\n2015-08-19 15:41:41,384 INFO exited: ansible_celeryd (exit status 127; not expected)\r\n2015-08-19 15:41:42,387 INFO spawned: 'ansible_celeryd' with pid 2733\r\n2015-08-19 15:41:42,394 INFO exited: ansible_celeryd (exit status 127; not expected)\r\n2015-08-19 15:41:44,399 INFO spawned: 'ansible_celeryd' with pid 2736\r\n2015-08-19 15:41:44,408 INFO exited: ansible_celeryd (exit status 127; not expected)\r\n2015-08-19 15:41:47,414 INFO spawned: 'ansible_celeryd' with pid 2737\r\n2015-08-19 15:41:47,422 INFO exited: ansible_celeryd (exit status 127; not expected)\r\n2015-08-19 15:41:48,424 INFO gave up: ansible_celeryd entered FATAL state, too many start retries too quickly\r\n------------------------------\r\n-------------------------------\r\n# START celeryd CONFIG\r\n[program:ansible_celeryd]\r\nautorestart = true\r\nstopwaitsecs = 600\r\n#command = /yourvirtualenv/bin/python /ansible_ui_dir/manage.py celeryd -B -l info --autoscale=20,2 --concurrency=20\r\ncommand = /root/envansible/bin/python /home/ansible/ansible_ui/manage.py celeryd -B -l info --autoscale=20,2 --concurrency=20\r\nuser = ansible\r\nautostart = true\r\nlog_stdout = true\r\nlog_stderr = true\r\nlogfile_maxbytes = 50MB\r\nlogfile_backups = 10\r\n#environment=C_FORCE_ROOT=\"true\""}}