Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问波主,pxe_url_api这个要怎么部署? #13

Open
jindonghu opened this issue Mar 5, 2017 · 6 comments
Open

请问波主,pxe_url_api这个要怎么部署? #13

jindonghu opened this issue Mar 5, 2017 · 6 comments

Comments

@jindonghu
Copy link

好像这部分代码没有包含在这个项目列表中,还请赐教,谢谢

@voilet
Copy link
Owner

voilet commented Mar 5, 2017

pxe的api还未开源,这个可以自己看打印post的数据,自己构造一个

@jindonghu
Copy link
Author

jindonghu commented Mar 5, 2017 via email

@voilet
Copy link
Owner

voilet commented Mar 6, 2017

@jindonghu salt api是salt官方的模块
https://github.com/saltstack/salt-api

具体安装方法可以参考绿肥的教程
http://pengyao.org/salt-api-deploy-and-use.html

@jindonghu
Copy link
Author

恩,salt-api目前已经和salt整合了,我部署起来看看,谢谢啦

@walter9088
Copy link

ConnectionError at /salt/key_list/
HTTPSConnectionPool(host='127.0.0.1', port=443): Max retries exceeded with url: /login (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4d500f0910>: Failed to establish a new connection: [Errno 111] Connection refused',))
Request Method: GET
Request URL: http://111.231.15.182/salt/key_list/
Django Version: 1.7
Exception Type: ConnectionError
Exception Value:
HTTPSConnectionPool(host='127.0.0.1', port=443): Max retries exceeded with url: /login (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4d500f0910>: Failed to establish a new connection: [Errno 111] Connection refused',))
Exception Location: /usr/local/lib/python2.7/site-packages/requests/adapters.py in send, line 503
Python Executable: /usr/local/bin/uwsgi
Python Version: 2.7.11
Python Path:
['.',
'/root/cmdb',
'/usr/local/lib/python2.7/site-packages/setuptools-21.0.0-py2.7.egg',
'/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-linux2',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages']
Server time: 星期六, 27 五月 2017 21:30:25 +0800

salt-api都安装好了,但不知道怎么配置到cmdb里,求解?

@zuoyeliuxingyu
Copy link
Collaborator

群名称:voilet/cmdb 群 号:611415099

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants