简体   繁体   English

为Openstack / Devstack安装Solum

[英]Installing Solum for Openstack/Devstack

I've been trying to install Solum locally (first on Windows, then on Ubuntu) since about 3 weeks ago, with no success. 从大约三周前开始,我一直在尝试在本地安装Solum(首先在Windows上,然后在Ubuntu上),但没有成功。

There have been four distinct attempts I've tried: 我尝试了四种不同的尝试:

A. Installing m2 demo of Solum - installation seems succesful, but fails on the last step - ie. A. 安装Solum的m2演示 -安装似乎成功,但是在最后一步失败-即。 connecting via browser. 通过浏览器连接。 VagrantBox's port 9001 is forwarded, the route is pingable, but both Firefox and Google Chrome respond with "Unable to connect". VagrantBox的端口9001已转发,该路由可ping通,但是Firefox和Google Chrome浏览器均响应“无法连接”。 Just-in-case changing 192.168.78.0 to 192.168.76.0 didn't help. 以防万一,将192.168.78.0更改为192.168.76.0并没有帮助。

Interestingly, inspecting the virtual machine with vagrant ssh shows that "solum is not a recognized command". 有趣的是,使用vagrant ssh检查虚拟机显示“ solum不是可识别的命令”。

B. On Ubuntu - fatal error right by the start (no repository). B. 在Ubuntu上 -从一开始就出现致命错误(无存储库)。 I can't find a way to fix that line via any config files. 我找不到通过任何配置文件修复该行的方法。

user@user:~/Inzynierka/solum/contrib/devstack$ sh setup_devstack.sh
Checking for Docker
Getting Solum Code
Cloning into '/home/user/solum'...
remote: Counting objects: 11080, done.
remote: Compressing objects: 100% (5272/5272), done.
remote: Total 11080 (delta 7927), reused 8395 (delta 5518)
Receiving objects: 100% (11080/11080), 1.64 MiB | 1.59 MiB/s, done.
Resolving deltas: 100% (7927/7927), done.
Checking connectivity... done.
Getting devstack Code
Cloning into '/home/user/devstack'...
fatal: https://git.openstack.org/cgit/openstack-dev/devstack.git/info/refs not valid: is this a git repository?
Setting up devstack for Solum
cp: cannot create regular file ‘/home/user/devstack/lib’: No such file or directory
cp: cannot create regular file ‘/home/user/devstack/extras.d’: No such file or directory
Starting devstack
setup_devstack.sh: 27: cd: can't cd to /home/user/devstack
Finished!

C. Installing the development environment (from solum's readthedocs dot org - can't post link because of two-link limit for users with less than 10 reputation). C.安装开发环境(来自solum的readthedocs dot org-由于信誉低于10的用户的双链接限制,因此无法发布链接)。 Once again: 再来一次:

fatal: remote error: access denied or repository not exported: /stackforge/solum

D. Installing solum separately on devstack - I can install devstack with no problem, but I have no idea what to do after that. D.在devstack上分别安装solum-我可以毫无问题地安装devstack,但是之后我不知道该怎么办。 All the documentation says about it: (again from solum's readthedocs dot org - two-link limit) 所有文档都对此进行了说明:(同样来自solum的readthedocs dot org-两链接限制)

 TODO add docs here on how to install on different distros like:

     debian
     redhat
     suse
     ubuntu

Am I doing something wrong? 难道我做错了什么? At this point I'm starting to wonder if Solum has been discontinued or if it's not ready for use yet. 在这一点上,我开始怀疑Solum是否已停产或尚未准备好使用。

Have you tried using vagrant repo on Ubuntu? 您是否尝试过在Ubuntu上使用无业游民的仓库? ( https://github.com/rackerlabs/vagrant-solum-dev ). https://github.com/rackerlabs/vagrant-solum-dev )。 This is the preferred approach. 这是首选方法。

For setting up Solum directly on Devstack, you will need to set up Solum specific files within Devstack. 要直接在Devstack上设置Solum,您需要在Devstack中设置Solum特定的文件。 Recently I have submitted a patch to update the setup script ( https://review.openstack.org/#/c/230222/ ) 最近,我提交了一个补丁来更新安装脚本( https://review.openstack.org/#/c/230222/

If you still run into issues, find me on Solum's IRC channel and I will help you out. 如果您仍然遇到问题,请在Solum的IRC频道上找到我,我会为您提供帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM