0. Cygwin64的安装
apt-cyg searchall package关键字(比如xxd)
apt-cyg mirror
apt-cyg install
1. fuel MOS 8.0的安装
fuel如果有卡住的进程,比如 安装环境没有删除干净,可以通过fuel task list 列出所有的task
[root@fuel ~]# fuel task --delete --task-id 75,76
会出现错误:
2016-10-06 11:05:46
|
ERROR
|
[460] Error running RPC method granular_deploy: Deployment failed on nodes 6, trace:
["/usr/share/gems/gems/astute-8.0.0/lib/astute/deployment_engine.rb:68:in `block (3 levels) in deploy'",
"/usr/share/gems/gems/astute-8.0.0/lib/astute/deployment_engine.rb:51:in `each_slice'",
|
主要参考:
里面会提到Mirantis OpenStack Fuel—MOS本地源/bootstrap制作:
主要各个网卡必须都是 混杂模式的,另外在fuel UI的配置里面
Host OS DNS Servers 从8.8.8.8改为114,另外将三个网络的位置调整到如图的位置,从第一个网卡移到第三个网卡
最终的登录界面:
fuel:
horizon:不是https哦
1.1 关闭fuel,让controller能够出外网
原来的ip ro
root@node-11:~/software/python-don# ip ro
default via 172.16.0.1 dev br-ex
10.20.0.0/24 dev br-fw-admin proto kernel scope link src 10.20.0.11
172.16.0.0/24 dev br-ex proto kernel scope link src 172.16.0.4
192.168.0.0/24 dev br-mgmt proto kernel scope link src 192.168.0.3
192.168.1.0/24 dev br-storage proto kernel scope link src 192.168.1.1
240.0.0.0/30 dev hapr-host proto kernel scope link src 240.0.0.1
240.0.0.4/30 dev vr-host-base proto kernel scope link src 240.0.0.5
新的改造:
把文件vim interfaces.d/ifcfg-br-ex中的gateway注释掉
在vortualbox中添加第四快网卡,设置为NAT模式,同时在controller中拷贝这个文件到ifcfg-eth3
设置一下源
deb trusty main restricted universe multiverse
deb trusty-security main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb trusty-backports main restricted universe multiverse
deb trusty-proposed main restricted universe multiverse
deb-src trusty main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
deb-src trusty-backports main restricted universe multiverse
deb-src trusty-proposed main restricted universe multivers
1.2 安装ansible
-
$ sudo apt-get install software-properties-common
-
$ sudo apt-add-repository ppa:ansible/ansible
-
$ sudo apt-get update
-
$ sudo apt-get install sshpass
-
$ sudo apt-get install ansible
ansible安装完成后,需要执行don的操作:
# uncomment this to disable SSH key host checking
host_key_checking = False
修改don的yaml文件中hosts: don改为hosts: 10.20.0.11
2. 关于ssh到fuel master的问题
可以修改virtualbox中的全局设定中,选择管理 ——全局设定——网络,点右边的螺丝刀按钮,在弹出的窗口中选择DHCP Server选项卡,将Enable Server选项取消,然后把ip设为172.16.0.111之类的,就可以直接从NAT的虚拟机中进行访问fuel master的服务, hack掉宿主机和host-only 网络的互访问题。
Horizon的访问地址是
N.1 把DNS设置死
参考:
解法三:变更DHCP Client的配置文件,在特定的环节追加我们的设定.
代码如下
|
复制代码
|
Linux (Ubuntu Dist.):
在 /etc/dhcp3/dhclient.conf 中增加如下设定:prepend domain-name-servers , ;
|
阅读(1056) | 评论(0) | 转发(0) |