voilet / cmdb

cmdb saltstack
GNU Affero General Public License v3.0
1.06k stars 593 forks source link

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

Open jindonghu opened 7 years ago

jindonghu commented 7 years ago

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

voilet commented 7 years ago

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

jindonghu commented 7 years ago

谢谢您的回复,那salt api这块是部署完salt就能用吗,与目前的salt-api 2016.11.2 (Carbon)兼容吗?

voilet commented 7 years ago

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

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

jindonghu commented 7 years ago

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

walter9088 commented 7 years ago

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 commented 6 years ago

群名称:voilet/cmdb 群 号:611415099