devstack

ubuntu 16.04 devstack 安装openstack pike

痞子三分冷 提交于 2019-12-05 02:04:46
准备虚拟机安装ubuntu16.04,配置最好保持4核8G以上。 保证虚拟机与internet的连通性。 安装git, apt install git -y. 下载devstack: git clone https://git.openstack.org/openstack-dev/devstack -b stable/pike 进入devstack目录,准备local.conf: [[local|localrc]] # use TryStack git mirror GIT_BASE=http://git.trystack.cn NOVNC_REPO=http://git.trystack.cn/kanaka/noVNC.git SPICE_REPO=http://git.trystack.cn/git/spice/spice-html5.git # Define images to be automatically downloaded during the DevStack built process. DOWNLOAD_DEFAULT_IMAGES=False IMAGE_URLS="http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" # Credentials DATABASE

Ubuntu16.04 安装OpenStack

牧云@^-^@ 提交于 2019-12-05 02:03:39
Ubuntu16.04 安装OpenStack 1、 更新资源包 sudo apt-get update 2、 时间同步(可选步骤) 同步时区:sudo dpkg-reconfigure tzdata 安装时间同步工具: sudo apt-get install ntpdate sudo ntpdate cn.pool.ntp.org date 3、 devstack下载 安装git:sudo apt-get install git git clone http://git.openstack.org//openstack-dev/devstack - b stable/queens 下载devstack并切换到queens分支: 4、 创建stack用户 添加stack用户 sudo useradd -S /bin/bash -d /opt/stack/ -m stack 给stack用户添加sudo权限 Echo “stack ALL = (ALL) NOPASSWD:ALL” | sudo tee /etc/sudoers.d/stack 将devstack目录放到/opt/stack中并设置权限 sudo mv devstack /opt/stack sudo chown -R stack:stack /opt/stack 切换到stack用户 sudo su –

Error occurred while installing openstack : ./stack.sh:137:die

浪尽此生 提交于 2019-12-04 18:18:14
I tried installing openstack through devstack using the following commands $ git clone https://github.com/openstack-dev/devstack.git -b stable/havana devstack/ i followed this link to do it. I try to run stack.sh using:- thushara@ubuntu:~/devstack$ ./stack.sh Result:- WARNING: this script has not been tested on trusty [Call Trace] ./stack.sh:137:die how to set FORCE=yes? How to overcome this error? You can try and set this variable: FORCE=yes ./stack.sh 来源: https://stackoverflow.com/questions/25830324/error-occurred-while-installing-openstack-stack-sh137die

Error with rabbit-mq server

孤街浪徒 提交于 2019-12-04 06:35:49
I am trying to setup OpenStack on Ubuntu 12.04 using devstack. Now, the error I am getting is: Setting up rabbitmq-server (2.7.1-0ubuntu4) ... Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. invoke-rc.d: initscript rabbitmq-server, action "start" failed. dpkg: error processing rabbitmq-server (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: rabbitmq-server E: Sub-process /usr/bin/dpkg returned an error

Openstack-Devstack: Can't create instance, There are not enough hosts available [closed]

人盡茶涼 提交于 2019-12-03 20:32:01
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I installed openstack via devstack on Ubuntu 14.04. I have got 8 gb of ram on my computer and i have created around 8 VM's which i don't use simultaneously as I use the VM differently. Now i cannot create any more VM's. I get an error message No Valid Host was found. there are not enough hosts available. Can someone advice what should i do? Since you say that this is a devstack installation, I'm

Installing Openstack errors

不羁岁月 提交于 2019-12-03 12:23:50
问题 I have no experience in openstack and would appreciate anyone who can help and guide me with this issue. I'm installing openstack in virtual environment (Ubuntu 12.04) and this came out: git clone git//git.openstack.org/openstack/requirements.git/opt/stack/reqiurements Cloning into '/opt/stack/requirements'... fatal:unable to connect to git.openstack.org: git.openstack.org[0: 192.237.223.224]: errno=Connection refused git.openstack.org[1: 2001:4800:7813:516:3bc3:d7f6:ff04:aacb]: errno=Network

Installing Openstack errors

社会主义新天地 提交于 2019-12-03 03:38:06
I have no experience in openstack and would appreciate anyone who can help and guide me with this issue. I'm installing openstack in virtual environment (Ubuntu 12.04) and this came out: git clone git//git.openstack.org/openstack/requirements.git/opt/stack/reqiurements Cloning into '/opt/stack/requirements'... fatal:unable to connect to git.openstack.org: git.openstack.org[0: 192.237.223.224]: errno=Connection refused git.openstack.org[1: 2001:4800:7813:516:3bc3:d7f6:ff04:aacb]: errno=Network is unreachable Jacek Sztandera I had the same problem, the git protocol is blocked in my testing

Ubuntu系统上All-in-one部署OpenStack

匿名 (未验证) 提交于 2019-12-02 22:56:40
虚拟机软件:VMware Workstaion12 操作系统:Ubuntu14.04 1、修改Ubuntu14.04的apt源为国内的阿里源: cp /etc/apt/sources.list /etc/apt/ sources.list.back vi /etc/apt/ sources.list deb http: // mirrors.aliyun.com/ubuntu/ raring main restricted universe multiverse deb http: // mirrors.aliyun.com/ubuntu/ raring-security main restricted universe multiverse deb http: // mirrors.aliyun.com/ubuntu/ raring-updates main restricted universe multiverse deb http: // mirrors.aliyun.com/ubuntu/ raring-proposed main restricted universe multiverse deb http: // mirrors.aliyun.com/ubuntu/ raring-backports main restricted universe

安装 devstack 问题记录

给你一囗甜甜゛ 提交于 2019-12-02 18:37:46
问题:[ERROR] /opt/stack/devstack/functions-common:422 Unable to determine DISTRO, can not continue. 解决办法:找到对应代码,根据自己系统版本,注释 die 行,添加代码上面对应版本的 DISTRO= 行 vim /opt/stack/devstack/functions-common +422 # die $LINENO "Unable to determine DISTRO, can not continue." DISTRO="rhel${os_RELEASE::1}"       来源: https://www.cnblogs.com/yueshang/p/11758052.html

Openstack dashboard gives error “Error: Unable to retrieve usage information”

岁酱吖の 提交于 2019-12-02 05:04:37
问题 I installed OpenStack on an ec2 instance running Ubuntu 14.04 LTS via devstack. When I login into the dashboard I get an error "Error: Unable to retrieve usage information" When I installed it and logged in for the first time, everything was working fine. But after I stopped my ec2 instance and restarted, I am facing this problem. What might be causing this error? I used the stable juno version of devstack. And the AMI for my ec2 instance is Ubuntu Server 14.04 LTS (HVM), SSD Volume Type.