Ask Your Question
0

host aggregate always changing

asked 2012-06-14 09:49:17 -0500

Hi Nova experts,

I encounter a problem when creating host aggregate with nova command and found that once a hos was added to an aggregate, then the status of the aggregate was always in changing state, do you know why?

root@nova:/opt/stack/nova/bin# nova aggregate-create ibm nova +----+------+-------------------+-------------------+-------+----------+ | Id | Name | Availability Zone | Operational State | Hosts | Metadata | +----+------+-------------------+-------------------+-------+----------+ | 1 | ibm | nova | created | | | +----+------+-------------------+-------------------+-------+----------+ root@nova:/opt/stack/nova/bin# nova aggregate-add-host 1 nova Aggregate 1 has been succesfully updated. +----+------+-------------------+-------------------+-----------+----------+ | Id | Name | Availability Zone | Operational State | Hosts | Metadata | +----+------+-------------------+-------------------+-----------+----------+ | 1 | ibm | nova | changing | [u'nova'] | {} | +----+------+-------------------+-------------------+-----------+----------+ root@nova:/opt/stack/nova/bin# nova aggregate-list +----+------+-------------------+-------------------+ | Id | Name | Availability Zone | Operational State | +----+------+-------------------+-------------------+ | 1 | ibm | nova | changing | +----+------+-------------------+-------------------+

Thanks,

Guangya Liu IBM CSTL China

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2012-06-22 15:15:01 -0500

johngarbutt gravatar image

What have you got on the api and compute logs? Also, what Hypervisor are you using?

Thanks, John

edit flag offensive delete link more
0

answered 2012-06-27 09:03:02 -0500

Thanks John.

I was using KVM and I was using devstack, I do not know how to get nova-compute log.

Just check nova code, found that the function was not implemented.

The following code are from /opt/stack/nova/nova/virt/driver.py

def add_to_aggregate(self, context, aggregate, host, **kwargs): """Add a compute host to an aggregate.""" raise NotImplementedError()

So now openstack do not support adding a host to host aggregation, right?

Thanks, Guangya Liu ISF Developer IBM CSTL

edit flag offensive delete link more
0

answered 2012-07-05 15:20:19 -0500

johngarbutt gravatar image

There are some changes in this area hitting trunk in the next week or so.

Right now, and in Essex, host-aggregates only works with XenAPI driver.

Hope that helps, John

edit flag offensive delete link more
0

answered 2012-07-09 12:37:37 -0500

Thanks John for the answer. Clear now.

Guangya

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-06-14 09:49:17 -0500

Seen: 58 times

Last updated: Jul 09 '12