RE: Release Notes

2017-12-28 Thread Paul Angus
Thanks Will!



Kind regards,

Paul Angus

From: williamstev...@gmail.com [mailto:williamstev...@gmail.com] On Behalf Of 
Will Stevens
Sent: 28 December 2017 23:35
To: Paul Angus 
Cc: dev@cloudstack.apache.org
Subject: Re: Release Notes

Hey Paul,
Sorry, I don't think I have had a chance to get this fully integrated with an 
'apache' or 'cloudstack' repo yet, but here is the tool I wrote for generating 
sections of the RN.

https://github.com/swill/generate_acs_rn

For the API changes, you will have to utilize the work that Pierre-Luc has done.

I tried to make sure the README was solid, so please let me know if anything is 
not clear so I can improve the documentation.  I think I am still the only 
person who has used this set of tools (I did it for these sections of the 4.10 
release as well).  I can do it again if you want, but it would be a good idea 
to get someone else's eyes on this work as well.

Let me know if you have any questions.

Cheers and happy holidays,

Will Stevens
CTO

[https://raw.githubusercontent.com/cloudops/media/master/cloudops.png]


paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 

On Thu, Dec 28, 2017 at 12:01 PM, Paul Angus 
mailto:paul.an...@shapeblue.com>> wrote:
Cheers – enjoy the snow!



Kind regards,

Paul Angus


paul.an...@shapeblue.com
www.shapeblue.com
@shapeblue



From: williamstev...@gmail.com 
[mailto:williamstev...@gmail.com] On Behalf Of 
Will Stevens
Sent: 28 December 2017 15:43
To: Paul Angus mailto:paul.an...@shapeblue.com>>
Cc: dev@cloudstack.apache.org
Subject: RE: Release Notes

I am heading out to ski right now as I am on holiday. I will get you pointed in 
the right direction when I get back in.

On Dec 28, 2017 7:31 AM, "Paul Angus" 
mailto:paul.an...@shapeblue.com>> wrote:
Thanks Pierre-Luc  (Happy Christmas)

Hey Will... how do you do about extracting the extra stuff from github?

thanks


Kind regards,

Paul Angus

paul.an...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, 
London
  
WC2N
 4HSUK
@shapeblue




-Original Message-
From: Pierre-Luc Dion [mailto:pd...@cloudops.com]
Sent: 26 December 2017 16:00
To: dev@cloudstack.apache.org
Subject: Re: Release Notes

The way I was doing RN and generating  fixed issues and known issues list, was 
by doing JIRA filters for each of them, then you use "./utils/jira.py"
from cloudstack-docs-rn
to generate a markdown formated list that you cut/paste in relevant RN page.  
This require Jira issues to be updated on Open/close  state, also the Fix 
Version and Affected to be fully up to date. With recent use of Gitbhub, I'm 
not sure how Jira is up to date now.  Will did use something else to extract 
data from commit comments, but I don't know how he did it.

Hope this help a little...


Cheers,




On Thu, Dec 21, 2017 at 12:38 PM, Paul Angus 
mailto:paul.an...@shapeblue.com>>
wrote:

>
> Hi guys I'm hoping to get a head start on release notes over Xmas. I
> believe some guys have come up with a tool which gets human readable
> what's new and known issues...
>
> Could someone point me in the right direction please.
>
> (And merry Christmas and a happy new year to everyone)
>
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, 
> London
>   
> WC2N
>  4HSUK @shapeblue
>
>
>
>



Re: Release Notes

2017-12-28 Thread Will Stevens
Hey Paul,
Sorry, I don't think I have had a chance to get this fully integrated with
an 'apache' or 'cloudstack' repo yet, but here is the tool I wrote for
generating sections of the RN.

https://github.com/swill/generate_acs_rn

For the API changes, you will have to utilize the work that Pierre-Luc has
done.

I tried to make sure the README was solid, so please let me know if
anything is not clear so I can improve the documentation.  I think I am
still the only person who has used this set of tools (I did it for these
sections of the 4.10 release as well).  I can do it again if you want, but
it would be a good idea to get someone else's eyes on this work as well.

Let me know if you have any questions.

Cheers and happy holidays,

*Will Stevens*
CTO



On Thu, Dec 28, 2017 at 12:01 PM, Paul Angus 
wrote:

> Cheers – enjoy the snow!
>
>
>
>
>
>
>
> Kind regards,
>
>
>
> Paul Angus
>
>
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> @shapeblue
>
>
>
>
> *From:* williamstev...@gmail.com [mailto:williamstev...@gmail.com] *On
> Behalf Of *Will Stevens
> *Sent:* 28 December 2017 15:43
> *To:* Paul Angus 
> *Cc:* dev@cloudstack.apache.org
> *Subject:* RE: Release Notes
>
>
>
> I am heading out to ski right now as I am on holiday. I will get you
> pointed in the right direction when I get back in.
>
>
>
> On Dec 28, 2017 7:31 AM, "Paul Angus"  wrote:
>
> Thanks Pierre-Luc  (Happy Christmas)
>
> Hey Will... how do you do about extracting the extra stuff from github?
>
> thanks
>
>
> Kind regards,
>
> Paul Angus
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London
> 
> WC2N
> 
> 4HSUK
> @shapeblue
>
>
>
>
> -Original Message-
> From: Pierre-Luc Dion [mailto:pd...@cloudops.com]
> Sent: 26 December 2017 16:00
> To: dev@cloudstack.apache.org
> Subject: Re: Release Notes
>
> The way I was doing RN and generating  fixed issues and known issues list,
> was by doing JIRA filters for each of them, then you use "./utils/jira.py"
> from cloudstack-docs-rn
> to generate a markdown formated list that you cut/paste in relevant RN
> page.  This require Jira issues to be updated on Open/close  state, also
> the Fix Version and Affected to be fully up to date. With recent use of
> Gitbhub, I'm not sure how Jira is up to date now.  Will did use something
> else to extract data from commit comments, but I don't know how he did it.
>
> Hope this help a little...
>
>
> Cheers,
>
>
>
>
> On Thu, Dec 21, 2017 at 12:38 PM, Paul Angus 
> wrote:
>
> >
> > Hi guys I'm hoping to get a head start on release notes over Xmas. I
> > believe some guys have come up with a tool which gets human readable
> > what's new and known issues...
> >
> > Could someone point me in the right direction please.
> >
> > (And merry Christmas and a happy new year to everyone)
> >
> >
> > paul.an...@shapeblue.com
> > www.shapeblue.com
> > 53 Chandos Place, Covent Garden, London
> 
> WC2N
> 
> 4HSUK @shapeblue
> >
> >
> >
> >
>
>


Re: [DISCUSS] Changing events to include UUIDs, could it break your integration

2017-12-28 Thread Nux!
+1 for this change as far as I am concerned, seems a good one.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: "dev" , "users" 
> Sent: Thursday, 28 December, 2017 09:52:37
> Subject: [DISCUSS] Changing events to include UUIDs, could it break your 
> integration

> All,
> 
> 
> We've come across a pull request which changes the event description to
> use/export UUIDs instead of the numeric internal ID of a resource. I'm not 
> sure
> if this could potentially break any external integration such as billing, crms
> etc. so wanted to get your feedback on this. My understanding is external
> billing/intergrations would consume from the usage related tables for data 
> than
> events table.
> 
> 
> The PR is https://github.com/apache/cloudstack/pull/1940
> 
> 
> Comments, thoughts? Thanks.
> 
> 
> - Rohit
> 
> 
> 
> 
> 
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue


Re: Any pythonista willing to help backport some cloud-init changes?

2017-12-28 Thread Nux!
Oh, right, cool!

I thought it's not proper to exclude the tests, but whatever works.

I've rebuilt the RPMs and will ask the user to repeat the tests (and whoever 
else is up for it!).
http://li.nux.ro/download/nux/tmp/cloud-init7/


Once we agree it works I can ask the CentOS guys for an updated package.

Thanks for assistance Rene!

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rene Moser" 
> To: "dev" 
> Sent: Thursday, 28 December, 2017 17:56:10
> Subject: Re: Any pythonista willing to help backport some cloud-init changes?

> On 12/28/2017 05:57 PM, Nux! wrote:
>> 1 out of 2 hunks FAILED -- saving rejects to file
>> tests/unittests/test_datasource/test_cloudstack.py.rej
> 
> No python magic needed here, only git magic :)
> So only the tests part did not apply, I would just "exclude" those...
> 
> git am --exclude=tests/unittests/test_datasource/test_cloudstack.py
> da1db792b2721d94ef85df8c136e78012c49c6e5.patch
> 
> I amended the commit message and addded the source commit id, here is
> the patch for 0.7.9:
> 
> https://github.com/resmo/cloud-init/commit/6a89a904ce2d12047f6d0c1944706e63a950ae83.patch
> 
> Regards
> René


Re: Any pythonista willing to help backport some cloud-init changes?

2017-12-28 Thread Rene Moser
On 12/28/2017 05:57 PM, Nux! wrote:
> 1 out of 2 hunks FAILED -- saving rejects to file 
> tests/unittests/test_datasource/test_cloudstack.py.rej

No python magic needed here, only git magic :)
So only the tests part did not apply, I would just "exclude" those...

git am --exclude=tests/unittests/test_datasource/test_cloudstack.py
da1db792b2721d94ef85df8c136e78012c49c6e5.patch

I amended the commit message and addded the source commit id, here is
the patch for 0.7.9:

https://github.com/resmo/cloud-init/commit/6a89a904ce2d12047f6d0c1944706e63a950ae83.patch

Regards
René


RE: Release Notes

2017-12-28 Thread Paul Angus
Cheers – enjoy the snow!



Kind regards,

Paul Angus

From: williamstev...@gmail.com [mailto:williamstev...@gmail.com] On Behalf Of 
Will Stevens
Sent: 28 December 2017 15:43
To: Paul Angus 
Cc: dev@cloudstack.apache.org
Subject: RE: Release Notes

I am heading out to ski right now as I am on holiday. I will get you pointed in 
the right direction when I get back in.

On Dec 28, 2017 7:31 AM, "Paul Angus" 
mailto:paul.an...@shapeblue.com>> wrote:
Thanks Pierre-Luc  (Happy Christmas)

Hey Will... how do you do about extracting the extra stuff from github?

thanks


Kind regards,

Paul Angus

paul.an...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue




paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: Pierre-Luc Dion [mailto:pd...@cloudops.com]
Sent: 26 December 2017 16:00
To: dev@cloudstack.apache.org
Subject: Re: Release Notes

The way I was doing RN and generating  fixed issues and known issues list, was 
by doing JIRA filters for each of them, then you use "./utils/jira.py"
from cloudstack-docs-rn
to generate a markdown formated list that you cut/paste in relevant RN page.  
This require Jira issues to be updated on Open/close  state, also the Fix 
Version and Affected to be fully up to date. With recent use of Gitbhub, I'm 
not sure how Jira is up to date now.  Will did use something else to extract 
data from commit comments, but I don't know how he did it.

Hope this help a little...


Cheers,




On Thu, Dec 21, 2017 at 12:38 PM, Paul Angus 
mailto:paul.an...@shapeblue.com>>
wrote:

>
> Hi guys I'm hoping to get a head start on release notes over Xmas. I
> believe some guys have come up with a tool which gets human readable
> what's new and known issues...
>
> Could someone point me in the right direction please.
>
> (And merry Christmas and a happy new year to everyone)
>
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
>
>
>
>


Re: Any pythonista willing to help backport some cloud-init changes?

2017-12-28 Thread Nux!
Hi,

That patch does not apply cleanly to cloud-init 0.7.9 tarball. It needs some 
adapting by someone who understands python.

cloud-init-0.7.9]$ patch -p1 < ../da1db792b2721d94ef85df8c136e78012c49c6e5.patch
patching file cloudinit/sources/DataSourceCloudStack.py
Hunk #1 succeeded at 186 (offset -1 lines).
patching file tests/unittests/test_datasource/test_cloudstack.py
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 79 (offset -10 lines).
1 out of 2 hunks FAILED -- saving rejects to file 
tests/unittests/test_datasource/test_cloudstack.py.rej

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rene Moser" 
> To: "dev" 
> Sent: Thursday, 28 December, 2017 16:23:25
> Subject: Re: Any pythonista willing to help backport some cloud-init changes?

> Jo Nux
> 
> On 12/28/2017 10:04 AM, Nux! wrote:
>> Hi,
>> 
>> I've been made aware by a user that there is an issue (regression) with the
>> latest cloud-init in CentOS, in that the Cloudstack data source does not 
>> parse
>> dhcp lease files with "-" in them.
>> There's a fix, but it does not apply cleanly. Can someone have a go at it?
>> https://bugs.launchpad.net/cloud-init/+bug/1717147
>> https://github.com/cloud-init/cloud-init/commit/da1db792b2721d94ef85df8c136e78012c49c6e5
> 
> I didn't get what you mean "not apply cleanly"? Need more infos and
> context. What is the problem with the patch
> https://github.com/cloud-init/cloud-init/commit/da1db792b2721d94ef85df8c136e78012c49c6e5
> ?
> 
> Regards
> René


Re: [DISCUSS] Changing events to include UUIDs, could it break your integration

2017-12-28 Thread Khosrow Moossavi
+1 on API versioning and make it really RESTful (cherry on top).
I'm willing to participate on this change if voted for.

Khosrow Moossavi
CloudOps



On Thu, Dec 28, 2017 at 11:07 AM, Rene Moser  wrote:

> Hi
>
> On 12/28/2017 10:52 AM, Rohit Yadav wrote:
> > All,
> >
> >
> > We've come across a pull request which changes the event description to
> use/export UUIDs instead of the numeric internal ID of a resource. I'm not
> sure if this could potentially break any external integration such as
> billing, crms etc. so wanted to get your feedback on this. My understanding
> is external billing/intergrations would consume from the usage related
> tables for data than events table.
> >
> >
> > The PR is https://github.com/apache/cloudstack/pull/1940
> >
> >
> > Comments, thoughts? Thanks.
>
> Even though I am +1 with this change, we should work towards versioning
> the API to prevent breaking anything out there.
>
> René
>


Re: Any pythonista willing to help backport some cloud-init changes?

2017-12-28 Thread Rene Moser
Jo Nux

On 12/28/2017 10:04 AM, Nux! wrote:
> Hi,
> 
> I've been made aware by a user that there is an issue (regression) with the 
> latest cloud-init in CentOS, in that the Cloudstack data source does not 
> parse dhcp lease files with "-" in them.
> There's a fix, but it does not apply cleanly. Can someone have a go at it?
> https://bugs.launchpad.net/cloud-init/+bug/1717147
> https://github.com/cloud-init/cloud-init/commit/da1db792b2721d94ef85df8c136e78012c49c6e5

I didn't get what you mean "not apply cleanly"? Need more infos and
context. What is the problem with the patch
https://github.com/cloud-init/cloud-init/commit/da1db792b2721d94ef85df8c136e78012c49c6e5
?

Regards
René


Re: [DISCUSS] Changing events to include UUIDs, could it break your integration

2017-12-28 Thread Rene Moser
Hi

On 12/28/2017 10:52 AM, Rohit Yadav wrote:
> All,
> 
> 
> We've come across a pull request which changes the event description to 
> use/export UUIDs instead of the numeric internal ID of a resource. I'm not 
> sure if this could potentially break any external integration such as 
> billing, crms etc. so wanted to get your feedback on this. My understanding 
> is external billing/intergrations would consume from the usage related tables 
> for data than events table.
> 
> 
> The PR is https://github.com/apache/cloudstack/pull/1940
> 
> 
> Comments, thoughts? Thanks.

Even though I am +1 with this change, we should work towards versioning
the API to prevent breaking anything out there.

René


RE: Release Notes

2017-12-28 Thread Will Stevens
I am heading out to ski right now as I am on holiday. I will get you
pointed in the right direction when I get back in.

On Dec 28, 2017 7:31 AM, "Paul Angus"  wrote:

> Thanks Pierre-Luc  (Happy Christmas)
>
> Hey Will... how do you do about extracting the extra stuff from github?
>
> thanks
>
>
> Kind regards,
>
> Paul Angus
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>
> -Original Message-
> From: Pierre-Luc Dion [mailto:pd...@cloudops.com]
> Sent: 26 December 2017 16:00
> To: dev@cloudstack.apache.org
> Subject: Re: Release Notes
>
> The way I was doing RN and generating  fixed issues and known issues list,
> was by doing JIRA filters for each of them, then you use "./utils/jira.py"
> from cloudstack-docs-rn
> to generate a markdown formated list that you cut/paste in relevant RN
> page.  This require Jira issues to be updated on Open/close  state, also
> the Fix Version and Affected to be fully up to date. With recent use of
> Gitbhub, I'm not sure how Jira is up to date now.  Will did use something
> else to extract data from commit comments, but I don't know how he did it.
>
> Hope this help a little...
>
>
> Cheers,
>
>
>
>
> On Thu, Dec 21, 2017 at 12:38 PM, Paul Angus 
> wrote:
>
> >
> > Hi guys I'm hoping to get a head start on release notes over Xmas. I
> > believe some guys have come up with a tool which gets human readable
> > what's new and known issues...
> >
> > Could someone point me in the right direction please.
> >
> > (And merry Christmas and a happy new year to everyone)
> >
> >
> > paul.an...@shapeblue.com
> > www.shapeblue.com
> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
> >
> >
> >
> >
>


RE: Release Notes

2017-12-28 Thread Paul Angus
Thanks Pierre-Luc  (Happy Christmas)

Hey Will... how do you do about extracting the extra stuff from github?

thanks


Kind regards,

Paul Angus

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: Pierre-Luc Dion [mailto:pd...@cloudops.com] 
Sent: 26 December 2017 16:00
To: dev@cloudstack.apache.org
Subject: Re: Release Notes

The way I was doing RN and generating  fixed issues and known issues list, was 
by doing JIRA filters for each of them, then you use "./utils/jira.py"
from cloudstack-docs-rn
to generate a markdown formated list that you cut/paste in relevant RN page.  
This require Jira issues to be updated on Open/close  state, also the Fix 
Version and Affected to be fully up to date. With recent use of Gitbhub, I'm 
not sure how Jira is up to date now.  Will did use something else to extract 
data from commit comments, but I don't know how he did it.

Hope this help a little...


Cheers,




On Thu, Dec 21, 2017 at 12:38 PM, Paul Angus 
wrote:

>
> Hi guys I'm hoping to get a head start on release notes over Xmas. I 
> believe some guys have come up with a tool which gets human readable 
> what's new and known issues...
>
> Could someone point me in the right direction please.
>
> (And merry Christmas and a happy new year to everyone)
>
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
>
>
>
>


DZone article on software management

2017-12-28 Thread Ron Wheeler

For those who are interested in process.

This is an interesting summary of "Best Practices" for teamwork on 
software projects.


https://dzone.com/storage/assets/7529578-rc-167-softwareconfigurationmanagementpatterns.pdf

It describes practices that I believe are currently followed in the 
Cloudstack team.


There is an good discussion about SCM and how to manage a stable 
development line with simple rules for managing private development 
branches.


You may have to sign up for DZone to get this. It is free and I guess 
that you can drop out at any time.
I understand that some will not want to bother but it is interesting 
reading and may have some sections that explicitly state policies that 
Cloudstack developers are following (or not).


http://www.berczuk.com/ is the author's home page

--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



[DISCUSS] Changing events to include UUIDs, could it break your integration

2017-12-28 Thread Rohit Yadav
All,


We've come across a pull request which changes the event description to 
use/export UUIDs instead of the numeric internal ID of a resource. I'm not sure 
if this could potentially break any external integration such as billing, crms 
etc. so wanted to get your feedback on this. My understanding is external 
billing/intergrations would consume from the usage related tables for data than 
events table.


The PR is https://github.com/apache/cloudstack/pull/1940


Comments, thoughts? Thanks.


- Rohit





rohit.ya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Any pythonista willing to help backport some cloud-init changes?

2017-12-28 Thread Nux!
Hi,

I've been made aware by a user that there is an issue (regression) with the 
latest cloud-init in CentOS, in that the Cloudstack data source does not parse 
dhcp lease files with "-" in them.
There's a fix, but it does not apply cleanly. Can someone have a go at it?
https://bugs.launchpad.net/cloud-init/+bug/1717147
https://github.com/cloud-init/cloud-init/commit/da1db792b2721d94ef85df8c136e78012c49c6e5

Once we get the patch properly integrated we can ask the CentOS project to 
issue an update.

Having said that, I've built in the interim some packages with a very basic 
patch and you can find them here, I've been told they do fix the issue, but try 
at your own risk:
http://li.nux.ro/download/nux/tmp/cloud-init7/

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro