Re: XenServer 6.5 - Security Groups

2015-04-21 Thread Abhinandan Prateek
The security groups are working but with errors. All the recommended settings 
are in place.

In the log files there are many delete failures like:

Failed to delete rule log file /var/run/cloud/i-2-4-VM.ip
10.51.212.24-cloud.log:2015-04-17 11:45:08DEBUG [root] Ignoring failure to 
delete rules for vm i-2-4-VM
10.51.212.24-cloud.log:2015-04-17 11:45:08DEBUG [root] Ignoring failure to 
delete rules for vm i-2-4-VM
10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Ignoring failure to 
delete ebtables chain for vm i-2-4-VM
10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Creating ipset chain 
 i-2-4-VM
10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Writing log to 
/var/run/cloud/i-2-4-VM.log
10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Programmed default 
rules for vm i-2-4-VM
10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] No change in default 
info set of vm i-2-4-VM
10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Seqno increased from 
-1 to 17: reprogamming ingress rules for vm i-2-4-VM
10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Programming network 
rules for vm  i-2-4-VM seqno=17 numrules=3 
signature=fd07c7713376d8906fb71eb8328224ca guestIp=10.170.20.61, update 
iptables, reason=seqno_change_or_sig_change
10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] ['iptables', '-I', 
'i-2-4-VM', '-p', 'icmp', '--icmp-type', 'any', '-j', 'ACCEPT']
10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] ipset chain already 
existsi-2-4-VM_tcp_22_22


Looks like due to delete failure the subsequent rule change fails to apply ?

-abhi

 On 21-Apr-2015, at 9:56 am, Koushik Das koushik@citrix.com wrote:

 What is the output of cat /etc/sysctl.conf? Update it as per 
 http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/xenserver.html.
  If there was an upgrade from XS 6.2 to XS 6.5, then changes to sysctl.conf 
 is not persisted.


 On 21-Apr-2015, at 6:24 AM, Tim Mackey tmac...@gmail.com wrote:

 Geoff, was this a fresh install of both XenServer and CloudStack, or was
 there any post install steps or upgrades?  I'm thinking of setting this up
 and tracing things tomorrow.  Might be good to get your logs to compare
 against what I see.
 On Apr 20, 2015 3:24 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:

 FYI we have just re-deployed the environment using ACS 4.4.3 and XenServer
 6.2 and now it is all working as expected.

 We now need to work out if the problem is with ACS 4.5.1 or XenServer 6.5

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
 Sent: 20 April 2015 17:52
 To: users@cloudstack.apache.org
 Subject: RE: XenServer 6.5 - Security Groups

 Many thank Somesh

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Somesh Naidu [mailto:somesh.na...@citrix.com]
 Sent: 20 April 2015 15:55
 To: users@cloudstack.apache.org
 Subject: RE: XenServer 6.5 - Security Groups

 I am running 4.5.0. I probably don't use my lab setup that often to
 encounter these inconsistencies. I will look for any XS hotfixes that have
 fixes around this area and let you know if I find one.

 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.

 -Original Message-
 From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
 Sent: Monday, April 20, 2015 10:42 AM
 To: users@cloudstack.apache.org
 Subject: RE: XenServer 6.5 - Security Groups

 We are currently testing a 4.5.1 CloudStack deployment with XenServer 6.5
 and the Security Groups are very temperamental.

 Sometimes they allow traffic, sometimes they block it.  Lots of errors in
 the cloud.log file on the XenServer saying failed to update iptables etc

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Somesh Naidu [mailto:somesh.na...@citrix.com]
 Sent: 20 April 2015 15:38
 To: users@cloudstack.apache.org
 Subject: RE: XenServer 6.5 - Security Groups

 I am running that in my lab and haven't encountered any issues. But note I
 may not be covering a whole lot of use cases.

 Any specific issues that you are facing?

 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.

 From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
 Sent: Monday, April 20, 2015 10:12 AM
 To: users@cloudstack.apache.org
 Subject: XenServer 6.5 - Security Groups

 Hi,

 Is anyone using XenServer 6.5 with a Basic Zone with Security Groups, and
 if so, are you experiencing any problems?

 Regards

 Geoff Higginbottom
 CTO / Cloud Architect

 [Description: Mail Logo Bottom Align]

 D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:
 

Re: Custom disk size at cloudstack UI

2015-04-21 Thread Nux!
Vadim,

No, it will only work with KVM.

Should you decide to switch hypervisors, this is how you do it, edit this file 
on your install:

https://github.com/apache/cloudstack/blob/master/ui/scripts/ui-custom/instanceWizard.js#L424-437
and set var custom = to false instead of what is there.
Then gzip the file (all the files are gzipped, this is how they are served by 
default to increase speed).


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 To: users@cloudstack.apache.org
 Sent: Tuesday, 21 April, 2015 07:00:36
 Subject: RE: Custom disk size at cloudstack UI

 Nux,
 
   I have ACS 4.5.1 RC2 and XenServer 6.5 with latest patchset.  Is it 
 possible to
   implement it there?
 
 Vadim.
 
 -Original Message-
 From: Nux! [mailto:n...@li.nux.ro]
 Sent: Tuesday, April 21, 2015 2:17 AM
 To: users@cloudstack.apache.org
 Subject: Re: Custom disk size at cloudstack UI
 
 Vadim,
 
 That only works for KVM btw. On which ACS version are you? There are different
 methods..
 
 Lucian
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 To: users@cloudstack.apache.org
 Sent: Monday, 20 April, 2015 14:38:06
 Subject: Custom disk size at cloudstack UI
 
 Hello all,
 
I remember there is an option at CS UI that opens hidden element 
 to show input
field for custom disk size at VM addition wizard. Can someone 
 point me to the
file location I need to change in order to use custom disk size 
 functionality?
 
 Thank you,
 
  Vadim Kimlaychuk


Re: Custom disk size at cloudstack UI

2015-04-21 Thread Erik Weber
There was a patch on reviewboard for initial XenServer root resize
functionality, but it was never merged or followed up.

-- 
Erik

On Tue, Apr 21, 2015 at 8:00 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 Nux,

 I have ACS 4.5.1 RC2 and XenServer 6.5 with latest patchset.  Is
 it possible to implement it there?

 Vadim.

 -Original Message-
 From: Nux! [mailto:n...@li.nux.ro]
 Sent: Tuesday, April 21, 2015 2:17 AM
 To: users@cloudstack.apache.org
 Subject: Re: Custom disk size at cloudstack UI

 Vadim,

 That only works for KVM btw. On which ACS version are you? There are
 different methods..

 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
  From: Vadim Kimlaychuk vadim.kimlayc...@elion.ee
  To: users@cloudstack.apache.org
  Sent: Monday, 20 April, 2015 14:38:06
  Subject: Custom disk size at cloudstack UI

  Hello all,
 
 I remember there is an option at CS UI that opens hidden
 element to show input
 field for custom disk size at VM addition wizard. Can someone
 point me to the
 file location I need to change in order to use custom disk
 size functionality?
 
  Thank you,
 
  Vadim Kimlaychuk



Re: Change Network Service Offering

2015-04-21 Thread James Scott
Hi Andrija,

Thank you  Yes, Trying to Change 'EXISTING GUEST' Network - which is not
giving 'EDIT' option.
Changed the Network Offering ID in networks table 'network_offering_id'.
(The new Offering ID)
Its working Fine.


However, if tried to changing for 'HA Router' option, its giving below
message - though Public Network is defined.

* Log 
2015-04-21 12:11:45,903 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(Job-Executor-48:ctx-5b1aa750 ctx-063468f9) Didn't support redundant
virtual router without public network!


Thanks..


On Tue, Apr 21, 2015 at 10:56 AM, Koushik Das koushik@citrix.com
wrote:

 For getting compatible offering, the following properties are compared:
 - It shouldn't be a system offering
 - It should be in enabled state
 - Guest type, Traffic type and Specify vlan properties should be same as
 existing offering

 -Original Message-
 From: Sanjeev N [mailto:sanj...@apache.org]
 Sent: Tuesday, 21 April 2015 10:38
 To: users@cloudstack.apache.org
 Subject: Re: Change Network Service Offering

 It is possible to change the network offering for existing guest network
 as well from UI/API.

 On Mon, Apr 20, 2015 at 1:25 PM, Andrija Panic andrija.pa...@gmail.com
 wrote:

  Please let me know if you manage to change service offering for
  EXISTING GUEST network - this was NOT possible/supported some release
  ago - I had to manually, change offering ID, in the network table
  (particular guest network - I changed network_offering_id to point to
  new network offering - I added some additional services, beside
  already exsting ones on current network offering).
 
  thx
 
  On 20 April 2015 at 08:16, Koushik Das koushik@citrix.com wrote:
 
   For changing network offering you need to go to the network list
   view in UI. Select the network that you want to edit and then change
   the
  offering.
   Also for getting a list of compatible network offerings to update
   to, run listNetworkOfferings API passing the network id as shown
   below
  
  
  
  http://localhost:8080/client/api?command=listNetworkOfferingsnetworki
  d=50361114-2058-4122-acb2-ea7b10e9eadfresponse=jsonsessionkey=%2BBkt
  5J81vZiZ2fCzJX6QhT9Qcjk%3D_=1429509086198
  
   -Koushik
  
   -Original Message-
   From: James Scott [mailto:james59sc...@gmail.com]
   Sent: Monday, 20 April 2015 8:18
   To: users@cloudstack.apache.org
   Subject: Change Network Service Offering
  
   Hi
  
   As per the cloudstack Documentation, while trying to 'Change Network
   Service Offering' for Guest Network, 'Edit' Option supposed to be
   there
  in
   CloudStack Console, but its not appearing.
  
   Can we change that by editing in Database vminstance table.
  
   Also if we want to delete and recreate also, Delete Network Option
   is
  also
   not working, - with below message in Log File.
  
   ***Log Message
   WARN  [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-22:ctx-68b621b5
   ctx-3835f973) Can't delete the network, not all user vms are
   expunged. Vm VM[User|testvm1] is in Stopped state
   ***
  
   Is this known issue, In fact there were many VMs in 'Expunging' 
   Changed manually to 'Destroyed', still could not delete the network...
  
   (CloudStack Version is 4.3.0.1)
  
   Thank you..
  
 
 
 
  --
 
  Andrija Panić
 



RE: XenServer 6.5 - Security Groups

2015-04-21 Thread Geoff Higginbottom
@Tim - this was a fresh install of both ACS 4.5 and XenServer 6.5

@Koushik - /etc/sysctl.conf was correctly configured, and Linux Bridge was 
enabled etc

FYI we have now performed a code review and cannot see any differences between 
4.4. and 4.5 relating to Security Groups, so the current thinking is its 
related to XenServer 6.5

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Koushik Das [mailto:koushik@citrix.com]
Sent: 21 April 2015 05:26
To: users@cloudstack.apache.org
Subject: Re: XenServer 6.5 - Security Groups

What is the output of cat /etc/sysctl.conf? Update it as per 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/xenserver.html.
 If there was an upgrade from XS 6.2 to XS 6.5, then changes to sysctl.conf is 
not persisted.


On 21-Apr-2015, at 6:24 AM, Tim Mackey tmac...@gmail.com wrote:

 Geoff, was this a fresh install of both XenServer and CloudStack, or
 was there any post install steps or upgrades?  I'm thinking of setting
 this up and tracing things tomorrow.  Might be good to get your logs
 to compare against what I see.
 On Apr 20, 2015 3:24 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:

 FYI we have just re-deployed the environment using ACS 4.4.3 and
 XenServer
 6.2 and now it is all working as expected.

 We now need to work out if the problem is with ACS 4.5.1 or XenServer
 6.5

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
 Sent: 20 April 2015 17:52
 To: users@cloudstack.apache.org
 Subject: RE: XenServer 6.5 - Security Groups

 Many thank Somesh

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Somesh Naidu [mailto:somesh.na...@citrix.com]
 Sent: 20 April 2015 15:55
 To: users@cloudstack.apache.org
 Subject: RE: XenServer 6.5 - Security Groups

 I am running 4.5.0. I probably don't use my lab setup that often to
 encounter these inconsistencies. I will look for any XS hotfixes that
 have fixes around this area and let you know if I find one.

 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.

 -Original Message-
 From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
 Sent: Monday, April 20, 2015 10:42 AM
 To: users@cloudstack.apache.org
 Subject: RE: XenServer 6.5 - Security Groups

 We are currently testing a 4.5.1 CloudStack deployment with XenServer
 6.5 and the Security Groups are very temperamental.

 Sometimes they allow traffic, sometimes they block it.  Lots of
 errors in the cloud.log file on the XenServer saying failed to update
 iptables etc

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Somesh Naidu [mailto:somesh.na...@citrix.com]
 Sent: 20 April 2015 15:38
 To: users@cloudstack.apache.org
 Subject: RE: XenServer 6.5 - Security Groups

 I am running that in my lab and haven't encountered any issues. But
 note I may not be covering a whole lot of use cases.

 Any specific issues that you are facing?

 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.

 From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
 Sent: Monday, April 20, 2015 10:12 AM
 To: users@cloudstack.apache.org
 Subject: XenServer 6.5 - Security Groups

 Hi,

 Is anyone using XenServer 6.5 with a Basic Zone with Security Groups,
 and if so, are you experiencing any problems?

 Regards

 Geoff Higginbottom
 CTO / Cloud Architect

 [Description: Mail Logo Bottom Align]

 D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:
 +442036030540 | M: +447968161581tel:+447968161581

 geoff.higginbot...@shapeblue.commailto:geoff.higginbottom@shapeblue.
 com
 |
 http://secure-web.cisco.com/1_m6FCDbSUBvddH6wuttV8bB9VyxT7_ZrQdTyy8rP
 6zdZKcxYpIktkHNIjZklPdlONoacLb2wS34ty66n-dfvn7WNlvJGXbkgF-rfzXJIBVgky
 V1bWAuhg1ncLBIz0-ryRfTsoRfwGBsEIt25u879S1c92XJ8aaph3rzYIY6Uiu8jaw0-Pb
 MR0566HUKmboL-/http%3A%2F%2Fwww.shapeblue.com
 htp://http:/
 secure-web.cisco.com/1wlSAn7D75G6NWQjnyhpieSqjDnAwYRwKZrJ72dxbEczCABP
 jXADRKyn6yB7bVLg9qX8BOLiQhHMSkV1rTaJ3hvk6hQ4ZzHbyevQP48d5wh6D6YO3kcvr
 3rOn_PWYrsvxVV9sr6C6aGf_HdUQ3FT_1PNOgdKuZ9jugNdc1URHALWNa7pbbFucbfGdv
 ls3-lSD/http%3A%2F%2Fwww.shapeblue.com%2F
 | Twitter:@cloudstackguruhttps://twitter.com/#!/cloudstackguru

 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

 Find out more about ShapeBlue and our range of CloudStack related
 services

 IaaS Cloud Design  Build
 http://secure-web.cisco.com/1ELd3cItcRBs-I31ofdP3jOF-t5vDpGEXoTGIusTh
 WjIMyrHdvguDFWxEKII1DpOPXKDDDImob8MuTMkIOh0DfliYEz52VWpOigayNR-6cF6Dz
 

RE: Custom disk size at cloudstack UI

2015-04-21 Thread Vadim Kimlaychuk
Nux,

I have ACS 4.5.1 RC2 and XenServer 6.5 with latest patchset.  Is it 
possible to implement it there? 

Vadim.

-Original Message-
From: Nux! [mailto:n...@li.nux.ro] 
Sent: Tuesday, April 21, 2015 2:17 AM
To: users@cloudstack.apache.org
Subject: Re: Custom disk size at cloudstack UI

Vadim,

That only works for KVM btw. On which ACS version are you? There are different 
methods..

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 To: users@cloudstack.apache.org
 Sent: Monday, 20 April, 2015 14:38:06
 Subject: Custom disk size at cloudstack UI

 Hello all,
 
I remember there is an option at CS UI that opens hidden element 
 to show input
field for custom disk size at VM addition wizard. Can someone 
 point me to the
file location I need to change in order to use custom disk size 
 functionality?
 
 Thank you,
 
 Vadim Kimlaychuk


Netwok offerings

2015-04-21 Thread Vadim Kimlaychuk
Hi all,

Need you advice regarding network offers. I have ACS with advanced 
networking implemented. VPC works fine.  But probably not all clients need to 
have VPC. How can I offer public IP address from IP pool (shared?) without 
creating VPC ??   For example client just need 1 VM with public IP address and 
that’s it.


Vadim Kimlaychuk

P.S. I use VLAN isolation method for all the networks.


RE: Netwok offerings

2015-04-21 Thread Geoff Higginbottom
Hi Vadim,

You can use the 'Shared Network' offering for this, and assign a Public IP 
range.  Just be aware that if you are using different NICs on your Hypervisors 
for Public and Guest traffic, the Shared Network is still treated as Guest 
traffic so you need to ensure the VLAN you assign to the Shared Network is 
mapped to the Guest NIC etc

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee]
Sent: 21 April 2015 07:07
To: users@cloudstack.apache.org
Subject: Netwok offerings

Hi all,

Need you advice regarding network offers. I have ACS with advanced 
networking implemented. VPC works fine.  But probably not all clients need to 
have VPC. How can I offer public IP address from IP pool (shared?) without 
creating VPC ??   For example client just need 1 VM with public IP address and 
that’s it.


Vadim Kimlaychuk

P.S. I use VLAN isolation method for all the networks.
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: XenServer 6.5 - Security Groups

2015-04-21 Thread Tim Mackey
Geoff,

I just went through the changelog for ipset, and its a pretty safe bet
that's where the problems are.  In XenServer 6.2, ipset is version 4.5
while XenServer 6.5 uses ipset version 6.11.  With version 5, upstream did
a major rewrite of ipset.  iptables also changed, but it's not as dramatic.
I'm going to try and build with Rohit's change and test tonight or tomorrow.

-tim

On Tue, Apr 21, 2015 at 2:41 AM, Abhinandan Prateek 
abhinandan.prat...@shapeblue.com wrote:

 The security groups are working but with errors. All the recommended
 settings are in place.

 In the log files there are many delete failures like:

 Failed to delete rule log file /var/run/cloud/i-2-4-VM.ip
 10.51.212.24-cloud.log:2015-04-17 11:45:08DEBUG [root] Ignoring
 failure to delete rules for vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:08DEBUG [root] Ignoring
 failure to delete rules for vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Ignoring
 failure to delete ebtables chain for vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Creating ipset
 chain  i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Writing log to
 /var/run/cloud/i-2-4-VM.log
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Programmed
 default rules for vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] No change in
 default info set of vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Seqno increased
 from -1 to 17: reprogamming ingress rules for vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Programming
 network rules for vm  i-2-4-VM seqno=17 numrules=3
 signature=fd07c7713376d8906fb71eb8328224ca guestIp=10.170.20.61, update
 iptables, reason=seqno_change_or_sig_change
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] ['iptables',
 '-I', 'i-2-4-VM', '-p', 'icmp', '--icmp-type', 'any', '-j', 'ACCEPT']
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] ipset chain
 already existsi-2-4-VM_tcp_22_22


 Looks like due to delete failure the subsequent rule change fails to apply
 ?

 -abhi

  On 21-Apr-2015, at 9:56 am, Koushik Das koushik@citrix.com wrote:
 
  What is the output of cat /etc/sysctl.conf? Update it as per
 http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/xenserver.html.
 If there was an upgrade from XS 6.2 to XS 6.5, then changes to sysctl.conf
 is not persisted.
 
 
  On 21-Apr-2015, at 6:24 AM, Tim Mackey tmac...@gmail.com wrote:
 
  Geoff, was this a fresh install of both XenServer and CloudStack, or was
  there any post install steps or upgrades?  I'm thinking of setting this
 up
  and tracing things tomorrow.  Might be good to get your logs to compare
  against what I see.
  On Apr 20, 2015 3:24 PM, Geoff Higginbottom 
  geoff.higginbot...@shapeblue.com wrote:
 
  FYI we have just re-deployed the environment using ACS 4.4.3 and
 XenServer
  6.2 and now it is all working as expected.
 
  We now need to work out if the problem is with ACS 4.5.1 or XenServer
 6.5
 
  Regards
 
  Geoff Higginbottom
 
  D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
  geoff.higginbot...@shapeblue.com
 
  -Original Message-
  From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
  Sent: 20 April 2015 17:52
  To: users@cloudstack.apache.org
  Subject: RE: XenServer 6.5 - Security Groups
 
  Many thank Somesh
 
  Regards
 
  Geoff Higginbottom
 
  D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
  geoff.higginbot...@shapeblue.com
 
  -Original Message-
  From: Somesh Naidu [mailto:somesh.na...@citrix.com]
  Sent: 20 April 2015 15:55
  To: users@cloudstack.apache.org
  Subject: RE: XenServer 6.5 - Security Groups
 
  I am running 4.5.0. I probably don't use my lab setup that often to
  encounter these inconsistencies. I will look for any XS hotfixes that
 have
  fixes around this area and let you know if I find one.
 
  Somesh
  CloudPlatform Escalations
  Citrix Systems, Inc.
 
  -Original Message-
  From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
  Sent: Monday, April 20, 2015 10:42 AM
  To: users@cloudstack.apache.org
  Subject: RE: XenServer 6.5 - Security Groups
 
  We are currently testing a 4.5.1 CloudStack deployment with XenServer
 6.5
  and the Security Groups are very temperamental.
 
  Sometimes they allow traffic, sometimes they block it.  Lots of errors
 in
  the cloud.log file on the XenServer saying failed to update iptables
 etc
 
  Regards
 
  Geoff Higginbottom
 
  D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
  geoff.higginbot...@shapeblue.com
 
  -Original Message-
  From: Somesh Naidu [mailto:somesh.na...@citrix.com]
  Sent: 20 April 2015 15:38
  To: users@cloudstack.apache.org
  Subject: RE: XenServer 6.5 - Security Groups
 
  I am running that in my lab and haven't encountered any issues. But
 note I
  may not be covering a whole 

root password for hosts: needed past setup?

2015-04-21 Thread Frank Louwers
Hi,

When adding a host, the webUI asks for a username and password to connect to 
the new host. Is this only used for the initial setup over ssh, or is this used 
later on as well?

We tend to disable passwords as much as possible, in favour of ssh keys, and I 
was wondering if I could safely remove the passwords once the Host has gone 
through the initial setup?


Regards,

Frank Louwers

Re: AW: cpu overprovisioning

2015-04-21 Thread Rafael Weingärtner
I have not looked at the code, but that seems odd.
Restarting VMs instances to update the resource usage/resource availability
when changing the overprovisioning factor.

On Tue, Apr 21, 2015 at 12:51 PM, S. Brüseke - proIO GmbH 
s.brues...@proio.com wrote:

 Please try to stop and start the vm. Maybe reboot is not working here. You
 should start to see more free CPU after the first vm.

 Mit freundlichen Grüßen / With kind regards,

 Swen Brüseke

 -Ursprüngliche Nachricht-
 Von: Ugo Vasi [mailto:ugo.v...@procne.it]
 Gesendet: Dienstag, 21. April 2015 16:40
 An: users@cloudstack.apache.org
 Betreff: Re: AW: cpu overprovisioning

 Hi Swen,
 I try rebboting 2 vm but the amount of cpu MHz is not changed. Do I have
 to restart all vm before you see a change?


 Il 21/04/2015 16:16, S. Brüseke - proIO GmbH ha scritto:
  This is because the factor of overprovisioning is attached to the
 instance too! And this factor is only changing after rebooting the instance.
  So after a change of cpu.overprovisioning.factor you need to reboot all
 instances on this cluster which were running before this change was made.
 
  Mit freundlichen Grüßen / With kind regards,
 
  Swen Brüseke
 
  -Ursprüngliche Nachricht-
  Von: Ugo Vasi [mailto:ugo.v...@procne.it]
  Gesendet: Dienstag, 21. April 2015 16:06
  An: users@cloudstack.apache.org
  Betreff: Re: cpu overprovisioning
 
  If I change the over-provisioning ratio in cluster-relative settings
  (infrastructure-cluser-cluster-name-settings) the dashboard show the
 sum of real GHz the overprovisioned amount of GHz (324GHz) as aspected, but
 after a while also the sum of Ghz is multiplied by the same factor making
 it unnecessary...
 
  Il 21/04/2015 15:26, Bharat Kumar ha scritto:
  In case of cloudstack, cpu capacity for host is total of cpus * no of
 Ghz * overporvisoning.
 
  total capacity = sum of capacities of individual hosts.
 
  Thanks,
  Bharat.
 
  On 21-Apr-2015, at 6:49 pm, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.com wrote:
 
  Available CPU will be 3 times the actual CPU when over provisioned by
 3.
 
  The UI not showing the over provisioned value seems like a bug.
 
  -abhi
 
 
  On 21-Apr-2015, at 6:34 pm, Ugo Vasi ugo.v...@procne.it wrote:
 
  Hi all,
  we have a cluster of three machines with 16 CPU at 2.2GHz each and we
 have set a cpu-overprovizioning to 3.
 
  I would expect that the CPU system capacity of the dashboard appear
 with the sum of megahertz CPUs multiplied by three instead I get the real
 sum (108MHz).
 
  I do not understand if this overprovisioning allows me to allocate
 more MHz of real ones asthe documentation say since in reality the virtual
 machines occupy on average only 20% of the computing power.
 
  thanks in advance
 
  --
 
  U g o   V a s iugo.v...@procne.it
  P r o c n e  s.r.l)
  via Cotonificio 45  33010 Tavagnacco IT
  phone: +390432486523 fax: +390432486523
 
  Le informazioni contenute in questo messaggio sono riservate e
  confidenziali ed è vietata la diffusione in qualunque modo eseguita.
  Qualora Lei non fosse la persona a cui il presente messaggio è
  destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
  gentilmente comunicazione.
  Per qualsiasi informazione si prega di contattare supp...@procne.it .
  Rif. D.L. 196/2003
 
  Find out more about ShapeBlue and our range of CloudStack related
  services
 
  IaaS Cloud Design 
  Buildhttp://secure-web.cisco.com/1Yol7cn0c4CnDObcpSirV3DCPZ0WVdvOa3L
  hGNjqR1LC8fdUx8eCLTnMMSoshd9HpKAnV6UPQ_yMd3M-1eZw2Ta-m7j5KgANh1cCgIkU
  g7gUvZUUMIkYZDZDpYP9IDOTuw6o3kuFAtJGiF0j7g8WWr6r9HIr7CqwJi047V_38MGrr
  r_r5JkLvVUoDdjYuhuBW/http%3A%2F%2Fshapeblue.com%2Fiaas-cloud-design-a
  nd-build%2F%2F CSForge - rapid IaaS deployment
  frameworkhttp://secure-web.cisco.com/1QG_8HfqAJxyrN85oTEHIYNcbRgpmjr
  Akp0COA-UIvjKFK3VDTqCkj9wp1e8W2JML6G56lRvuJpQMr5faxHOlQGVsy3eWivku7VX
  STR7Z_reGWbZS3mVJGbFxehTWTUAsA_HOfZ_i-dHdhIuYwCSXyx0PRQcIdyEE51ZlHghI
  wpl_CcVK4rj2EVlq5FWSNjbo/http%3A%2F%2Fshapeblue.com%2Fcsforge%2F
  CloudStack
  Consultinghttp://secure-web.cisco.com/1Jd9xC30lbTOK4Yz24hsK-SYyFxcaJ
  15JHz5Aat3Lyd0qe4l_RGA3YuQAxdRlfgsKaT6hI61qwykCBNqiJRWwlaPIeK_FNJxaJt
  TYZ9o6c9gUZUI1GDDw2fGIesLOAjS5FnkfMjK4oqpmjkwKOCLxeXnBDDSoZhjQjyBB65K
  27drcx_ll0lovUbqvBoz1HRfM/http%3A%2F%2Fshapeblue.com%2Fcloudstack-con
  sultancy%2F CloudStack Software
  Engineeringhttp://secure-web.cisco.com/10UUubQoT9nA8gFa_q8Qn0och7aMN
  dFTHV-Yar0Ga9h9N4I3YNAockHpCCMMiqhnaECX7ZcolpDZ0IWds3ca9SDAQ_9hoGadj_
  YhjpPvW95NwJlv15UDNFNs8r99wke8pQl6BKjgzv94SQuWHueziP1J7X8G7uzAbyj7qqQ
  IjwV8qqxyV81xYENQyXC13qHt9/http%3A%2F%2Fshapeblue.com%2Fcloudstack-so
  ftware-engineering%2F CloudStack Infrastructure
  Supporthttp://secure-web.cisco.com/1tHfpu6yxqCTFv4ED5hd1IzUqlDUAasw9
  gn30YT3ucOvb0PNffUKzHjrKXCpTie0_dZ2a1Veui99C8Qp-p9CiKkobjVQ7pQow2X2A6
  AYXKH5HwcPQ4zvZuLr30h5QBdE3MjtkFm_PM2JKk7WRAhtnukS0nvUJnIY1CzNyvezE5Y
  Vmd8PpcV-eZRBptj4Mv_5i/http%3A%2F%2Fshapeblue.com%2Fcloudstack-infras
 

cpu overprovisioning

2015-04-21 Thread Ugo Vasi

Hi all,
we have a cluster of three machines with 16 CPU at 2.2GHz each and we 
have set a cpu-overprovizioning to 3.


I would expect that the CPU system capacity of the dashboard appear with 
the sum of megahertz CPUs multiplied by three instead I get the real sum 
(108MHz).


I do not understand if this overprovisioning allows me to allocate more 
MHz of real ones asthe documentation say since in reality the virtual 
machines occupy on average only 20% of the computing power.


thanks in advance

--

  U g o   V a s iugo.v...@procne.it
  P r o c n e  s.r.l)
  via Cotonificio 45  33010 Tavagnacco IT
  phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed è vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio è
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare supp...@procne.it .
Rif. D.L. 196/2003



Re: cpu overprovisioning

2015-04-21 Thread Abhinandan Prateek
Available CPU will be 3 times the actual CPU when over provisioned by 3.

The UI not showing the over provisioned value seems like a bug.

-abhi


 On 21-Apr-2015, at 6:34 pm, Ugo Vasi ugo.v...@procne.it wrote:

 Hi all,
 we have a cluster of three machines with 16 CPU at 2.2GHz each and we have 
 set a cpu-overprovizioning to 3.

 I would expect that the CPU system capacity of the dashboard appear with the 
 sum of megahertz CPUs multiplied by three instead I get the real sum (108MHz).

 I do not understand if this overprovisioning allows me to allocate more MHz 
 of real ones asthe documentation say since in reality the virtual machines 
 occupy on average only 20% of the computing power.

 thanks in advance

 --

  U g o   V a s iugo.v...@procne.it
  P r o c n e  s.r.l)
  via Cotonificio 45  33010 Tavagnacco IT
  phone: +390432486523 fax: +390432486523

 Le informazioni contenute in questo messaggio sono riservate e
 confidenziali ed è vietata la diffusione in qualunque modo eseguita.
 Qualora Lei non fosse la persona a cui il presente messaggio è
 destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
 gentilmente comunicazione.
 Per qualsiasi informazione si prega di contattare supp...@procne.it .
 Rif. D.L. 196/2003


Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: CoreOS/Docker - a new blog series

2015-04-21 Thread cs user
Hi Phillip,

Many thanks for getting back to me. I managed to get it working by
following this guide yesterday (might be useful for someone else):

http://help.ninefold.com/servers/how_to_create_a_coreos_server/

I put the user-data into a file with my generated token and then convert it
to base64 with:

base64 -w 0 coreos-userdata

Server was then launched with cloudmonkey:

deploy virtualmachine -userdata=base64stringFromAbove -name core01 -(other
params for zone, template etc)
deploy virtualmachine -userdata=base64stringFromAbove -name core02 -(other
params for zone, template etc)

etc..

Just need to script this now to automatically create farms. Seems to work
fine!

One piece of good advice seems to be that if you are setting up a CoreOS
 cluster using fleet, if any of the VMs fail to deploy completely, the best
 thing is to get a fresh discovery token and re-deploy all of the VMs. It
 does not seem to be easy to clear a 'failed' record from the discovery
 database.


I found this as well, great to hear it wasn't just me.

Cheers!




On Tue, Apr 21, 2015 at 1:35 AM, Phillip Kent phillip.k...@xmlsoup.com
wrote:

 Hi cs user,

 I have not so far had any issues with using discovery and passing the
 discovery URL via userdata.

 If you are using a 'Private with Gateway Services' network this simple
 'cloud-config' file should work:

 https://github.com/Interoute/CoreOS-and-VDC/blob/master/cloud-config-template-simple


 And the new VM will pull its config from the virtual router. My CS setup
 uses Advanced Networking, so I don't know how this goes with the Basic
 networking/Security groups.

 One piece of good advice seems to be that if you are setting up a CoreOS
 cluster using fleet, if any of the VMs fail to deploy completely, the best
 thing is to get a fresh discovery token and re-deploy all of the VMs. It
 does not seem to be easy to clear a 'failed' record from the discovery
 database.

 BTW, I will be publishing soon a couple more blogs on CoreOS clusters and
 fleet. Keep an eye on:
 http://cloudstore.interoute.com/main/knowledge-centre/blog

 - Phillip

 -- Forwarded message --
 From: cs user acldstk...@gmail.com
 To: users@cloudstack.apache.org
 Cc:
 Date: Mon, 20 Apr 2015 10:07:54 +0100
 Subject:
 Ah, I managed to get the sshkeypair working with this template! :)

 http://dl.openvm.eu/cloudstack/coreos/x86_64/

 Just need to get discovery working now.


 On Mon, Apr 20, 2015 at 8:58 AM, cs user acldstk...@gmail.com wrote:

  Hi All,
 
  Thanks for the blog post Phillip, very impressive! :)
 
  I've had a play with coreos/cloudstack myself, but it's been pretty
 manual
  and the SSH public key has been baked into the template.
 
  I guess I'm missing something very simple here, but how is everyone
  managing to set the following via the dhcp router metadata?
 
  ssh_authorized_keys:
- ssh-rsa B3NzaC1yc2EDAQABAAABAQC0g+ZTxC7weoIJLUafOgrm+h.
 
 
  Are you creating a script on the coreos template which curls against the
  router the first time it boots?
 
  Cheers!
 
 



Re: CoreOS/Docker - a new blog series

2015-04-21 Thread Pierre-Luc Dion
Did a presentation on cloud-init at CloudStackDays in Austin last week,
I've covered use of user-data with CoreOS.

http://www.slideshare.net/CloudOps2005/cloudops-cloudstack-days-austin-april-2015
https://www.youtube.com/watch?v=IV-vTL4fjHE




On Mon, Apr 20, 2015 at 8:35 PM, Phillip Kent phillip.k...@xmlsoup.com
wrote:

 Hi cs user,

 I have not so far had any issues with using discovery and passing the
 discovery URL via userdata.

 If you are using a 'Private with Gateway Services' network this simple
 'cloud-config' file should work:

 https://github.com/Interoute/CoreOS-and-VDC/blob/master/cloud-config-template-simple


 And the new VM will pull its config from the virtual router. My CS setup
 uses Advanced Networking, so I don't know how this goes with the Basic
 networking/Security groups.

 One piece of good advice seems to be that if you are setting up a CoreOS
 cluster using fleet, if any of the VMs fail to deploy completely, the best
 thing is to get a fresh discovery token and re-deploy all of the VMs. It
 does not seem to be easy to clear a 'failed' record from the discovery
 database.

 BTW, I will be publishing soon a couple more blogs on CoreOS clusters and
 fleet. Keep an eye on:
 http://cloudstore.interoute.com/main/knowledge-centre/blog

 - Phillip

 -- Forwarded message --
 From: cs user acldstk...@gmail.com
 To: users@cloudstack.apache.org
 Cc:
 Date: Mon, 20 Apr 2015 10:07:54 +0100
 Subject:
 Ah, I managed to get the sshkeypair working with this template! :)

 http://dl.openvm.eu/cloudstack/coreos/x86_64/

 Just need to get discovery working now.


 On Mon, Apr 20, 2015 at 8:58 AM, cs user acldstk...@gmail.com wrote:

  Hi All,
 
  Thanks for the blog post Phillip, very impressive! :)
 
  I've had a play with coreos/cloudstack myself, but it's been pretty
 manual
  and the SSH public key has been baked into the template.
 
  I guess I'm missing something very simple here, but how is everyone
  managing to set the following via the dhcp router metadata?
 
  ssh_authorized_keys:
- ssh-rsa B3NzaC1yc2EDAQABAAABAQC0g+ZTxC7weoIJLUafOgrm+h.
 
 
  Are you creating a script on the coreos template which curls against the
  router the first time it boots?
 
  Cheers!
 
 



RE: Custom disk size at cloudstack UI

2015-04-21 Thread Vadim Kimlaychuk
Thank you Nux!

I will stay as is. It is too complicated right now to change hypervisor 

Regards,

Vadim.

-Original Message-
From: Nux! [mailto:n...@li.nux.ro] 
Sent: Tuesday, April 21, 2015 9:34 AM
To: users@cloudstack.apache.org
Subject: Re: Custom disk size at cloudstack UI

Vadim,

No, it will only work with KVM.

Should you decide to switch hypervisors, this is how you do it, edit this file 
on your install:

https://github.com/apache/cloudstack/blob/master/ui/scripts/ui-custom/instanceWizard.js#L424-437
and set var custom = to false instead of what is there.
Then gzip the file (all the files are gzipped, this is how they are served by 
default to increase speed).


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 To: users@cloudstack.apache.org
 Sent: Tuesday, 21 April, 2015 07:00:36
 Subject: RE: Custom disk size at cloudstack UI

 Nux,
 
   I have ACS 4.5.1 RC2 and XenServer 6.5 with latest patchset.  Is it 
 possible to
   implement it there?
 
 Vadim.
 
 -Original Message-
 From: Nux! [mailto:n...@li.nux.ro]
 Sent: Tuesday, April 21, 2015 2:17 AM
 To: users@cloudstack.apache.org
 Subject: Re: Custom disk size at cloudstack UI
 
 Vadim,
 
 That only works for KVM btw. On which ACS version are you? There are 
 different methods..
 
 Lucian
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 To: users@cloudstack.apache.org
 Sent: Monday, 20 April, 2015 14:38:06
 Subject: Custom disk size at cloudstack UI
 
 Hello all,
 
I remember there is an option at CS UI that opens hidden element 
 to show input
field for custom disk size at VM addition wizard. Can someone 
 point me to the
file location I need to change in order to use custom disk size 
 functionality?
 
 Thank you,
 
  Vadim Kimlaychuk


RE: Netwok offerings

2015-04-21 Thread Vadim Kimlaychuk
Geoff,

I am using one NIC (bond) for public and guest traffic.  Public is tagged as 
500, guest VLANs 600-632.
But I am still a bit lost in details. Assume I have B-class public network:  
192.2.1.0/24 with GW at my router - 192.2.1.1.   I would like to have 32 IP 
dedicated to VPC and 128 dedicated to shared public IP pool.  VPC IP-s are 
taken from admin public network defined during set-up. So I have.
1. VPC net   -- tag:500,  192.2.1.0/27, gw 192.2.1.1, range 2-31 usable IPs
2. Shared public IP range -- tag:500, 192.2.1.32/25, gw 192.2.1.33, range 
34-126 usable

But this will not work, because IP ranges overlap.  How do I partition?
The other question -- what device will play gw - 192.2.1.33 role ? Will it be 
cloudstack with VR or should I register it manually on external router ?

Thank you in advance,

Vadim.


-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] 
Sent: Tuesday, April 21, 2015 9:13 AM
To: users@cloudstack.apache.org
Subject: RE: Netwok offerings

Hi Vadim,

You can use the 'Shared Network' offering for this, and assign a Public IP 
range.  Just be aware that if you are using different NICs on your Hypervisors 
for Public and Guest traffic, the Shared Network is still treated as Guest 
traffic so you need to ensure the VLAN you assign to the Shared Network is 
mapped to the Guest NIC etc

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee]
Sent: 21 April 2015 07:07
To: users@cloudstack.apache.org
Subject: Netwok offerings

Hi all,

Need you advice regarding network offers. I have ACS with advanced 
networking implemented. VPC works fine.  But probably not all clients need to 
have VPC. How can I offer public IP address from IP pool (shared?) without 
creating VPC ??   For example client just need 1 VM with public IP address and 
that’s it.


Vadim Kimlaychuk

P.S. I use VLAN isolation method for all the networks.
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: AW: cpu overprovisioning

2015-04-21 Thread Ugo Vasi

Hi Swen,
I try rebboting 2 vm but the amount of cpu MHz is not changed. Do I have 
to restart all vm before you see a change?



Il 21/04/2015 16:16, S. Brüseke - proIO GmbH ha scritto:

This is because the factor of overprovisioning is attached to the instance too! 
And this factor is only changing after rebooting the instance.
So after a change of cpu.overprovisioning.factor you need to reboot all 
instances on this cluster which were running before this change was made.

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

-Ursprüngliche Nachricht-
Von: Ugo Vasi [mailto:ugo.v...@procne.it]
Gesendet: Dienstag, 21. April 2015 16:06
An: users@cloudstack.apache.org
Betreff: Re: cpu overprovisioning

If I change the over-provisioning ratio in cluster-relative settings
(infrastructure-cluser-cluster-name-settings) the dashboard show the sum of 
real GHz the overprovisioned amount of GHz (324GHz) as aspected, but after a while also 
the sum of Ghz is multiplied by the same factor making it unnecessary...

Il 21/04/2015 15:26, Bharat Kumar ha scritto:

In case of cloudstack, cpu capacity for host is total of cpus * no of Ghz * 
overporvisoning.

total capacity = sum of capacities of individual hosts.

Thanks,
Bharat.
   
On 21-Apr-2015, at 6:49 pm, Abhinandan Prateek abhinandan.prat...@shapeblue.com wrote:



Available CPU will be 3 times the actual CPU when over provisioned by 3.

The UI not showing the over provisioned value seems like a bug.

-abhi



On 21-Apr-2015, at 6:34 pm, Ugo Vasi ugo.v...@procne.it wrote:

Hi all,
we have a cluster of three machines with 16 CPU at 2.2GHz each and we have set 
a cpu-overprovizioning to 3.

I would expect that the CPU system capacity of the dashboard appear with the 
sum of megahertz CPUs multiplied by three instead I get the real sum (108MHz).

I do not understand if this overprovisioning allows me to allocate more MHz of 
real ones asthe documentation say since in reality the virtual machines occupy 
on average only 20% of the computing power.

thanks in advance

--

U g o   V a s iugo.v...@procne.it
P r o c n e  s.r.l)
via Cotonificio 45  33010 Tavagnacco IT
phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed è vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio è
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare supp...@procne.it .
Rif. D.L. 196/2003


Find out more about ShapeBlue and our range of CloudStack related
services

IaaS Cloud Design 
Buildhttp://secure-web.cisco.com/1Yol7cn0c4CnDObcpSirV3DCPZ0WVdvOa3L
hGNjqR1LC8fdUx8eCLTnMMSoshd9HpKAnV6UPQ_yMd3M-1eZw2Ta-m7j5KgANh1cCgIkU
g7gUvZUUMIkYZDZDpYP9IDOTuw6o3kuFAtJGiF0j7g8WWr6r9HIr7CqwJi047V_38MGrr
r_r5JkLvVUoDdjYuhuBW/http%3A%2F%2Fshapeblue.com%2Fiaas-cloud-design-a
nd-build%2F%2F CSForge - rapid IaaS deployment
frameworkhttp://secure-web.cisco.com/1QG_8HfqAJxyrN85oTEHIYNcbRgpmjr
Akp0COA-UIvjKFK3VDTqCkj9wp1e8W2JML6G56lRvuJpQMr5faxHOlQGVsy3eWivku7VX
STR7Z_reGWbZS3mVJGbFxehTWTUAsA_HOfZ_i-dHdhIuYwCSXyx0PRQcIdyEE51ZlHghI
wpl_CcVK4rj2EVlq5FWSNjbo/http%3A%2F%2Fshapeblue.com%2Fcsforge%2F
CloudStack
Consultinghttp://secure-web.cisco.com/1Jd9xC30lbTOK4Yz24hsK-SYyFxcaJ
15JHz5Aat3Lyd0qe4l_RGA3YuQAxdRlfgsKaT6hI61qwykCBNqiJRWwlaPIeK_FNJxaJt
TYZ9o6c9gUZUI1GDDw2fGIesLOAjS5FnkfMjK4oqpmjkwKOCLxeXnBDDSoZhjQjyBB65K
27drcx_ll0lovUbqvBoz1HRfM/http%3A%2F%2Fshapeblue.com%2Fcloudstack-con
sultancy%2F CloudStack Software
Engineeringhttp://secure-web.cisco.com/10UUubQoT9nA8gFa_q8Qn0och7aMN
dFTHV-Yar0Ga9h9N4I3YNAockHpCCMMiqhnaECX7ZcolpDZ0IWds3ca9SDAQ_9hoGadj_
YhjpPvW95NwJlv15UDNFNs8r99wke8pQl6BKjgzv94SQuWHueziP1J7X8G7uzAbyj7qqQ
IjwV8qqxyV81xYENQyXC13qHt9/http%3A%2F%2Fshapeblue.com%2Fcloudstack-so
ftware-engineering%2F CloudStack Infrastructure
Supporthttp://secure-web.cisco.com/1tHfpu6yxqCTFv4ED5hd1IzUqlDUAasw9
gn30YT3ucOvb0PNffUKzHjrKXCpTie0_dZ2a1Veui99C8Qp-p9CiKkobjVQ7pQow2X2A6
AYXKH5HwcPQ4zvZuLr30h5QBdE3MjtkFm_PM2JKk7WRAhtnukS0nvUJnIY1CzNyvezE5Y
Vmd8PpcV-eZRBptj4Mv_5i/http%3A%2F%2Fshapeblue.com%2Fcloudstack-infras
tructure-support%2F CloudStack Bootcamp Training
Courseshttp://secure-web.cisco.com/1x7d61M2SDzx2SvrIj9y8lD6Eepy3dddj
EIFHasGDV_PPBn4EwtHVaqqdWSD1VShX_OR-DKgxqKGgB-dO7jrsSLYkWAw7UE1EeKQdH
I4RW9BPnlYREiTeAcWT3YeOlfQh9EzHqk1uXnuftQxPCbewMDyEcqAzM6O-6r7R7sYuIx
I6xPdCoei7JH2Bkpsljdp-/http%3A%2F%2Fshapeblue.com%2Fcloudstack-traini
ng%2F

This email and any attachments to it may be confidential and are intended solely 
for the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent those of 
Shape Blue Ltd or related companies. If you are not the intended recipient of this 
email, you must neither take any action based upon its contents, nor copy or show 
it to anyone. Please contact the sender if you 

AW: cpu overprovisioning

2015-04-21 Thread S . Brüseke - proIO GmbH
This is because the factor of overprovisioning is attached to the instance too! 
And this factor is only changing after rebooting the instance.
So after a change of cpu.overprovisioning.factor you need to reboot all 
instances on this cluster which were running before this change was made.

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

-Ursprüngliche Nachricht-
Von: Ugo Vasi [mailto:ugo.v...@procne.it] 
Gesendet: Dienstag, 21. April 2015 16:06
An: users@cloudstack.apache.org
Betreff: Re: cpu overprovisioning

If I change the over-provisioning ratio in cluster-relative settings
(infrastructure-cluser-cluster-name-settings) the dashboard show the sum of 
real GHz the overprovisioned amount of GHz (324GHz) as aspected, but after a 
while also the sum of Ghz is multiplied by the same factor making it 
unnecessary...

Il 21/04/2015 15:26, Bharat Kumar ha scritto:
 In case of cloudstack, cpu capacity for host is total of cpus * no of Ghz * 
 overporvisoning.

 total capacity = sum of capacities of individual hosts.

 Thanks,
 Bharat.
   
 On 21-Apr-2015, at 6:49 pm, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.com wrote:

 Available CPU will be 3 times the actual CPU when over provisioned by 3.

 The UI not showing the over provisioned value seems like a bug.

 -abhi


 On 21-Apr-2015, at 6:34 pm, Ugo Vasi ugo.v...@procne.it wrote:

 Hi all,
 we have a cluster of three machines with 16 CPU at 2.2GHz each and we have 
 set a cpu-overprovizioning to 3.

 I would expect that the CPU system capacity of the dashboard appear with 
 the sum of megahertz CPUs multiplied by three instead I get the real sum 
 (108MHz).

 I do not understand if this overprovisioning allows me to allocate more MHz 
 of real ones asthe documentation say since in reality the virtual machines 
 occupy on average only 20% of the computing power.

 thanks in advance

 --

 U g o   V a s iugo.v...@procne.it
 P r o c n e  s.r.l)
 via Cotonificio 45  33010 Tavagnacco IT
 phone: +390432486523 fax: +390432486523

 Le informazioni contenute in questo messaggio sono riservate e 
 confidenziali ed è vietata la diffusione in qualunque modo eseguita.
 Qualora Lei non fosse la persona a cui il presente messaggio è 
 destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene 
 gentilmente comunicazione.
 Per qualsiasi informazione si prega di contattare supp...@procne.it .
 Rif. D.L. 196/2003

 Find out more about ShapeBlue and our range of CloudStack related 
 services

 IaaS Cloud Design  
 Buildhttp://secure-web.cisco.com/1Yol7cn0c4CnDObcpSirV3DCPZ0WVdvOa3L
 hGNjqR1LC8fdUx8eCLTnMMSoshd9HpKAnV6UPQ_yMd3M-1eZw2Ta-m7j5KgANh1cCgIkU
 g7gUvZUUMIkYZDZDpYP9IDOTuw6o3kuFAtJGiF0j7g8WWr6r9HIr7CqwJi047V_38MGrr
 r_r5JkLvVUoDdjYuhuBW/http%3A%2F%2Fshapeblue.com%2Fiaas-cloud-design-a
 nd-build%2F%2F CSForge - rapid IaaS deployment 
 frameworkhttp://secure-web.cisco.com/1QG_8HfqAJxyrN85oTEHIYNcbRgpmjr
 Akp0COA-UIvjKFK3VDTqCkj9wp1e8W2JML6G56lRvuJpQMr5faxHOlQGVsy3eWivku7VX
 STR7Z_reGWbZS3mVJGbFxehTWTUAsA_HOfZ_i-dHdhIuYwCSXyx0PRQcIdyEE51ZlHghI
 wpl_CcVK4rj2EVlq5FWSNjbo/http%3A%2F%2Fshapeblue.com%2Fcsforge%2F
 CloudStack 
 Consultinghttp://secure-web.cisco.com/1Jd9xC30lbTOK4Yz24hsK-SYyFxcaJ
 15JHz5Aat3Lyd0qe4l_RGA3YuQAxdRlfgsKaT6hI61qwykCBNqiJRWwlaPIeK_FNJxaJt
 TYZ9o6c9gUZUI1GDDw2fGIesLOAjS5FnkfMjK4oqpmjkwKOCLxeXnBDDSoZhjQjyBB65K
 27drcx_ll0lovUbqvBoz1HRfM/http%3A%2F%2Fshapeblue.com%2Fcloudstack-con
 sultancy%2F CloudStack Software 
 Engineeringhttp://secure-web.cisco.com/10UUubQoT9nA8gFa_q8Qn0och7aMN
 dFTHV-Yar0Ga9h9N4I3YNAockHpCCMMiqhnaECX7ZcolpDZ0IWds3ca9SDAQ_9hoGadj_
 YhjpPvW95NwJlv15UDNFNs8r99wke8pQl6BKjgzv94SQuWHueziP1J7X8G7uzAbyj7qqQ
 IjwV8qqxyV81xYENQyXC13qHt9/http%3A%2F%2Fshapeblue.com%2Fcloudstack-so
 ftware-engineering%2F CloudStack Infrastructure 
 Supporthttp://secure-web.cisco.com/1tHfpu6yxqCTFv4ED5hd1IzUqlDUAasw9
 gn30YT3ucOvb0PNffUKzHjrKXCpTie0_dZ2a1Veui99C8Qp-p9CiKkobjVQ7pQow2X2A6
 AYXKH5HwcPQ4zvZuLr30h5QBdE3MjtkFm_PM2JKk7WRAhtnukS0nvUJnIY1CzNyvezE5Y
 Vmd8PpcV-eZRBptj4Mv_5i/http%3A%2F%2Fshapeblue.com%2Fcloudstack-infras
 tructure-support%2F CloudStack Bootcamp Training 
 Courseshttp://secure-web.cisco.com/1x7d61M2SDzx2SvrIj9y8lD6Eepy3dddj
 EIFHasGDV_PPBn4EwtHVaqqdWSD1VShX_OR-DKgxqKGgB-dO7jrsSLYkWAw7UE1EeKQdH
 I4RW9BPnlYREiTeAcWT3YeOlfQh9EzHqk1uXnuftQxPCbewMDyEcqAzM6O-6r7R7sYuIx
 I6xPdCoei7JH2Bkpsljdp-/http%3A%2F%2Fshapeblue.com%2Fcloudstack-traini
 ng%2F

 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based 
 upon its contents, nor copy or show it to anyone. Please contact the sender 
 if you believe you have received this email in error. Shape Blue Ltd is a 
 company incorporated in England  

Re: cpu overprovisioning

2015-04-21 Thread Rafael Weingartner
When you say instance, did you mean CS web application instance?

On Tue, Apr 21, 2015 at 11:16 AM, S. Brüseke - proIO GmbH 
s.brues...@proio.com wrote:

 This is because the factor of overprovisioning is attached to the instance
 too! And this factor is only changing after rebooting the instance.
 So after a change of cpu.overprovisioning.factor you need to reboot all
 instances on this cluster which were running before this change was made.

 Mit freundlichen Grüßen / With kind regards,

 Swen Brüseke

 -Ursprüngliche Nachricht-
 Von: Ugo Vasi [mailto:ugo.v...@procne.it]
 Gesendet: Dienstag, 21. April 2015 16:06
 An: users@cloudstack.apache.org
 Betreff: Re: cpu overprovisioning

 If I change the over-provisioning ratio in cluster-relative settings
 (infrastructure-cluser-cluster-name-settings) the dashboard show the
 sum of real GHz the overprovisioned amount of GHz (324GHz) as aspected, but
 after a while also the sum of Ghz is multiplied by the same factor making
 it unnecessary...

 Il 21/04/2015 15:26, Bharat Kumar ha scritto:
  In case of cloudstack, cpu capacity for host is total of cpus * no of
 Ghz * overporvisoning.
 
  total capacity = sum of capacities of individual hosts.
 
  Thanks,
  Bharat.
 
  On 21-Apr-2015, at 6:49 pm, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.com wrote:
 
  Available CPU will be 3 times the actual CPU when over provisioned by 3.
 
  The UI not showing the over provisioned value seems like a bug.
 
  -abhi
 
 
  On 21-Apr-2015, at 6:34 pm, Ugo Vasi ugo.v...@procne.it wrote:
 
  Hi all,
  we have a cluster of three machines with 16 CPU at 2.2GHz each and we
 have set a cpu-overprovizioning to 3.
 
  I would expect that the CPU system capacity of the dashboard appear
 with the sum of megahertz CPUs multiplied by three instead I get the real
 sum (108MHz).
 
  I do not understand if this overprovisioning allows me to allocate
 more MHz of real ones asthe documentation say since in reality the virtual
 machines occupy on average only 20% of the computing power.
 
  thanks in advance
 
  --
 
  U g o   V a s iugo.v...@procne.it
  P r o c n e  s.r.l)
  via Cotonificio 45  33010 Tavagnacco IT
  phone: +390432486523 fax: +390432486523
 
  Le informazioni contenute in questo messaggio sono riservate e
  confidenziali ed è vietata la diffusione in qualunque modo eseguita.
  Qualora Lei non fosse la persona a cui il presente messaggio è

  destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
  gentilmente comunicazione.
  Per qualsiasi informazione si prega di contattare supp...@procne.it .
  Rif. D.L. 196/2003
 
  Find out more about ShapeBlue and our range of CloudStack related
  services
 
  IaaS Cloud Design 
  Buildhttp://secure-web.cisco.com/1Yol7cn0c4CnDObcpSirV3DCPZ0WVdvOa3L
  hGNjqR1LC8fdUx8eCLTnMMSoshd9HpKAnV6UPQ_yMd3M-1eZw2Ta-m7j5KgANh1cCgIkU
  g7gUvZUUMIkYZDZDpYP9IDOTuw6o3kuFAtJGiF0j7g8WWr6r9HIr7CqwJi047V_38MGrr
  r_r5JkLvVUoDdjYuhuBW/http%3A%2F%2Fshapeblue.com%2Fiaas-cloud-design-a
  nd-build%2F%2F CSForge - rapid IaaS deployment
  frameworkhttp://secure-web.cisco.com/1QG_8HfqAJxyrN85oTEHIYNcbRgpmjr
  Akp0COA-UIvjKFK3VDTqCkj9wp1e8W2JML6G56lRvuJpQMr5faxHOlQGVsy3eWivku7VX
  STR7Z_reGWbZS3mVJGbFxehTWTUAsA_HOfZ_i-dHdhIuYwCSXyx0PRQcIdyEE51ZlHghI
  wpl_CcVK4rj2EVlq5FWSNjbo/http%3A%2F%2Fshapeblue.com%2Fcsforge%2F
  CloudStack
  Consultinghttp://secure-web.cisco.com/1Jd9xC30lbTOK4Yz24hsK-SYyFxcaJ
  15JHz5Aat3Lyd0qe4l_RGA3YuQAxdRlfgsKaT6hI61qwykCBNqiJRWwlaPIeK_FNJxaJt
  TYZ9o6c9gUZUI1GDDw2fGIesLOAjS5FnkfMjK4oqpmjkwKOCLxeXnBDDSoZhjQjyBB65K
  27drcx_ll0lovUbqvBoz1HRfM/http%3A%2F%2Fshapeblue.com%2Fcloudstack-con
  sultancy%2F CloudStack Software
  Engineeringhttp://secure-web.cisco.com/10UUubQoT9nA8gFa_q8Qn0och7aMN
  dFTHV-Yar0Ga9h9N4I3YNAockHpCCMMiqhnaECX7ZcolpDZ0IWds3ca9SDAQ_9hoGadj_
  YhjpPvW95NwJlv15UDNFNs8r99wke8pQl6BKjgzv94SQuWHueziP1J7X8G7uzAbyj7qqQ
  IjwV8qqxyV81xYENQyXC13qHt9/http%3A%2F%2Fshapeblue.com%2Fcloudstack-so
  ftware-engineering%2F CloudStack Infrastructure
  Supporthttp://secure-web.cisco.com/1tHfpu6yxqCTFv4ED5hd1IzUqlDUAasw9
  gn30YT3ucOvb0PNffUKzHjrKXCpTie0_dZ2a1Veui99C8Qp-p9CiKkobjVQ7pQow2X2A6
  AYXKH5HwcPQ4zvZuLr30h5QBdE3MjtkFm_PM2JKk7WRAhtnukS0nvUJnIY1CzNyvezE5Y
  Vmd8PpcV-eZRBptj4Mv_5i/http%3A%2F%2Fshapeblue.com%2Fcloudstack-infras
  tructure-support%2F CloudStack Bootcamp Training
  Courseshttp://secure-web.cisco.com/1x7d61M2SDzx2SvrIj9y8lD6Eepy3dddj
  EIFHasGDV_PPBn4EwtHVaqqdWSD1VShX_OR-DKgxqKGgB-dO7jrsSLYkWAw7UE1EeKQdH
  I4RW9BPnlYREiTeAcWT3YeOlfQh9EzHqk1uXnuftQxPCbewMDyEcqAzM6O-6r7R7sYuIx
  I6xPdCoei7JH2Bkpsljdp-/http%3A%2F%2Fshapeblue.com%2Fcloudstack-traini
  ng%2F
 
  This email and any attachments to it may be confidential and are
 intended solely for the use of the individual to whom it is addressed. Any
 views or opinions expressed are solely those of the author and do not
 necessarily represent those of Shape Blue Ltd or related companies. If you
 are not the intended recipient of this email, you must 

VPC Private gateway not being removed

2015-04-21 Thread Grayson Head
Unfortunately, I fat fingered a VLAN in a VPC Private gateway I was
setting up. I removed it using the UI without any errors, but when I
go to create the new one, I get the following error: Private network
for the vlan: vlan://4000 and cidr 10.233.5.0/24 already exists for
Vpc 16 in zone AusZone1

I also tried removing it via cloudmonkey.
(local) mycloudmonkey delete privategateway
id=340b56bb-ee01-49be-84b4-9e54fd2af83d
.Error
Async job ed15f016-fd7e-48fb-b92c-0ea07302bffb failed
Error 530, Invalid private gateway id
accountid = a9d7423c-a02e-11e4-b7f0-00505695fae7
cmd = org.apache.cloudstack.api.command.admin.vpc.DeletePrivateGatewayCmd
created = 2015-04-21T06:38:36-0700
jobid = ed15f016-fd7e-48fb-b92c-0ea07302bffb
jobprocstatus = 0
jobresult:
errorcode = 530
errortext = Invalid private gateway id
jobresultcode = 530
jobresulttype = object
jobstatus = 2
userid = a9d755d8-a02e-11e4-b7f0-00505695fae7


Looking at the database, the problem becomes somewhat clear:

mysql select id,uuid,domain_id,state,removed,ip4_address from vpc_gateways;
++--+---+--+-+--+
| id | uuid | domain_id | state|
removed | ip4_address  |
++--+---+--+-+--+
|  1 | 63a9f6f7-dbe2-4825-a3e2-17e3892c0ded | 1 | Ready|
NULL| 10.233.51.92 |
|  2 | 340b56bb-ee01-49be-84b4-9e54fd2af83d | 1 | Removing |
2015-04-20 21:28:53 | 10.233.5.11  |
++--+---+--+-+--+
2 rows in set (0.00 sec)

Unfortunately I don't have the logs from initially removing the VPC. I
can try and re-create this If needed, but I need to get this
environment fixed before I do anything else. Will setting the
state=Removed on the gateway entry in the database correct this?


Here are the logs from the management-server.log when trying to remove
the VPC via the UI:

2015-04-21 06:36:16,036 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-15:null) SeqA 9-315848: Processing Seq 9-315848:
 { Cmd , MgmtId: -1, via: 9, Ver: v1, Flags: 11,
[{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:78,_loadInfo:{\n
 \connections\: []\n},wait:0}}] }
2015-04-21 06:36:16,049 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-15:null) SeqA 9-315848: Sending Seq 9-315848:  {
Ans: , MgmtId: 345050016868, via: 9, Ver: v1, Flags: 100010,
[{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}]
}
2015-04-21 06:36:16,853 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-2:null) Ping from 15
2015-04-21 06:36:16,877 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-4:null) Ping from 9
2015-04-21 06:36:20,715 DEBUG [c.c.a.ApiServlet]
(catalina-exec-6:ctx-62b2ea0a) ===START===  10.233.51.176 -- GET
command=createPrivateGatewaysourcenatsupported=falseresponse=jsonsessionkey=sFXaEOKvIpqQArupbqZuPX6wYOo%3Dphysicalnetworkid=63a1c53c-b799-452a-ad15-3e0ef582c456vpcid=0fef5e73-b916-4505-8760-4321a3763bf6ipaddress=10.233.5.12gateway=10.233.5.1netmask=255.255.255.0vlan=4000aclid=9599b3fe-a02e-11e4-b7f0-00505695fae7_=1429623380716
2015-04-21 06:36:20,761 DEBUG [c.c.n.v.VpcManagerImpl]
(catalina-exec-6:ctx-62b2ea0a ctx-ebd9cd79) Creating Private gateway
for VPC [VPC [16-RSIDevNet]
2015-04-21 06:36:20,762 INFO  [c.c.n.v.VpcManagerImpl]
(catalina-exec-6:ctx-62b2ea0a ctx-ebd9cd79) creating new network for
vpc [VPC [16-RSIDevNet] using broadcast uri: 4000
2015-04-21 06:36:20,774 DEBUG [c.c.n.NetworkServiceImpl]
(catalina-exec-6:ctx-62b2ea0a ctx-ebd9cd79) Private network already
exists: Ntwk[2a99ce65-36b0-432e-8fd8-f748a26aabdf|Guest|5]
2015-04-21 06:36:20,776 DEBUG [c.c.u.d.T.Transaction]
(catalina-exec-6:ctx-62b2ea0a ctx-ebd9cd79) Rolling back the
transaction: Time = 15 Name =  catalina-exec-6; called by
-TransactionLegacy.rollback:900-TransactionLegacy.removeUpTo:843-TransactionLegacy.close:667-Transaction.execute:41-NetworkServiceImpl.createPrivateNetwork:3991-NativeMethodAccessorImpl.invoke0:-2-NativeMethodAccessorImpl.invoke:57-DelegatingMethodAccessorImpl.invoke:43-Method.invoke:606-AopUtils.invokeJoinpointUsingReflection:317-ReflectiveMethodInvocation.invokeJoinpoint:183-ReflectiveMethodInvocation.proceed:150
2015-04-21 06:36:20,790 INFO  [c.c.a.ApiServer]
(catalina-exec-6:ctx-62b2ea0a ctx-ebd9cd79) Private network for the
vlan: vlan://4000 and cidr  10.233.5.0/24  already exists for Vpc 16
in zone AusZone1
2015-04-21 06:36:20,790 DEBUG [c.c.a.ApiServlet]
(catalina-exec-6:ctx-62b2ea0a ctx-ebd9cd79) ===END===  10.233.51.176
-- GET  

Re: cpu overprovisioning

2015-04-21 Thread Ugo Vasi
If I change the over-provisioning ratio in cluster-relative settings 
(infrastructure-cluser-cluster-name-settings) the dashboard show the 
sum of real GHz the overprovisioned amount of GHz (324GHz) as aspected, 
but after a while also the sum of Ghz is multiplied by the same factor 
making it unnecessary...


Il 21/04/2015 15:26, Bharat Kumar ha scritto:

In case of cloudstack, cpu capacity for host is total of cpus * no of Ghz * 
overporvisoning.

total capacity = sum of capacities of individual hosts.

Thanks,
Bharat.
  
On 21-Apr-2015, at 6:49 pm, Abhinandan Prateek abhinandan.prat...@shapeblue.com wrote:



Available CPU will be 3 times the actual CPU when over provisioned by 3.

The UI not showing the over provisioned value seems like a bug.

-abhi



On 21-Apr-2015, at 6:34 pm, Ugo Vasi ugo.v...@procne.it wrote:

Hi all,
we have a cluster of three machines with 16 CPU at 2.2GHz each and we have set 
a cpu-overprovizioning to 3.

I would expect that the CPU system capacity of the dashboard appear with the 
sum of megahertz CPUs multiplied by three instead I get the real sum (108MHz).

I do not understand if this overprovisioning allows me to allocate more MHz of 
real ones asthe documentation say since in reality the virtual machines occupy 
on average only 20% of the computing power.

thanks in advance

--

U g o   V a s iugo.v...@procne.it
P r o c n e  s.r.l)
via Cotonificio 45  33010 Tavagnacco IT
phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed è vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio è
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare supp...@procne.it .
Rif. D.L. 196/2003


Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  
Buildhttp://secure-web.cisco.com/1Yol7cn0c4CnDObcpSirV3DCPZ0WVdvOa3LhGNjqR1LC8fdUx8eCLTnMMSoshd9HpKAnV6UPQ_yMd3M-1eZw2Ta-m7j5KgANh1cCgIkUg7gUvZUUMIkYZDZDpYP9IDOTuw6o3kuFAtJGiF0j7g8WWr6r9HIr7CqwJi047V_38MGrrr_r5JkLvVUoDdjYuhuBW/http%3A%2F%2Fshapeblue.com%2Fiaas-cloud-design-and-build%2F%2F
CSForge – rapid IaaS deployment 
frameworkhttp://secure-web.cisco.com/1QG_8HfqAJxyrN85oTEHIYNcbRgpmjrAkp0COA-UIvjKFK3VDTqCkj9wp1e8W2JML6G56lRvuJpQMr5faxHOlQGVsy3eWivku7VXSTR7Z_reGWbZS3mVJGbFxehTWTUAsA_HOfZ_i-dHdhIuYwCSXyx0PRQcIdyEE51ZlHghIwpl_CcVK4rj2EVlq5FWSNjbo/http%3A%2F%2Fshapeblue.com%2Fcsforge%2F
CloudStack 
Consultinghttp://secure-web.cisco.com/1Jd9xC30lbTOK4Yz24hsK-SYyFxcaJ15JHz5Aat3Lyd0qe4l_RGA3YuQAxdRlfgsKaT6hI61qwykCBNqiJRWwlaPIeK_FNJxaJtTYZ9o6c9gUZUI1GDDw2fGIesLOAjS5FnkfMjK4oqpmjkwKOCLxeXnBDDSoZhjQjyBB65K27drcx_ll0lovUbqvBoz1HRfM/http%3A%2F%2Fshapeblue.com%2Fcloudstack-consultancy%2F
CloudStack Software 
Engineeringhttp://secure-web.cisco.com/10UUubQoT9nA8gFa_q8Qn0och7aMNdFTHV-Yar0Ga9h9N4I3YNAockHpCCMMiqhnaECX7ZcolpDZ0IWds3ca9SDAQ_9hoGadj_YhjpPvW95NwJlv15UDNFNs8r99wke8pQl6BKjgzv94SQuWHueziP1J7X8G7uzAbyj7qqQIjwV8qqxyV81xYENQyXC13qHt9/http%3A%2F%2Fshapeblue.com%2Fcloudstack-software-engineering%2F
CloudStack Infrastructure 
Supporthttp://secure-web.cisco.com/1tHfpu6yxqCTFv4ED5hd1IzUqlDUAasw9gn30YT3ucOvb0PNffUKzHjrKXCpTie0_dZ2a1Veui99C8Qp-p9CiKkobjVQ7pQow2X2A6AYXKH5HwcPQ4zvZuLr30h5QBdE3MjtkFm_PM2JKk7WRAhtnukS0nvUJnIY1CzNyvezE5YVmd8PpcV-eZRBptj4Mv_5i/http%3A%2F%2Fshapeblue.com%2Fcloudstack-infrastructure-support%2F
CloudStack Bootcamp Training 
Courseshttp://secure-web.cisco.com/1x7d61M2SDzx2SvrIj9y8lD6Eepy3dddjEIFHasGDV_PPBn4EwtHVaqqdWSD1VShX_OR-DKgxqKGgB-dO7jrsSLYkWAw7UE1EeKQdHI4RW9BPnlYREiTeAcWT3YeOlfQh9EzHqk1uXnuftQxPCbewMDyEcqAzM6O-6r7R7sYuIxI6xPdCoei7JH2Bkpsljdp-/http%3A%2F%2Fshapeblue.com%2Fcloudstack-training%2F

This email and any attachments to it may be confidential and are intended solely 
for the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent those of 
Shape Blue Ltd or related companies. If you are not the intended recipient of this 
email, you must neither take any action based upon its contents, nor copy or show 
it to anyone. Please contact the sender if you believe you have received this email 
in error. Shape Blue Ltd is a company incorporated in England  Wales. 
ShapeBlue Services India LLP is a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue 
SA Pty Ltd is a company registered by The Republic of South Africa and is traded 
under license from Shape Blue Ltd. ShapeBlue is a registered trademark.








--

  U g o   V a s iugo.v...@procne.it
  P r o c n e  s.r.l)
  via Cotonificio 45  33010 Tavagnacco IT
  phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e

RE: Netwok offerings

2015-04-21 Thread Vadim Kimlaychuk
I have figured out how to partition network properly, but the only problem I 
got after guest VM got public IP from the shared pool - malfunctioninig 
console.  Since there is only one IP on guest VM - public there is no need for 
Console proxy VM I suppose. So I am getting timeout while trying to open 
console using UI. Will look how to fix it.

Vadim.

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee] 
Sent: Tuesday, April 21, 2015 10:20 AM
To: users@cloudstack.apache.org
Subject: RE: Netwok offerings

Geoff,

I am using one NIC (bond) for public and guest traffic.  Public is tagged as 
500, guest VLANs 600-632.
But I am still a bit lost in details. Assume I have B-class public network:  
192.2.1.0/24 with GW at my router - 192.2.1.1.   I would like to have 32 IP 
dedicated to VPC and 128 dedicated to shared public IP pool.  VPC IP-s are 
taken from admin public network defined during set-up. So I have.
1. VPC net   -- tag:500,  192.2.1.0/27, gw 192.2.1.1, range 2-31 usable IPs
2. Shared public IP range -- tag:500, 192.2.1.32/25, gw 192.2.1.33, range 
34-126 usable

But this will not work, because IP ranges overlap.  How do I partition?
The other question -- what device will play gw - 192.2.1.33 role ? Will it be 
cloudstack with VR or should I register it manually on external router ?

Thank you in advance,

Vadim.


-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] 
Sent: Tuesday, April 21, 2015 9:13 AM
To: users@cloudstack.apache.org
Subject: RE: Netwok offerings

Hi Vadim,

You can use the 'Shared Network' offering for this, and assign a Public IP 
range.  Just be aware that if you are using different NICs on your Hypervisors 
for Public and Guest traffic, the Shared Network is still treated as Guest 
traffic so you need to ensure the VLAN you assign to the Shared Network is 
mapped to the Guest NIC etc

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee]
Sent: 21 April 2015 07:07
To: users@cloudstack.apache.org
Subject: Netwok offerings

Hi all,

Need you advice regarding network offers. I have ACS with advanced 
networking implemented. VPC works fine.  But probably not all clients need to 
have VPC. How can I offer public IP address from IP pool (shared?) without 
creating VPC ??   For example client just need 1 VM with public IP address and 
that’s it.


Vadim Kimlaychuk

P.S. I use VLAN isolation method for all the networks.
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


AW: AW: cpu overprovisioning

2015-04-21 Thread S . Brüseke - proIO GmbH
Please try to stop and start the vm. Maybe reboot is not working here. You 
should start to see more free CPU after the first vm.

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

-Ursprüngliche Nachricht-
Von: Ugo Vasi [mailto:ugo.v...@procne.it] 
Gesendet: Dienstag, 21. April 2015 16:40
An: users@cloudstack.apache.org
Betreff: Re: AW: cpu overprovisioning

Hi Swen,
I try rebboting 2 vm but the amount of cpu MHz is not changed. Do I have to 
restart all vm before you see a change?


Il 21/04/2015 16:16, S. Brüseke - proIO GmbH ha scritto:
 This is because the factor of overprovisioning is attached to the instance 
 too! And this factor is only changing after rebooting the instance.
 So after a change of cpu.overprovisioning.factor you need to reboot all 
 instances on this cluster which were running before this change was made.

 Mit freundlichen Grüßen / With kind regards,

 Swen Brüseke

 -Ursprüngliche Nachricht-
 Von: Ugo Vasi [mailto:ugo.v...@procne.it]
 Gesendet: Dienstag, 21. April 2015 16:06
 An: users@cloudstack.apache.org
 Betreff: Re: cpu overprovisioning

 If I change the over-provisioning ratio in cluster-relative settings
 (infrastructure-cluser-cluster-name-settings) the dashboard show the sum 
 of real GHz the overprovisioned amount of GHz (324GHz) as aspected, but after 
 a while also the sum of Ghz is multiplied by the same factor making it 
 unnecessary...

 Il 21/04/2015 15:26, Bharat Kumar ha scritto:
 In case of cloudstack, cpu capacity for host is total of cpus * no of Ghz * 
 overporvisoning.

 total capacity = sum of capacities of individual hosts.

 Thanks,
 Bharat.

 On 21-Apr-2015, at 6:49 pm, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.com wrote:

 Available CPU will be 3 times the actual CPU when over provisioned by 3.

 The UI not showing the over provisioned value seems like a bug.

 -abhi


 On 21-Apr-2015, at 6:34 pm, Ugo Vasi ugo.v...@procne.it wrote:

 Hi all,
 we have a cluster of three machines with 16 CPU at 2.2GHz each and we have 
 set a cpu-overprovizioning to 3.

 I would expect that the CPU system capacity of the dashboard appear with 
 the sum of megahertz CPUs multiplied by three instead I get the real sum 
 (108MHz).

 I do not understand if this overprovisioning allows me to allocate more 
 MHz of real ones asthe documentation say since in reality the virtual 
 machines occupy on average only 20% of the computing power.

 thanks in advance

 --

 U g o   V a s iugo.v...@procne.it
 P r o c n e  s.r.l)
 via Cotonificio 45  33010 Tavagnacco IT
 phone: +390432486523 fax: +390432486523

 Le informazioni contenute in questo messaggio sono riservate e
 confidenziali ed è vietata la diffusione in qualunque modo eseguita.
 Qualora Lei non fosse la persona a cui il presente messaggio è
 destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
 gentilmente comunicazione.
 Per qualsiasi informazione si prega di contattare supp...@procne.it .
 Rif. D.L. 196/2003

 Find out more about ShapeBlue and our range of CloudStack related
 services

 IaaS Cloud Design 
 Buildhttp://secure-web.cisco.com/1Yol7cn0c4CnDObcpSirV3DCPZ0WVdvOa3L
 hGNjqR1LC8fdUx8eCLTnMMSoshd9HpKAnV6UPQ_yMd3M-1eZw2Ta-m7j5KgANh1cCgIkU
 g7gUvZUUMIkYZDZDpYP9IDOTuw6o3kuFAtJGiF0j7g8WWr6r9HIr7CqwJi047V_38MGrr
 r_r5JkLvVUoDdjYuhuBW/http%3A%2F%2Fshapeblue.com%2Fiaas-cloud-design-a
 nd-build%2F%2F CSForge - rapid IaaS deployment
 frameworkhttp://secure-web.cisco.com/1QG_8HfqAJxyrN85oTEHIYNcbRgpmjr
 Akp0COA-UIvjKFK3VDTqCkj9wp1e8W2JML6G56lRvuJpQMr5faxHOlQGVsy3eWivku7VX
 STR7Z_reGWbZS3mVJGbFxehTWTUAsA_HOfZ_i-dHdhIuYwCSXyx0PRQcIdyEE51ZlHghI
 wpl_CcVK4rj2EVlq5FWSNjbo/http%3A%2F%2Fshapeblue.com%2Fcsforge%2F
 CloudStack
 Consultinghttp://secure-web.cisco.com/1Jd9xC30lbTOK4Yz24hsK-SYyFxcaJ
 15JHz5Aat3Lyd0qe4l_RGA3YuQAxdRlfgsKaT6hI61qwykCBNqiJRWwlaPIeK_FNJxaJt
 TYZ9o6c9gUZUI1GDDw2fGIesLOAjS5FnkfMjK4oqpmjkwKOCLxeXnBDDSoZhjQjyBB65K
 27drcx_ll0lovUbqvBoz1HRfM/http%3A%2F%2Fshapeblue.com%2Fcloudstack-con
 sultancy%2F CloudStack Software
 Engineeringhttp://secure-web.cisco.com/10UUubQoT9nA8gFa_q8Qn0och7aMN
 dFTHV-Yar0Ga9h9N4I3YNAockHpCCMMiqhnaECX7ZcolpDZ0IWds3ca9SDAQ_9hoGadj_
 YhjpPvW95NwJlv15UDNFNs8r99wke8pQl6BKjgzv94SQuWHueziP1J7X8G7uzAbyj7qqQ
 IjwV8qqxyV81xYENQyXC13qHt9/http%3A%2F%2Fshapeblue.com%2Fcloudstack-so
 ftware-engineering%2F CloudStack Infrastructure
 Supporthttp://secure-web.cisco.com/1tHfpu6yxqCTFv4ED5hd1IzUqlDUAasw9
 gn30YT3ucOvb0PNffUKzHjrKXCpTie0_dZ2a1Veui99C8Qp-p9CiKkobjVQ7pQow2X2A6
 AYXKH5HwcPQ4zvZuLr30h5QBdE3MjtkFm_PM2JKk7WRAhtnukS0nvUJnIY1CzNyvezE5Y
 Vmd8PpcV-eZRBptj4Mv_5i/http%3A%2F%2Fshapeblue.com%2Fcloudstack-infras
 tructure-support%2F CloudStack Bootcamp Training
 Courseshttp://secure-web.cisco.com/1x7d61M2SDzx2SvrIj9y8lD6Eepy3dddj
 EIFHasGDV_PPBn4EwtHVaqqdWSD1VShX_OR-DKgxqKGgB-dO7jrsSLYkWAw7UE1EeKQdH
 I4RW9BPnlYREiTeAcWT3YeOlfQh9EzHqk1uXnuftQxPCbewMDyEcqAzM6O-6r7R7sYuIx
 I6xPdCoei7JH2Bkpsljdp-/http%3A%2F%2Fshapeblue.com%2Fcloudstack-traini
 ng%2F

 

AW: cpu overprovisioning

2015-04-21 Thread S . Brüseke - proIO GmbH
By instance I mean VM.

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

-Ursprüngliche Nachricht-
Von: Rafael Weingartner [mailto:rafaelweingart...@gmail.com] 
Gesendet: Dienstag, 21. April 2015 16:28
An: users@cloudstack.apache.org
Betreff: Re: cpu overprovisioning

When you say instance, did you mean CS web application instance?

On Tue, Apr 21, 2015 at 11:16 AM, S. Brüseke - proIO GmbH  
s.brues...@proio.com wrote:

 This is because the factor of overprovisioning is attached to the 
 instance too! And this factor is only changing after rebooting the instance.
 So after a change of cpu.overprovisioning.factor you need to reboot 
 all instances on this cluster which were running before this change was made.

 Mit freundlichen Grüßen / With kind regards,

 Swen Brüseke

 -Ursprüngliche Nachricht-
 Von: Ugo Vasi [mailto:ugo.v...@procne.it]
 Gesendet: Dienstag, 21. April 2015 16:06
 An: users@cloudstack.apache.org
 Betreff: Re: cpu overprovisioning

 If I change the over-provisioning ratio in cluster-relative settings
 (infrastructure-cluser-cluster-name-settings) the dashboard show 
 the sum of real GHz the overprovisioned amount of GHz (324GHz) as 
 aspected, but after a while also the sum of Ghz is multiplied by the 
 same factor making it unnecessary...

 Il 21/04/2015 15:26, Bharat Kumar ha scritto:
  In case of cloudstack, cpu capacity for host is total of cpus * no 
  of
 Ghz * overporvisoning.
 
  total capacity = sum of capacities of individual hosts.
 
  Thanks,
  Bharat.
 
  On 21-Apr-2015, at 6:49 pm, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.com wrote:
 
  Available CPU will be 3 times the actual CPU when over provisioned by 3.
 
  The UI not showing the over provisioned value seems like a bug.
 
  -abhi
 
 
  On 21-Apr-2015, at 6:34 pm, Ugo Vasi ugo.v...@procne.it wrote:
 
  Hi all,
  we have a cluster of three machines with 16 CPU at 2.2GHz each and 
  we
 have set a cpu-overprovizioning to 3.
 
  I would expect that the CPU system capacity of the dashboard 
  appear
 with the sum of megahertz CPUs multiplied by three instead I get the 
 real sum (108MHz).
 
  I do not understand if this overprovisioning allows me to allocate
 more MHz of real ones asthe documentation say since in reality the 
 virtual machines occupy on average only 20% of the computing power.
 
  thanks in advance
 
  --
 
  U g o   V a s iugo.v...@procne.it
  P r o c n e  s.r.l)
  via Cotonificio 45  33010 Tavagnacco IT
  phone: +390432486523 fax: +390432486523
 
  Le informazioni contenute in questo messaggio sono riservate e 
  confidenziali ed è vietata la diffusione in qualunque modo eseguita.
  Qualora Lei non fosse la persona a cui il presente messaggio è

  destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene 
  gentilmente comunicazione.
  Per qualsiasi informazione si prega di contattare supp...@procne.it .
  Rif. D.L. 196/2003
 
  Find out more about ShapeBlue and our range of CloudStack related 
  services
 
  IaaS Cloud Design 
  Buildhttp://secure-web.cisco.com/1Yol7cn0c4CnDObcpSirV3DCPZ0WVdvOa
  3L 
  hGNjqR1LC8fdUx8eCLTnMMSoshd9HpKAnV6UPQ_yMd3M-1eZw2Ta-m7j5KgANh1cCgI
  kU 
  g7gUvZUUMIkYZDZDpYP9IDOTuw6o3kuFAtJGiF0j7g8WWr6r9HIr7CqwJi047V_38MG
  rr 
  r_r5JkLvVUoDdjYuhuBW/http%3A%2F%2Fshapeblue.com%2Fiaas-cloud-design
  -a nd-build%2F%2F CSForge - rapid IaaS deployment 
  frameworkhttp://secure-web.cisco.com/1QG_8HfqAJxyrN85oTEHIYNcbRgpm
  jr 
  Akp0COA-UIvjKFK3VDTqCkj9wp1e8W2JML6G56lRvuJpQMr5faxHOlQGVsy3eWivku7
  VX 
  STR7Z_reGWbZS3mVJGbFxehTWTUAsA_HOfZ_i-dHdhIuYwCSXyx0PRQcIdyEE51ZlHg
  hI 
  wpl_CcVK4rj2EVlq5FWSNjbo/http%3A%2F%2Fshapeblue.com%2Fcsforge%2F
  CloudStack
  Consultinghttp://secure-web.cisco.com/1Jd9xC30lbTOK4Yz24hsK-SYyFxc
  aJ 
  15JHz5Aat3Lyd0qe4l_RGA3YuQAxdRlfgsKaT6hI61qwykCBNqiJRWwlaPIeK_FNJxa
  Jt 
  TYZ9o6c9gUZUI1GDDw2fGIesLOAjS5FnkfMjK4oqpmjkwKOCLxeXnBDDSoZhjQjyBB6
  5K 
  27drcx_ll0lovUbqvBoz1HRfM/http%3A%2F%2Fshapeblue.com%2Fcloudstack-c
  on
  sultancy%2F CloudStack Software
  Engineeringhttp://secure-web.cisco.com/10UUubQoT9nA8gFa_q8Qn0och7a
  MN 
  dFTHV-Yar0Ga9h9N4I3YNAockHpCCMMiqhnaECX7ZcolpDZ0IWds3ca9SDAQ_9hoGad
  j_ 
  YhjpPvW95NwJlv15UDNFNs8r99wke8pQl6BKjgzv94SQuWHueziP1J7X8G7uzAbyj7q
  qQ 
  IjwV8qqxyV81xYENQyXC13qHt9/http%3A%2F%2Fshapeblue.com%2Fcloudstack-
  so ftware-engineering%2F CloudStack Infrastructure
  Supporthttp://secure-web.cisco.com/1tHfpu6yxqCTFv4ED5hd1IzUqlDUAas
  w9
  gn30YT3ucOvb0PNffUKzHjrKXCpTie0_dZ2a1Veui99C8Qp-p9CiKkobjVQ7pQow2X2
  A6 
  AYXKH5HwcPQ4zvZuLr30h5QBdE3MjtkFm_PM2JKk7WRAhtnukS0nvUJnIY1CzNyvezE
  5Y 
  Vmd8PpcV-eZRBptj4Mv_5i/http%3A%2F%2Fshapeblue.com%2Fcloudstack-infr
  as tructure-support%2F CloudStack Bootcamp Training 
  Courseshttp://secure-web.cisco.com/1x7d61M2SDzx2SvrIj9y8lD6Eepy3dd
  dj 
  EIFHasGDV_PPBn4EwtHVaqqdWSD1VShX_OR-DKgxqKGgB-dO7jrsSLYkWAw7UE1EeKQ
  dH 
  I4RW9BPnlYREiTeAcWT3YeOlfQh9EzHqk1uXnuftQxPCbewMDyEcqAzM6O-6r7R7sYu
  Ix 
  

Announcing Apache™ CloudStack™ v4.4.3

2015-04-21 Thread Daan Hoogland
Mature, easy-to-deploy Open Source Cloud computing software platform
boasts improved efficiency and performance.

The Apache CloudStack project announced the immediate availability of
Apache CloudStack v4.4.3, the latest version of the turnkey Open
Source cloud computing software platform used for creating private-,
public-, and hybrid cloud environments.

Apache CloudStack clouds enable billions of dollars' worth of business
transactions annually across their clouds, and its maturity and
stability has led it to has become the Open Source platform for many
service providers to set up on-demand, elastic public cloud computing
services, as well as enterprises and others to set up a private or
hybrid cloud for use by their own employees.

While working hard on a new release we managed to backport many
stabilizing fixes to this maintenance release. Both for 4.5 and the
next version work is going hard and I am happy that we managed to
bring out this fix release for users of prior versions.
Daan Hoogland, member of the Apache CloudStack Project Management
Committee and release manager for version 4.4.

Lauded by Gartner Group, CloudStack includes an intuitive user
interface and rich APIs for managing the compute, networking,
software, and storage infrastructure resources.

CloudStack v4.4.3 reflects dozens of fixes

A complete overview of all new enhancements can be found in the
project release notes at
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4.3/

CloudStack has been used by thousands of organizations worldwide and
is in use/production at Alcatel-Lucent, Autodesk, BT Cloud, China
Telecom, DATACAENTER Services, DataPipe, Edmunds.com, Exoscale,
GreenQloud, Hokkaido University, IDC Frontier, Ikoula, KDDI, KT/Korea
Telecom, LeaseWeb, NTT, Orange, PCextreme, Schuberg Philis, Shopzilla,
Slovak Telekom, SunGard AS, Taiwan Mobile, Tata, Trader Media Group,
TomTom, University of Melbourne, University of Sao Paolo, Verizon,
WebMD and Zynga, among others.

CloudStack originated at Cloud.com, which was acquired by Citrix in
2011. CloudStack was submitted to the Apache Incubator in April 2012
and graduated as an Apache Software Foundation Top-level Project in
March 2013.

Availability

CloudStack v4.4.3 is available immediately as a free download from
http://cloudstack.apache.org/downloads.html. Apache CloudStack
software is released under the Apache License v2.0.

Governance and Oversight

Apache CloudStack is overseen by a self-selected team of active
contributors to the project. A Project Management Committee (PMC)
guides the Project's day-to-day operations, including community
development and product releases.

Get Involved!

Apache CloudStack welcomes contribution and community participation
through mailing lists as well as attending face-to-face MeetUps,
developer trainings, and user events. Catch CloudStack in action at
the CloudStack Days

CloudStack Days Tokyo 2015, 2nd June 2015,
http://events.linuxfoundation.org/events/cloudstack-tokyo

CloudStack Days Seattle 2015 , 20th August 2015,
http://events.linuxfoundation.org/events/cloudstack-seattle

and

CloudStack Collaboration Conference 2015 in Dublin, 8th and 9th of
October 2015, http://cloudstackcollab.org

-- 
Daan


Re: 4.3 - 4.4.2 upgrade All hosts in 'alert' or disconnected state

2015-04-21 Thread Sanjeev N
Did you change the network backend mode from bridge to openvswitch on the
xen servers ? If yes please change it back to bridge mode.

On Sat, Apr 18, 2015 at 8:23 PM, STEENBLIK Jason 
jason.steenb...@leonteq.com wrote:

 I just did an upgrade to 4.4.2 from 4.3. After the upgrade all of the
 hosts (all xenserver 6.2) are in alert or disconnected state. I'm not able
 to stop/start/restart any VMs currently. The errors are below. I only have
 basic zones. Anybody seen this before?


 2015-04-18 16:49:03,378 WARN  [c.c.h.x.r.CitrixResourceBase]
 (DirectAgent-112:ctx-fb8d492c) Failed to configure brige firewall
 2015-04-18 16:49:03,379 WARN  [c.c.h.x.r.CitrixResourceBase]
 (DirectAgent-112:ctx-fb8d492c) Check host 10.30.22.152 for CSP is installed
 or not and check network mode for bridge
 2015-04-18 16:49:03,379 WARN  [c.c.h.x.d.XcpServerDiscoverer]
 (AgentTaskPool-7:ctx-4ed84f13) Unable to setup agent 76 due to Failed to
 configure brige firewall
 2015-04-18 16:49:03,379 INFO  [c.c.u.e.CSExceptionErrorCode]
 (AgentTaskPool-7:ctx-4ed84f13) Could not find exception:
 com.cloud.exception.ConnectionException in error code list for exceptions
 2015-04-18 16:49:03,379 WARN  [c.c.a.m.AgentManagerImpl]
 (AgentTaskPool-7:ctx-4ed84f13) Monitor XcpServerDiscoverer says there is an
 error in the connect process for 76 due to Reinitialize agent after setup.
 2015-04-18 16:49:03,379 INFO  [c.c.a.m.AgentManagerImpl]
 (AgentTaskPool-7:ctx-4ed84f13) Host 76 is disconnecting with event
 AgentDisconnected
 2015-04-18 16:49:03,395 WARN  [c.c.r.ResourceManagerImpl]
 (AgentTaskPool-7:ctx-4ed84f13) Unable to connect due to
 com.cloud.exception.ConnectionException: Reinitialize agent after setup.
 at
 com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:657)
 at
 com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:518)
 at
 com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1431)
 at
 com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1765)
 at
 com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1891)
 at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
 at
 org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 at
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 at
 org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
 at
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 at
 org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
 at com.sun.proxy.$Proxy148.createHostAndAgent(Unknown Source)
 at
 com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.runInContext(AgentManagerImpl.java:1073)
 at
 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
 at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
 at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
 at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
 at
 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)

 Jason Steenblik
 LEONTEQ SECURITIES AG
 IT INFRASTRUCTURE

 Direct: +41 58 800 12 56 | Mobile: +41 79 299 20 96 | Fax +41 58 800 1010
 | jason.steenb...@leonteq.commailto:jason.steenb...@leonteq.com
 Brandschenkestrasse 90 | P.O. Box 1686 | CH - 8002 Zurich |
 i...@leonteq.commailto:i...@leonteq.com | www.leonteq.com
 http://www.leonteq.com/




 === The Leonteq Mail Gateway made the following annotation
 ===

 This e-mail is confidential. If you are not the intended recipient, you
 should

 not copy it, re-transmit it, use it or disclose its contents, but should

 return it to the sender immediately and delete the copy from your system.

 Leonteq Securities is not responsible for, nor endorses, any opinion,

 recommendation, conclusion, solicitation, offer or agreement or any

 information contained in 

Re: Problem with SMB/CIFS primary storage version 4.5 hyperv Host

2015-04-21 Thread Sanjeev N
Hi Thomas,

Is your SMB storage server and Hyper-v host are part of AD ? I don't see
any AD account details in the logs provided.
Did you give full control on the SMB share to both the Hyper-v host and AD
user?

Thanks,
Sanjeev

On Mon, Apr 20, 2015 at 3:50 PM, Tischner, Thomas thomas.tisch...@qsc.de
wrote:

 Hi,

 i try to add a cifs primary storage via the web wizard and get the
 following errors:

 management-sever logs:
 --
 2015-04-20 09:43:17,041 DEBUG [c.c.h.h.r.HypervDirectConnectResource]
 (DirectAgent-460:ctx-e813c1b2) (logid:e1495dea) POST response is
 [{com.cloud.agent.api.ModifyStoragePoolAnswer:{result:false,details:Failed
 to add storage pool 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify
 your pool
 details,localPath:\\172.16.19.1\SMB3_PRI,templateInfo:{},poolInfo:{uuid:null,host:172.16.19.1,hostPath:/SMB3_PRI,localPath:\\172.16.19.1\SMB3_PRI,poolType:SMB,capacityBytes:0,availableBytes:0},contextMap:{}}}]
 2015-04-20 09:43:17,042 DEBUG [c.c.h.h.r.HypervDirectConnectResource]
 (DirectAgent-460:ctx-e813c1b2) (logid:e1495dea) executeRequest received
 response
 [{com.cloud.agent.api.ModifyStoragePoolAnswer:{poolInfo:{host:172.16.19.1,localPath:172.16.19.1\\SMB3_PRI,hostPath:/SMB3_PRI,poolType:SMB,capacityBytes:0,availableBytes:0},templateInfo:{},result:false,details:Failed
 to add storage pool 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify
 your pool details,contextMap:{},wait:0}}]
 2015-04-20 09:43:17,046 DEBUG [c.c.a.t.Request]
 (DirectAgent-460:ctx-e813c1b2) (logid:e1495dea) Seq 4-114841790497947749:
 Processing:  { Ans: , MgmtId: 146454695956, via: 4, Ver: v1, Flags: 10,
 [{com.cloud.agent.api.ModifyStoragePoolAnswer:{poolInfo:{host:172.16.19.1,localPath:172.16.19.1\\SMB3_PRI,hostPath:/SMB3_PRI,poolType:SMB,capacityBytes:0,availableBytes:0},templateInfo:{},result:false,details:Failed
 to add storage pool 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify
 your pool details,wait:0}}] }
 2015-04-20 09:43:17,047 DEBUG [c.c.a.m.AgentManagerImpl]
 (catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) Details from
 executing class com.cloud.agent.api.ModifyStoragePoolCommand: Failed to add
 storage pool 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify your pool
 details
 2015-04-20 09:43:17,047 WARN  [o.a.c.alerts]
 (catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea)  alertType::
 7 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Unable
 to attach storage pool18 to the host4
 2015-04-20 09:43:17,050 WARN
 [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
 (catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) Unable to
 establish a connection between Host[-4-Routing] and
 org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@70a08dbf
 com.cloud.utils.exception.CloudRuntimeException: Unable establish
 connection from storage head to storage pool 18 due to Failed to add
 storage pool 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify your pool
 details18
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 2015-04-20 09:43:17,051 WARN
 [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
 (catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) No host can
 access storage pool
 org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@70a08dbf on
 cluster 1
 2015-04-20 09:43:17,052 DEBUG [c.c.s.StorageManagerImpl]
 (catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) Failed to add
 data store: Failed to access storage pool
 com.cloud.utils.exception.CloudRuntimeException: Failed to access storage
 pool
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 2015-04-20 09:43:17,054 DEBUG [c.c.s.StorageManagerImpl]
 (catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) Failed to
 clean up storage pool: null
 2015-04-20 09:43:17,054 INFO  [c.c.a.ApiServer]
 (catalina-exec-22:ctx-21cdb536 ctx-a8ee493e) (logid:e1495dea) Failed to add
 data store: Failed to access storage pool
 --

 Hyperv-host logs:
 2015-04-20 11:44:16,810 [5] ERROR HypervResource.HypervResourceController
 [7cfd733e-b230-4d4b-9923-d9df6a45647c] - Failed to add storage pool
 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please verify your pool details
 2015-04-20 11:44:16,810 [5] INFO  HypervResource.HypervResourceController
 [7cfd733e-b230-4d4b-9923-d9df6a45647c] -
 com.cloud.agent.api.ModifyStoragePoolCommand{
   add: true,
   pool: {
 id: 18,
 uuid: 747b562d-1f88-39fe-b1d2-784be7d4a7ef,
 host: 172.16.19.1,
 path: /SMB3_PRI,
 port: 445,
 type: SMB
   },
   localPath: /mnt//747b562d-1f88-39fe-b1d2-784be7d4a7ef,
   contextMap: {
 logid: e1495dea
   },
   wait: 0
 }
 2015-04-20 11:44:16,810 [5] INFO  HypervResource.HypervResourceController
 [7cfd733e-b230-4d4b-9923-d9df6a45647c] - {
   com.cloud.agent.api.ModifyStoragePoolAnswer: {
 result: false,
 details: Failed to add storage pool
 747b562d-1f88-39fe-b1d2-784be7d4a7ef, please 

Re: cpu overprovisioning

2015-04-21 Thread Bharat Kumar
Hi,

The change in cpu overcommit factor will not change the amount of resource that 
are available to you. It will change the way you want to use the free resource 
available at that time. It won’t change
what was already allocated.

for example if you have deployed the VMs with overcommit say 2  and after a 
while you change the overcommit to 3, the used resource will be scaled based on 
the change.
changing the overcommit cannot create resource. It can only change the way you 
want to use the free resource.  So now after the change in overcommit you can 
deploy 3 times more VMs (of
a given service offering) than usual using the the resource that is free at the 
time of changing the overcommit value. The perviously allocated resource cannot 
be freed until you
restart the VMs.

This link will tell you how resource allocation calculations are made.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CPU+and+RAM+Overcommit

Thanks,
Bharat.


On 21-Apr-2015, at 11:20 pm, Rafael Weingärtner 
rafaelweingart...@gmail.commailto:rafaelweingart...@gmail.com wrote:

I have not looked at the code, but that seems odd.
Restarting VMs instances to update the resource usage/resource availability
when changing the overprovisioning factor.

On Tue, Apr 21, 2015 at 12:51 PM, S. Brüseke - proIO GmbH 
s.brues...@proio.commailto:s.brues...@proio.com wrote:

Please try to stop and start the vm. Maybe reboot is not working here. You
should start to see more free CPU after the first vm.

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

-Ursprüngliche Nachricht-
Von: Ugo Vasi [mailto:ugo.v...@procne.it]
Gesendet: Dienstag, 21. April 2015 16:40
An: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Betreff: Re: AW: cpu overprovisioning

Hi Swen,
I try rebboting 2 vm but the amount of cpu MHz is not changed. Do I have
to restart all vm before you see a change?


Il 21/04/2015 16:16, S. Brüseke - proIO GmbH ha scritto:
This is because the factor of overprovisioning is attached to the
instance too! And this factor is only changing after rebooting the instance.
So after a change of cpu.overprovisioning.factor you need to reboot all
instances on this cluster which were running before this change was made.

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

-Ursprüngliche Nachricht-
Von: Ugo Vasi [mailto:ugo.v...@procne.it]
Gesendet: Dienstag, 21. April 2015 16:06
An: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Betreff: Re: cpu overprovisioning

If I change the over-provisioning ratio in cluster-relative settings
(infrastructure-cluser-cluster-name-settings) the dashboard show the
sum of real GHz the overprovisioned amount of GHz (324GHz) as aspected, but
after a while also the sum of Ghz is multiplied by the same factor making
it unnecessary...

Il 21/04/2015 15:26, Bharat Kumar ha scritto:
In case of cloudstack, cpu capacity for host is total of cpus * no of
Ghz * overporvisoning.

total capacity = sum of capacities of individual hosts.

Thanks,
Bharat.

On 21-Apr-2015, at 6:49 pm, Abhinandan Prateek 
abhinandan.prat...@shapeblue.commailto:abhinandan.prat...@shapeblue.com 
wrote:

Available CPU will be 3 times the actual CPU when over provisioned by
3.

The UI not showing the over provisioned value seems like a bug.

-abhi


On 21-Apr-2015, at 6:34 pm, Ugo Vasi 
ugo.v...@procne.itmailto:ugo.v...@procne.it wrote:

Hi all,
we have a cluster of three machines with 16 CPU at 2.2GHz each and we
have set a cpu-overprovizioning to 3.

I would expect that the CPU system capacity of the dashboard appear
with the sum of megahertz CPUs multiplied by three instead I get the real
sum (108MHz).

I do not understand if this overprovisioning allows me to allocate
more MHz of real ones asthe documentation say since in reality the virtual
machines occupy on average only 20% of the computing power.

thanks in advance

--

U g o   V a s iugo.v...@procne.itmailto:ugo.v...@procne.it
P r o c n e  s.r.l)
via Cotonificio 45  33010 Tavagnacco IT
phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed è vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio è
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare 
supp...@procne.itmailto:supp...@procne.it .
Rif. D.L. 196/2003

Find out more about ShapeBlue and our range of CloudStack related
services

IaaS Cloud Design 
Buildhttp://secure-web.cisco.com/1Yol7cn0c4CnDObcpSirV3DCPZ0WVdvOa3L
hGNjqR1LC8fdUx8eCLTnMMSoshd9HpKAnV6UPQ_yMd3M-1eZw2Ta-m7j5KgANh1cCgIkU
g7gUvZUUMIkYZDZDpYP9IDOTuw6o3kuFAtJGiF0j7g8WWr6r9HIr7CqwJi047V_38MGrr
r_r5JkLvVUoDdjYuhuBW/http%3A%2F%2Fshapeblue.comhttp://2Fshapeblue.com%2Fiaas-cloud-design-a
nd-build%2F%2F CSForge - rapid IaaS deployment
frameworkhttp://secure-web.cisco.com/1QG_8HfqAJxyrN85oTEHIYNcbRgpmjr

Re: cpu overprovisioning

2015-04-21 Thread Abhinandan Prateek
Can we fix the dashboard to reflect the available capacity given an over commit 
?


 On 22-Apr-2015, at 9:56 am, Bharat Kumar bharat.ku...@citrix.com wrote:

 Also In case of change in the overcommit value the total capacity will change 
 instantaneously, but the used resource and the total available will change 
 when
 the capacity checker thread runs. The interval at which this will run can be 
 changed from the global settings.

 Thanks,
 Bharat.

 On 22-Apr-2015, at 9:50 am, Bharat Kumar bharat.ku...@citrix.com wrote:

 Hi,

 The change in cpu overcommit factor will not change the amount of resource 
 that are available to you. It will change the way you want to use the free 
 resource available at that time. It won’t change
 what was already allocated.

 for example if you have deployed the VMs with overcommit say 2  and after a 
 while you change the overcommit to 3, the used resource will be scaled based 
 on the change.
 changing the overcommit cannot create resource. It can only change the way 
 you want to use the free resource.  So now after the change in overcommit 
 you can deploy 3 times more VMs (of
 a given service offering) than usual using the the resource that is free at 
 the time of changing the overcommit value. The perviously allocated resource 
 cannot be freed until you
 restart the VMs.

 This link will tell you how resource allocation calculations are made.
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/CPU+and+RAM+Overcommit

 Thanks,
 Bharat.


 On 21-Apr-2015, at 11:20 pm, Rafael Weingärtner 
 rafaelweingart...@gmail.commailto:rafaelweingart...@gmail.com wrote:

 I have not looked at the code, but that seems odd.
 Restarting VMs instances to update the resource usage/resource availability
 when changing the overprovisioning factor.

 On Tue, Apr 21, 2015 at 12:51 PM, S. Brüseke - proIO GmbH 
 s.brues...@proio.commailto:s.brues...@proio.com wrote:

 Please try to stop and start the vm. Maybe reboot is not working here. You
 should start to see more free CPU after the first vm.

 Mit freundlichen Grüßen / With kind regards,

 Swen Brüseke

 -Ursprüngliche Nachricht-
 Von: Ugo Vasi [mailto:ugo.v...@procne.it]
 Gesendet: Dienstag, 21. April 2015 16:40
 An: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Betreff: Re: AW: cpu overprovisioning

 Hi Swen,
 I try rebboting 2 vm but the amount of cpu MHz is not changed. Do I have
 to restart all vm before you see a change?


 Il 21/04/2015 16:16, S. Brüseke - proIO GmbH ha scritto:
 This is because the factor of overprovisioning is attached to the
 instance too! And this factor is only changing after rebooting the instance.
 So after a change of cpu.overprovisioning.factor you need to reboot all
 instances on this cluster which were running before this change was made.

 Mit freundlichen Grüßen / With kind regards,

 Swen Brüseke

 -Ursprüngliche Nachricht-
 Von: Ugo Vasi [mailto:ugo.v...@procne.it]
 Gesendet: Dienstag, 21. April 2015 16:06
 An: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Betreff: Re: cpu overprovisioning

 If I change the over-provisioning ratio in cluster-relative settings
 (infrastructure-cluser-cluster-name-settings) the dashboard show the
 sum of real GHz the overprovisioned amount of GHz (324GHz) as aspected, but
 after a while also the sum of Ghz is multiplied by the same factor making
 it unnecessary...

 Il 21/04/2015 15:26, Bharat Kumar ha scritto:
 In case of cloudstack, cpu capacity for host is total of cpus * no of
 Ghz * overporvisoning.

 total capacity = sum of capacities of individual hosts.

 Thanks,
 Bharat.

 On 21-Apr-2015, at 6:49 pm, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.commailto:abhinandan.prat...@shapeblue.com 
 wrote:

 Available CPU will be 3 times the actual CPU when over provisioned by
 3.

 The UI not showing the over provisioned value seems like a bug.

 -abhi


 On 21-Apr-2015, at 6:34 pm, Ugo Vasi 
 ugo.v...@procne.itmailto:ugo.v...@procne.it wrote:

 Hi all,
 we have a cluster of three machines with 16 CPU at 2.2GHz each and we
 have set a cpu-overprovizioning to 3.

 I would expect that the CPU system capacity of the dashboard appear
 with the sum of megahertz CPUs multiplied by three instead I get the real
 sum (108MHz).

 I do not understand if this overprovisioning allows me to allocate
 more MHz of real ones asthe documentation say since in reality the virtual
 machines occupy on average only 20% of the computing power.

 thanks in advance

 --

 U g o   V a s iugo.v...@procne.itmailto:ugo.v...@procne.it
 P r o c n e  s.r.l)
 via Cotonificio 45  33010 Tavagnacco IT
 phone: +390432486523 fax: +390432486523

 Le informazioni contenute in questo messaggio sono riservate e
 confidenziali ed è vietata la diffusione in qualunque modo eseguita.
 Qualora Lei non fosse la persona a cui il presente messaggio è
 destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
 gentilmente comunicazione.
 Per 

RE: XenServer 6.5 - Security Groups

2015-04-21 Thread Koushik Das
Would it make sense to use nethash or iphash based on the ipset version? In 
Rohit's change I see that for both XS 6.2 and 6.5 nethash is used.

-Original Message-
From: Tim Mackey [mailto:tmac...@gmail.com] 
Sent: Wednesday, 22 April 2015 0:11
To: users@cloudstack.apache.org
Subject: Re: XenServer 6.5 - Security Groups

Geoff,

I just went through the changelog for ipset, and its a pretty safe bet that's 
where the problems are.  In XenServer 6.2, ipset is version 4.5 while XenServer 
6.5 uses ipset version 6.11.  With version 5, upstream did a major rewrite of 
ipset.  iptables also changed, but it's not as dramatic.
I'm going to try and build with Rohit's change and test tonight or tomorrow.

-tim

On Tue, Apr 21, 2015 at 2:41 AM, Abhinandan Prateek  
abhinandan.prat...@shapeblue.com wrote:

 The security groups are working but with errors. All the recommended 
 settings are in place.

 In the log files there are many delete failures like:

 Failed to delete rule log file /var/run/cloud/i-2-4-VM.ip
 10.51.212.24-cloud.log:2015-04-17 11:45:08DEBUG [root] Ignoring
 failure to delete rules for vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:08DEBUG [root] Ignoring
 failure to delete rules for vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Ignoring
 failure to delete ebtables chain for vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Creating ipset
 chain  i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Writing log to
 /var/run/cloud/i-2-4-VM.log
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Programmed
 default rules for vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] No change in
 default info set of vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Seqno increased
 from -1 to 17: reprogamming ingress rules for vm i-2-4-VM
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] Programming
 network rules for vm  i-2-4-VM seqno=17 numrules=3 
 signature=fd07c7713376d8906fb71eb8328224ca guestIp=10.170.20.61, 
 update iptables, reason=seqno_change_or_sig_change
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] ['iptables',
 '-I', 'i-2-4-VM', '-p', 'icmp', '--icmp-type', 'any', '-j', 'ACCEPT']
 10.51.212.24-cloud.log:2015-04-17 11:45:09DEBUG [root] ipset chain
 already existsi-2-4-VM_tcp_22_22


 Looks like due to delete failure the subsequent rule change fails to 
 apply ?

 -abhi

  On 21-Apr-2015, at 9:56 am, Koushik Das koushik@citrix.com wrote:
 
  What is the output of cat /etc/sysctl.conf? Update it as per
 http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/xenserver.html.
 If there was an upgrade from XS 6.2 to XS 6.5, then changes to 
 sysctl.conf is not persisted.
 
 
  On 21-Apr-2015, at 6:24 AM, Tim Mackey tmac...@gmail.com wrote:
 
  Geoff, was this a fresh install of both XenServer and CloudStack, 
  or was there any post install steps or upgrades?  I'm thinking of 
  setting this
 up
  and tracing things tomorrow.  Might be good to get your logs to 
  compare against what I see.
  On Apr 20, 2015 3:24 PM, Geoff Higginbottom  
  geoff.higginbot...@shapeblue.com wrote:
 
  FYI we have just re-deployed the environment using ACS 4.4.3 and
 XenServer
  6.2 and now it is all working as expected.
 
  We now need to work out if the problem is with ACS 4.5.1 or 
  XenServer
 6.5
 
  Regards
 
  Geoff Higginbottom
 
  D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
  geoff.higginbot...@shapeblue.com
 
  -Original Message-
  From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
  Sent: 20 April 2015 17:52
  To: users@cloudstack.apache.org
  Subject: RE: XenServer 6.5 - Security Groups
 
  Many thank Somesh
 
  Regards
 
  Geoff Higginbottom
 
  D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
  geoff.higginbot...@shapeblue.com
 
  -Original Message-
  From: Somesh Naidu [mailto:somesh.na...@citrix.com]
  Sent: 20 April 2015 15:55
  To: users@cloudstack.apache.org
  Subject: RE: XenServer 6.5 - Security Groups
 
  I am running 4.5.0. I probably don't use my lab setup that often 
  to encounter these inconsistencies. I will look for any XS 
  hotfixes that
 have
  fixes around this area and let you know if I find one.
 
  Somesh
  CloudPlatform Escalations
  Citrix Systems, Inc.
 
  -Original Message-
  From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
  Sent: Monday, April 20, 2015 10:42 AM
  To: users@cloudstack.apache.org
  Subject: RE: XenServer 6.5 - Security Groups
 
  We are currently testing a 4.5.1 CloudStack deployment with 
  XenServer
 6.5
  and the Security Groups are very temperamental.
 
  Sometimes they allow traffic, sometimes they block it.  Lots of 
  errors
 in
  the cloud.log file on the XenServer saying failed to update 
  iptables
 etc
 
  Regards
 
  Geoff Higginbottom
 
  D: +44 20 3603 0542 | S: +44 20 3603 

Re: cpu overprovisioning

2015-04-21 Thread Bharat Kumar
Also In case of change in the overcommit value the total capacity will change 
instantaneously, but the used resource and the total available will change when
the capacity checker thread runs. The interval at which this will run can be 
changed from the global settings.

Thanks,
Bharat.

On 22-Apr-2015, at 9:50 am, Bharat Kumar bharat.ku...@citrix.com wrote:

 Hi,
 
 The change in cpu overcommit factor will not change the amount of resource 
 that are available to you. It will change the way you want to use the free 
 resource available at that time. It won’t change
 what was already allocated.
 
 for example if you have deployed the VMs with overcommit say 2  and after a 
 while you change the overcommit to 3, the used resource will be scaled based 
 on the change.
 changing the overcommit cannot create resource. It can only change the way 
 you want to use the free resource.  So now after the change in overcommit you 
 can deploy 3 times more VMs (of
 a given service offering) than usual using the the resource that is free at 
 the time of changing the overcommit value. The perviously allocated resource 
 cannot be freed until you
 restart the VMs.
 
 This link will tell you how resource allocation calculations are made.
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/CPU+and+RAM+Overcommit
 
 Thanks,
 Bharat.
 
 
 On 21-Apr-2015, at 11:20 pm, Rafael Weingärtner 
 rafaelweingart...@gmail.commailto:rafaelweingart...@gmail.com wrote:
 
 I have not looked at the code, but that seems odd.
 Restarting VMs instances to update the resource usage/resource availability
 when changing the overprovisioning factor.
 
 On Tue, Apr 21, 2015 at 12:51 PM, S. Brüseke - proIO GmbH 
 s.brues...@proio.commailto:s.brues...@proio.com wrote:
 
 Please try to stop and start the vm. Maybe reboot is not working here. You
 should start to see more free CPU after the first vm.
 
 Mit freundlichen Grüßen / With kind regards,
 
 Swen Brüseke
 
 -Ursprüngliche Nachricht-
 Von: Ugo Vasi [mailto:ugo.v...@procne.it]
 Gesendet: Dienstag, 21. April 2015 16:40
 An: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Betreff: Re: AW: cpu overprovisioning
 
 Hi Swen,
 I try rebboting 2 vm but the amount of cpu MHz is not changed. Do I have
 to restart all vm before you see a change?
 
 
 Il 21/04/2015 16:16, S. Brüseke - proIO GmbH ha scritto:
 This is because the factor of overprovisioning is attached to the
 instance too! And this factor is only changing after rebooting the instance.
 So after a change of cpu.overprovisioning.factor you need to reboot all
 instances on this cluster which were running before this change was made.
 
 Mit freundlichen Grüßen / With kind regards,
 
 Swen Brüseke
 
 -Ursprüngliche Nachricht-
 Von: Ugo Vasi [mailto:ugo.v...@procne.it]
 Gesendet: Dienstag, 21. April 2015 16:06
 An: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Betreff: Re: cpu overprovisioning
 
 If I change the over-provisioning ratio in cluster-relative settings
 (infrastructure-cluser-cluster-name-settings) the dashboard show the
 sum of real GHz the overprovisioned amount of GHz (324GHz) as aspected, but
 after a while also the sum of Ghz is multiplied by the same factor making
 it unnecessary...
 
 Il 21/04/2015 15:26, Bharat Kumar ha scritto:
 In case of cloudstack, cpu capacity for host is total of cpus * no of
 Ghz * overporvisoning.
 
 total capacity = sum of capacities of individual hosts.
 
 Thanks,
 Bharat.
 
 On 21-Apr-2015, at 6:49 pm, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.commailto:abhinandan.prat...@shapeblue.com 
 wrote:
 
 Available CPU will be 3 times the actual CPU when over provisioned by
 3.
 
 The UI not showing the over provisioned value seems like a bug.
 
 -abhi
 
 
 On 21-Apr-2015, at 6:34 pm, Ugo Vasi 
 ugo.v...@procne.itmailto:ugo.v...@procne.it wrote:
 
 Hi all,
 we have a cluster of three machines with 16 CPU at 2.2GHz each and we
 have set a cpu-overprovizioning to 3.
 
 I would expect that the CPU system capacity of the dashboard appear
 with the sum of megahertz CPUs multiplied by three instead I get the real
 sum (108MHz).
 
 I do not understand if this overprovisioning allows me to allocate
 more MHz of real ones asthe documentation say since in reality the virtual
 machines occupy on average only 20% of the computing power.
 
 thanks in advance
 
 --
 
 U g o   V a s iugo.v...@procne.itmailto:ugo.v...@procne.it
 P r o c n e  s.r.l)
 via Cotonificio 45  33010 Tavagnacco IT
 phone: +390432486523 fax: +390432486523
 
 Le informazioni contenute in questo messaggio sono riservate e
 confidenziali ed è vietata la diffusione in qualunque modo eseguita.
 Qualora Lei non fosse la persona a cui il presente messaggio è
 destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
 gentilmente comunicazione.
 Per qualsiasi informazione si prega di contattare 
 supp...@procne.itmailto:supp...@procne.it .
 Rif. D.L. 196/2003
 
 Find out more about