devstack

Error: No sql_connection parameter is established when creating instances on openstack pike devstack

让人想犯罪 __ 提交于 2021-02-10 06:23:43
问题 I've successfully installed Openstack Devstack pike on my Ubuntu 16.04 by following this link: https://www.mirantis.com/blog/how-to-install-openstack-on-your-local-machine-using-devstack/. when i tried to create an instance i got No sql_connection parameter is established as an error. I've checked /etc/nova/nova.conf and database configuration was as following: [database] connection = mysql+pymysql://root:mypassword@127.0.0.1/nova_cell0?charset=utf8 [api_database] connection = mysql+pymysql:/

在debian中安装devstack

杀马特。学长 韩版系。学妹 提交于 2020-03-22 17:06:45
1.创建devstack相关账号 sudo useradd -s /bin/bash -d /opt/stack -m stack 2. 将stack账号添加到系统的sudoer列表中 sudo visudo 这之后就可以编辑/etc/sudoers的文件内容了。将如下内容附到文件结尾并保存 stack ALL=(ALL) NOPASSWD: ALL 3. 切到stack身份,并进入对应的主目录 sudo su stack cd ~ 4. 安装git sudo apt-get install git -y 5. 下载代码回来 git clone https://opendev.org/openstack/devstack 6. 进入devstack的代码目录,开始配置dev stack cd devstack 来源: https://www.cnblogs.com/leipei2352/p/12546821.html

DevStack instances can't be reached outside devstack node

99封情书 提交于 2020-02-28 01:38:21
问题 Following official documentation, I'm trying to deploy a Devstack on an Ubuntu 18.04 Server OS on a virtual machine. The devstack node has only one network card (ens160) connected to a network with the following CIDR 10.20.30.40/24 . I need my instances accessible publicly on this network (from 10.20.30.240 to 10.20.30.250). So again the following the official floating-IP documentation I managed to form this local.conf file: [[local|localrc]] ADMIN_PASSWORD=secret DATABASE_PASSWORD=$ADMIN

【openstack】devstack 如何成功复制

怎甘沉沦 提交于 2020-02-02 14:07:47
概述: 在应用devstack时,有时会遇到下面的场景从一台安装成功的devstack服务器上复制devstack 到一台全新的服务器上。当然可以通过虚拟机复制来实现,本文介绍通过手工迁移devstack的方式进行迁移,并最大化减少软件下载时间。 1. 迁移准备 步骤1: 操作系统准备 准备一台安装相同的操作系统版本的服务器 修改国内软件源,并进行软件升级 个人建议:推荐使用阿里源,速度快些,但是从稳定性来说还是清华源。 # 具体修改源的方法参考链接 更新源和软件 apt update apt -y upgrade 重新安装部分软件 apt-get install python-dev apt-get install python-pip pip install --upgrade pip pip install -U os-testr #原因见附录 步骤2:【旧服务器】迁移软件准备 stack 整个目录,包括 tar -zcvf stack_ocata.tar.gz /opt/stack/ python软件相关软件目录 cd /usr/local/lib/ tar -zcvf python_2.7.tar.gz python2.7 注意:迁移该目录下的文件,目的是减少与pip源的交互,减少下载文件的时间 cd /usr/local/bin tar -zcvf local_bin

Error occurred while installing openstack after setting FORCE=yes

六眼飞鱼酱① 提交于 2020-01-02 21:55:04
问题 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. In my first attempt i got a error and I resolved it using this link. As per the solution i ran below command:- thushara@ubuntu:~/devstack$ FORCE=yes ./stack.sh Then the script executed but after some time it throws and error again. kindly find segments of the error log below. thushara@ubuntu:~/devstack$

How to manage users/passwords in devstack?

主宰稳场 提交于 2019-12-31 03:37:08
问题 I've installed devstack to a clean Ubuntu machine. I'm able to access the OpenStack Dashboard at http://localhost/auth/login/ . However, I have no idea how to manage users or what my initial credentials are. Where is this information is kept? 回答1: The information is kept in the Keystone MySQL database. Do not edit the DB directly! You'll want to manage users via the Keystone CLI. To do this you need to source your DevStack admin creds properly. cd devstack source openrc admin admin echo $OS

How to expose the Devstack floating ip to the external world?

女生的网名这么多〃 提交于 2019-12-29 09:56:10
问题 To this project, my hardware configuration is a host ESXi 6.7 (OS boot USB 8GB), i7, 8 vCPU, 16GB RAM, 128GB SSD and 500GB HDD. And I created a single vm (7 vCPU, 15GB RAM, 100GB SSD, 1 NIC) and I installed Ubuntu 18.04 (LVM filesystems). I installed the Devstack with “stack.sh”. My Devstack “local.conf” includes those lines about the network: [[local|localrc]] ... IP_VERSION=4 HOST_IP=192.168.1.104 FLOATING_RANGE="192.168.1.224/27" Q_FLOATING_ALLOCATION_POOL=start=192.168.1.226,end=192.168.1

openstack——Nova组件

本小妞迷上赌 提交于 2019-12-26 17:28:59
Nova 搭建本地的 pip 源 《 基于 CentOS 的 pip 本地源搭建方法 》 采用bandsnatch与pypi官方源同步,不能指定单个软件包同步 bandsnatch仅支持与https的源同步,不支持与http的源同步 同步的软件数量巨大,耗时长,且网络质量差,经常超时失败 《 搭建本地 pypi 源方法 – 仅同步 openstack 依赖的的 pypi 软件包 》 采用pip2pi进行同步,支持单个软件包同步,也支持批量软件包同步 既支持与https的源同步,也支持与http的源同步 同步的软件数量少,耗时短,并且可以与国内优秀的源同步(比如豆瓣) Nova 架构介绍 简单架构 简单架构 单点服务 无负载均衡 无高可靠 复杂架构 复杂架构 负载均衡 高可靠 nova 的服务 Nova API nova-api 服务 接收和响应用户的 API 请求 api接口调用,与命令行调用相区别 #API接口: curl -H "X-Auth-Token: <Token ID>" http://192.168.100.70:8774/v2/ < Tenant ID > /servers #命令行: nova list 服务启动脚本( devstack vs. packstack ) /usr/bin/nova-api vs. /etc/init.d/openstack-nova

Docker Openedx devstack theming

和自甴很熟 提交于 2019-12-23 02:26:24
问题 How do I install and enable my custom theme in OpenEdx's docker based DevStack? I use comprehensive theming I use docker on Linux 回答1: The LMS and CMS read many configuration settings from the container filesystem in the following locations: /edx/app/edxapp/cms.env.json /edx/app/edxapp/cms.auth.json Since you are using docker DevStack, shell into LMS, CMS to find those files. shell into LMS make lms-shell Shell into CMS make studio-shell You can create this directory at any location on a file

No rejoin-stack.sh script in my setup

寵の児 提交于 2019-12-17 19:29:19
问题 I've installed the "all-in-one" setup of DevStack. But when I rebooted my system nothings works, and I lose all my already-created instances, images, configs, ... I've found that I need to use the script rejoin-stack.sh but in my setup doesn't exists. Please, any suggestions could help me, I'm blocked by the same problem since 1 week ! 回答1: As mentioned elsewhere here, rejoin-stack.sh was recently removed. It was barely maintained and did not work for a lot of use cases, plus it encouraged an