devstack

Openstack working from my instance: Connecting to nova.clouds.ubuntu Cannot initiate connection

余生长醉 提交于 2019-12-13 02:05:07
问题 I am new to Openstack, I've installed it using devstack. I launched an instance using ubuntu server cloud image with heat flavor. I can ssh to the instance. The problem is when trying to do: sudo apt-get update sudo apt-get install openjdk-7-jdk I have 0% (connecting to nova.clouds.archive.ubuntu.com ip@) It keeps changing the ip@ then error cannot initiate connection to nova connect(101: network unreachable) I am associating floating IP to my instance Update ubuntu@selftrusty:~$ ifconfig

openstack nova ocmpute not creating instance?

廉价感情. 提交于 2019-12-11 15:44:38
问题 I can't get nova compute to create an instance of my project. Could anyone help me debug the problem? If i create an instance on the web interface from openstack it doesn't appear, and nova-compute gives methis error ERROR nova.compute.resource_tracker [None req-8c3ddc97-60a0-47c4-b4a6-3f22216896e9 None None] Skipping removal of all ocations for deleted instances: Failed to retrieve allocations for resource provider 310b0401-71cc-45e5-8c16-1ac9a337 2654: {"errors": [{"status": 404, "request

pycharm remote debugging unable to retrieve variables

时光总嘲笑我的痴心妄想 提交于 2019-12-11 13:25:27
问题 I just getting started to develop openstack. when it comes to debuging program on my server where devstack is deployed, I congured remote debug options flowing docs on Pycharm's offcial site. problem raised. The Frames or call stack? display normally, but variables can't not be displayed and show message " Unable to display frame variables " what i did just as below: mount remote system to local using sshfs setup pycharm remote debug options add pydevd to my code and connection had been made

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

ⅰ亾dé卋堺 提交于 2019-12-06 12:35:32
问题 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? 回答1: You can try and set this variable: FORCE=yes ./stack.sh 来源: https://stackoverflow.com

Error with rabbit-mq server

落花浮王杯 提交于 2019-12-06 00:54:26
问题 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

ubuntu16.04 用devstack部署安装OpenStack ocata

社会主义新天地 提交于 2019-12-05 14:46:39
原文链接 之所以再重复一下,是因为踩坑的过程,希望能帮助有需要的人。 介绍: 宿主机win10,在vmware下创建两台ubuntu16.04虚拟机,一台作为控制节点,一台作为计算节点,利用devstack部署openstack ocata。 前期工作:   1、下载ubuntu镜像,我用的是ubuntu-16.04.3-server-amd64版本   2、下载vmware workstation,我用的是vmware workstation 11版本   3、下载xshell,用于ssh连接虚拟机,方便复制代码   4、安装完vmware后,点击编辑,启动虚拟网络编辑器,选择vmnet8,依次设置子网ip、子网掩码、点击NAT设置,修改网关为10.10.10.2(10.10.10.1默认分给宿主机) 安装虚拟机:   作为控制节点的虚拟机至少分配40g磁盘空间,4g内存,处理器开启虚拟化,网络适配器设置NAT模式,再添加一个网络适配器,设置为host-only模式;作为计算节点的虚拟机至少30g磁盘空间,2g内存,网络适配器类似;然后启动虚拟机,安装操作系统。 开始搭建:(控制节点+计算节点) 1、安装完毕,进入系统,切换到root用户并设置密码 sudo su passwd root // 123456 123456 2、编辑sshd_config文件  vi /etc

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

会有一股神秘感。 提交于 2019-12-05 07:15:48
问题 Closed. This question is off-topic. It is not currently accepting answers. 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

ubuntu16.04-server搭建openstack测试环境

ε祈祈猫儿з 提交于 2019-12-05 02:07:51
由于需要使用JavaEE+Maven搭建openstack4j开发环境并测试,所以顺手搭建一个openstack,看到网上有比较简单的方法,用devstack安装openstack,考虑到电脑配置还撑得住(我的虚拟机是60G硬盘+4G内存,这个以下配置没试过)。 1、ubuntu链接地址 ##http://101.110.118.70/old-releases.ubuntu.com/releases/14.04.1/ubuntu-14.04.1-server-amd64.iso https://www.ubuntu.com/download/server/thank-you?country=CN&version=16.04.3&architecture=amd64 2、虚拟机的配置我就不累述了,以前写过相应的,有兴趣可以找找。 我的配置是60G硬盘+4G内存,NAT桥接,为了省事,其实没有往网络配置里面写东西。 (ifconfig -a 查看 /etc/network/interfaces修改 ) $ sudo vim /etc/network/interfaces 原有内容只有如下两行: auto lo iface lo inet loopback 3、更换apt源为阿里源 vim /etc/apt/sources.list deb http://mirrors.aliyun

virtualbox+ubuntu 16.04+devstack+openstack 安装教程

僤鯓⒐⒋嵵緔 提交于 2019-12-05 02:07:20
本教程是在virtualbox中安装两台ubuntu16.04.4 server虚拟机,通过devstack安装openstack 以下红色为终端输入的命令, 蓝色是配置文件需要输入的 我是学习了cloudman老师的教程才会安装的,下面是转载网址: http://cloudman.cc/ https://mp.weixin.qq.com/s/g-bKZqRFUGXDghIfGJ16_g 视频教程 https://www.cnblogs.com/CloudMan6/p/5357273.html 里面是老师的博客,下面有评论,会讨论一些错误,大家认真看。 安装环境:win10 ubuntu16.04.4 server 笔记本16g内存 i7cpu 网络为中国电信 VirtualBox-5.2.8-121009-Win.exe Xshell 5 首先去官网下载virtualbox,我是5.28版本,同时官网上下载拓展程序Oracle_VM_VirtualBox_Extension_Pack-5.2.8-121009 openstack.vbox-extpack 1.安装Xshell,可以连接终端复制粘贴代码。下面会用到 2.打开vbox,管理---全局设定--扩展那里添加下载的extpack包。 3.安装openstack需要设置好网卡,vbox设置成功了,最后我又去vmware安装

基于虚拟机Ubuntu 16.04 搭建DevStack

时光总嘲笑我的痴心妄想 提交于 2019-12-05 02:05:16
基于虚拟机Ubuntu 16.04 搭建OpenStack 准备工作 安装Ubuntu 16.04版本 1、楼主用的是windows的系统,安装VMware Workstation 14 Pro虚拟机版本,使用的是Ubuntu 16.04 镜像,按照常规方法进行镜像系统安装。 注:虚拟机网络选用“NAT”模式;虚拟机的虚拟化透传功能记得要开启,其他的设置可参照; 2、Ubuntu开启root账户 sudo passwd root 3、开启ssh apt-get update apt-get install openssh-server 输入"sudo vim /etc/ssh/sshd_config"–>回车–>把配置文件中的"PermitRootLogin without-password"加一个"#“号,把它注释掉–>再增加一句"PermitRootLogin yes”–>保存,修改成功 service ssh start 安装DevStack 可以参照官网的步骤进行安装https://docs.openstack.org/devstack/latest/,由于OpenStack的版本更新速度较快,较新的版本可能有未知的bug,so楼主采用的是ocata版本 添加stack用户 sudo useradd -s /bin/bash -d /opt/stack -m stack