Re: [openstack-dev] [nova][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-14 Thread Nikola Đipanov
On 04/10/2014 04:01 PM, Lingxian Kong wrote:
> 2014-04-10 15:06 GMT+08:00 sxmatch  >:
> 
> hi guys:
> 
> I have registered a bp for this issue from Cinder side.
> 
> https://blueprints.launchpad.net/cinder/+spec/send-volume-changed-notifications-to-nova
> Lingxian and I will get involved in this implementation and
> collaborate with nikola.
> 
> 
> 
> Thanks sxmatch for your work. 
> 
> @Mike, would you please review the blueprint, so we can step further for 
> that? 
> 
> @Nikola, waiting for your response, :) 
> 

So the Nova blueprint is here [1] and I have proposed a (somewhat more
general) session for the summit here [2].

Since Nova now has a bit more elaborate BP process [3], will need to
post a review as well which will happen in the next few days.

I am not likely to have all the time in the world to work on this in
Juno... or any for that matter :). But I will be more than happy to
review patches coming in and help them land in case I do have to drop
this from my TODO list.

Thanks,

N.

[1] https://blueprints.launchpad.net/nova/+spec/cinder-events
[2] http://summit.openstack.org/cfp/details/292
[3] https://wiki.openstack.org/wiki/Blueprints#Nova
> 
> -- 
> *-*
> *Lingxian Kong*
> 
> 
> ___
> 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][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-10 Thread Lingxian Kong
2014-04-10 15:06 GMT+08:00 sxmatch :

> hi guys:
>
> I have registered a bp for this issue from Cinder side.
>
> https://blueprints.launchpad.net/cinder/+spec/send-volume-changed-notifications-to-nova
> Lingxian and I will get involved in this implementation and collaborate
> with nikola.
>
>

Thanks sxmatch for your work.

@Mike, would you please review the blueprint, so we can step further for
that?

@Nikola, waiting for your response, :)



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


Re: [openstack-dev] [nova][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-10 Thread sxmatch


? 2014-04-10 8:58, Lingxian Kong ??:


2014-04-10 0:33 GMT+08:00 Nikola ?ipanov >:


On 04/09/2014 03:54 AM, Lingxian Kong wrote:
> yes, the bp also make sense to nova-cinder interaction, may I
submmit
> a blueprint about that?
>
> Any comments?
>

I was going to propose that same thing for Nova as well, as well as a
summit session for Atlanta. Would be good to coordinate the work.

Would you be interested in looking at it from Cinder side?

Thanks,

N.


hi nikola:

Sounds great! very interested in collaborating to make a contribution
towards this effort.

Could you provide your bp and your summit session? I am willing to get
involved in the discussion and/or the design and implementation.


hi guys:

I have registered a bp for this issue from Cinder side.
https://blueprints.launchpad.net/cinder/+spec/send-volume-changed-notifications-to-nova
Lingxian and I will get involved in this implementation and collaborate 
with nikola.




--
*-*
*Lingxian Kong*


___
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][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-09 Thread Lingxian Kong
2014-04-10 0:33 GMT+08:00 Nikola Đipanov :

> On 04/09/2014 03:54 AM, Lingxian Kong wrote:
> > yes, the bp also make sense to nova-cinder interaction, may I submmit
> > a blueprint about that?
> >
> > Any comments?
> >
>
> I was going to propose that same thing for Nova as well, as well as a
> summit session for Atlanta. Would be good to coordinate the work.
>
> Would you be interested in looking at it from Cinder side?
>
> Thanks,
>
> N.
>
>
​hi nikola:

Sounds great! very interested in collaborating to make a contribution
towards this effort.

Could you provide your bp and your summit session? I am willing to get
involved in the discussion and/or the design and implementation. ​


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


Re: [openstack-dev] [nova][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-09 Thread Nikola Đipanov
On 04/09/2014 03:54 AM, Lingxian Kong wrote:
> yes, the bp also make sense to nova-cinder interaction, may I submmit 
> a blueprint about that? 
> 
> Any comments? 
> 

I was going to propose that same thing for Nova as well, as well as a
summit session for Atlanta. Would be good to coordinate the work.

Would you be interested in looking at it from Cinder side?

Thanks,

N.

> 
> 
> 2014-04-09 3:58 GMT+08:00 Mike Perez  >:
> 
> On 23:58 Tue 08 Apr , Lingxian Kong wrote:
> > hi there:
> >
> > According to the patch https://review.openstack.org/#/c/80619/, Nova
> > will wait for volume creation for 180s, the config option is
> rejected by
> > Russell and Nikola. But the reason I raise it up is, we found the
> server
> > creation failed due to timeout in our deployment, with LVM as Cinder
> > backend.
> >
> > So, I wander is 180s really suitable here? Are there some guidences
> > about when should we add an option? But at least, we should not
> avoid an
> > option, just because of the existing overwhelming number of them,
> right?
> >
> > Thoughts?
> 
> It looks like this was a temporary accepted solution and the long
> term solution
> is with event callbacks [1].
> 
> [1] -
> https://blueprints.launchpad.net/nova/+spec/admin-event-callback-api
> 
> --
> Mike Perez
> 
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> 
> 
> -- 
> *---*
> *Lingxian Kong*
> Huawei Technologies Co.,LTD.
> IT Product Line CloudOS PDU
> China, Xi'an
> Mobile: +86-18602962792
> Email: konglingx...@huawei.com ;
> anlin.k...@gmail.com 
> 
> 
> ___
> 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][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-09 Thread Mike Perez
On 09:54 Wed 09 Apr , Lingxian Kong wrote:
> 
> yes, the bp also make sense to nova-cinder interaction, may I submmit
> a blueprint about that?
> 
> Any comments?

Sounds fine to me!

-- 
Mike Perez

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


Re: [openstack-dev] [nova][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-08 Thread Lingxian Kong

yes, the bp also make sense to nova-cinder interaction, may I submmit
a blueprint about that?

Any comments?



2014-04-09 3:58 GMT+08:00 Mike Perez :

> On 23:58 Tue 08 Apr , Lingxian Kong wrote:
> > hi there:
> >
> > According to the patch https://review.openstack.org/#/c/80619/, Nova
> > will wait for volume creation for 180s, the config option is rejected by
> > Russell and Nikola. But the reason I raise it up is, we found the server
> > creation failed due to timeout in our deployment, with LVM as Cinder
> > backend.
> >
> > So, I wander is 180s really suitable here? Are there some guidences
> > about when should we add an option? But at least, we should not avoid an
> > option, just because of the existing overwhelming number of them, right?
> >
> > Thoughts?
>
> It looks like this was a temporary accepted solution and the long term
> solution
> is with event callbacks [1].
>
> [1] - https://blueprints.launchpad.net/nova/+spec/admin-event-callback-api
>
> --
> Mike Perez
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
*---*
*Lingxian Kong*
Huawei Technologies Co.,LTD.
IT Product Line CloudOS PDU
China, Xi'an
Mobile: +86-18602962792
Email: konglingx...@huawei.com; anlin.k...@gmail.com
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-08 Thread Solly Ross
Is there a blueprint for using this for Cinder-Nova interaction?

Best Regards,
Solly Ross

- Original Message -
From: "Mike Perez" 
To: "OpenStack Development Mailing List (not for usage questions)" 

Sent: Tuesday, April 8, 2014 3:58:31 PM
Subject: Re: [openstack-dev] [nova][cinder] create server from a volume 
snapshot, 180 reties is sufficient?

On 23:58 Tue 08 Apr , Lingxian Kong wrote:
> hi there:
> 
> According to the patch https://review.openstack.org/#/c/80619/, Nova
> will wait for volume creation for 180s, the config option is rejected by
> Russell and Nikola. But the reason I raise it up is, we found the server
> creation failed due to timeout in our deployment, with LVM as Cinder
> backend.
> 
> So, I wander is 180s really suitable here? Are there some guidences
> about when should we add an option? But at least, we should not avoid an
> option, just because of the existing overwhelming number of them, right?
> 
> Thoughts?

It looks like this was a temporary accepted solution and the long term solution
is with event callbacks [1].

[1] - https://blueprints.launchpad.net/nova/+spec/admin-event-callback-api

-- 
Mike Perez

___
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][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-08 Thread Mike Perez
On 23:58 Tue 08 Apr , Lingxian Kong wrote:
> hi there:
> 
> According to the patch https://review.openstack.org/#/c/80619/, Nova
> will wait for volume creation for 180s, the config option is rejected by
> Russell and Nikola. But the reason I raise it up is, we found the server
> creation failed due to timeout in our deployment, with LVM as Cinder
> backend.
> 
> So, I wander is 180s really suitable here? Are there some guidences
> about when should we add an option? But at least, we should not avoid an
> option, just because of the existing overwhelming number of them, right?
> 
> Thoughts?

It looks like this was a temporary accepted solution and the long term solution
is with event callbacks [1].

[1] - https://blueprints.launchpad.net/nova/+spec/admin-event-callback-api

-- 
Mike Perez

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


Re: [openstack-dev] [nova][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-08 Thread Solly Ross
I think some of the objections to such patches were based on the fact that this 
is really
just a shortcut for two separate operations: create a volume from a Glance 
image, and then boot
off of that image.  Instead of monkey-patching it, we should either figure out 
a way to dynamically
configure the timeout based on image size, network conditions, etc, or we 
should just remove the shortcut
entirely, and just have people do the two steps separately (the current 
workaround for large disk images).

Best Regards,
Solly Ross

- Original Message -
From: "Ben Swartzlander" 
To: "OpenStack Development Mailing List (not for usage questions)" 

Sent: Tuesday, April 8, 2014 12:08:52 PM
Subject: Re: [openstack-dev] [nova][cinder] create server from a volume 
snapshot, 180 reties is sufficient?



Options may be bad, but hardcoded values chosen arbitrarily are worse. Unless 
someone can justify why the value needs to be 180 and not 179 or 181 then it 
should be configurable. That’s my opinion at any rate. 



-Ben 





From: Lingxian Kong [mailto:anlin.k...@gmail.com] 
Sent: Tuesday, April 08, 2014 11:59 AM 
To: OpenStack Development Mailing List 
Subject: [openstack-dev] [nova][cinder] create server from a volume snapshot, 
180 reties is sufficient? 




hi there: 





According to the patch https://review.openstack.org/#/c/80619/ , Nova 


will wait for volume creation for 180s, the config option is rejected by 


Russell and Nikola. But the reason I raise it up is, we found the server 


creation failed due to timeout in our deployment, with LVM as Cinder 


backend. 





So, I wander is 180s really suitable here? Are there some guidences 


about when should we add an option? But at least, we should not avoid an 


option, just because of the existing overwhelming number of them, right? 





Thoughts? 











-- 


--- 


Lingxian Kong 


Huawei Technologies Co.,LTD. 


IT Product Line CloudOS PDU 


China, Xi'an 


Mobile: +86-18602962792 


Email: konglingx...@huawei.com ; anlin.k...@gmail.com 

___
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][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-08 Thread Swartzlander, Ben
Options may be bad, but hardcoded values chosen arbitrarily are worse. Unless 
someone can justify why the value needs to be 180 and not 179 or 181 then it 
should be configurable. That's my opinion at any rate.

-Ben


From: Lingxian Kong [mailto:anlin.k...@gmail.com]
Sent: Tuesday, April 08, 2014 11:59 AM
To: OpenStack Development Mailing List
Subject: [openstack-dev] [nova][cinder] create server from a volume snapshot, 
180 reties is sufficient?

hi there:

According to the patch https://review.openstack.org/#/c/80619/, Nova
will wait for volume creation for 180s, the config option is rejected by
Russell and Nikola. But the reason I raise it up is, we found the server
creation failed due to timeout in our deployment, with LVM as Cinder
backend.

So, I wander is 180s really suitable here? Are there some guidences
about when should we add an option? But at least, we should not avoid an
option, just because of the existing overwhelming number of them, right?

Thoughts?



--
---
Lingxian Kong
Huawei Technologies Co.,LTD.
IT Product Line CloudOS PDU
China, Xi'an
Mobile: +86-18602962792
Email: konglingx...@huawei.com<mailto:konglingx...@huawei.com>; 
anlin.k...@gmail.com<mailto:anlin.k...@gmail.com>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova][cinder] create server from a volume snapshot, 180 reties is sufficient?

2014-04-08 Thread Lingxian Kong
hi there:

According to the patch https://review.openstack.org/#/c/80619/, Nova
will wait for volume creation for 180s, the config option is rejected by
Russell and Nikola. But the reason I raise it up is, we found the server
creation failed due to timeout in our deployment, with LVM as Cinder
backend.

So, I wander is 180s really suitable here? Are there some guidences
about when should we add an option? But at least, we should not avoid an
option, just because of the existing overwhelming number of them, right?

Thoughts?



-- 
*---*
*Lingxian Kong*
Huawei Technologies Co.,LTD.
IT Product Line CloudOS PDU
China, Xi'an
Mobile: +86-18602962792
Email: konglingx...@huawei.com; anlin.k...@gmail.com
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev