openstack源码分析, 有时候看源代码还是存在一定疑问,那么远程调试源代码就非常有必须要, 这里是使用pycham调试nova代码的一种方法
一. 下载源代码
openstack各个版本的源码列表网址:
https://releases.openstack.org/index.html
这里以下载O版为例:
进入–> https://releases.openstack.org/index.html
—> Release Series (版本列表)
—> Ocata
—>Service Projects
—> nova
—> 选择一个版本下载(这里选择最新的15.1.5版本下载)
nova 源码其他获取地址:
https://github.com/openstack/nova/releases
https://releases.openstack.org/rocky/?_ga=2.80636691.582651414.1553938910-375997408.1539443417#nova
二. 调试环境配置
- pycharm 软件目录下 debug-eggs目录的pycharm-debug.egg拷贝到远程主机:
如:E:\Program Files\JetBrains\PyCharm\debug-eggs
- 在远程主机centos上安装:
easy_install pycharm-