Icehouse resize No valid host was found

Hi all!!

We're currently experimenting an error that's it's pretty weird, the reason
it's that with another user same base image and same flavor we can resize
the instance but with another user with the same base image we cannot with
this error on the logs:

2015-04-21 22:03:37.700 4047516 WARNING nova.scheduler.utils
[req-19a28c0f-ac5e-488b-8722-59135496f8e4 70886ff6b1434e0db5ddefa6180916f8
361f01feb5564973bcffe0a1d75ec795] Failed to compute_task_migrate_server: No
valid host was found.
Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/server.py",
line 139, in inner
return func(*args, **kwargs)

File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line
298, in select_destinations
filter_properties)

File
"/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line
140, in select_destinations
raise exception.NoValidHost(reason='')

NoValidHost: No valid host was found.

In case that someone ask this options are already on all the nodes and the
controller:

allow_resize_to_same_host=True
allow_migrate_to_same_host=True

Boths are in the default section, as I said before the resize can be done
with other instances and with and instances with the same specs.

On the other hand we tried with both cli and dashboard and both user with
enought quota to do the resize and with all the nodes with ram and cpu for
the instance, as a said we already did it with an instance with the same
flavor, can anyone point us on how to do a more deep debug or any advice
about how to handle the error to do a the resize?

Thanks in advance

jonathan.abdiel at gmail

Apr 21, 2015, 7:54 PM

Post #2 of 2
(464 views)

Permalink

Re: Icehouse resize No valid host was found
[In reply to]


Hi George,

We already did that we try the resize with an instance on the same node and
did the resize succesfully without troubles but with the instance with the
problem it didn't work, we're already working with debug=True and
verbose=True and nothings shows up.

We're now trying modifying the .xml file by hand but doesn't look like a
good solutions

On Tue, Apr 21, 2015 at 11:46 PM George Mihaiescu <lmihaiescu [at] gmail>
wrote:

> Hi Jonathan,
>
> The compute node where the instance that fails to resize is hosted must
> have a different config than the others.
> To confirm this theory, find another instance that runs on that host and
> initiate a resize as the user who owns that instance and it will probably
> fail as well.
>
> Enabling debug and verbose in nova.conf and restarting the services on
> that host before trying should give enough info in the nova-compute.log
> about the cause of the failure.
>
> George
>
> On Tue, Apr 21, 2015 at 10:23 PM, Jonathan Abdiel Gonzalez Valdebenito <
> jonathan.abdiel [at] gmail> wrote:
>
>> Hi all!!
>>
>> We're currently experimenting an error that's it's pretty weird, the
>> reason it's that with another user same base image and same flavor we can
>> resize the instance but with another user with the same base image we
>> cannot with this error on the logs:
>>
>> 2015-04-21 22:03:37.700 4047516 WARNING nova.scheduler.utils
>> [req-19a28c0f-ac5e-488b-8722-59135496f8e4 70886ff6b1434e0db5ddefa6180916f8
>> 361f01feb5564973bcffe0a1d75ec795] Failed to compute_task_migrate_server: No
>> valid host was found.
>> Traceback (most recent call last):
>>
>> File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/server.py",
>> line 139, in inner
>> return func(*args, **kwargs)
>>
>> File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line
>> 298, in select_destinations
>> filter_properties)
>>
>> File
>> "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line
>> 140, in select_destinations
>> raise exception.NoValidHost(reason='')
>>
>> NoValidHost: No valid host was found.
>>
>>
>> In case that someone ask this options are already on all the nodes and
>> the controller:
>>
>> allow_resize_to_same_host=True
>> allow_migrate_to_same_host=True
>>
>> Boths are in the default section, as I said before the resize can be done
>> with other instances and with and instances with the same specs.
>>
>> On the other hand we tried with both cli and dashboard and both user with
>> enought quota to do the resize and with all the nodes with ram and cpu for
>> the instance, as a said we already did it with an instance with the same
>> flavor, can anyone point us on how to do a more deep debug or any advice
>> about how to handle the error to do a the resize?
>>
>>
>> Thanks in advance
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack [at] lists
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>

openstack instance resize to的更多相关文章

  1. openstack instance resize Resize error: Unable to resize disk down

  2. openstack instance resize

    Error: No valid host was found. No valid host found for resize

  3. openstack instance resize to rebuild

  4. OpenStack的Resize和冷迁移代码解析及改进

    原文:http://www.hengtianyun.com/download-show-id-79.html OpenStack的Resize(升级)功能,我们可以改变虚拟机的CPU核数.内存及磁盘大 ...

  5. openStack 重新resize时会进行重新调度,可能在本机Resize 扩展资源,也可能存在的情况时 ,新扩展的资源在当前节点不足分配,整个虚拟机将进行迁移调度,进行异机迁移时需要迁移 的两台主机间能使用nova系统用户经passless登录

    openStack 重新resize时会进行重新调度,可能在本机Resize 扩展资源,也可能存在的情况时 ,新扩展的资源在当前节点不足分配,整个虚拟机将进行迁移调度,进行异机迁移时需要迁移 的两台主 ...

  6. openstack instance snapshort

    从下面的截图 高手应该能够看到openstack基于snapshort的 实例的 备份策略了!!!! 从下面某张截图你也能看到用openstack snapshort备份 也是 不太理想的,首先从“磁 ...

  7. openStack instance error 恢复

    cli command下加载openstack超级管理员权限 重设openStack 虚拟机error实例状态即可 nova reset-state instance-id --active

  8. openstack instance change storage dir

    在云计算openstack中以为新建的虚拟机都存放在/var/lib/nova/instances中,在新建虚拟机时内存当然不够用,所以可以将nova转移到新的存储位置 以下操作只在计算节点上进行 一 ...

  9. openstack instance bootmgr is missing 问题 修复

随机推荐

  1. HDU多校Round 6

    Solved:2 rank:452 I. Werewolf 没有铁人 找铁狼 如果一个环中只有一条狼人边那个人就是铁狼 说铁狼是好人的人也是铁狼 #include <bits/stdc++.h& ...

  2. kdump机制和crash常见使用

    kdump简介 kdump是系统崩溃的时候,用来转储运行内存的一个工具. 系统一旦崩溃,内核就没法正常工作了,这个时候将由kdump提供一个用于捕获当前运行信息的内核, 该内核会将此时内存中的所有运行 ...

  3. Python基础之字符的编码

    参考原文 Python廖雪峰 为什么要进行编码? 计算机只能处理二进制数字(0100111),要处理文本,就必须先把文本转为数字才能处理,这个过程就叫编码. 字符的编码 ASCII编码 由于计算机是美 ...

  4. Java基础——异常

    一.什么是异常  异常的英文单词是exception,字面翻译就是“意外.例外”的意思,也就是非正常情况.事实上,异常本质上是程序上的错误,包括程序逻辑错误和系统错误.比如使用空的引用.数组下标越界. ...

  5. MONO Design创建电信3D机房

    前面我们简单介绍了下一分钟创建3D机房,实则mono Design的功能远远不止这些,试想一下,如果我们花上10分钟来创建一个电信机房,那么MONO design又会给我们带来什么样的惊喜呢? 我们从 ...

  6. Python学习笔记之生成器、迭代器和装饰器

    这篇文章主要介绍 Python 中几个常用的高级特性,用好这几个特性可以让自己的代码更加 Pythonnic 哦 1.生成器 什么是生成器呢?简单来说,在 Python 中一边循环一边计算的机制称为 ...

  7. 搭建Nginx服务

    Nginx 是一个高性能的 http 和反向代理服务器,也是一个 IMAP/POP3/SMPT 服务器. Nginx 是由 logor Sysoev 为俄罗斯访问第二的 Ranbler.ru 站点开发 ...

  8. [bzoj2461][BeiJing2011][符环] (括号配对+记忆化搜索+高维dp)

    Description 在可以炼制魔力强大的法杖的同时,Magic Land 上的人们渐渐意识到,魔力强大并不一定能给人们带来好处——反而,由此产生的破坏性的高魔力释放,给整个大陆蒙上了恐怖的阴影.  ...

  9. mariadb-10GTID复制及多源复制

    ---本文大纲 一.什么是GTID 二.应用场景 三.多线程复制说明 四.实现过程 五.多源复制原理 六.实现过程 ---------------------------------- 一.什么是GI ...

  10. 【HDOJ3068】最长回文(manacher)

    题意:求一个由小写字母组成的字符串中的最长回文长度 cas<=120 n<=110000 思路:试manacher板子 ..]of char; p:..]of longint; ch:an ...