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. BZOJ 1058: [ZJOI2007]报表统计 multiset + 卡常

    Code: #include<bits/stdc++.h> #define maxn 600000 #define inf 1000000000 using namespace std; ...

  2. 向appstore提交app流程

    http://www.cocoachina.com/newbie/tutorial/2013/0508/6155.html http://blog.csdn.net/holydancer/articl ...

  3. 「 RQNOJ PID204 」 特种部队

    解题思路 看了一下题解,感觉题解貌似有些错误.所以把我的见解放在这里,希望路过的大佬可以帮忙解释一下 QAQ 就是这里的更新 $dp[i-1][i]$ 和 $dp[i][i-1]$ 的时候,之前博主说 ...

  4. Luogu P3802 小魔女帕琪

    P3802 小魔女帕琪 题目背景 从前有一个聪明的小魔女帕琪,兴趣是狩猎吸血鬼. 帕琪能熟练使用七种属性(金.木.水.火.土.日.月)的魔法,除了能使用这么多种属性魔法外,她还能将两种以上属性组合,从 ...

  5. Python学习-while循环练习

    1.计算1-100的和 i = 1; total = 0; while i <= 100: total = total + i; i = i + 1; print(total); 2.打印出1- ...

  6. Flask项目中整合各组件

    一.介绍 主要介绍flask_sqlalchemy.flask_script.flask_migrate这三个组件该如何整合到flask项目中,以及如何使用. # 安装组件 pip3 install ...

  7. C语言结构体用法

    结构体的定义: 方法一: struct student { char name[10]; int age; int number; }; struct student stu1; 方法二: struc ...

  8. c# 缓存!

    做项目的时候获取所有城市的时候,发现每次去获取都花费了很多时间,所以用缓存方法让效率更高! 这是我做的例子,如下: public class CacheGetCity { /// <summar ...

  9. Spring核心技术(三)——Spring的依赖及其注入(续)

    本文将继续前文,针对依赖注入的细节进行描述 依赖注入细节 如前文所述,开发者可以通过定义Bean的依赖的来引用其他的Bean或者是一些值的,Spring基于XML的配置元数据通过支持一些子元素< ...

  10. SSM+Shiro

    1) 表名:用户表(Sys_Users) Salt:盐(佐料).为避免被黑客等进行攻击(暴力密码破解),所以一般在注册用户信息时,系统会随机生成一个随机码.在验证时会将密码和随机码进行运算,以验证密码 ...