Re: [DISCUSS] Why we MARK packets?

2018-04-18 Thread Jayapal Uradi
Rohit,

My comments inline.

On Apr 19, 2018, at 1:52 AM, Rohit Yadav 
> wrote:

Nevermind, found the use of custom routing tables. In case someone want to 
refer, hints are here:

https://github.com/apache/cloudstack/pull/2514#issuecomment-382510915


Jayapal and others - I've another one, is there a way to do routing without 
marking packets at all, even in case of VRs with additional public interfaces?

AFAIK marking is the only way to do it.
Do you have any performance numbers with and without mark rules.

- Rohit

>




From: Rohit Yadav >
Sent: Wednesday, April 18, 2018 10:39:02 PM
To: dev@cloudstack.apache.org; 
us...@cloudstack.apache.org
Subject: [DISCUSS] Why we MARK packets?

All,


I could not find any history around 'why' we MARK or CONNMARK packets in mangle 
table in VRs? I found an issue in case of VPCs where `MARK` iptable rules 
failed hair-pin nat (as described in this PR: 
https://github.com/apache/cloudstack/pull/2514)


The valid usage I found was wrt VPN_STATS, however, the usage is not exported 
at all, it is commented:

https://github.com/apache/cloudstack/blob/master/systemvm/debian/opt/cloud/bin/vpc_netusage.sh#L141


Other than for debugging purposes in the VR, marking packets and connections I 
could not find any valid use. Please do share if you're using marked packets 
(such as VPN ones etc) outside of VR scope?


I propose we remove MARK on packets which is cpu intensive and slows the 
traffic (a bit), instead CONNMARK can still be used to mark connections and 
debug VRs without actually changing the packet marking permanently. Thoughts?


- Rohit





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




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

DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.


Re: [DISCUSS] Why we MARK packets?

2018-04-18 Thread Rohit Yadav
Nevermind, found the use of custom routing tables. In case someone want to 
refer, hints are here:

https://github.com/apache/cloudstack/pull/2514#issuecomment-382510915


Jayapal and others - I've another one, is there a way to do routing without 
marking packets at all, even in case of VRs with additional public interfaces?


- Rohit






From: Rohit Yadav 
Sent: Wednesday, April 18, 2018 10:39:02 PM
To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
Subject: [DISCUSS] Why we MARK packets?

All,


I could not find any history around 'why' we MARK or CONNMARK packets in mangle 
table in VRs? I found an issue in case of VPCs where `MARK` iptable rules 
failed hair-pin nat (as described in this PR: 
https://github.com/apache/cloudstack/pull/2514)


The valid usage I found was wrt VPN_STATS, however, the usage is not exported 
at all, it is commented:

https://github.com/apache/cloudstack/blob/master/systemvm/debian/opt/cloud/bin/vpc_netusage.sh#L141


Other than for debugging purposes in the VR, marking packets and connections I 
could not find any valid use. Please do share if you're using marked packets 
(such as VPN ones etc) outside of VR scope?


I propose we remove MARK on packets which is cpu intensive and slows the 
traffic (a bit), instead CONNMARK can still be used to mark connections and 
debug VRs without actually changing the packet marking permanently. Thoughts?


- Rohit





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




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



Re: [DISCUSS] Why we MARK packets?

2018-04-18 Thread Rohit Yadav
Hi Jayapal,


Thanks for replying. Can you point me to the code/rules that use the marking 
for packet routing (in case of additional public nics) in latest 4.11 or master 
branch? Don't we have routing tables and nat rules for routing across 
interfaces?


This started from reviewing Rafael's PR, whose fix I could not validate:

https://github.com/apache/cloudstack/pull/2514


I tested and found in my env that removing MARK rules in mangle table fixed 
access related issues for me, based on which I opened the PR:

https://github.com/apache/cloudstack/pull/2579


In case of VPC VRs and isolated network VRs, the nic number/order is different 
whose nic number/id is used to mark packets. I found that networking always 
failed when packets were marked with 0x1, but worked when 0x2 was used. I don't 
have an explaination for this. My test env was 4.11 based.


- Rohit






From: Jayapal Uradi 
Sent: Wednesday, April 18, 2018 10:50:27 PM
To: dev@cloudstack.apache.org
Cc: us...@cloudstack.apache.org
Subject: Re: [DISCUSS] Why we MARK packets?

Hi,

Below are the uses of marking packets.

1. Marking is required to route the packets into correct interface in case 
additional public interfaces in VR.
2. Packets with VPN marking are accepted in first place of NAT POSTROUTING. 
Without marking these packets source ip will be replaced with source-nat IP.

Thanks,
Jayapal



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

> On Apr 18, 2018, at 10:39 PM, Rohit Yadav  wrote:
>
> All,
>
>
> I could not find any history around 'why' we MARK or CONNMARK packets in 
> mangle table in VRs? I found an issue in case of VPCs where `MARK` iptable 
> rules failed hair-pin nat (as described in this PR: 
> https://github.com/apache/cloudstack/pull/2514)
>
>
> The valid usage I found was wrt VPN_STATS, however, the usage is not exported 
> at all, it is commented:
>
> https://github.com/apache/cloudstack/blob/master/systemvm/debian/opt/cloud/bin/vpc_netusage.sh#L141
>
>
> Other than for debugging purposes in the VR, marking packets and connections 
> I could not find any valid use. Please do share if you're using marked 
> packets (such as VPN ones etc) outside of VR scope?
>
>
> I propose we remove MARK on packets which is cpu intensive and slows the 
> traffic (a bit), instead CONNMARK can still be used to mark connections and 
> debug VRs without actually changing the packet marking permanently. Thoughts?
>
>
> - Rohit
>
> 
>
>
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>

DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.



Re: [DISCUSS] Why we MARK packets?

2018-04-18 Thread Jayapal Uradi
Hi,

Below are the uses of marking packets.

1. Marking is required to route the packets into correct interface in case 
additional public interfaces in VR.
2. Packets with VPN marking are accepted in first place of NAT POSTROUTING. 
Without marking these packets source ip will be replaced with source-nat IP.

Thanks,
Jayapal


> On Apr 18, 2018, at 10:39 PM, Rohit Yadav  wrote:
> 
> All,
> 
> 
> I could not find any history around 'why' we MARK or CONNMARK packets in 
> mangle table in VRs? I found an issue in case of VPCs where `MARK` iptable 
> rules failed hair-pin nat (as described in this PR: 
> https://github.com/apache/cloudstack/pull/2514)
> 
> 
> The valid usage I found was wrt VPN_STATS, however, the usage is not exported 
> at all, it is commented:
> 
> https://github.com/apache/cloudstack/blob/master/systemvm/debian/opt/cloud/bin/vpc_netusage.sh#L141
> 
> 
> Other than for debugging purposes in the VR, marking packets and connections 
> I could not find any valid use. Please do share if you're using marked 
> packets (such as VPN ones etc) outside of VR scope?
> 
> 
> I propose we remove MARK on packets which is cpu intensive and slows the 
> traffic (a bit), instead CONNMARK can still be used to mark connections and 
> debug VRs without actually changing the packet marking permanently. Thoughts?
> 
> 
> - Rohit
> 
> 
> 
> 
> 
> rohit.ya...@shapeblue.com 
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
> 
> 
> 

DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.



[DISCUSS] Why we MARK packets?

2018-04-18 Thread Rohit Yadav
All,


I could not find any history around 'why' we MARK or CONNMARK packets in mangle 
table in VRs? I found an issue in case of VPCs where `MARK` iptable rules 
failed hair-pin nat (as described in this PR: 
https://github.com/apache/cloudstack/pull/2514)


The valid usage I found was wrt VPN_STATS, however, the usage is not exported 
at all, it is commented:

https://github.com/apache/cloudstack/blob/master/systemvm/debian/opt/cloud/bin/vpc_netusage.sh#L141


Other than for debugging purposes in the VR, marking packets and connections I 
could not find any valid use. Please do share if you're using marked packets 
(such as VPN ones etc) outside of VR scope?


I propose we remove MARK on packets which is cpu intensive and slows the 
traffic (a bit), instead CONNMARK can still be used to mark connections and 
debug VRs without actually changing the packet marking permanently. Thoughts?


- Rohit





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



Re: Community opinion regarding Apache events banner in CloudStack's website

2018-04-18 Thread Rafael Weingärtner
Done. Site updated.

If we feel that it requires changes, we can do so later.

On Wed, Apr 18, 2018 at 9:48 AM, Ron Wheeler  wrote:

> I wish that there was this much excitement about the problems in the
> installation docs!
>
> Lets make a decision and live with layout for a few weeks and see how
> placement number 3 affects the community and how many people who did not
> plan to go to ApacheCon decide to go because of the placement of the event
> link.
>
> Ron
>
> On 18/04/2018 7:56 AM, Will Stevens wrote:
>
>> I vote 4
>>
>> On Wed, Apr 18, 2018, 7:13 AM Rafael Weingärtner, <
>> rafaelweingart...@gmail.com> wrote:
>>
>> I am confused as well. Here goes a link with all image suggestions [1].
>>> The
>>> tally so far is the following:
>>>
>>> - Option 1  (banner in the middle of the main CloudStack section)- 1
>>> vote (Rafael)
>>> - Option 2  (a new section called “Apache events”)- 1 vote (Gabriel)
>>> - Option 3 (Banner aligned right and under CloudMonkey image – we can
>>> apply some improvements suggested by Nitin here) – 8 votes (Dag,
>>> Swen,
>>> Stephan, Boris, Ron, Grégorie, Nitin, Mauricio)
>>> - Option 4  (aligned left) – 1 vote (Nicolás)
>>>
>>>
>>> [1] https://drive.google.com/open?id=1dqjPI2PBZ3hvKr2eEWaH3Fj_hLhXUxvB
>>>
>>> On Wed, Apr 18, 2018 at 8:06 AM, Will Stevens 
>>> wrote:
>>>
>>> Can we list the options and their voting numbers?  I am a bit confused
 right now.

 I like the one that is left aligned under the text and keeps the logo on
 the right full size.

 On Tue, Apr 17, 2018, 10:41 PM Nitin Maharana, <
 nitin.mahar...@gmail.com

 wrote:

 +1 for the third option. I think It would even look good if we adjust
>
 the
>>>
 vertical alignment of the word "Apache CloudStack" to center.
>
> On Wed, Apr 18, 2018 at 12:12 AM, Rafael Weingärtner <
> rafaelweingart...@gmail.com> wrote:
>
> Third option (suggested by Dag) -
>> https://drive.google.com/open?id=16FEu9tD1HZqwxLp2lrnUBmsuRJNLpDqU
>>
>> On Tue, Apr 17, 2018 at 3:39 PM, Dag Sonstebo <
>>
> dag.sonst...@shapeblue.com>
>
>> wrote:
>>
>> Hi Rafael – in my opinion you need it fairly prominent so people
>>>
>> notice

> it
>>
>>> – so option 1, but maybe put it underneath the CloudMonkey logo on
>>>
>> the

> right hand side?
>>>
>>> Regards,
>>> Dag Sonstebo
>>> Cloud Architect
>>> ShapeBlue
>>>
>>> On 17/04/2018, 19:35, "Rafael Weingärtner" <
>>>
>> rafaelweingart...@gmail.com>
>
>> wrote:
>>>
>>>  Ah damm.. I forgot about the file stripping in our mailing
>>>
>> list.
>>>
  Sorry guys. Here they go.
>>>
>>>  - first one:
>>>  https://drive.google.com/open?id=1vSqni_GEj3YJjuGehxe-_
>>>
>> dnrNqQP7x8y

>  - second one:
>>>
>>> https://drive.google.com/open?id=1LEmt9g5ceAUeTuc2a1Cb4uctOwyz5
>>>
 eQ8

>  On Tue, Apr 17, 2018 at 3:31 PM, Dag Sonstebo <
>>> dag.sonst...@shapeblue.com>
>>>  wrote:
>>>
>>>  > The white one is quite nice ☺
>>>  >
>>>  > Joking aside – looks like they got stripped from your email
>>>
>> Rafael.
>
>>  >
>>>  > Regards,
>>>  > Dag Sonstebo
>>>  > Cloud Architect
>>>  > ShapeBlue
>>>  >
>>>  > From: Rafael Weingärtner 
>>>  > Reply-To: "dev@cloudstack.apache.org" <
>>>
>> dev@cloudstack.apache.org

>  > Date: Tuesday, 17 April 2018 at 19:13
>>>  > To: users
>>> <
>>> us...@cloudstack.apache.org>, dev
>>> <
>>> dev@cloudstack.apache.org>
>>>  > Subject: Community opinion regarding Apache events banner in
>>> CloudStack's
>>>  > website
>>>  >
>>>  > Hello folks,
>>>  > I am trying to work out something to put Apache events banner
>>>
>> on

> our
>>
>>>  > website. So far I came up with two proposals. Which one of
>>>
>> them
>>>
 do
>
>> you guys
>>>  > prefer?
>>>  > First one:
>>>  > [cid:ii_jg3zjco00_162d4ce7db0cd3da]
>>>  >
>>>  >
>>>  > Second:
>>>  > [cid:ii_jg3zk0e01_162d4cefaef3a1ce]
>>>  >
>>>  > --
>>>  > Rafael Weingärtner
>>>  >
>>>  > dag.sonst...@shapeblue.com
>>>  > www.shapeblue.com
>>>  > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
>>>  > @shapeblue
>>>  >
>>>  >
>>>  >
>>>  >
>>>
>>>
>>>  --
>>>  Rafael Weingärtner
>>>
>>>
>>>
>>> 

Re: Community opinion regarding Apache events banner in CloudStack's website

2018-04-18 Thread Ron Wheeler
I wish that there was this much excitement about the problems in the 
installation docs!


Lets make a decision and live with layout for a few weeks and see how 
placement number 3 affects the community and how many people who did not 
plan to go to ApacheCon decide to go because of the placement of the 
event link.


Ron
On 18/04/2018 7:56 AM, Will Stevens wrote:

I vote 4

On Wed, Apr 18, 2018, 7:13 AM Rafael Weingärtner, <
rafaelweingart...@gmail.com> wrote:


I am confused as well. Here goes a link with all image suggestions [1]. The
tally so far is the following:

- Option 1  (banner in the middle of the main CloudStack section)- 1
vote (Rafael)
- Option 2  (a new section called “Apache events”)- 1 vote (Gabriel)
- Option 3 (Banner aligned right and under CloudMonkey image – we can
apply some improvements suggested by Nitin here) – 8 votes (Dag, Swen,
Stephan, Boris, Ron, Grégorie, Nitin, Mauricio)
- Option 4  (aligned left) – 1 vote (Nicolás)


[1] https://drive.google.com/open?id=1dqjPI2PBZ3hvKr2eEWaH3Fj_hLhXUxvB

On Wed, Apr 18, 2018 at 8:06 AM, Will Stevens 
wrote:


Can we list the options and their voting numbers?  I am a bit confused
right now.

I like the one that is left aligned under the text and keeps the logo on
the right full size.

On Tue, Apr 17, 2018, 10:41 PM Nitin Maharana,  wrote:


Third option (suggested by Dag) -
https://drive.google.com/open?id=16FEu9tD1HZqwxLp2lrnUBmsuRJNLpDqU

On Tue, Apr 17, 2018 at 3:39 PM, Dag Sonstebo <

dag.sonst...@shapeblue.com>

wrote:


Hi Rafael – in my opinion you need it fairly prominent so people

notice

it

– so option 1, but maybe put it underneath the CloudMonkey logo on

the

right hand side?

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 17/04/2018, 19:35, "Rafael Weingärtner" <

rafaelweingart...@gmail.com>

wrote:

 Ah damm.. I forgot about the file stripping in our mailing

list.

 Sorry guys. Here they go.

 - first one:
 https://drive.google.com/open?id=1vSqni_GEj3YJjuGehxe-_

dnrNqQP7x8y

 - second one:


https://drive.google.com/open?id=1LEmt9g5ceAUeTuc2a1Cb4uctOwyz5

eQ8

 On Tue, Apr 17, 2018 at 3:31 PM, Dag Sonstebo <
dag.sonst...@shapeblue.com>
 wrote:

 > The white one is quite nice ☺
 >
 > Joking aside – looks like they got stripped from your email

Rafael.

 >
 > Regards,
 > Dag Sonstebo
 > Cloud Architect
 > ShapeBlue
 >
 > From: Rafael Weingärtner 
 > Reply-To: "dev@cloudstack.apache.org" <

dev@cloudstack.apache.org

 > Date: Tuesday, 17 April 2018 at 19:13
 > To: users , dev <
dev@cloudstack.apache.org>
 > Subject: Community opinion regarding Apache events banner in
CloudStack's
 > website
 >
 > Hello folks,
 > I am trying to work out something to put Apache events banner

on

our

 > website. So far I came up with two proposals. Which one of

them

do

you guys
 > prefer?
 > First one:
 > [cid:ii_jg3zjco00_162d4ce7db0cd3da]
 >
 >
 > Second:
 > [cid:ii_jg3zk0e01_162d4cefaef3a1ce]
 >
 > --
 > Rafael Weingärtner
 >
 > dag.sonst...@shapeblue.com
 > www.shapeblue.com
 > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
 > @shapeblue
 >
 >
 >
 >


 --
 Rafael Weingärtner



dag.sonst...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue






--
Rafael Weingärtner




--
Rafael Weingärtner



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



Re: Management of Transifex resources

2018-04-18 Thread Rafael Weingärtner
Can somebody add me to the Spanish team? I am not able to add myself.
Or, can someone port the keys updated here:
https://github.com/apache/cloudstack/pull/2571/files?

On Wed, Apr 18, 2018 at 9:00 AM, Rafael Weingärtner <
rafaelweingart...@gmail.com> wrote:

> Hello Folks,
> Today I was going to upload new keys to transifex and translate some
> strings proposed in [1]. It looks a little messy the Transifex resources.
> As I user, when I get there, I have no idea where I should work. Can we
> have/use a single resource file there? If we only use the
> “4.10_messages.json” now, can we delete others?
>
> BTW: Do we know who has the admin account for the CloudStack organization
> there?
>
> [1] https://github.com/apache/cloudstack/pull/2571
>
> --
> Rafael Weingärtner
>



-- 
Rafael Weingärtner


Management of Transifex resources

2018-04-18 Thread Rafael Weingärtner
Hello Folks,
Today I was going to upload new keys to transifex and translate some
strings proposed in [1]. It looks a little messy the Transifex resources.
As I user, when I get there, I have no idea where I should work. Can we
have/use a single resource file there? If we only use the
“4.10_messages.json” now, can we delete others?

BTW: Do we know who has the admin account for the CloudStack organization
there?

[1] https://github.com/apache/cloudstack/pull/2571

--
Rafael Weingärtner


Re: Community opinion regarding Apache events banner in CloudStack's website

2018-04-18 Thread Will Stevens
I vote 4

On Wed, Apr 18, 2018, 7:13 AM Rafael Weingärtner, <
rafaelweingart...@gmail.com> wrote:

> I am confused as well. Here goes a link with all image suggestions [1]. The
> tally so far is the following:
>
>- Option 1  (banner in the middle of the main CloudStack section)- 1
>vote (Rafael)
>- Option 2  (a new section called “Apache events”)- 1 vote (Gabriel)
>- Option 3 (Banner aligned right and under CloudMonkey image – we can
>apply some improvements suggested by Nitin here) – 8 votes (Dag, Swen,
>Stephan, Boris, Ron, Grégorie, Nitin, Mauricio)
>- Option 4  (aligned left) – 1 vote (Nicolás)
>
>
> [1] https://drive.google.com/open?id=1dqjPI2PBZ3hvKr2eEWaH3Fj_hLhXUxvB
>
> On Wed, Apr 18, 2018 at 8:06 AM, Will Stevens 
> wrote:
>
> > Can we list the options and their voting numbers?  I am a bit confused
> > right now.
> >
> > I like the one that is left aligned under the text and keeps the logo on
> > the right full size.
> >
> > On Tue, Apr 17, 2018, 10:41 PM Nitin Maharana,  >
> > wrote:
> >
> > > +1 for the third option. I think It would even look good if we adjust
> the
> > > vertical alignment of the word "Apache CloudStack" to center.
> > >
> > > On Wed, Apr 18, 2018 at 12:12 AM, Rafael Weingärtner <
> > > rafaelweingart...@gmail.com> wrote:
> > >
> > > > Third option (suggested by Dag) -
> > > > https://drive.google.com/open?id=16FEu9tD1HZqwxLp2lrnUBmsuRJNLpDqU
> > > >
> > > > On Tue, Apr 17, 2018 at 3:39 PM, Dag Sonstebo <
> > > dag.sonst...@shapeblue.com>
> > > > wrote:
> > > >
> > > > > Hi Rafael – in my opinion you need it fairly prominent so people
> > notice
> > > > it
> > > > > – so option 1, but maybe put it underneath the CloudMonkey logo on
> > the
> > > > > right hand side?
> > > > >
> > > > > Regards,
> > > > > Dag Sonstebo
> > > > > Cloud Architect
> > > > > ShapeBlue
> > > > >
> > > > > On 17/04/2018, 19:35, "Rafael Weingärtner" <
> > > rafaelweingart...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > Ah damm.. I forgot about the file stripping in our mailing
> list.
> > > > > Sorry guys. Here they go.
> > > > >
> > > > > - first one:
> > > > > https://drive.google.com/open?id=1vSqni_GEj3YJjuGehxe-_
> > dnrNqQP7x8y
> > > > >
> > > > > - second one:
> > > > >
> https://drive.google.com/open?id=1LEmt9g5ceAUeTuc2a1Cb4uctOwyz5
> > eQ8
> > > > >
> > > > > On Tue, Apr 17, 2018 at 3:31 PM, Dag Sonstebo <
> > > > > dag.sonst...@shapeblue.com>
> > > > > wrote:
> > > > >
> > > > > > The white one is quite nice ☺
> > > > > >
> > > > > > Joking aside – looks like they got stripped from your email
> > > Rafael.
> > > > > >
> > > > > > Regards,
> > > > > > Dag Sonstebo
> > > > > > Cloud Architect
> > > > > > ShapeBlue
> > > > > >
> > > > > > From: Rafael Weingärtner 
> > > > > > Reply-To: "dev@cloudstack.apache.org" <
> > dev@cloudstack.apache.org
> > > >
> > > > > > Date: Tuesday, 17 April 2018 at 19:13
> > > > > > To: users , dev <
> > > > > dev@cloudstack.apache.org>
> > > > > > Subject: Community opinion regarding Apache events banner in
> > > > > CloudStack's
> > > > > > website
> > > > > >
> > > > > > Hello folks,
> > > > > > I am trying to work out something to put Apache events banner
> > on
> > > > our
> > > > > > website. So far I came up with two proposals. Which one of
> them
> > > do
> > > > > you guys
> > > > > > prefer?
> > > > > > First one:
> > > > > > [cid:ii_jg3zjco00_162d4ce7db0cd3da]
> > > > > >
> > > > > >
> > > > > > Second:
> > > > > > [cid:ii_jg3zk0e01_162d4cefaef3a1ce]
> > > > > >
> > > > > > --
> > > > > > Rafael Weingärtner
> > > > > >
> > > > > > dag.sonst...@shapeblue.com
> > > > > > www.shapeblue.com
> > > > > > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > > > > > @shapeblue
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Rafael Weingärtner
> > > > >
> > > > >
> > > > >
> > > > > dag.sonst...@shapeblue.com
> > > > > www.shapeblue.com
> > > > > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > > > > @shapeblue
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Rafael Weingärtner
> > > >
> > >
> >
>
>
>
> --
> Rafael Weingärtner
>


Re: Community opinion regarding Apache events banner in CloudStack's website

2018-04-18 Thread Tutkowski, Mike
My vote is for 3.

On 4/18/18, 5:13 AM, "Rafael Weingärtner"  wrote:

I am confused as well. Here goes a link with all image suggestions [1]. The
tally so far is the following:

   - Option 1  (banner in the middle of the main CloudStack section)- 1
   vote (Rafael)
   - Option 2  (a new section called “Apache events”)- 1 vote (Gabriel)
   - Option 3 (Banner aligned right and under CloudMonkey image – we can
   apply some improvements suggested by Nitin here) – 8 votes (Dag, Swen,
   Stephan, Boris, Ron, Grégorie, Nitin, Mauricio)
   - Option 4  (aligned left) – 1 vote (Nicolás)


[1] https://drive.google.com/open?id=1dqjPI2PBZ3hvKr2eEWaH3Fj_hLhXUxvB

On Wed, Apr 18, 2018 at 8:06 AM, Will Stevens  wrote:

> Can we list the options and their voting numbers?  I am a bit confused
> right now.
>
> I like the one that is left aligned under the text and keeps the logo on
> the right full size.
>
> On Tue, Apr 17, 2018, 10:41 PM Nitin Maharana, 
> wrote:
>
> > +1 for the third option. I think It would even look good if we adjust 
the
> > vertical alignment of the word "Apache CloudStack" to center.
> >
> > On Wed, Apr 18, 2018 at 12:12 AM, Rafael Weingärtner <
> > rafaelweingart...@gmail.com> wrote:
> >
> > > Third option (suggested by Dag) -
> > > https://drive.google.com/open?id=16FEu9tD1HZqwxLp2lrnUBmsuRJNLpDqU
> > >
> > > On Tue, Apr 17, 2018 at 3:39 PM, Dag Sonstebo <
> > dag.sonst...@shapeblue.com>
> > > wrote:
> > >
> > > > Hi Rafael – in my opinion you need it fairly prominent so people
> notice
> > > it
> > > > – so option 1, but maybe put it underneath the CloudMonkey logo on
> the
> > > > right hand side?
> > > >
> > > > Regards,
> > > > Dag Sonstebo
> > > > Cloud Architect
> > > > ShapeBlue
> > > >
> > > > On 17/04/2018, 19:35, "Rafael Weingärtner" <
> > rafaelweingart...@gmail.com>
> > > > wrote:
> > > >
> > > > Ah damm.. I forgot about the file stripping in our mailing list.
> > > > Sorry guys. Here they go.
> > > >
> > > > - first one:
> > > > https://drive.google.com/open?id=1vSqni_GEj3YJjuGehxe-_
> dnrNqQP7x8y
> > > >
> > > > - second one:
> > > > https://drive.google.com/open?id=1LEmt9g5ceAUeTuc2a1Cb4uctOwyz5
> eQ8
> > > >
> > > > On Tue, Apr 17, 2018 at 3:31 PM, Dag Sonstebo <
> > > > dag.sonst...@shapeblue.com>
> > > > wrote:
> > > >
> > > > > The white one is quite nice ☺
> > > > >
> > > > > Joking aside – looks like they got stripped from your email
> > Rafael.
> > > > >
> > > > > Regards,
> > > > > Dag Sonstebo
> > > > > Cloud Architect
> > > > > ShapeBlue
> > > > >
> > > > > From: Rafael Weingärtner 
> > > > > Reply-To: "dev@cloudstack.apache.org" <
> dev@cloudstack.apache.org
> > >
> > > > > Date: Tuesday, 17 April 2018 at 19:13
> > > > > To: users , dev <
> > > > dev@cloudstack.apache.org>
> > > > > Subject: Community opinion regarding Apache events banner in
> > > > CloudStack's
> > > > > website
> > > > >
> > > > > Hello folks,
> > > > > I am trying to work out something to put Apache events banner
> on
> > > our
> > > > > website. So far I came up with two proposals. Which one of 
them
> > do
> > > > you guys
> > > > > prefer?
> > > > > First one:
> > > > > [cid:ii_jg3zjco00_162d4ce7db0cd3da]
> > > > >
> > > > >
> > > > > Second:
> > > > > [cid:ii_jg3zk0e01_162d4cefaef3a1ce]
> > > > >
> > > > > --
> > > > > Rafael Weingärtner
> > > > >
> > > > > dag.sonst...@shapeblue.com
> > > > > www.shapeblue.com
> > > > > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > > > > @shapeblue
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Rafael Weingärtner
> > > >
> > > >
> > > >
> > > > dag.sonst...@shapeblue.com
> > > > www.shapeblue.com
> > > > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > > > @shapeblue
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Rafael Weingärtner
> > >
> >
>



-- 
Rafael Weingärtner




Re: Community opinion regarding Apache events banner in CloudStack's website

2018-04-18 Thread Tutkowski, Mike
I like option 3 the best.

On 4/17/18, 12:43 PM, "Dag Sonstebo"  wrote:

A biased +1 for option 3 from me.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 17/04/2018, 19:42, "Rafael Weingärtner"  
wrote:

Third option (suggested by Dag) -
https://drive.google.com/open?id=16FEu9tD1HZqwxLp2lrnUBmsuRJNLpDqU

On Tue, Apr 17, 2018 at 3:39 PM, Dag Sonstebo 

wrote:

> Hi Rafael – in my opinion you need it fairly prominent so people 
notice it
> – so option 1, but maybe put it underneath the CloudMonkey logo on the
> right hand side?
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 17/04/2018, 19:35, "Rafael Weingärtner" 

> wrote:
>
> Ah damm.. I forgot about the file stripping in our mailing list.
> Sorry guys. Here they go.
>
> - first one:
> https://drive.google.com/open?id=1vSqni_GEj3YJjuGehxe-_dnrNqQP7x8y
>
> - second one:
> https://drive.google.com/open?id=1LEmt9g5ceAUeTuc2a1Cb4uctOwyz5eQ8
>
> On Tue, Apr 17, 2018 at 3:31 PM, Dag Sonstebo <
> dag.sonst...@shapeblue.com>
> wrote:
>
> > The white one is quite nice ☺
> >
> > Joking aside – looks like they got stripped from your email 
Rafael.
> >
> > Regards,
> > Dag Sonstebo
> > Cloud Architect
> > ShapeBlue
> >
> > From: Rafael Weingärtner 
> > Reply-To: "dev@cloudstack.apache.org" 

> > Date: Tuesday, 17 April 2018 at 19:13
> > To: users , dev <
> dev@cloudstack.apache.org>
> > Subject: Community opinion regarding Apache events banner in
> CloudStack's
> > website
> >
> > Hello folks,
> > I am trying to work out something to put Apache events banner 
on our
> > website. So far I came up with two proposals. Which one of them 
do
> you guys
> > prefer?
> > First one:
> > [cid:ii_jg3zjco00_162d4ce7db0cd3da]
> >
> >
> > Second:
> > [cid:ii_jg3zk0e01_162d4cefaef3a1ce]
> >
> > --
> > Rafael Weingärtner
> >
> > dag.sonst...@shapeblue.com
> > www.shapeblue.com
> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > @shapeblue
> >
> >
> >
> >
>
>
> --
> Rafael Weingärtner
>
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


-- 
Rafael Weingärtner



dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 





Re: Community opinion regarding Apache events banner in CloudStack's website

2018-04-18 Thread Rafael Weingärtner
I am confused as well. Here goes a link with all image suggestions [1]. The
tally so far is the following:

   - Option 1  (banner in the middle of the main CloudStack section)- 1
   vote (Rafael)
   - Option 2  (a new section called “Apache events”)- 1 vote (Gabriel)
   - Option 3 (Banner aligned right and under CloudMonkey image – we can
   apply some improvements suggested by Nitin here) – 8 votes (Dag, Swen,
   Stephan, Boris, Ron, Grégorie, Nitin, Mauricio)
   - Option 4  (aligned left) – 1 vote (Nicolás)


[1] https://drive.google.com/open?id=1dqjPI2PBZ3hvKr2eEWaH3Fj_hLhXUxvB

On Wed, Apr 18, 2018 at 8:06 AM, Will Stevens  wrote:

> Can we list the options and their voting numbers?  I am a bit confused
> right now.
>
> I like the one that is left aligned under the text and keeps the logo on
> the right full size.
>
> On Tue, Apr 17, 2018, 10:41 PM Nitin Maharana, 
> wrote:
>
> > +1 for the third option. I think It would even look good if we adjust the
> > vertical alignment of the word "Apache CloudStack" to center.
> >
> > On Wed, Apr 18, 2018 at 12:12 AM, Rafael Weingärtner <
> > rafaelweingart...@gmail.com> wrote:
> >
> > > Third option (suggested by Dag) -
> > > https://drive.google.com/open?id=16FEu9tD1HZqwxLp2lrnUBmsuRJNLpDqU
> > >
> > > On Tue, Apr 17, 2018 at 3:39 PM, Dag Sonstebo <
> > dag.sonst...@shapeblue.com>
> > > wrote:
> > >
> > > > Hi Rafael – in my opinion you need it fairly prominent so people
> notice
> > > it
> > > > – so option 1, but maybe put it underneath the CloudMonkey logo on
> the
> > > > right hand side?
> > > >
> > > > Regards,
> > > > Dag Sonstebo
> > > > Cloud Architect
> > > > ShapeBlue
> > > >
> > > > On 17/04/2018, 19:35, "Rafael Weingärtner" <
> > rafaelweingart...@gmail.com>
> > > > wrote:
> > > >
> > > > Ah damm.. I forgot about the file stripping in our mailing list.
> > > > Sorry guys. Here they go.
> > > >
> > > > - first one:
> > > > https://drive.google.com/open?id=1vSqni_GEj3YJjuGehxe-_
> dnrNqQP7x8y
> > > >
> > > > - second one:
> > > > https://drive.google.com/open?id=1LEmt9g5ceAUeTuc2a1Cb4uctOwyz5
> eQ8
> > > >
> > > > On Tue, Apr 17, 2018 at 3:31 PM, Dag Sonstebo <
> > > > dag.sonst...@shapeblue.com>
> > > > wrote:
> > > >
> > > > > The white one is quite nice ☺
> > > > >
> > > > > Joking aside – looks like they got stripped from your email
> > Rafael.
> > > > >
> > > > > Regards,
> > > > > Dag Sonstebo
> > > > > Cloud Architect
> > > > > ShapeBlue
> > > > >
> > > > > From: Rafael Weingärtner 
> > > > > Reply-To: "dev@cloudstack.apache.org" <
> dev@cloudstack.apache.org
> > >
> > > > > Date: Tuesday, 17 April 2018 at 19:13
> > > > > To: users , dev <
> > > > dev@cloudstack.apache.org>
> > > > > Subject: Community opinion regarding Apache events banner in
> > > > CloudStack's
> > > > > website
> > > > >
> > > > > Hello folks,
> > > > > I am trying to work out something to put Apache events banner
> on
> > > our
> > > > > website. So far I came up with two proposals. Which one of them
> > do
> > > > you guys
> > > > > prefer?
> > > > > First one:
> > > > > [cid:ii_jg3zjco00_162d4ce7db0cd3da]
> > > > >
> > > > >
> > > > > Second:
> > > > > [cid:ii_jg3zk0e01_162d4cefaef3a1ce]
> > > > >
> > > > > --
> > > > > Rafael Weingärtner
> > > > >
> > > > > dag.sonst...@shapeblue.com
> > > > > www.shapeblue.com
> > > > > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > > > > @shapeblue
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Rafael Weingärtner
> > > >
> > > >
> > > >
> > > > dag.sonst...@shapeblue.com
> > > > www.shapeblue.com
> > > > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > > > @shapeblue
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Rafael Weingärtner
> > >
> >
>



-- 
Rafael Weingärtner


Re: Community opinion regarding Apache events banner in CloudStack's website

2018-04-18 Thread Will Stevens
Can we list the options and their voting numbers?  I am a bit confused
right now.

I like the one that is left aligned under the text and keeps the logo on
the right full size.

On Tue, Apr 17, 2018, 10:41 PM Nitin Maharana, 
wrote:

> +1 for the third option. I think It would even look good if we adjust the
> vertical alignment of the word "Apache CloudStack" to center.
>
> On Wed, Apr 18, 2018 at 12:12 AM, Rafael Weingärtner <
> rafaelweingart...@gmail.com> wrote:
>
> > Third option (suggested by Dag) -
> > https://drive.google.com/open?id=16FEu9tD1HZqwxLp2lrnUBmsuRJNLpDqU
> >
> > On Tue, Apr 17, 2018 at 3:39 PM, Dag Sonstebo <
> dag.sonst...@shapeblue.com>
> > wrote:
> >
> > > Hi Rafael – in my opinion you need it fairly prominent so people notice
> > it
> > > – so option 1, but maybe put it underneath the CloudMonkey logo on the
> > > right hand side?
> > >
> > > Regards,
> > > Dag Sonstebo
> > > Cloud Architect
> > > ShapeBlue
> > >
> > > On 17/04/2018, 19:35, "Rafael Weingärtner" <
> rafaelweingart...@gmail.com>
> > > wrote:
> > >
> > > Ah damm.. I forgot about the file stripping in our mailing list.
> > > Sorry guys. Here they go.
> > >
> > > - first one:
> > > https://drive.google.com/open?id=1vSqni_GEj3YJjuGehxe-_dnrNqQP7x8y
> > >
> > > - second one:
> > > https://drive.google.com/open?id=1LEmt9g5ceAUeTuc2a1Cb4uctOwyz5eQ8
> > >
> > > On Tue, Apr 17, 2018 at 3:31 PM, Dag Sonstebo <
> > > dag.sonst...@shapeblue.com>
> > > wrote:
> > >
> > > > The white one is quite nice ☺
> > > >
> > > > Joking aside – looks like they got stripped from your email
> Rafael.
> > > >
> > > > Regards,
> > > > Dag Sonstebo
> > > > Cloud Architect
> > > > ShapeBlue
> > > >
> > > > From: Rafael Weingärtner 
> > > > Reply-To: "dev@cloudstack.apache.org"  >
> > > > Date: Tuesday, 17 April 2018 at 19:13
> > > > To: users , dev <
> > > dev@cloudstack.apache.org>
> > > > Subject: Community opinion regarding Apache events banner in
> > > CloudStack's
> > > > website
> > > >
> > > > Hello folks,
> > > > I am trying to work out something to put Apache events banner on
> > our
> > > > website. So far I came up with two proposals. Which one of them
> do
> > > you guys
> > > > prefer?
> > > > First one:
> > > > [cid:ii_jg3zjco00_162d4ce7db0cd3da]
> > > >
> > > >
> > > > Second:
> > > > [cid:ii_jg3zk0e01_162d4cefaef3a1ce]
> > > >
> > > > --
> > > > Rafael Weingärtner
> > > >
> > > > dag.sonst...@shapeblue.com
> > > > www.shapeblue.com
> > > > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > > > @shapeblue
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Rafael Weingärtner
> > >
> > >
> > >
> > > dag.sonst...@shapeblue.com
> > > www.shapeblue.com
> > > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > > @shapeblue
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Rafael Weingärtner
> >
>


Re: [DISCUSS] CloudStack graceful shutdown

2018-04-18 Thread Marc-Aurèle Brothier
As we are already using a list management server API calls to handle the
scripting of the shutdown/upgrade/start, I manually backported the code:

https://github.com/apache/cloudstack/pull/2578

On Tue, Apr 17, 2018 at 9:31 PM, Rafael Weingärtner <
rafaelweingart...@gmail.com> wrote:

> Ron, that is a good analogy.
>
> There is something else that I forgot to mention. We discussed the issue of
> migrating Jobs/tasks to other management servers. This is not something
> easy to achieve because of the way it is currently implemented in ACS.
> However, as soon as we have a more comprehensive solution to a graceful
> shutdown, this becomes something feasible for us to work on.
>
> I do not know if Ilya is going to develop a graceful shutdown or if someone
> else will pick this up, but we are willing to work on it. Of course, it is
> not something that we would develop right away because it will probably
> take quite some work, and we have some other priorities. However,  I will
> discuss this further internally and see what we can come up with.
>
> On Tue, Apr 17, 2018 at 1:46 PM, Ron Wheeler  com
> > wrote:
>
> > Part of this sounds like the Windows shut down process which is familiar
> > to many.
> >
> > For those who have never used Windows:
> >
> > Once you initiate the shutdown, it asks the tasks to shut down.
> > If tasks have not shutdown within a "reasonable period", it lists them
> and
> > asks you if you want to wait a bit longer, force them to close or abort
> the
> > shutdown so that you can manually shut them down.
> > If you "force" a shutdown it closes all of the tasks using all of the
> > brutality at its command.
> > If you abort, then you have to redo the shutdown after you have manually
> > exited from the processes that you care about.
> >
> > This is pretty user friendly but requires that you have a way to signal
> to
> > a task that it is time to say goodbye.
> >
> > The "reasonable time" needs to have a default that is short enough to
> make
> > the operator happy and long enough to have a reasonable chance of getting
> > everything stopped without intervention. If you allow the shutdown to
> > proceed after the interval, while the operator waits then you need to
> > refresh the list of running tasks when tasks end.
> >
> > Ron
> >
> >
> > On 17/04/2018 11:27 AM, Rafael Weingärtner wrote:
> >
> >> Ilya and others,
> >>
> >> We have been discussing this idea of graceful/nicely shutdown.  Our
> >> feeling
> >> is that we (in CloudStack community) might have been trying to solve
> this
> >> problem with too much scripting. What if we developed a more integrated
> >> (native) solution?
> >>
> >> Let me explain our idea.
> >>
> >> ACS has a table called “mshost”, which is used to store management
> server
> >> information. During balancing and when jobs are dispatched to other
> >> management servers this table is consulted/queried.  Therefore, we have
> >> been discussing the idea of creating a management API for management
> >> servers.  We could have an API method that changes the state of
> management
> >> servers to “prepare to maintenance” and then “maintenance” (as soon as
> all
> >> of the task/jobs it is managing finish). The idea is that during
> >> rebalancing we would remove the hosts of servers that are not in “Up”
> >> state
> >> (of course we would also ignore hosts in the aforementioned state to
> >> receive hosts to manage).  Moreover, when we send/dispatch jobs to other
> >> management servers, we could ignore the ones that are not in “Up” state
> >> (which is something already done).
> >>
> >> By doing this, the nicely shutdown could be executed in a few steps.
> >>
> >> 1 – issue the maintenance method for the management server you desire
> >> 2 – wait until the MS goes into maintenance mode, while there are still
> >> running jobs it (the management server) will be maintained in prepare
> for
> >> maintenance
> >> 3 – execute the Linux shutdown command
> >>
> >> We would need other APIs methods to manage MSs then. An (i) API method
> to
> >> list MSs, and we could even create an (ii) API to remove
> old/de-activated
> >> management servers, which we currently do not have (forcing users to
> apply
> >> changed directly in the database).
> >>
> >> Moreover, in this model, we would not kill hanging jobs; we would wait
> >> until they expire and ACS expunges them. Of course, it is possible to
> >> develop a forceful maintenance method as well. Then, when the “prepare
> for
> >> maintenance” takes longer than a parameter, we could kill hanging jobs.
> >>
> >> All of this would allow the MS to be kept up and receiving requests
> until
> >> it can be safely shutdown. What do you guys about this approach?
> >>
> >> On Tue, Apr 10, 2018 at 6:52 PM, Yiping Zhang 
> wrote:
> >>
> >> As a cloud admin, I would love to have this feature.
> >>>
> >>> It so happens that I just accidentally restarted my ACS management
> server
> >>> while