问题标签 [devstack]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
633 浏览

python - 使用 devstack 安装 Icehouse openstack 时出错

我正在尝试在 VirtualBox 中的 Ubuntu 12.04 amd64 上安装 icehouse openstack。我正在使用 devstack 这样做。所以,我正在执行脚本“stack.sh”。执行时抛出此错误:

IOError:[Error 2]No such file or directory: '/usr/lib/python2.7/dist-packages/setuptools.egg-info'

我什至更新和升级了 Ubuntu(通过运行命令sudo apt-get update/upgrade),在下载 devstack 之前花了很长时间,但即使在那之后,错误仍然出现。

0 投票
1 回答
409 浏览

java - 登录 jclouds 仍会使用凭据向控制台打印重试连接错误

这条消息有两个问题。

信息:使用本地 vm 和 openstack 的 devstack;冰屋版。使用 1.8.0 的 jclouds。

  1. 我正在尝试使用 jclouds 配置记录器,并不断将错误消息打印到控制台。但是我在我的主程序中不断出现这个错误。我最初使用的是NullLogger,但发现仍然会打印错误。创建了我自己的不会打印错误的 NullLogger,但仍然遇到这个问题(只是覆盖了错误函数)
  2. 另一个问题是此消息只是吐出用于尝试连接的凭据。我想至少在它被打印之前捕捉到这条消息,并提到它无法连接到服务器。

任何解决这些问题的想法将不胜感激!谢谢。

具体错误>>>>>>>>

2015-02-10 10:56:36.707 错误 [Thread-5] ojhhBackoffLimitedRetryHandler 在服务器错误后无法重试,命令已超出重试限制 5:[method=org.jclouds.openstack.keystone.v2_0.AuthenticationApi.public abstract org.jclouds .openstack.keystone.v2_0.domain.Access org.jclouds.openstack.keystone.v2_0.AuthenticationApi.authenticateWithTenantNameAndCredentials(java.lang.String,org.jclouds.openstack.keystone.v2_0.domain.PasswordCredentials) [admin, PasswordCredentials{用户名=admin, password=openstack}] , request=POST http://xxxxxx:5000/v2.0/tokens HTTP/1.1]

logback.xml>>>>>>

0 投票
1 回答
416 浏览

openstack - 在 devstack 安装期间撒哈拉服务无法启动

我正在安装 devstack Juno,最后它出现了一个错误,指出

撒哈拉无法启动

这是有关此错误的详细信息,我无法弄清楚,请帮助我。

0 投票
0 回答
296 浏览

python - pip wheel' 需要 setuptools >= 0.8 以获得 dist-info 支持

我正在尝试运行 devstack ./stack.sh,但是它给了我这个错误:

我尝试了不同的命令,例如:

或者

但是在所有情况下,我都得到了这个:

0 投票
1 回答
139 浏览

python - getting event information for rabbitmq from devstack

I am trying to get information from the event in openstack using rabbitmq."sudo rabbitmqctl list_queues" from this command am not getting any info count and if i do any operation on devstack like creation instance or volume, the event information will generate and it will come to rabbitmq queues, b ut i am not geeting any thing in the queues.

Listing queues ... 9857-790d4e30b1e0_fanout_662d9b12926e4d389890e0011a3f59c7 0

cert 0

cinder-scheduler 0

cinder-volume 0

compute 0

nova 0

from the following code i am trying to get the event information from nova. #!/usr/bin/env python import pika

connection = pika.BlockingConnection(pika.ConnectionParameters( host='localhost'))

channel = connection.channel()

channel.queue_declare(queue='nova')

print ' [*] Waiting for messages. To exit press CTRL+C'

def callback(ch, method, properties, body):

print " [x] Received %r" % (body,)

channel.basic_consume(callback, queue='nova', no_ack=True)

channel.start_consuming()

` Please help me how to get the event from devstack from rabbitmq.

0 投票
1 回答
386 浏览

mpi - Openstack VM 之间的通信

如何让两个虚拟机相互通信?我必须在两个 VM 之间拆分任务,所以我认为必须使用 MPI,如果是的话,有什么有用的资源可以用来开始吗?任何帮助,将不胜感激。

PS:我已经安装了 devstack juno

0 投票
1 回答
447 浏览

openstack - Devstack,元数据服务 - 如何预设配置

这是我的问题的背景:我在启用了 Neutron 的 Ubuntu 14.10 机器上运行 Devstack(稳定的 Juno 版本)。当我生成一个虚拟机,通过 ssh 连接它并尝试 curl 元数据服务(curl http://169.254.169.254)时,它返回一个 500 错误。这里的问题是,其中的配置/etc/neutron/metadata_agent.ini设置错误。它们看起来像这样:

在我将它们更改为

一切正常。

我现在的问题是:如何在我的文件中定义这些设置,local.conf这样我就不必每次取消堆叠/堆叠 Devstack 安装时都手动进行?还是 Devstack 安装脚本中的错误?

0 投票
2 回答
5983 浏览

openstack - 无法 ping/ssh 实例

我已经使用 Devstack(一体机)成功安装了带有 Neutron 的 openstack 实例。现在我有一组 IPv4 地址,我需要将它们作为浮动 IP 分配给我的实例,并使它们可以从主机外部 ping/SSH。

虽然我能够将预期的 IP 作为浮动 IP 分配给我的实例,但它们在主机内部和外部都不可 ping。我已修改安全组规则以允许 SSH 和 PING。这是我的网络详细信息-

我曾尝试使用 netns 进行 ping 操作,但这也不起作用。

如果我遗漏了什么,请告诉我。

0 投票
2 回答
7684 浏览

amazon-web-services - Openstack dashboard gives error "Error: Unable to retrieve usage information"

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. Does restarting the instance might have caused some problem?

0 投票
1 回答
479 浏览

devstack - Edx 开发人员堆栈在访问本地主机后未显示任何内容。页面的 CSS 没有进入 lms

我在 edx devstack 中有一个奇怪的问题。当我在本地主机上运行 paver 命令后运行 devstack 时,一旦浏览器屏幕进入加载状态,我就无法在屏幕上看到任何内容。

然后经过很长时间,屏幕上什么也没有显示,我可以在我附在这个问题上的日志中看到一些警告。我已经评论了导致警告消息的代码。但是在评论警告消失但没有任何改变之后,浏览器再次进入加载模式,点击本地主机 URL 后屏幕上没有任何反应,它只是进入加载模式,没有任何显示。

我也尝试在 Firefox 中运行openxx,但在前狐中,链接和一切都来了,但它们没有任何样式和设计用于 edx。我附上了相同的屏幕截图。

在此处输入图像描述

请帮我解决这个问题,因为我不知道该怎么做。PS我已经使用虚拟盒重新安装了整个堆栈,但对我没有任何帮助。

非常感谢您提前。