Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-30 Thread Steve Gordon
- Original Message -
 From: Wuhongning wuhongn...@huawei.com
 To: OpenStack Development Mailing List (not for usage questions) 
 openstack-dev@lists.openstack.org
 
 +1, the hint should be persistent as other server instance metadata.

I don't think there is much disagreement that it makes sense to do this, but 
more how/where to do so. You can refer to the comments in the review Jay linekd 
for more background:

https://review.openstack.org/#/c/88983/17/specs/juno/persist-scheduler-hints.rst

 
 From: Alex Xu [sou...@gmail.com]
 Sent: Wednesday, October 29, 2014 9:11 PM
 To: OpenStack Development Mailing List (not for usage questions)
 Subject: Re: [openstack-dev] [Nova] Add scheduler-hints when
 migration/rebuild/evacuate
 
 
 
 2014-10-29 13:42 GMT+08:00 Chen CH Ji
 jiche...@cn.ibm.commailto:jiche...@cn.ibm.com:
 
 Yes, I remember that spec might talk about local storage (in local db?) and
 it can be the root cause
 
 And I think we need persistent storage otherwise the scheduler hints can't
 survive in some conditions such as system reboot or upgrade ?
 
 
 Yeah, that's problem. And I have talk with Jay Lau, look like there already
 got agreement on persistent it.
 
 
 Best Regards!
 
 Kevin (Chen) Ji 纪 晨
 
 Engineer, zVM Development, CSTL
 Notes: Chen CH Ji/China/IBM@IBMCN   Internet:
 jiche...@cn.ibm.commailto:jiche...@cn.ibm.com
 Phone: +86-10-82454158tel:%2B86-10-82454158
 Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
 Beijing 100193, PRC
 
 [Inactive hide details for Alex Xu ---10/29/2014 01:34:13 PM---On 2014年10月29日
 12:37, Chen CH Ji wrote: ]Alex Xu ---10/29/2014 01:34:13 PM---On
 2014年10月29日 12:37, Chen CH Ji wrote: 
 
 From: Alex Xu x...@linux.vnet.ibm.commailto:x...@linux.vnet.ibm.com
 To:
 openstack-dev@lists.openstack.orgmailto:openstack-dev@lists.openstack.org
 Date: 10/29/2014 01:34 PM
 Subject: Re: [openstack-dev] [Nova] Add scheduler-hints when
 migration/rebuild/evacuate
 
 
 
 
 
 On 2014年10月29日 12:37, Chen CH Ji wrote:
 
 I think we already support to specify the host when doing evacuate and
 migration ?
 
 Yes, we support to specify the host, but schedule-hints is different thing.
 
 
 if we need use hints that passed from creating instance, that means we need
 to persistent schedule hints
 I remember we used to have a spec for store it locally ...
 
 
 I also remember we have one spec for persistent before, but I don't know why
 it didn't continue.
 And I think maybe we needn't persistent schedule-hints, just add pass new
 schedule-hints when
 migration the instance. Nova just need provide the mechanism.
 
 
 Best Regards!
 
 Kevin (Chen) Ji 纪 晨
 
 Engineer, zVM Development, CSTL
 Notes: Chen CH Ji/China/IBM@IBMCN   Internet:
 jiche...@cn.ibm.commailto:jiche...@cn.ibm.com
 Phone: +86-10-82454158tel:%2B86-10-82454158
 Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
 Beijing 100193, PRC
 
 [Inactive hide details for Alex Xu ---10/29/2014 12:19:35   PM---Hi,
 Currently migration/rebuild/evacuate didn't support   pass]Alex Xu
 ---10/29/2014 12:19:35 PM---Hi, Currently migration/rebuild/evacuate didn't
 support pass
 
 From: Alex Xu x...@linux.vnet.ibm.commailto:x...@linux.vnet.ibm.com
 To:
 openstack-dev@lists.openstack.orgmailto:openstack-dev@lists.openstack.org
 Date: 10/29/2014 12:19 PM
 Subject: [openstack-dev] [Nova] Add scheduler-hints when
 migration/rebuild/evacuate
 
 
 
 
 
 Hi,
 
 Currently migration/rebuild/evacuate didn't support pass
 scheduler-hints, that means any migration
 can't use schedule-hints that passed when creating instance.
 
 Can we add scheduler-hints support when migration/rebuild/evacuate? That
 also can enable user
 move in/out instance to/from an server group.
 
 Thanks
 Alex
 
 
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
 
 
 
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
 
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
 
 
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-30 Thread Alex Xu
2014-10-31 2:14 GMT+08:00 Steve Gordon sgor...@redhat.com:

 - Original Message -
  From: Wuhongning wuhongn...@huawei.com
  To: OpenStack Development Mailing List (not for usage questions) 
 openstack-dev@lists.openstack.org
 
  +1, the hint should be persistent as other server instance metadata.

 I don't think there is much disagreement that it makes sense to do this,
 but more how/where to do so. You can refer to the comments in the review
 Jay linekd for more background:


 https://review.openstack.org/#/c/88983/17/specs/juno/persist-scheduler-hints.rst


Yea, thanks! will check that.




  
  From: Alex Xu [sou...@gmail.com]
  Sent: Wednesday, October 29, 2014 9:11 PM
  To: OpenStack Development Mailing List (not for usage questions)
  Subject: Re: [openstack-dev] [Nova] Add scheduler-hints when
  migration/rebuild/evacuate
 
 
 
  2014-10-29 13:42 GMT+08:00 Chen CH Ji
  jiche...@cn.ibm.commailto:jiche...@cn.ibm.com:
 
  Yes, I remember that spec might talk about local storage (in local db?)
 and
  it can be the root cause
 
  And I think we need persistent storage otherwise the scheduler hints
 can't
  survive in some conditions such as system reboot or upgrade ?
 
 
  Yeah, that's problem. And I have talk with Jay Lau, look like there
 already
  got agreement on persistent it.
 
 
  Best Regards!
 
  Kevin (Chen) Ji 纪 晨
 
  Engineer, zVM Development, CSTL
  Notes: Chen CH Ji/China/IBM@IBMCN   Internet:
  jiche...@cn.ibm.commailto:jiche...@cn.ibm.com
  Phone: +86-10-82454158tel:%2B86-10-82454158
  Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
  Beijing 100193, PRC
 
  [Inactive hide details for Alex Xu ---10/29/2014 01:34:13 PM---On
 2014年10月29日
  12:37, Chen CH Ji wrote: ]Alex Xu ---10/29/2014 01:34:13 PM---On
  2014年10月29日 12:37, Chen CH Ji wrote: 
 
  From: Alex Xu x...@linux.vnet.ibm.commailto:x...@linux.vnet.ibm.com
  To:
  openstack-dev@lists.openstack.orgmailto:
 openstack-dev@lists.openstack.org
  Date: 10/29/2014 01:34 PM
  Subject: Re: [openstack-dev] [Nova] Add scheduler-hints when
  migration/rebuild/evacuate
 
  
 
 
 
  On 2014年10月29日 12:37, Chen CH Ji wrote:
 
  I think we already support to specify the host when doing evacuate and
  migration ?
 
  Yes, we support to specify the host, but schedule-hints is different
 thing.
 
 
  if we need use hints that passed from creating instance, that means we
 need
  to persistent schedule hints
  I remember we used to have a spec for store it locally ...
 
 
  I also remember we have one spec for persistent before, but I don't know
 why
  it didn't continue.
  And I think maybe we needn't persistent schedule-hints, just add pass new
  schedule-hints when
  migration the instance. Nova just need provide the mechanism.
 
 
  Best Regards!
 
  Kevin (Chen) Ji 纪 晨
 
  Engineer, zVM Development, CSTL
  Notes: Chen CH Ji/China/IBM@IBMCN   Internet:
  jiche...@cn.ibm.commailto:jiche...@cn.ibm.com
  Phone: +86-10-82454158tel:%2B86-10-82454158
  Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
  Beijing 100193, PRC
 
  [Inactive hide details for Alex Xu ---10/29/2014 12:19:35
  PM---Hi,
  Currently migration/rebuild/evacuate didn't support   pass]Alex
 Xu
  ---10/29/2014 12:19:35 PM---Hi, Currently migration/rebuild/evacuate
 didn't
  support pass
 
  From: Alex Xu x...@linux.vnet.ibm.commailto:x...@linux.vnet.ibm.com
  To:
  openstack-dev@lists.openstack.orgmailto:
 openstack-dev@lists.openstack.org
  Date: 10/29/2014 12:19 PM
  Subject: [openstack-dev] [Nova] Add scheduler-hints when
  migration/rebuild/evacuate
 
  
 
 
 
  Hi,
 
  Currently migration/rebuild/evacuate didn't support pass
  scheduler-hints, that means any migration
  can't use schedule-hints that passed when creating instance.
 
  Can we add scheduler-hints support when migration/rebuild/evacuate? That
  also can enable user
  move in/out instance to/from an server group.
 
  Thanks
  Alex
 
 
  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.orgmailto:
 OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
 
 
 
  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.orgmailto:
 OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.orgmailto:
 OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
 
  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.orgmailto:
 OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-29 Thread Jay Lau
Hi Alex,

You can continue the work https://review.openstack.org/#/c/88983/ from here
;-)

2014-10-29 13:42 GMT+08:00 Chen CH Ji jiche...@cn.ibm.com:

 Yes, I remember that spec might talk about local storage (in local db?)
 and it can be the root cause

 And I think we need persistent storage otherwise the scheduler hints can't
 survive in some conditions such as system reboot or upgrade ?

 Best Regards!

 Kevin (Chen) Ji 纪 晨

 Engineer, zVM Development, CSTL
 Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jiche...@cn.ibm.com
 Phone: +86-10-82454158
 Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
 Beijing 100193, PRC

 [image: Inactive hide details for Alex Xu ---10/29/2014 01:34:13 PM---On
 2014年10月29日 12:37, Chen CH Ji wrote: ]Alex Xu ---10/29/2014 01:34:13
 PM---On 2014年10月29日 12:37, Chen CH Ji wrote: 

 From: Alex Xu x...@linux.vnet.ibm.com
 To: openstack-dev@lists.openstack.org
 Date: 10/29/2014 01:34 PM
 Subject: Re: [openstack-dev] [Nova] Add scheduler-hints when
 migration/rebuild/evacuate

 --



 On 2014年10月29日 12:37, Chen CH Ji wrote:


I think we already support to specify the host when doing evacuate and
migration ?


 Yes, we support to specify the host, but schedule-hints is different thing.



if we need use hints that passed from creating instance, that means we
need to persistent schedule hints
I remember we used to have a spec for store it locally ...



 I also remember we have one spec for persistent before, but I don't know
 why it didn't continue.
 And I think maybe we needn't persistent schedule-hints, just add pass new
 schedule-hints when
 migration the instance. Nova just need provide the mechanism.



Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: *jiche...@cn.ibm.com*
jiche...@cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian
District, Beijing 100193, PRC

[image: Inactive hide details for Alex Xu ---10/29/2014 12:19:35
PM---Hi, Currently migration/rebuild/evacuate didn't support pass]Alex
Xu ---10/29/2014 12:19:35 PM---Hi, Currently migration/rebuild/evacuate
didn't support pass

From: Alex Xu *x...@linux.vnet.ibm.com* x...@linux.vnet.ibm.com
To: *openstack-dev@lists.openstack.org*
openstack-dev@lists.openstack.org
Date: 10/29/2014 12:19 PM
Subject: [openstack-dev] [Nova] Add scheduler-hints when
migration/rebuild/evacuate

--



Hi,

Currently migration/rebuild/evacuate didn't support pass
scheduler-hints, that means any migration
can't use schedule-hints that passed when creating instance.

Can we add scheduler-hints support when migration/rebuild/evacuate?
That
also can enable user
move in/out instance to/from an server group.

Thanks
Alex


___
OpenStack-dev mailing list
 *OpenStack-dev@lists.openstack.org* OpenStack-dev@lists.openstack.org
 *http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev*
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




___
OpenStack-dev mailing list
*OpenStack-dev@lists.openstack.org* OpenStack-dev@lists.openstack.org
*http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev*
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
Thanks,

Jay
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-29 Thread Alex Xu
Hah, thanks :), Let me see if I can help on that.

2014-10-29 19:59 GMT+08:00 Jay Lau jay.lau@gmail.com:

 Hi Alex,

 You can continue the work https://review.openstack.org/#/c/88983/ from
 here ;-)

 2014-10-29 13:42 GMT+08:00 Chen CH Ji jiche...@cn.ibm.com:

 Yes, I remember that spec might talk about local storage (in local db?)
 and it can be the root cause

 And I think we need persistent storage otherwise the scheduler hints
 can't survive in some conditions such as system reboot or upgrade ?

 Best Regards!

 Kevin (Chen) Ji 纪 晨

 Engineer, zVM Development, CSTL
 Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jiche...@cn.ibm.com
 Phone: +86-10-82454158
 Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
 Beijing 100193, PRC

 [image: Inactive hide details for Alex Xu ---10/29/2014 01:34:13 PM---On
 2014年10月29日 12:37, Chen CH Ji wrote: ]Alex Xu ---10/29/2014 01:34:13
 PM---On 2014年10月29日 12:37, Chen CH Ji wrote: 

 From: Alex Xu x...@linux.vnet.ibm.com
 To: openstack-dev@lists.openstack.org
 Date: 10/29/2014 01:34 PM
 Subject: Re: [openstack-dev] [Nova] Add scheduler-hints when
 migration/rebuild/evacuate

 --



 On 2014年10月29日 12:37, Chen CH Ji wrote:


I think we already support to specify the host when doing evacuate
and migration ?


 Yes, we support to specify the host, but schedule-hints is different
 thing.



if we need use hints that passed from creating instance, that means
we need to persistent schedule hints
I remember we used to have a spec for store it locally ...



 I also remember we have one spec for persistent before, but I don't know
 why it didn't continue.
 And I think maybe we needn't persistent schedule-hints, just add pass new
 schedule-hints when
 migration the instance. Nova just need provide the mechanism.



Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: *jiche...@cn.ibm.com*
jiche...@cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian
District, Beijing 100193, PRC

[image: Inactive hide details for Alex Xu ---10/29/2014 12:19:35
PM---Hi, Currently migration/rebuild/evacuate didn't support pass]Alex
Xu ---10/29/2014 12:19:35 PM---Hi, Currently migration/rebuild/evacuate
didn't support pass

From: Alex Xu *x...@linux.vnet.ibm.com* x...@linux.vnet.ibm.com
To: *openstack-dev@lists.openstack.org*
openstack-dev@lists.openstack.org
Date: 10/29/2014 12:19 PM
Subject: [openstack-dev] [Nova] Add scheduler-hints when
migration/rebuild/evacuate

--



Hi,

Currently migration/rebuild/evacuate didn't support pass
scheduler-hints, that means any migration
can't use schedule-hints that passed when creating instance.

Can we add scheduler-hints support when migration/rebuild/evacuate?
That
also can enable user
move in/out instance to/from an server group.

Thanks
Alex


___
OpenStack-dev mailing list
 *OpenStack-dev@lists.openstack.org* OpenStack-dev@lists.openstack.org
 *http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev*
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




___
OpenStack-dev mailing list
*OpenStack-dev@lists.openstack.org*
OpenStack-dev@lists.openstack.org
*http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev*
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




 --
 Thanks,

 Jay

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-29 Thread Alex Xu
2014-10-29 13:42 GMT+08:00 Chen CH Ji jiche...@cn.ibm.com:

 Yes, I remember that spec might talk about local storage (in local db?)
 and it can be the root cause

 And I think we need persistent storage otherwise the scheduler hints can't
 survive in some conditions such as system reboot or upgrade ?


Yeah, that's problem. And I have talk with Jay Lau, look like there already
got agreement on persistent it.


 Best Regards!

 Kevin (Chen) Ji 纪 晨

 Engineer, zVM Development, CSTL
 Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jiche...@cn.ibm.com
 Phone: +86-10-82454158
 Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
 Beijing 100193, PRC

 [image: Inactive hide details for Alex Xu ---10/29/2014 01:34:13 PM---On
 2014年10月29日 12:37, Chen CH Ji wrote: ]Alex Xu ---10/29/2014 01:34:13
 PM---On 2014年10月29日 12:37, Chen CH Ji wrote: 

 From: Alex Xu x...@linux.vnet.ibm.com
 To: openstack-dev@lists.openstack.org
 Date: 10/29/2014 01:34 PM
 Subject: Re: [openstack-dev] [Nova] Add scheduler-hints when
 migration/rebuild/evacuate

 --



 On 2014年10月29日 12:37, Chen CH Ji wrote:


I think we already support to specify the host when doing evacuate and
migration ?


 Yes, we support to specify the host, but schedule-hints is different thing.



if we need use hints that passed from creating instance, that means we
need to persistent schedule hints
I remember we used to have a spec for store it locally ...



 I also remember we have one spec for persistent before, but I don't know
 why it didn't continue.
 And I think maybe we needn't persistent schedule-hints, just add pass new
 schedule-hints when
 migration the instance. Nova just need provide the mechanism.



Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: *jiche...@cn.ibm.com*
jiche...@cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian
District, Beijing 100193, PRC

[image: Inactive hide details for Alex Xu ---10/29/2014 12:19:35
PM---Hi, Currently migration/rebuild/evacuate didn't support pass]Alex
Xu ---10/29/2014 12:19:35 PM---Hi, Currently migration/rebuild/evacuate
didn't support pass

From: Alex Xu *x...@linux.vnet.ibm.com* x...@linux.vnet.ibm.com
To: *openstack-dev@lists.openstack.org*
openstack-dev@lists.openstack.org
Date: 10/29/2014 12:19 PM
Subject: [openstack-dev] [Nova] Add scheduler-hints when
migration/rebuild/evacuate

--



Hi,

Currently migration/rebuild/evacuate didn't support pass
scheduler-hints, that means any migration
can't use schedule-hints that passed when creating instance.

Can we add scheduler-hints support when migration/rebuild/evacuate?
That
also can enable user
move in/out instance to/from an server group.

Thanks
Alex


___
OpenStack-dev mailing list
 *OpenStack-dev@lists.openstack.org* OpenStack-dev@lists.openstack.org
 *http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev*
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




___
OpenStack-dev mailing list
*OpenStack-dev@lists.openstack.org* OpenStack-dev@lists.openstack.org
*http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev*
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-29 Thread Wuhongning
+1, the hint should be persistent as other server instance metadata.


From: Alex Xu [sou...@gmail.com]
Sent: Wednesday, October 29, 2014 9:11 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Nova] Add scheduler-hints when 
migration/rebuild/evacuate



2014-10-29 13:42 GMT+08:00 Chen CH Ji 
jiche...@cn.ibm.commailto:jiche...@cn.ibm.com:

Yes, I remember that spec might talk about local storage (in local db?) and it 
can be the root cause

And I think we need persistent storage otherwise the scheduler hints can't 
survive in some conditions such as system reboot or upgrade ?


Yeah, that's problem. And I have talk with Jay Lau, look like there already got 
agreement on persistent it.


Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: 
jiche...@cn.ibm.commailto:jiche...@cn.ibm.com
Phone: +86-10-82454158tel:%2B86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

[Inactive hide details for Alex Xu ---10/29/2014 01:34:13 PM---On 2014年10月29日 
12:37, Chen CH Ji wrote: ]Alex Xu ---10/29/2014 01:34:13 PM---On 2014年10月29日 
12:37, Chen CH Ji wrote: 

From: Alex Xu x...@linux.vnet.ibm.commailto:x...@linux.vnet.ibm.com
To: openstack-dev@lists.openstack.orgmailto:openstack-dev@lists.openstack.org
Date: 10/29/2014 01:34 PM
Subject: Re: [openstack-dev] [Nova] Add scheduler-hints when 
migration/rebuild/evacuate





On 2014年10月29日 12:37, Chen CH Ji wrote:

I think we already support to specify the host when doing evacuate and 
migration ?

Yes, we support to specify the host, but schedule-hints is different thing.


if we need use hints that passed from creating instance, that means we need to 
persistent schedule hints
I remember we used to have a spec for store it locally ...


I also remember we have one spec for persistent before, but I don't know why it 
didn't continue.
And I think maybe we needn't persistent schedule-hints, just add pass new 
schedule-hints when
migration the instance. Nova just need provide the mechanism.


Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: 
jiche...@cn.ibm.commailto:jiche...@cn.ibm.com
Phone: +86-10-82454158tel:%2B86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

[Inactive hide details for Alex Xu ---10/29/2014 12:19:35   PM---Hi, 
Currently migration/rebuild/evacuate didn't support   pass]Alex Xu 
---10/29/2014 12:19:35 PM---Hi, Currently migration/rebuild/evacuate didn't 
support pass

From: Alex Xu x...@linux.vnet.ibm.commailto:x...@linux.vnet.ibm.com
To: openstack-dev@lists.openstack.orgmailto:openstack-dev@lists.openstack.org
Date: 10/29/2014 12:19 PM
Subject: [openstack-dev] [Nova] Add scheduler-hints when 
migration/rebuild/evacuate





Hi,

Currently migration/rebuild/evacuate didn't support pass
scheduler-hints, that means any migration
can't use schedule-hints that passed when creating instance.

Can we add scheduler-hints support when migration/rebuild/evacuate? That
also can enable user
move in/out instance to/from an server group.

Thanks
Alex


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-28 Thread Chen CH Ji
I think we already support to specify the host when doing evacuate and
migration ?

if we need use hints that passed from creating instance, that means we need
to persistent schedule hints
I remember we used to have a spec for store it locally ...

Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jiche...@cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
Beijing 100193, PRC



From:   Alex Xu x...@linux.vnet.ibm.com
To: openstack-dev@lists.openstack.org
Date:   10/29/2014 12:19 PM
Subject:[openstack-dev] [Nova] Add scheduler-hints when
migration/rebuild/evacuate



Hi,

Currently migration/rebuild/evacuate didn't support pass
scheduler-hints, that means any migration
can't use schedule-hints that passed when creating instance.

Can we add scheduler-hints support when migration/rebuild/evacuate? That
also can enable user
move in/out instance to/from an server group.

Thanks
Alex


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-28 Thread Alex Xu

On 2014年10月29日 12:37, Chen CH Ji wrote:


I think we already support to specify the host when doing evacuate and 
migration ?



Yes, we support to specify the host, but schedule-hints is different thing.



if we need use hints that passed from creating instance, that means we 
need to persistent schedule hints

I remember we used to have a spec for store it locally ...



I also remember we have one spec for persistent before, but I don't know 
why it didn't continue.
And I think maybe we needn't persistent schedule-hints, just add pass 
new schedule-hints when

migration the instance. Nova just need provide the mechanism.



Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jiche...@cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian 
District, Beijing 100193, PRC


Inactive hide details for Alex Xu ---10/29/2014 12:19:35 PM---Hi, 
Currently migration/rebuild/evacuate didn't support passAlex Xu 
---10/29/2014 12:19:35 PM---Hi, Currently migration/rebuild/evacuate 
didn't support pass


From: Alex Xu x...@linux.vnet.ibm.com
To: openstack-dev@lists.openstack.org
Date: 10/29/2014 12:19 PM
Subject: [openstack-dev] [Nova] Add scheduler-hints when 
migration/rebuild/evacuate






Hi,

Currently migration/rebuild/evacuate didn't support pass
scheduler-hints, that means any migration
can't use schedule-hints that passed when creating instance.

Can we add scheduler-hints support when migration/rebuild/evacuate? That
also can enable user
move in/out instance to/from an server group.

Thanks
Alex


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-28 Thread Chen CH Ji
Yes, I remember that spec might talk about local storage (in local db?) and
it can be the root cause

And I think we need persistent storage otherwise the scheduler hints can't
survive in some conditions such as system reboot or upgrade ?

Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jiche...@cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
Beijing 100193, PRC



From:   Alex Xu x...@linux.vnet.ibm.com
To: openstack-dev@lists.openstack.org
Date:   10/29/2014 01:34 PM
Subject:Re: [openstack-dev] [Nova] Add scheduler-hints  when
migration/rebuild/evacuate



On 2014年10月29日 12:37, Chen CH Ji wrote:


  I think we already support to specify the host when doing evacuate
  and migration ?


Yes, we support to specify the host, but schedule-hints is different thing.



  if we need use hints that passed from creating instance, that means
  we need to persistent schedule hints
  I remember we used to have a spec for store it locally ...



I also remember we have one spec for persistent before, but I don't know
why it didn't continue.
And I think maybe we needn't persistent schedule-hints, just add pass new
schedule-hints when
migration the instance. Nova just need provide the mechanism.




  Best Regards!

  Kevin (Chen) Ji 纪 晨

  Engineer, zVM Development, CSTL
  Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jiche...@cn.ibm.com
  Phone: +86-10-82454158
  Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian
  District, Beijing 100193, PRC

  Inactive hide details for Alex Xu ---10/29/2014 12:19:35
  PM---Hi, Currently migration/rebuild/evacuate didn't support
  passAlex Xu ---10/29/2014 12:19:35 PM---Hi, Currently
  migration/rebuild/evacuate didn't support pass

  From: Alex Xu x...@linux.vnet.ibm.com
  To: openstack-dev@lists.openstack.org
  Date: 10/29/2014 12:19 PM
  Subject: [openstack-dev] [Nova] Add scheduler-hints when
  migration/rebuild/evacuate





  Hi,

  Currently migration/rebuild/evacuate didn't support pass
  scheduler-hints, that means any migration
  can't use schedule-hints that passed when creating instance.

  Can we add scheduler-hints support when migration/rebuild/evacuate?
  That
  also can enable user
  move in/out instance to/from an server group.

  Thanks
  Alex


  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev