RE: awsapi with new maven build

2012-11-26 Thread Likitha Shetty
I got the same 401 error while trying to register a user against AWSAPI. Once I 
added 'db.awsapi.name=cloudbridge' to utils/conf/db.properties this issue was 
resolved.



But now I am facing a new issue. When I try to register a user I get the 
following error, 'User registration failed with http error code: 531'.

In 'cloudbridge' DB the table 'usercredentials' contains the right values for 
'AccessKey' and 'SecretKey' (user keys are set correctly) but the CertUniqueId 
value is NULL.

awapi.log is empty and Jetty logs doesn't show any error either.



Any suggestions on how to resolve this ?



Thank you,

Likitha



-Original Message-
From: Sebastien Goasguen [mailto:run...@gmail.com]
Sent: Wednesday, November 14, 2012 9:54 PM
To: cloudstack-dev@incubator.apache.org; srivatsav.prasa...@gmail.com
Subject: Re: awsapi with new maven build





On Nov 14, 2012, at 4:44 PM, Prasanna Santhanam 
srivatsav.prasa...@gmail.commailto:srivatsav.prasa...@gmail.com wrote:



 Is cloud-management process already running? Try stop that?





I am only running:

mvn -pl :cloud-client-ui jetty:run

and

mvn -pl :cloud-awsapi jetty:run







 ~P.



 -Original Message-

 From: Sebastien Goasguen run...@gmail.com

 Date: Wed, 14 Nov 2012 16:31:36

 To: cloudstack-dev@incubator.apache.org

 Reply-To: cloudstack-dev@incubator.apache.org

 Subject: Re: awsapi with new maven build





 On Nov 14, 2012, at 4:09 PM, Charles Moulliard 
 ch0...@gmail.commailto:ch0...@gmail.com wrote:



 Hi Sebastien,



 You should create a cloud schema + cloud user on your Mac's

 MySQLServer





 I do have that. a cloud mysql user with cloud as password.

 cloud, cloud_usage, cloudbridge databases have been created.





 Regards,



 Charles





 On Wed, Nov 14, 2012 at 4:04 PM, Sebastien Goasguen 
 run...@gmail.commailto:run...@gmail.comwrote:



 Hi,



 I am testing the awsapi with the new maven build.

 Following:

 https://cwiki.apache.org/CLOUDSTACK/cloudstack-devcloud-environment-

 setup.html



 I run:

 mvn -pl :cloud-client-ui jetty:run

 and

 mvn -pl :cloud-awsapi jetty:run



 when I try to register a user it fails with a 401 error, and the

 jetty logs show:



 Caused by:

 com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

 : Could not create connection to database server. Attempted reconnect 3 
 times.

 Giving up.

   at

 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

 Method)

   at

 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

   at

 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

   at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

   at com.mysql.jdbc.Util.getInstance(Util.java:386)

   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1014)

   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988)

   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974)

   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)

   at

 com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2299)

   at

 com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2220)

   at com.mysql.jdbc.ConnectionImpl.init(ConnectionImpl.java:813)

   at com.mysql.jdbc.JDBC4Connection.init(JDBC4Connection.java:47)

   at

 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

 Method)

   at

 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

   at

 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

   at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

   at

 com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)

   at

 com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334)

   at java.sql.DriverManager.getConnection(DriverManager.java:582)

   at java.sql.DriverManager.getConnection(DriverManager.java:185)

   at

 org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)

   at

 org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)

   at

 org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)

   at

 org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)

   at

 com.cloud.utils.db.Transaction.getConnection(Transaction.java:558)

   at

 com.cloud.utils.db.Transaction.prepareStatement(Transaction.java:453)

   at

 com.cloud.utils.db.Transaction.prepareAutoCloseStatement(Transaction.java:446)

   at

 

[jira] [Updated] (CLOUDSTACK-515) NVP Installation

2012-11-26 Thread Sudha Ponnaganti (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sudha Ponnaganti updated CLOUDSTACK-515:


Assignee: Rohit Yadav

 NVP Installation 
 -

 Key: CLOUDSTACK-515
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-515
 Project: CloudStack
  Issue Type: Bug
  Components: Install and Setup
Affects Versions: 4.0.0
 Environment: Ubuntu 12.04 package installation
Reporter: Dimitri Desmidt
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.0.1


 When installation CloudStack on Ubuntu 12.04 (package installation), the 
 etc/cloud/management/nicira-nvp_commands.properties file was missing.
 Note: To get the installation working, I had to manually copy it from git + 
 restart management.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-515) NVP Installation

2012-11-26 Thread Sudha Ponnaganti (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13503700#comment-13503700
 ] 

Sudha Ponnaganti commented on CLOUDSTACK-515:
-

Rohit -  assigning it to you. Not sure if Dimitri has patch or not. As QA will 
validate install/upgrade this week, can you fix this one

 NVP Installation 
 -

 Key: CLOUDSTACK-515
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-515
 Project: CloudStack
  Issue Type: Bug
  Components: Install and Setup
Affects Versions: 4.0.0
 Environment: Ubuntu 12.04 package installation
Reporter: Dimitri Desmidt
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.0.1


 When installation CloudStack on Ubuntu 12.04 (package installation), the 
 etc/cloud/management/nicira-nvp_commands.properties file was missing.
 Note: To get the installation working, I had to manually copy it from git + 
 restart management.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CLOUDSTACK-505) cloudstack logs the private key in plaintext

2012-11-26 Thread Sudha Ponnaganti (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sudha Ponnaganti updated CLOUDSTACK-505:


Assignee: edison su

 cloudstack logs the private key in plaintext
 

 Key: CLOUDSTACK-505
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-505
 Project: CloudStack
  Issue Type: Bug
  Components: API
Affects Versions: 4.0.0
Reporter: Ahmad Emneina
Assignee: edison su
 Fix For: 4.0.1


 When creating my sshkeypair, theyre logged in the api-server.log.
 2012-11-16 04:16:44,387 INFO  [cloud.api.ApiServer] (ApiServer-8:null) 
 (userId=1 accountId=1 sessionId=null) /0:0:0:0:0:0:0:1 -- GET 
 /client/api?command=createSSHKeyPairname=testkeys2response=jsondomainid=1zone=2account=admin
  HTTP/1.0 200 
 {
 createsshkeypairresponse: {
 keypair: {
 name: testkeys2,
 fingerprint: f2:0c:b1:d9:be:73:4f:a9:0a:c0:c8:59:17:e0:67:07,
 privatekey: -BEGIN RSA PRIVATE 
 KEY-\nMIICXgIBAAKBgQDD8CUiTQL26bhcDDW1kg8QqY2Pzm9EkeNwcTtglZEYkfSV7IHI\nDO7kRvB8ca4uKOpQD+jIpz0+leTQAc2JwLPzIFfTpN/mn+vwMwBviTZjYUDePkw+\nuwe97KB4Xg+RM7m0f4sPUHe9IZPshebl8nFhFpp8bL1g/FcDalJs3GhyPwIDAQAB\nAoGBAL0czVp75f6Wul/tUPF8lZnJbF5+KpqODGz8fQjNkwuZ4+3IJcMF6JTfe0FB\nH5Jh3zWDBXSVJeGAHyY8dzsbiRHRoXb4HRXUfSdMVLAlXDmH+REcE/4OY+Sd+GU2\ncrIsq9E3R2Nhr7lujP6BOO4IEzSrKFQ531lLBolCNZ/YpHThAkEA4/N1BeuB7ihI\nlzfdikjEmg3BfDn+s7FlQz42x4iAOBRBcMeO0e7ma+UWD7LUER3tuADAY3D4C/xs\nAluSbEyHdwJBANwMRK4jsmsGFf5GjH/iyVApZx/U71OR8OJx48NSdWmCzEkMdCE+\nH5Lska7j8mfAfqbOYfYqR4gwOXXHGr8XrXkCQAF9GYqMWzDe+npiVwQMLZyD8nuJ\nNWye//ZMdbcf4RZ8q2C9LOWaFc8mk9pOZKwn8eF9v8PmfPg3Ec2CI5apeUkCQQDK\nEj4TyFY07/7MZc7qNcH26j54PduVW+TgngOxv4xw2xtsTZJrYJgwHSzfdRaK7nug\nBNBy9XqA9wAdRz0plL3JAkEAiyCuxFhz6F2NhMxDX9IczJPPiJ+v6qHGwSThiBv0\n9XgwpQqrFmBdqAZ3SDjsgXkG2gAqZRuddbq55ffGSFtkpg==\n-END
  RSA PRIVATE KEY-\n
 }
 }
 }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CLOUDSTACK-415) restartNetwork call causes VM to be unreachable when Nicira based SDN is used.

2012-11-26 Thread Sudha Ponnaganti (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sudha Ponnaganti updated CLOUDSTACK-415:


Fix Version/s: 4.0.1

 restartNetwork call causes VM to be unreachable when Nicira based SDN is used.
 --

 Key: CLOUDSTACK-415
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-415
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
Reporter: Hugo Trippaers
Assignee: Hugo Trippaers
Priority: Minor
 Fix For: 4.0.1, 4.1.0


 restartNetwork restarts the network components and triggers the new 
 implementation of the network. This also trigger a rebuild of the logical 
 switch in Nicira, causing existing virtual machines to lose connectivity as 
 they are still connected to the old now orphaned logical switch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


RE: [ACS401][DISCUSS] 4.0.1 Release dates such

2012-11-26 Thread Sudha Ponnaganti
I have targeted all the defects to 4.0.1 and you can use this query to access
https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+CLOUDSTACK+AND+fixVersion+%3D+12323505

There are currently 21 Defects targeted. 
Closed - 6
Resolved - 8
Open - 7

Install/upgrade ( version specific changes) and 7 remaining defects need to be 
resolved before 11/30 as per plan posted by Joe.

Test plan has been posted here under QA section  - 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+4.0.1-incubating+Release
Planning to have some install/upgrade validation done before Nov 30th and 
during test cycle period. 

Pl do provide feedback on the test plan  - I guess OVM would not be included.  
Will remove it from test plan once confirmed. 
Also request developers to identify any regression impact for defects fixed. 
Otherwise there will not be any manual regression done for any of the areas. 


-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: Tuesday, November 20, 2012 7:29 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: [ACS401][DISCUSS] 4.0.1 Release dates  such

On Mon, Nov 19, 2012 at 6:02 PM, Joe Brockmeier j...@zonker.net wrote:
 Hi all,

 I've started working on 4.0.1 and put together this page on the wiki 
 to track progress, etc.:

 https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+4.0.
 1-incubating+Release

 Please follow up this thread or edit the wiki with any bugs that are 
 fixed  belong in the 4.0.1-incubating release.

I'd suggest using Jira's fix version field actually, that way you can have a 
real-time view of what the state of the release is.  The wiki page will be hard 
to keep up to date, and probably isn't needed for feature related discussions.  
Also remember that bugs can have multiple fix versions identified.  So if the 
fix is done in master, then cherry-picked to the 4.0 branch, it can have a fix 
version of
4.0.1 and 4.1.0.

I'd also suggest adding CLOUDSTACK-524 (just opened) to the bug-fix release 
target, depending on the scope of the fix (i.e.: change risk and effort 
involved).

 Right now, I'm planning to freeze 4.0.1 on November 30th and call for 
 testing from 11/30 to 12/8, calling for a vote on 12/8.

Sounds about right!  I think that it's probably best to stick with that 
schedule, and just release whatever gets fixed as the release.
We may need a second bug-fix release (or more) before 4.1.0 anyway.

 Thoughts, comments, flames, tips for a delicious turkey and stuffing?

 Best,

 Joe
 --
 Joe Brockmeier
 j...@zonker.net
 Twitter: @jzb
 http://www.dissociatedpress.net/



[jira] [Created] (CLOUDSTACK-535) Virtual Router DNS is restricted to UDP only

2012-11-26 Thread Tamas Monos (JIRA)
Tamas Monos created CLOUDSTACK-535:
--

 Summary: Virtual Router DNS is restricted to UDP only
 Key: CLOUDSTACK-535
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-535
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
Reporter: Tamas Monos
Priority: Minor


Issue:
When a new router VM is generated and started the initial firewall rules allow 
only port 53 on UDP only. Router VMs should allow port 53 on TCP is well due to 
longer resolutions can switch to TCP for example cPanel. The cPanel installer 
will not run if it cannot resolve over TCP.

Workaround:
Login to the router VM and execute:
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 53 -j ACCEPT

Resolution:
I'm sure where the inital firewall rules are coming from (maybe systemVM ISO?) 
but there this new rule should be added.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CLOUDSTACK-535) Virtual Router DNS is restricted to UDP only

2012-11-26 Thread Tamas Monos (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamas Monos updated CLOUDSTACK-535:
---

Description: 
Issue:
When a new router VM is generated and started the initial firewall rules allow 
only port 53 on UDP. Router VMs should allow port 53 on TCP is well due to 
longer resolutions can switch to TCP for example cPanel. The cPanel installer 
will not run if it cannot resolve over TCP.

Workaround:
Login to the router VM and execute:
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 53 -j ACCEPT

Resolution:
I'm not sure where the initial firewall rules are coming from (maybe systemVM 
ISO?) but there this new rule should be added.



  was:
Issue:
When a new router VM is generated and started the initial firewall rules allow 
only port 53 on UDP only. Router VMs should allow port 53 on TCP is well due to 
longer resolutions can switch to TCP for example cPanel. The cPanel installer 
will not run if it cannot resolve over TCP.

Workaround:
Login to the router VM and execute:
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 53 -j ACCEPT

Resolution:
I'm sure where the inital firewall rules are coming from (maybe systemVM ISO?) 
but there this new rule should be added.




 Virtual Router DNS is restricted to UDP only
 

 Key: CLOUDSTACK-535
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-535
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
Reporter: Tamas Monos
Priority: Minor

 Issue:
 When a new router VM is generated and started the initial firewall rules 
 allow only port 53 on UDP. Router VMs should allow port 53 on TCP is well due 
 to longer resolutions can switch to TCP for example cPanel. The cPanel 
 installer will not run if it cannot resolve over TCP.
 Workaround:
 Login to the router VM and execute:
 iptables -A INPUT -i eth0 -p tcp -m tcp --dport 53 -j ACCEPT
 Resolution:
 I'm not sure where the initial firewall rules are coming from (maybe systemVM 
 ISO?) but there this new rule should be added.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


libvirt XML settings for KVM guests

2012-11-26 Thread DE Clay
I would like to be able to change and persist libvirt XML settings
for guests (similar to the way that VMware allows you to edit/change the
VMX file).  

Example use cases would be to change the default drivers to virtio and
also change qemu disk settings to other caching policies.

It seems that now when I manually edit (via virsh edit), I lose those
changes when the instance is stopped/restarted. 

Is there a way to do this now?

--Daron
-- 
*
Daron E. Clay, CTO
ZeroMachine.net LLC
Information Technology Architect
VMware Certified Professional

-
Specializing in Cloud Computing Services
and x86 Virtual Infrastructure Solutions
-

Phone: 970-769-4805
Email: dec...@zeromachine.net
Web: http://zeromachine.net
*



Unit Test Hack Fest - Collab Conference

2012-11-26 Thread Chip Childers
Hi all,

I'm hosting a unit test authoring hack fest [1] at the collab
conference (scheduled for Sunday at 11 AM local time).  For those of
you attending, I'd love to have you swing by and help grow our test
coverage!

Along those lines, I've created a list (in order of complexity) of the
classes that I'll suggest people start to tackle.  I'd love if folks
could review and comment...  is there a major change happening in the
(for example) Javeline branch that would make unit tests for one of
these classes obsolete in the short term?  Is someone already working
on coverage in the area discussed?

I've tried to exclude those classes (specifically our two most complex
ones) that were auto-generated from some other source (the examples
came from the EC2 WSDL).

Here's the top of the list:

com.cloud.configuration.ConfigurationManagerImpl
com.cloud.network.NetworkManagerImpl
com.cloud.bridge.service.core.ec2.EC2Engine
com.cloud.api.ApiResponseHelper
com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource
com.cloud.stack.CloudStackApi
com.cloud.network.firewall.FirewallManagerImpl
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer
com.cloud.network.resource.NiciraNvpResource

I think those are the highest complexity calcs (at the class level),
and I can always keep digging through Sonar to find the next set
(depending on attendance).

Thanks!

-chip

[1] http://collab12.cloudstack.org/schedule/presentation/8/


[ACS41] Schedule Reminder #1

2012-11-26 Thread Chip Childers
Hi all,

I just want to remind everyone about our 4.1 feature release schedule.
 I'll periodically send email reminders like this, until we get closer
to feature freeze (and much more frequently once we head into the
Testing / Hardening / Wrap-Up phase).

It's the last week of November, which means we have 2 more months for
features to make it into master for the 4.1 release.


Here's the full schedule once again:

=
New 4.1 detailed schedule proposal:
=

2012-11-01 through 2013-01-31
  Feature and documentation development (obviously ongoing, but
continued during this period)

2013-01-31
  Feature Freeze
  All new feature need to have been merged into master by this date.
  Release branch will be cut on this date.
  Jenkins updated to include new release branch builds.

2013-02-01 through 2013-02-28
  Testing/Bug Fixes (testing against jenkins artifacts)
  Documentation Finalization

2013-02-28
  Docs Freeze (except release notes and translations)
  Release Branch moves to limited updates only (only commits allowed
in would be release blockers fixes, translation updates, etc...)

2013-03-01 through 2013-03-22
  Translation Development and Integration (should be ongoing, but
focused effort)
  Final regression testing / bug fixes / doc fixes

2013-03-22
  4.1.0-RC1 is created, and project level VOTE is called


Re: Test Case Management tool

2012-11-26 Thread Chip Childers
On Sat, Nov 24, 2012 at 5:10 PM, Sudha Ponnaganti
sudha.ponnaga...@citrix.com wrote:
 Hi All,

 Wanted to check if Apache has any TCM software available for us to use.
 If not can we use Test Link?? https://www.facebook.com/MyTestlink

 Currently we are posting test cases on wiki but may not be efficient as we 
 grow

 Thanks
 /Sudha

Sudha,

After searching, I haven't been able to find one.  I've actually used
Jira in the past for this, but it's clunky and repetitive (so I don't
recommend we do it that way).

If we were to use Test Link, it would require hosting it somewhere,
right?  Is that what Citrix currently uses internally?  What sort of
data import options would we have available (or are you thinking we
would manually enter the test cases into whatever tool is selected)?

-chip


Re: libvirt XML settings for KVM guests

2012-11-26 Thread Marcus Sorensen
I believe the way its done now is handled by which OS option you choose. If
you wanted to make the XML persistent it would need to reside on all hosts.
Perhaps you can request an enhancement for user defined OS settings with
KVM that allows you to save a small set of parameters like caching, nic
type, etc. Or simply create your own branch and add in the settings you
prefer.
On Nov 26, 2012 7:32 AM, DE Clay dec...@zeromachine.net wrote:

 I would like to be able to change and persist libvirt XML settings
 for guests (similar to the way that VMware allows you to edit/change the
 VMX file).

 Example use cases would be to change the default drivers to virtio and
 also change qemu disk settings to other caching policies.

 It seems that now when I manually edit (via virsh edit), I lose those
 changes when the instance is stopped/restarted.

 Is there a way to do this now?

 --Daron
 --
 *
 Daron E. Clay, CTO
 ZeroMachine.net LLC
 Information Technology Architect
 VMware Certified Professional

 -
 Specializing in Cloud Computing Services
 and x86 Virtual Infrastructure Solutions
 -

 Phone: 970-769-4805
 Email: dec...@zeromachine.net
 Web: http://zeromachine.net
 *




Re: CloudStack 4.1-SNAPSHOT + Vagrant

2012-11-26 Thread Charles Moulliard
If you would like some help, don't hesitate like also to update procedure
to setup cloudstack using vagrant.


On Fri, Nov 23, 2012 at 6:33 PM, Rohit Yadav rohit.ya...@citrix.com wrote:

 Charles, I've figured out the issues and fixes and template using Debian
 Wheezy and xen/xapi which works with VirtualBox using the new networking
 model. The vagrant scripts will probably need fixing.
 For some reason, because of incompatible Linux kernel version, xend/xapi
 plugin and VirtualBox network adapter card (this was hard to debug); it
 does not work with Ubuntu but works with Wheezy (testing). There are few
 more modification and optimizations like console proxy is not started
 (saves us 1G of ram) and using non-LVM partitioning, network routing so
 both host-only and NAT can work for both dom0 and domU, and dom0 memory
 constraints. (probably with this, one can run DevCloud with as minimum as
 1G ram). The only issue I'm facing now is that systemvm is not reachable
 when it starts (pingable but not ssh-able, probably not a blocker, I only
 hope :)
 Will post a new image soon.

 Regards.
 
 From: Charles Moulliard [ch0...@gmail.com]
 Sent: Friday, November 23, 2012 10:49 PM
 To: cloudstack-dev
 Subject: CloudStack 4.1-SNAPSHOT + Vagrant

 Hi,

 Does anybody has blogged somewhere how to setup using vagrant cloudstack
 4.1-SNAPSHOT ?

 Regards,

 --
 Charles Moulliard
 Apache Committer / Sr. Enterprise Architect (RedHat)
 Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com




-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com


Nexus 1000v Support (CLOUDSTACK-301)

2012-11-26 Thread Chip Childers
Sateesh,

CLOUDSTACK-301 is currently assigned to you.  Is this in progress?  Or
is this something that can be picked up by someone else?

Thanks!

https://issues.apache.org/jira/browse/CLOUDSTACK-301


RE: Test Case Management tool

2012-11-26 Thread Sudha Ponnaganti
Yes Chip. We started to use Test Link. If Apache has some infrastructure 
already in place, extending it to Cloustack would be best option. If not we can 
use Test link.  It has standard export and import options. 

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: Monday, November 26, 2012 7:01 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Test Case Management tool

On Sat, Nov 24, 2012 at 5:10 PM, Sudha Ponnaganti sudha.ponnaga...@citrix.com 
wrote:
 Hi All,

 Wanted to check if Apache has any TCM software available for us to use.
 If not can we use Test Link?? https://www.facebook.com/MyTestlink

 Currently we are posting test cases on wiki but may not be efficient 
 as we grow

 Thanks
 /Sudha

Sudha,

After searching, I haven't been able to find one.  I've actually used Jira in 
the past for this, but it's clunky and repetitive (so I don't recommend we do 
it that way).

If we were to use Test Link, it would require hosting it somewhere, right?  Is 
that what Citrix currently uses internally?  What sort of data import options 
would we have available (or are you thinking we would manually enter the test 
cases into whatever tool is selected)?

-chip


RE: [ACS41] Schedule Reminder #1

2012-11-26 Thread Sudha Ponnaganti
Do we have a web page just like CS 4.0.1 created to track release progress? 
Sorry - I have been trying to locate it but keep going to other sites. 


-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: Monday, November 26, 2012 6:57 AM
To: cloudstack-dev@incubator.apache.org
Subject: [ACS41] Schedule Reminder #1

Hi all,

I just want to remind everyone about our 4.1 feature release schedule.
 I'll periodically send email reminders like this, until we get closer to 
feature freeze (and much more frequently once we head into the Testing / 
Hardening / Wrap-Up phase).

It's the last week of November, which means we have 2 more months for features 
to make it into master for the 4.1 release.


Here's the full schedule once again:

=
New 4.1 detailed schedule proposal:
=

2012-11-01 through 2013-01-31
  Feature and documentation development (obviously ongoing, but continued 
during this period)

2013-01-31
  Feature Freeze
  All new feature need to have been merged into master by this date.
  Release branch will be cut on this date.
  Jenkins updated to include new release branch builds.

2013-02-01 through 2013-02-28
  Testing/Bug Fixes (testing against jenkins artifacts)
  Documentation Finalization

2013-02-28
  Docs Freeze (except release notes and translations)
  Release Branch moves to limited updates only (only commits allowed in would 
be release blockers fixes, translation updates, etc...)

2013-03-01 through 2013-03-22
  Translation Development and Integration (should be ongoing, but focused 
effort)
  Final regression testing / bug fixes / doc fixes

2013-03-22
  4.1.0-RC1 is created, and project level VOTE is called


[jira] [Commented] (CLOUDSTACK-535) Virtual Router DNS is restricted to UDP only

2012-11-26 Thread Marcus Sorensen (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13503868#comment-13503868
 ] 

Marcus Sorensen commented on CLOUDSTACK-535:


The commit 82a7e49fad81b001410b66d151743b112d0daa65 should fix this. I added 
tcp 53 to every systemvm script that had udp 53 allowed.

 Virtual Router DNS is restricted to UDP only
 

 Key: CLOUDSTACK-535
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-535
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
Reporter: Tamas Monos
Priority: Minor

 Issue:
 When a new router VM is generated and started the initial firewall rules 
 allow only port 53 on UDP. Router VMs should allow port 53 on TCP is well due 
 to longer resolutions can switch to TCP for example cPanel. The cPanel 
 installer will not run if it cannot resolve over TCP.
 Workaround:
 Login to the router VM and execute:
 iptables -A INPUT -i eth0 -p tcp -m tcp --dport 53 -j ACCEPT
 Resolution:
 I'm not sure where the initial firewall rules are coming from (maybe systemVM 
 ISO?) but there this new rule should be added.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


cloudstack 4 incubating - local storage not working

2012-11-26 Thread rdartigues.ext
Good day,

i'd like to run my VM on local storage (as i don't need functionalities 
provided by shared primary storage).

Actually:
- i've local storage enabled in my zone
- i've local storage configured (in Infrastructure, Zones, My Zone, Primary 
Storage)
- i've data offerings using local storage
- i've set to true system.vm.use.local.storage and even use.local.storage then 
restarted the management server (the latter option seems to have disappeared in 
cs-4)

When i create a new VM, it get its DATADISK stored locally, but the ROOT disk 
insist being on the shared storage...

In management-server.log i found the following related lines:
  Looking for pools in dc: 3  pod:3  cluster:1
  FirstFitStoragePoolAllocator has 2 pools to check for allocation
  Checking if storage pool is suitable, name: hote01.example.net Local Storage 
,poolId: 200
  Is localStorageAllocationNeeded? false
  Is storage pool shared? false
  StoragePool is not of correct type, skipping this pool
  Checking if storage pool is suitable, name: san01.example.net Shared Storage 
,poolId: 202
  Is localStorageAllocationNeeded? false
  Is storage pool shared? True

And the the VM gets created.
If i remove the NFS server from the Primary Storages list, the VM cannot be 
created (with a No suitable storagePools found under this Cluster error or 
something like that).

It's as if the ROOT disk is set to be on shared storage only; but i don't see 
where.

Thank you for your time,
Romain.

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete 
altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages 
that have been modified, changed or falsified.
Thank you.



Re: cloudstack 4 incubating - local storage not working

2012-11-26 Thread Nitin Mehta
Romain - Please find my answer inline.

On 26-Nov-2012, at 9:39 PM, rdartigues@orange.com wrote:

 Good day,
 
 i'd like to run my VM on local storage (as i don't need functionalities 
 provided by shared primary storage).
 
 Actually:
 - i've local storage enabled in my zone
 - i've local storage configured (in Infrastructure, Zones, My Zone, Primary 
 Storage)
 - i've data offerings using local storage
 - i've set to true system.vm.use.local.storage and even use.local.storage 
 then restarted the management server (the latter option seems to have 
 disappeared in cs-4)
 
 When i create a new VM, it get its DATADISK stored locally, but the ROOT disk 
 insist being on the shared storage...
 
 In management-server.log i found the following related lines:
  Looking for pools in dc: 3  pod:3  cluster:1
  FirstFitStoragePoolAllocator has 2 pools to check for allocation
  Checking if storage pool is suitable, name: hote01.example.net Local Storage 
 ,poolId: 200
  Is localStorageAllocationNeeded? false
  Is storage pool shared? false
  StoragePool is not of correct type, skipping this pool
  Checking if storage pool is suitable, name: san01.example.net Shared Storage 
 ,poolId: 202
  Is localStorageAllocationNeeded? false
  Is storage pool shared? True
 
 And the the VM gets created.
 If i remove the NFS server from the Primary Storages list, the VM cannot be 
 created (with a No suitable storagePools found under this Cluster error or 
 something like that).
 
 It's as if the ROOT disk is set to be on shared storage only; but i don't 
 see where.
 


The root disk picks up its storage type (shared or local) from the service 
offering (which also defines the compute for the vm) You need to create a 
service offering with storage type set as local. 


 Thank you for your time,
 Romain.
 
 _
 
 Ce message et ses pieces jointes peuvent contenir des informations 
 confidentielles ou privilegiees et ne doivent donc
 pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu 
 ce message par erreur, veuillez le signaler
 a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
 electroniques etant susceptibles d'alteration,
 France Telecom - Orange decline toute responsabilite si ce message a ete 
 altere, deforme ou falsifie. Merci.
 
 This message and its attachments may contain confidential or privileged 
 information that may be protected by law;
 they should not be distributed, used or copied without authorisation.
 If you have received this email in error, please notify the sender and delete 
 this message and its attachments.
 As emails may be altered, France Telecom - Orange is not liable for messages 
 that have been modified, changed or falsified.
 Thank you.
 



Re: Review Request: List API performance optimization part I.

2012-11-26 Thread Min Chen


 On Nov. 22, 2012, 12:33 a.m., Prachi Damle wrote:
  Looks good to me apart from changing interface name to match current format 
  - Also all our VO's refer zoneId as datacenterId - can we keep it uniform 
  in the views as well.
  Are we changing the ListVMsCmd and ListRoutersCmd to not use 
  @IdentityMapper? or will that be a separate change?
 
 Min Chen wrote:
 Yes, this also changes ListVmsCmd and ListRoutersCmd to not use 
 @IdentityMapper, since that is the main bottleneck for performance. This is 
 reflected in UserVmResponse and DomainRouterResponse class change. I can 
 change interface naming convention and zoneId to datacenterId.

Regarding your comments of zoneId and datacenterId, my understanding is a bit 
different. They are not the same, based on our Admin Documentation, A zone 
typically corresponds to a single datacenter, although it is permissible to 
have multiple zones in a datacenter. So it is possible to have multiple zones 
in one data center. In that sense, I think that zoneId is more accurate than 
datacenterId when we have more than one zones in one datacenter. However, I did 
notice that in our internal db schema, we use datacenter to represent zone 
concept. I guess that to avoid a broader change, I will have to change those 
fields (zoneId, zoneUuid, zoneName) to (dataCenterId, dataCenterUuid, 
dataCenterName).


- Min


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8172/#review13685
---


On Nov. 21, 2012, 6:54 p.m., Min Chen wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/8172/
 ---
 
 (Updated Nov. 21, 2012, 6:54 p.m.)
 
 
 Review request for cloudstack and Prachi Damle.
 
 
 Description
 ---
 
 This is part 1 of list API refactoring.
 Commands covered: listVmsCmd, listRoutersCmd
 Response covered: UserVmResponse, DomainRouterResponse.
 DB views created: user_vm_view, domain_router_view.
 
 
 This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-527.
 
 
 Diffs
 -
 
   api/src/com/cloud/api/ResponseGenerator.java 996a5fc 
   api/src/com/cloud/api/ResponseObject.java 2d08fb9 
   api/src/com/cloud/api/commands/ListRoutersCmd.java 8bf9ba8 
   api/src/com/cloud/api/commands/ListVMsCmd.java 2f6f988 
   api/src/com/cloud/api/response/BaseResponse.java e343a10 
   api/src/com/cloud/api/response/DomainRouterResponse.java d710aad 
   api/src/com/cloud/api/response/IControlledViewEntityResponse.java 
 PRE-CREATION 
   api/src/com/cloud/api/response/NicResponse.java 69d5c31 
   api/src/com/cloud/api/response/UserVmResponse.java f74c072 
   api/src/com/cloud/api/view/vo/DomainRouterJoinVO.java PRE-CREATION 
   api/src/com/cloud/api/view/vo/IControlledViewEntity.java PRE-CREATION 
   api/src/com/cloud/api/view/vo/UserVmJoinVO.java PRE-CREATION 
   api/src/com/cloud/server/ManagementService.java 7532cae 
   api/src/com/cloud/vm/UserVmService.java 02682b0 
   server/src/com/cloud/api/ApiDBUtils.java 418fe362 
   server/src/com/cloud/api/ApiResponseHelper.java caabd71 
   server/src/com/cloud/api/ApiServer.java a5c9ea5 
   server/src/com/cloud/api/response/ApiResponseSerializer.java dc15763 
   server/src/com/cloud/configuration/DefaultComponentLibrary.java 4edd402 
   server/src/com/cloud/server/ManagementServerImpl.java 117be57 
   server/src/com/cloud/user/AccountManager.java 90a34ad 
   server/src/com/cloud/user/AccountManagerImpl.java 0def008 
   server/src/com/cloud/vm/UserVmManager.java 4ce9bfe 
   server/src/com/cloud/vm/UserVmManagerImpl.java a2a548f 
   server/src/com/cloud/vm/dao/DomainRouterJoinDao.java PRE-CREATION 
   server/src/com/cloud/vm/dao/DomainRouterJoinDaoImpl.java PRE-CREATION 
   server/src/com/cloud/vm/dao/UserVmJoinDao.java PRE-CREATION 
   server/src/com/cloud/vm/dao/UserVmJoinDaoImpl.java PRE-CREATION 
   server/test/com/cloud/api/APITest.java PRE-CREATION 
   server/test/com/cloud/api/ListPerfTest.java PRE-CREATION 
   server/test/com/cloud/api/LoginResponse.java PRE-CREATION 
   server/test/com/cloud/keystore/KeystoreTest.java e0e2126 
   server/test/com/cloud/user/MockAccountManagerImpl.java 08234fd 
   server/test/com/cloud/vm/MockUserVmManagerImpl.java 35ee139 
   setup/db/create-schema.sql acbbc41 
   utils/src/com/cloud/utils/db/GenericDaoBase.java 8d5cb96 
 
 Diff: https://reviews.apache.org/r/8172/diff/
 
 
 Testing
 ---
 
 Create a performance unit test class to test the performance time.
 
 
 Thanks,
 
 Min Chen
 




[jira] [Created] (CLOUDSTACK-536) remove citrix cloudpatform from 4.0 build - CloudStack is ASF project

2012-11-26 Thread ilya musayev (JIRA)
ilya musayev created CLOUDSTACK-536:
---

 Summary: remove citrix cloudpatform from 4.0 build - CloudStack is 
ASF project
 Key: CLOUDSTACK-536
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-536
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Affects Versions: 4.0.0, 4.0.1
 Environment: CS 4.0 from http://cloudstack.apt-get.eu/rhel/4.0/

The rpms are:

cloud-utils-4.0.0-0.140.el6.4.0.x86_64
cloud-client-4.0.0-0.140.el6.4.0.x86_64
cloud-setup-4.0.0-0.140.el6.4.0.x86_64
cloud-scripts-4.0.0-0.140.el6.4.0.x86_64
cloud-deps-4.0.0-0.140.el6.4.0.x86_64
cloud-server-4.0.0-0.140.el6.4.0.x86_64
cloud-client-ui-4.0.0-0.140.el6.4.0.x86_64
cloud-python-4.0.0-0.140.el6.4.0.x86_64
cloud-core-4.0.0-0.140.el6.4.0.x86_64
cloud-usage-4.0.0-0.140.el6.4.0.x86_64
cloud-aws-api-4.0.0-0.140.el6.4.0.x86_64

Reporter: ilya musayev
Priority: Minor
 Fix For: 4.0.0, 4.0.1, 4.1.0


Please remove Citrix Logo and CloudPlaform from the UI page, files are (could 
be more):

rpm/deb release:
in /client/images/

logo-login.png
citrix-logo-darkbg.png
logo-cloudplatform.png

and possibly others that may contain Citrix CloudPlatform mention.

Also, please include the wording for CloudStack as Apache CloudStack in 
corresponding documentation and UI pages for CS ASF project.

Thank you
-ilya



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CLOUDSTACK-536) remove citrix cloudpatform from 4.0 build - CloudStack is ASF project

2012-11-26 Thread Brian Federle (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Federle reassigned CLOUDSTACK-536:


Assignee: Brian Federle

 remove citrix cloudpatform from 4.0 build - CloudStack is ASF project
 -

 Key: CLOUDSTACK-536
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-536
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Affects Versions: 4.0.0, 4.0.1
 Environment: CS 4.0 from http://cloudstack.apt-get.eu/rhel/4.0/
 The rpms are:
 cloud-utils-4.0.0-0.140.el6.4.0.x86_64
 cloud-client-4.0.0-0.140.el6.4.0.x86_64
 cloud-setup-4.0.0-0.140.el6.4.0.x86_64
 cloud-scripts-4.0.0-0.140.el6.4.0.x86_64
 cloud-deps-4.0.0-0.140.el6.4.0.x86_64
 cloud-server-4.0.0-0.140.el6.4.0.x86_64
 cloud-client-ui-4.0.0-0.140.el6.4.0.x86_64
 cloud-python-4.0.0-0.140.el6.4.0.x86_64
 cloud-core-4.0.0-0.140.el6.4.0.x86_64
 cloud-usage-4.0.0-0.140.el6.4.0.x86_64
 cloud-aws-api-4.0.0-0.140.el6.4.0.x86_64
Reporter: ilya musayev
Assignee: Brian Federle
Priority: Minor
 Fix For: 4.0.0, 4.0.1, 4.1.0


 Please remove Citrix Logo and CloudPlaform from the UI page, files are (could 
 be more):
 rpm/deb release:
 in /client/images/
 logo-login.png
 citrix-logo-darkbg.png
 logo-cloudplatform.png
 and possibly others that may contain Citrix CloudPlatform mention.
 Also, please include the wording for CloudStack as Apache CloudStack in 
 corresponding documentation and UI pages for CS ASF project.
 Thank you
 -ilya

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


RE: libvirt XML settings for KVM guests

2012-11-26 Thread Edison Su
Libvirt itself supports hook(http://libvirt.org/hooks.html), but seems it 
doesn't support change VM XML spec file.
I am thinking about adding a plugin system in kvm agent, before starting vm, 
kvm agent will call a python script, which can change vm xml file on the fly, 
then send the modified xml file to libvirt.

 -Original Message-
 From: DE Clay [mailto:dec...@zeromachine.net]
 Sent: Monday, November 26, 2012 6:32 AM
 To: cloudstack-dev@incubator.apache.org
 Subject: libvirt XML settings for KVM guests
 
 I would like to be able to change and persist libvirt XML settings for guests
 (similar to the way that VMware allows you to edit/change the VMX file).
 
 Example use cases would be to change the default drivers to virtio and also
 change qemu disk settings to other caching policies.
 
 It seems that now when I manually edit (via virsh edit), I lose those changes
 when the instance is stopped/restarted.
 
 Is there a way to do this now?
 
 --Daron
 --
 *
 Daron E. Clay, CTO
 ZeroMachine.net LLC
 Information Technology Architect
 VMware Certified Professional
 
 -
 Specializing in Cloud Computing Services and x86 Virtual Infrastructure
 Solutions
 -
 
 Phone: 970-769-4805
 Email: dec...@zeromachine.net
 Web: http://zeromachine.net
 *



Re: Integrating autoscale branch to master?

2012-11-26 Thread Chip Childers
On Thu, Nov 22, 2012 at 8:32 AM, Vijay Venkatachalam
vijay.venkatacha...@citrix.com wrote:
 Please use the link provided to download the NetScaler java API SDKs to build 
 non-oss NetScaler version of CloudStack.

 http://community.citrix.com/download/attachments/37847122/cloud-netscaler-jars.zip

 This is made available temporarily and would be deleted once the java APIs 
 become OSS.

Great, thanks!

Is there any news on the work to open source the netscaler libs?  Timing?

If it can be sorted out in time for our feature freeze for 4.1 (end of
Jan), I'd love to include support for netscaler in the default build
for that release.

 Also, with this upload the other repositories become obsolete. Please upload 
 this zip file to remain up to date.

 Thanks,
 Vijay V.


 -Original Message-
 From: Chip Childers [mailto:chip.child...@sungard.com]
 Sent: Wednesday, November 21, 2012 11:24 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Integrating autoscale branch to master?

 It does look like Wido is hosting the jars here:
 http://zooi.widodh.nl/cloudstack/build-dep/

 I found that link on this wiki page:
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+o
 n+master+branch

 On Wed, Nov 21, 2012 at 12:35 PM, Vijay Venkatachalam
 vijay.venkatacha...@citrix.com wrote:
 
  Is someone hosting the non-oss jars in a single place, I can share the 
  latest
 NetScaler jar file and we can update the repository(ies).
 
  Thanks,
  Vijay.
  -Original Message-
  From: Chip Childers [mailto:chip.child...@sungard.com]
  Sent: Wednesday, November 21, 2012 10:13 PM
  To: cloudstack-dev@incubator.apache.org
  Subject: Re: Integrating autoscale branch to master?
 
  Where can I access the appropriate Netscaler jar?  I'd like to test
  the module with the new additions, and the jar that I have from prior
  to the 4.0 release doesn't have several of the referenced classes.
 
  On Thu, Nov 15, 2012 at 11:44 AM, Ram Ganesh
 ram.gan...@citrix.com
  wrote:
   Any thoughts? Unless we hear otherwise would like to push the
 patches.
  This feature had been code complete for a very long time. If there
  are still concerns/opinions let us know and we can take steps to correct
 them.
  
   Thanks,
   Ram
  
  
   -Original Message-
   From: Ram Ganesh [mailto:ram.gan...@citrix.com]
   Sent: 15 November 2012 07:09
   To: cloudstack-dev@incubator.apache.org
   Subject: RE: Integrating autoscale branch to master?
  
   David,
  
   Can we go ahead with merge of AutoScale code into master? Are
   there any more open questions?
  
   Thanks,
   Ram
  
-Original Message-
From: Vijay Venkatachalam
[mailto:vijay.venkatacha...@citrix.com]
Sent: 13 November 2012 12:34
To: cloudstack-dev@incubator.apache.org
Subject: RE: Integrating autoscale branch to master?
   
   
My replies inline
   
Thanks,
Vijay V.
   
 -Original Message-
 From: David Nalley [mailto:da...@gnsa.us]
 Sent: Monday, October 15, 2012 7:42 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Integrating autoscale branch to master?

 On Fri, Oct 12, 2012 at 11:54 AM, Vijay Venkatachalam
 vijay.venkatacha...@citrix.com wrote:
  Ok I will keep changes ready, and will merge once 4.0's news
  is
declared.
 
  -Vijay V.
 

 Vijay,

 I haven't kept up with this recently so a couple of
questions/assumptions:

 1. Autoscale code will require NetScaler libraries right?
   
There are 2 parts to autoscale code.
A. AutoScale Manager and its services,
  This is part of the core. And has no No Netscaler jar dependency;
  This part is coded like any other NetworkServiceManager,
meaning
   any
network
  element can provide autoscale service.  So this part does not
have compile time
  dependency with NetScaler jar.
   
  If an autoscale provider (which is most likely already an LB
provider) does not exist
  in that network an error is thrown at run time.
  So for all oss builds (where Netscaler is not packaged and
cannot
   be
added
  to the infrastructure) we should get a run-time error when
configuring autoscale.
   
B. NetScaler Element and Netscaler Resource (which is part of
non-oss build today)
 has been enhanced to provide autoscale capability. Today only
 NetScaler does this, in future any network element can he
   enhanced
 to provide autoscale. This part already has NetScaler jar
dependency
 (and is considered non-oss today)  and will continue to
have NetScaler
  jar dependency.
   
   
 2. Is autoscale functionality modular enough that we can turn
building it
 on/off at will?
   
   
Short Answer, No.
Since AutoScale is like an addon to LB there are touch- points.
For example, when a LoadBalancerRule is deleted the AutoScale
entities created for it 

Error in cloud-console-proxy pom, when using Eclipse

2012-11-26 Thread Chip Childers
Hi all,

Is anyone else seeing this error in the maven config when looking in Eclipse?

Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (execution:
generate-resource, phase: generate-resources) pom.xml
/cloud-console-proxy line 124 Maven Project Build Lifecycle Mapping
Problem

I've found some references that describe how to provide m2e with
instructions for mapping the goals, but I wanted to check if I'm the
only one or not.  The fix, I think, requires me to check in some
changes to the pom that would provide m2e with instructions on
handling the config correctly.

-chip


[jira] [Created] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)
Jessica Wang created CLOUDSTACK-537:
---

 Summary: UI of Security Group support in Advance zone feature
 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang


UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


RE: awsapi with new maven build

2012-11-26 Thread Prachi Damle
Hi Likitha,

Check if the version set in the registration script matches the WSDL version of 
the deployment (in ec2-service.properties)

-Prachi 

-Original Message-
From: Likitha Shetty [mailto:likitha.she...@citrix.com] 
Sent: Monday, November 26, 2012 12:18 AM
To: cloudstack-dev@incubator.apache.org; srivatsav.prasa...@gmail.com
Subject: RE: awsapi with new maven build

I got the same 401 error while trying to register a user against AWSAPI. Once I 
added 'db.awsapi.name=cloudbridge' to utils/conf/db.properties this issue was 
resolved.



But now I am facing a new issue. When I try to register a user I get the 
following error, 'User registration failed with http error code: 531'.

In 'cloudbridge' DB the table 'usercredentials' contains the right values for 
'AccessKey' and 'SecretKey' (user keys are set correctly) but the CertUniqueId 
value is NULL.

awapi.log is empty and Jetty logs doesn't show any error either.



Any suggestions on how to resolve this ?



Thank you,

Likitha



-Original Message-
From: Sebastien Goasguen [mailto:run...@gmail.com]
Sent: Wednesday, November 14, 2012 9:54 PM
To: cloudstack-dev@incubator.apache.org; srivatsav.prasa...@gmail.com
Subject: Re: awsapi with new maven build





On Nov 14, 2012, at 4:44 PM, Prasanna Santhanam 
srivatsav.prasa...@gmail.commailto:srivatsav.prasa...@gmail.com wrote:



 Is cloud-management process already running? Try stop that?





I am only running:

mvn -pl :cloud-client-ui jetty:run

and

mvn -pl :cloud-awsapi jetty:run







 ~P.



 -Original Message-

 From: Sebastien Goasguen run...@gmail.com

 Date: Wed, 14 Nov 2012 16:31:36

 To: cloudstack-dev@incubator.apache.org

 Reply-To: cloudstack-dev@incubator.apache.org

 Subject: Re: awsapi with new maven build





 On Nov 14, 2012, at 4:09 PM, Charles Moulliard 
 ch0...@gmail.commailto:ch0...@gmail.com wrote:



 Hi Sebastien,



 You should create a cloud schema + cloud user on your Mac's

 MySQLServer





 I do have that. a cloud mysql user with cloud as password.

 cloud, cloud_usage, cloudbridge databases have been created.





 Regards,



 Charles





 On Wed, Nov 14, 2012 at 4:04 PM, Sebastien Goasguen 
 run...@gmail.commailto:run...@gmail.comwrote:



 Hi,



 I am testing the awsapi with the new maven build.

 Following:

 https://cwiki.apache.org/CLOUDSTACK/cloudstack-devcloud-environment-

 setup.html



 I run:

 mvn -pl :cloud-client-ui jetty:run

 and

 mvn -pl :cloud-awsapi jetty:run



 when I try to register a user it fails with a 401 error, and the

 jetty logs show:



 Caused by:

 com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

 : Could not create connection to database server. Attempted reconnect 3 
 times.

 Giving up.

   at

 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

 Method)

   at

 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

   at

 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

   at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

   at com.mysql.jdbc.Util.getInstance(Util.java:386)

   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1014)

   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988)

   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974)

   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)

   at

 com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2299)

   at

 com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2220)

   at com.mysql.jdbc.ConnectionImpl.init(ConnectionImpl.java:813)

   at com.mysql.jdbc.JDBC4Connection.init(JDBC4Connection.java:47)

   at

 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

 Method)

   at

 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

   at

 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

   at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

   at

 com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)

   at

 com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334)

   at java.sql.DriverManager.getConnection(DriverManager.java:582)

   at java.sql.DriverManager.getConnection(DriverManager.java:185)

   at

 org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)

   at

 org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)

   at

 org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)

   at

 

[jira] [Commented] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504004#comment-13504004
 ] 

Jessica Wang commented on CLOUDSTACK-537:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Author date:1 week ago (Fri Nov 16 13:07:32 2012)
Commit date:5 minutes ago (Mon Nov 26 11:18:49 2012)
Commit hash:e5ced5e4f4b4b6e9e130754334f57b21ffc23af8

CLOUDSTACK-537: cloudstack UI - zone wizard - Advanced zone with SG enabled - 
show Guest Traffic step with 5 fields (gateway, netmask, startIp, endIp, VLAN 
ID) and pass them to CreateNetwork API when creating default guest network.

Contained in branches: master
Contained in no tag

 UI of Security Group support in Advance zone feature
 --

 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang

 UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


new PPMC member:

2012-11-26 Thread David Nalley
The Podling Project Management Committee (PPMC) for Apache CloudStack
has asked Hugo to become a member of the PPMC and we are pleased to
announce that he has accepted.

Please join me in congratulating Hugo,

--David
on behalf of the CloudStack PPMC


Re: Review Request: List API performance optimization part I.

2012-11-26 Thread Min Chen

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8172/
---

(Updated Nov. 26, 2012, 7:53 p.m.)


Review request for cloudstack and Prachi Damle.


Changes
---

Addressed two comments in the new patch:
1) Rename IControlledViewEntity interface name to ControlledViewEntity
2) Rename all zone related field names to dataCenter prefixed names based on 
CloudStack convention.


Description
---

This is part 1 of list API refactoring.
Commands covered: listVmsCmd, listRoutersCmd
Response covered: UserVmResponse, DomainRouterResponse.
DB views created: user_vm_view, domain_router_view.


This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-527.


Diffs (updated)
-

  api/src/com/cloud/api/ResponseGenerator.java 996a5fc 
  api/src/com/cloud/api/ResponseObject.java 2d08fb9 
  api/src/com/cloud/api/commands/ListRoutersCmd.java 8bf9ba8 
  api/src/com/cloud/api/commands/ListVMsCmd.java 2f6f988 
  api/src/com/cloud/api/response/BaseResponse.java e343a10 
  api/src/com/cloud/api/response/DomainRouterResponse.java d710aad 
  api/src/com/cloud/api/response/IControlledViewEntityResponse.java 
PRE-CREATION 
  api/src/com/cloud/api/response/NicResponse.java 69d5c31 
  api/src/com/cloud/api/response/UserVmResponse.java f74c072 
  api/src/com/cloud/api/view/vo/ControlledViewEntity.java PRE-CREATION 
  api/src/com/cloud/api/view/vo/DomainRouterJoinVO.java PRE-CREATION 
  api/src/com/cloud/api/view/vo/UserVmJoinVO.java PRE-CREATION 
  api/src/com/cloud/server/ManagementService.java 7532cae 
  api/src/com/cloud/vm/UserVmService.java 02682b0 
  server/src/com/cloud/api/ApiDBUtils.java 418fe362 
  server/src/com/cloud/api/ApiResponseHelper.java caabd71 
  server/src/com/cloud/api/ApiServer.java a5c9ea5 
  server/src/com/cloud/api/response/ApiResponseSerializer.java dc15763 
  server/src/com/cloud/configuration/DefaultComponentLibrary.java 4edd402 
  server/src/com/cloud/server/ManagementServerImpl.java 117be57 
  server/src/com/cloud/user/AccountManager.java 90a34ad 
  server/src/com/cloud/user/AccountManagerImpl.java 0def008 
  server/src/com/cloud/vm/UserVmManager.java 4ce9bfe 
  server/src/com/cloud/vm/UserVmManagerImpl.java a2a548f 
  server/src/com/cloud/vm/dao/DomainRouterJoinDao.java PRE-CREATION 
  server/src/com/cloud/vm/dao/DomainRouterJoinDaoImpl.java PRE-CREATION 
  server/src/com/cloud/vm/dao/UserVmJoinDao.java PRE-CREATION 
  server/src/com/cloud/vm/dao/UserVmJoinDaoImpl.java PRE-CREATION 
  server/test/com/cloud/api/APITest.java PRE-CREATION 
  server/test/com/cloud/api/ListPerfTest.java PRE-CREATION 
  server/test/com/cloud/api/LoginResponse.java PRE-CREATION 
  server/test/com/cloud/keystore/KeystoreTest.java e0e2126 
  server/test/com/cloud/user/MockAccountManagerImpl.java 08234fd 
  server/test/com/cloud/vm/MockUserVmManagerImpl.java 35ee139 
  setup/db/create-schema.sql acbbc41 
  utils/src/com/cloud/utils/db/GenericDaoBase.java 8d5cb96 

Diff: https://reviews.apache.org/r/8172/diff/


Testing
---

Create a performance unit test class to test the performance time.


Thanks,

Min Chen



[jira] [Commented] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504043#comment-13504043
 ] 

Jessica Wang commented on CLOUDSTACK-537:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   54 seconds ago (Mon Nov 26 11:55:41 2012)
Commit hash:36d175126d6573179b92ca8326d5942042e1106c

CLOUDSTACK-537: cloudstack UI - zone wizard - (1) Advanced SG-Enabled zone: 
enable VirtualRouter and SecurityGroup provider. (2) Advanced SG-Disabled zone: 
enable VirtualRouter and VpcVirtualRouter provider.

Contained in branches: master
Contained in no tag

 UI of Security Group support in Advance zone feature
 --

 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang

 UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504045#comment-13504045
 ] 

Jessica Wang commented on CLOUDSTACK-537:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   19 seconds ago (Mon Nov 26 11:57:55 2012)
Commit hash:f97f9631d8e84415b0a8845ddbb65f12e3851689

CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - skip 
configuring public traffic type.

Contained in branches: master
Contained in no tag

 UI of Security Group support in Advance zone feature
 --

 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang

 UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504047#comment-13504047
 ] 

Jessica Wang commented on CLOUDSTACK-537:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   24 seconds ago (Mon Nov 26 11:59:52 2012)
Commit hash:759d434ba3405a560edcbf50b50e5e7e2665fe9d

CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - hide 
public traffic step.

Contained in branches: master
Contained in no tag

 UI of Security Group support in Advance zone feature
 --

 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang

 UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: new PPMC member:

2012-11-26 Thread Sebastien Goasguen
Congratulations Hugo, well deserved

-Sebastien

On Nov 26, 2012, at 8:49 PM, David Nalley da...@gnsa.us wrote:

 The Podling Project Management Committee (PPMC) for Apache CloudStack
 has asked Hugo to become a member of the PPMC and we are pleased to
 announce that he has accepted.
 
 Please join me in congratulating Hugo,
 
 --David
 on behalf of the CloudStack PPMC



Backport UI fixes to 4.0.1

2012-11-26 Thread Musayev, Ilya
jzb - below is the list of bugs that should be minimally impacting and are UI 
changes


Least intrusive - UI Changes 
---
CLOUDSTACK-474  
Create NetworkOffering wizard should provide dropdown for LB isolation when LB 
is set to External devices  guest_type is set to Shared
---
CLOUDSTACK-475  
cloudstack UI - create network offering - Hide VPC checkbox when Guest Type is 
Shared. Show it when Guest Type is Isolated.

CLOUDSTACK-476  
cloudstack UI - create network offering - Supported Source NAT type dropdown - 
set Per zone as default option.

CLOUDSTACK-477  
cloudstack UI - zone wizard - When Advanced/SecurityGroup is selected, pass 
forVirtualNetwork=false to createVlanIpRange API.

CLOUDSTACK-439
Alert with typo and outdated text regarding direct attached public IPs


Additional least intrusive nice to haves


CLOUDSTACK-523
When adding Vms to an LB rule , when there are vms with display name that were 
provided by user and autogenearated uuid , the list vm screen extends beyond 
the frames original width..

CLOUDSTACK-459  
[Optional Public IP assignment for EIP with Basic Zone] Associate IP Checkbox 
in Create Network Offering Dialog is Displayed When Elastic LB is Selected



I will file more bug reports that I was under impression - have been addressed 
by above- but as I reviewed the bug details - I don't believe they have been 
addressed.

Thanks
ilya





RE: new PPMC member:

2012-11-26 Thread Animesh Chaturvedi
Congratulations Hugo

Animesh

-Original Message-
From: David Nalley [mailto:da...@gnsa.us] 
Sent: Monday, November 26, 2012 11:49 AM
To: cloudstack-dev@incubator.apache.org
Subject: new PPMC member:

The Podling Project Management Committee (PPMC) for Apache CloudStack has asked 
Hugo to become a member of the PPMC and we are pleased to announce that he has 
accepted.

Please join me in congratulating Hugo,

--David
on behalf of the CloudStack PPMC


RE: Test Case Management tool

2012-11-26 Thread Animesh Chaturvedi
Sudha

Testlink is available in Jenkins as a plugin 
https://wiki.jenkins-ci.org/display/JENKINS/TestLink+Plugin


Thanks
Animesh

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com] 
Sent: Monday, November 26, 2012 7:49 AM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Test Case Management tool

Yes Chip. We started to use Test Link. If Apache has some infrastructure 
already in place, extending it to Cloustack would be best option. If not we can 
use Test link.  It has standard export and import options. 

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com]
Sent: Monday, November 26, 2012 7:01 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Test Case Management tool

On Sat, Nov 24, 2012 at 5:10 PM, Sudha Ponnaganti sudha.ponnaga...@citrix.com 
wrote:
 Hi All,

 Wanted to check if Apache has any TCM software available for us to use.
 If not can we use Test Link?? https://www.facebook.com/MyTestlink

 Currently we are posting test cases on wiki but may not be efficient 
 as we grow

 Thanks
 /Sudha

Sudha,

After searching, I haven't been able to find one.  I've actually used Jira in 
the past for this, but it's clunky and repetitive (so I don't recommend we do 
it that way).

If we were to use Test Link, it would require hosting it somewhere, right?  Is 
that what Citrix currently uses internally?  What sort of data import options 
would we have available (or are you thinking we would manually enter the test 
cases into whatever tool is selected)?

-chip


[jira] [Commented] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504089#comment-13504089
 ] 

Jessica Wang commented on CLOUDSTACK-537:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   18 minutes ago (Mon Nov 26 12:45:47 2012)
Commit hash:7d89d928d9799bed968568002901e6ee34d7135d

CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - 
physical network step - remove public traffic from droppable container.

Contained in branches: master
Contained in no tag

 UI of Security Group support in Advance zone feature
 --

 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang

 UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504090#comment-13504090
 ] 

Jessica Wang commented on CLOUDSTACK-537:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   1 minute ago (Mon Nov 26 13:03:27 2012)
Commit hash:af79da5d80ed9f6ce723860ba2b344a31743b3c5

CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - VM wizard - (1) step 
5 - Show Security Groups instead of networks. (2) When Launch button is hit, 
Programmatically find a Shared network with Security Group in the selected 
zone, then pass it to deployVirtualMachine API.

Contained in branches: master
Contained in no tag

 UI of Security Group support in Advance zone feature
 --

 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang

 UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: new PPMC member:

2012-11-26 Thread Ahmad Emneina
On 11/26/12 11:49 AM, David Nalley da...@gnsa.us wrote:

The Podling Project Management Committee (PPMC) for Apache CloudStack
has asked Hugo to become a member of the PPMC and we are pleased to
announce that he has accepted.

Please join me in congratulating Hugo,

--David
on behalf of the CloudStack PPMC


Excellent news, and well deserved.

-- 
Æ





[jira] [Commented] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504095#comment-13504095
 ] 

Jessica Wang commented on CLOUDSTACK-537:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   41 seconds ago (Mon Nov 26 13:06:30 2012)
Commit hash:811c904fc34bd3608dacbaf7b4e2892e0af524d8

CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - 
network offering dropdown - populate only network offerings that include 
SecurityGroup service.

Contained in branches: master
Contained in no tag

 UI of Security Group support in Advance zone feature
 --

 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang

 UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504097#comment-13504097
 ] 

Jessica Wang commented on CLOUDSTACK-537:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   40 seconds ago (Mon Nov 26 13:08:30 2012)
Commit hash:080a2dc9c5043ad600ce632c3904c236e9f19c1b

CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - 
network offering dropdown - exclude network offerings that include EIP, ELB 
service.

Contained in branches: master
Contained in no tag

 UI of Security Group support in Advance zone feature
 --

 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang

 UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504099#comment-13504099
 ] 

Jessica Wang commented on CLOUDSTACK-537:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   43 seconds ago (Mon Nov 26 13:10:44 2012)
Commit hash:b94981343813a8698a9e4818d70e444873f684d3

CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Infrastructure menu 
- zone detail - physical network - guest - network tab - crate network dailog - 
scope dropdown - list only Accounts option if it's for an Advanced SG-enabled 
zone.

Contained in branches: master
Contained in no tag

 UI of Security Group support in Advance zone feature
 --

 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang

 UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-537) UI of Security Group support in Advance zone feature

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504102#comment-13504102
 ] 

Jessica Wang commented on CLOUDSTACK-537:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   37 seconds ago (Mon Nov 26 13:12:41 2012)
Commit hash:1fb80fc6ce70fd11f956c0cfedc337bc8bff87a8

CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Network menu - guest 
network section - (1) hide create network button if there is no Advacned 
SG-disabled zones. (2) create network dialog - zone dropdown - populate only 
Advacned SG-disabled zones.

Contained in branches: master
Contained in no tag

 UI of Security Group support in Advance zone feature
 --

 Key: CLOUDSTACK-537
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-537
 Project: CloudStack
  Issue Type: New Feature
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang

 UI of Security Group support in Advance zone feature

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CLOUDSTACK-538) cloudstack UI - Acquire IP addresses button should not be there in UI for basic zone without EIP, ELB

2012-11-26 Thread Jessica Wang (JIRA)
Jessica Wang created CLOUDSTACK-538:
---

 Summary: cloudstack UI - Acquire IP addresses button should not 
be there in UI for basic zone without EIP, ELB
 Key: CLOUDSTACK-538
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-538
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CLOUDSTACK-539) Cropped Text in UI under Quick View

2012-11-26 Thread Pranav Saxena (JIRA)
Pranav Saxena created CLOUDSTACK-539:


 Summary: Cropped Text in UI under Quick View
 Key: CLOUDSTACK-539
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-539
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Pranav Saxena
Priority: Critical
 Fix For: 4.0.1


If text length is more than 48 characters in length; text gets cropped. 
Based on observation single line on Quick View accommodates 48 Characters. 
While actually 51 characters are being rendered on single line. Which results 
in cropping of last 3 characters. 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CLOUDSTACK-539) Cropped Text in UI under Quick View

2012-11-26 Thread Pranav Saxena (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pranav Saxena reassigned CLOUDSTACK-539:


Assignee: Pranav Saxena

 Cropped Text in UI under Quick View
 ---

 Key: CLOUDSTACK-539
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-539
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Pranav Saxena
Assignee: Pranav Saxena
Priority: Critical
 Fix For: 4.0.1


 If text length is more than 48 characters in length; text gets cropped. 
 Based on observation single line on Quick View accommodates 48 Characters. 
 While actually 51 characters are being rendered on single line. Which results 
 in cropping of last 3 characters. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-539) Cropped Text in UI under Quick View

2012-11-26 Thread Pranav Saxena (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504112#comment-13504112
 ] 

Pranav Saxena commented on CLOUDSTACK-539:
--

Commit ID - Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/eaa05f06


 Cropped Text in UI under Quick View
 ---

 Key: CLOUDSTACK-539
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-539
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Pranav Saxena
Assignee: Pranav Saxena
Priority: Critical
 Fix For: 4.0.1


 If text length is more than 48 characters in length; text gets cropped. 
 Based on observation single line on Quick View accommodates 48 Characters. 
 While actually 51 characters are being rendered on single line. Which results 
 in cropping of last 3 characters. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CLOUDSTACK-539) Cropped Text in UI under Quick View

2012-11-26 Thread Pranav Saxena (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pranav Saxena resolved CLOUDSTACK-539.
--

Resolution: Fixed

 Cropped Text in UI under Quick View
 ---

 Key: CLOUDSTACK-539
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-539
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Pranav Saxena
Assignee: Pranav Saxena
Priority: Critical
 Fix For: 4.0.1


 If text length is more than 48 characters in length; text gets cropped. 
 Based on observation single line on Quick View accommodates 48 Characters. 
 While actually 51 characters are being rendered on single line. Which results 
 in cropping of last 3 characters. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Iliya (JIRA)
Iliya created CLOUDSTACK-540:


 Summary: KVM network trouble 
 Key: CLOUDSTACK-540
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-540
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
 Environment: 2x Node CentOS 6.3
1x node Cloudstack 4.0.0.1234
Hypervisor: KVM
Primary: CLVM
Reporter: Iliya


I setup the advanced setup. 

cloudbrm - private
cloudbr0 - guest
cloudbr1 - public

VLAN50 - public
VLAN500-1000 - guest 

I created an instance (template CentOS 5.5(64-bit) no GUI (KVM)) and added a 
new network (DefaultIsolatedNetworkOfferingWithSourceNatService) in step 5 of 
the wizard. This network is deployed in  cloudVirBr700

bh1 - 1 KVM host
bh2 - 2 KVM host

The VM booted successfully, but when router and vm is same host - ping good.

When router on bh1 and vm on bh2 network wasn't reachable:
1. The VM couldn't ping the public network gateway
2. The VM couldn't ping the Virtual Router
3. The Virtual Router couldn't ping the VM

When tcpdump-ing cloudVirBr700 on the bh1 KVM host, I noticed ICMP echo 
requests, but no reply's.

I also noticed there were no iptables rules regarding cloudVirBr700. it's good 
or no? 

[root@bh2 1234]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:53
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:53
ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:67
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:67

Chain FORWARD (policy ACCEPT)
target prot opt source   destination
ACCEPT all  --  0.0.0.0/0192.168.122.0/24state 
RELATED,ESTABLISHED
ACCEPT all  --  192.168.122.0/24 0.0.0.0/0
ACCEPT all  --  0.0.0.0/00.0.0.0/0
REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
icmp-port-unreachable
REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination
[root@bh2 1234]#


[root@bh2 1234]# brctl show
bridge name bridge id   STP enabled interfaces
cloud0  8000.fe00a9fe03da   no  vnet1
cloudVirBr508000.707be8f0d200   no  bond2.50
vnet2
cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
vnet0
cloudbr08000.fc48ef2fbd38   yes bond1
cloudbr18000.707be8f0d200   yes bond2
cloudbrm8000.fc48ef2fbd38   no  bond1.40
virbr0  8000.525400c8b796   yes virbr0-nic
[root@bh2 1234]#

it's freesh installation. 
i try it on 4.0.0.140 and 4.0.0.1234 releases the problem is the same everywhere

[root@bh2 cloud]# tail -100 security_group.log
2012-11-27 00:39:23,025 - Cleaned up rules for 0 chains
2012-11-27 00:39:24,049 - iptables-save | grep '^:' | grep -v '.*-def' | grep 
-v '.*-eg' | awk '{print $1}' | cut -d':' -f2
2012-11-27 00:39:24,055 - ebtables-save |grep :i |awk '{print $1}' |sed -e 
's/\-in//g' |sed -e 's/\-out//g' |sed -e 's/^://g'
2012-11-27 00:39:24,069 - Cleaned up rules for 0 chains
2012-11-27 01:01:41,150 - iptables-save | grep BF | grep r-4 | grep 
physdev-is-bridged | sed 's/-A/-D/'
2012-11-27 01:01:41,156 - ebtables -t nat -L PREROUTING | grep r-4-VM
2012-11-27 01:01:41,161 - ebtables -t nat -L POSTROUTING | grep r-4-VM
2012-11-27 01:01:41,166 - ebtables -t nat -F r-4-VM-in
2012-11-27 01:01:41,169 - Ignoring failure to delete ebtables chain for vm 
r-4-VM
2012-11-27 01:01:41,170 - ebtables -t nat -F r-4-VM-out
2012-11-27 01:01:41,174 - Ignoring failure to delete ebtables chain for vm 
r-4-VM
2012-11-27 01:01:41,174 - iptables -F r-4-def
2012-11-27 01:01:41,178 - Ignoring failure to delete  chain r-4-def
2012-11-27 01:01:41,178 - iptables -X r-4-def
2012-11-27 01:01:41,182 - Ignoring failure to delete  chain r-4-def
2012-11-27 01:01:41,182 - iptables -F r-4-VM
2012-11-27 01:01:41,186 - Ignoring failure to delete  chain r-4-VM
2012-11-27 01:01:41,186 - iptables -X r-4-VM
2012-11-27 01:01:41,190 - Ignoring failure to delete  chain r-4-VM
2012-11-27 01:01:41,190 - iptables -F r-4-VM-eg
2012-11-27 01:01:41,193 - Ignoring failure to delete  chain r-4-VM-eg
2012-11-27 01:01:41,194 - iptables -X r-4-VM-eg
2012-11-27 01:01:41,197 - Ignoring failure to delete  chain r-4-VM-eg
2012-11-27 01:01:41,197 - iptables -t nat -S | grep vnet0 | sed 's/-A/-D/'
2012-11-27 01:01:41,202 - iptables -t nat
2012-11-27 01:01:41,205 - Igoring failure to delete dnat:
2012-11-27 01:01:41,206 - Failed to delete rule log file 
/var/run/cloud/r-4-VM.log

Re: new PPMC member:

2012-11-26 Thread Joe Brockmeier
On Mon, Nov 26, 2012, at 01:49 PM, David Nalley wrote:
 The Podling Project Management Committee (PPMC) for Apache CloudStack
 has asked Hugo to become a member of the PPMC and we are pleased to
 announce that he has accepted.
 
 Please join me in congratulating Hugo,

Congratulations, Hugo!

-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


[jira] [Commented] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Marcus Sorensen (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504131#comment-13504131
 ] 

Marcus Sorensen commented on CLOUDSTACK-540:


What do you see in '/proc/sys/net/bridge/bridge-nf-call-*'?

I would also try bringing up an IP address on your cloudVirBr700 (that's where 
the vm is, right?) on both bh1 and bh2, see if they can ping. If not then it's 
probably a switch/port config issue and needing to add the tagged vlans to the 
ports. If the two bridges can ping each other, then it's likely some sort of 
filtering at the host.



 KVM network trouble 
 

 Key: CLOUDSTACK-540
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-540
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
 Environment: 2x Node CentOS 6.3
 1x node Cloudstack 4.0.0.1234
 Hypervisor: KVM
 Primary: CLVM
Reporter: Iliya

 I setup the advanced setup. 
 cloudbrm - private
 cloudbr0 - guest
 cloudbr1 - public
 VLAN50 - public
 VLAN500-1000 - guest 
 I created an instance (template CentOS 5.5(64-bit) no GUI (KVM)) and added a 
 new network (DefaultIsolatedNetworkOfferingWithSourceNatService) in step 5 of 
 the wizard. This network is deployed in  cloudVirBr700
 bh1 - 1 KVM host
 bh2 - 2 KVM host
 The VM booted successfully, but when router and vm is same host - ping good.
 When router on bh1 and vm on bh2 network wasn't reachable:
 1. The VM couldn't ping the public network gateway
 2. The VM couldn't ping the Virtual Router
 3. The Virtual Router couldn't ping the VM
 When tcpdump-ing cloudVirBr700 on the bh1 KVM host, I noticed ICMP echo 
 requests, but no reply's.
 I also noticed there were no iptables rules regarding cloudVirBr700. it's 
 good or no? 
 [root@bh2 1234]# iptables -L -n
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:53
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:53
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:67
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:67
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 ACCEPT all  --  0.0.0.0/0192.168.122.0/24state 
 RELATED,ESTABLISHED
 ACCEPT all  --  192.168.122.0/24 0.0.0.0/0
 ACCEPT all  --  0.0.0.0/00.0.0.0/0
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination
 [root@bh2 1234]#
 [root@bh2 1234]# brctl show
 bridge name bridge id   STP enabled interfaces
 cloud0  8000.fe00a9fe03da   no  vnet1
 cloudVirBr508000.707be8f0d200   no  bond2.50
 vnet2
 cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
 vnet0
 cloudbr08000.fc48ef2fbd38   yes bond1
 cloudbr18000.707be8f0d200   yes bond2
 cloudbrm8000.fc48ef2fbd38   no  bond1.40
 virbr0  8000.525400c8b796   yes virbr0-nic
 [root@bh2 1234]#
 it's freesh installation. 
 i try it on 4.0.0.140 and 4.0.0.1234 releases the problem is the same 
 everywhere
 [root@bh2 cloud]# tail -100 security_group.log
 2012-11-27 00:39:23,025 - Cleaned up rules for 0 chains
 2012-11-27 00:39:24,049 - iptables-save | grep '^:' | grep -v '.*-def' | grep 
 -v '.*-eg' | awk '{print $1}' | cut -d':' -f2
 2012-11-27 00:39:24,055 - ebtables-save |grep :i |awk '{print $1}' |sed -e 
 's/\-in//g' |sed -e 's/\-out//g' |sed -e 's/^://g'
 2012-11-27 00:39:24,069 - Cleaned up rules for 0 chains
 2012-11-27 01:01:41,150 - iptables-save | grep BF | grep r-4 | grep 
 physdev-is-bridged | sed 's/-A/-D/'
 2012-11-27 01:01:41,156 - ebtables -t nat -L PREROUTING | grep r-4-VM
 2012-11-27 01:01:41,161 - ebtables -t nat -L POSTROUTING | grep r-4-VM
 2012-11-27 01:01:41,166 - ebtables -t nat -F r-4-VM-in
 2012-11-27 01:01:41,169 - Ignoring failure to delete ebtables chain for vm 
 r-4-VM
 2012-11-27 01:01:41,170 - ebtables -t nat -F r-4-VM-out
 2012-11-27 01:01:41,174 - Ignoring failure to delete ebtables chain for vm 
 r-4-VM
 2012-11-27 01:01:41,174 - iptables -F r-4-def
 2012-11-27 01:01:41,178 - Ignoring failure to delete  chain r-4-def
 2012-11-27 01:01:41,178 - iptables -X r-4-def
 2012-11-27 01:01:41,182 - Ignoring failure to delete  chain r-4-def
 2012-11-27 01:01:41,182 - 

Re: Review Request: S3-backed Secondary Storage

2012-11-26 Thread John Burwell

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8123/
---

(Updated Nov. 26, 2012, 9:44 p.m.)


Review request for cloudstack.


Changes
---

- Removes trailing whitespace
- Removes tab characters
- Remerged NfsSecondaryStorageResource, SnapshotManagerImpl, 
TemplateManagerImpl, and GlobalLock to remove inadvertent changes caused by IDE 
reformatting -- the patch is now roughly half the size as previously submitted 
revisions
- Makes the s3xen plugin PEP-8 compliant


Description
---

Backs NFS-based secondary storage with an S3-compatible object store. 
Periodically, a reaper thread synchronizes templates and ISOs stored on a NFS 
secondary storage mount with a configured S3 object store. It also pushes 
snapshots to the object store when they are created and downloads them in other 
zones on-demand. In addition to permitting the use of commodity or IaaS storage 
solutions for static assets, it provides a means of automatically synchronizing 
template and ISO assets across multiple zones.

For more information about the design of the patch, please see the design 
document 
(https://cwiki.apache.org/confluence/display/CLOUDSTACK/S3-backed+Secondary+Storage).


This addresses bug CLOUDSTACK-509.


Diffs (updated)
-

  .gitignore 33f95c7 
  api/src/com/cloud/agent/api/BackupSnapshotCommand.java 9476d7d 
  api/src/com/cloud/agent/api/DeleteSnapshotBackupCommand.java 3fa8c2b 
  api/src/com/cloud/agent/api/DeleteTemplateFromS3Command.java PRE-CREATION 
  api/src/com/cloud/agent/api/DownloadSnapshotFromS3Command.java PRE-CREATION 
  
api/src/com/cloud/agent/api/DownloadTemplateFromS3ToSecondaryStorageCommand.java
 PRE-CREATION 
  
api/src/com/cloud/agent/api/UploadTemplateToS3FromSecondaryStorageCommand.java 
PRE-CREATION 
  api/src/com/cloud/agent/api/to/S3TO.java PRE-CREATION 
  api/src/com/cloud/api/ApiConstants.java 78a3ded 
  api/src/com/cloud/api/ResponseGenerator.java 4e8fbd8 
  api/src/com/cloud/api/commands/AddS3Cmd.java PRE-CREATION 
  api/src/com/cloud/api/commands/ListS3sCmd.java PRE-CREATION 
  api/src/com/cloud/api/response/S3Response.java PRE-CREATION 
  api/src/com/cloud/resource/ResourceService.java 1065453 
  api/src/com/cloud/storage/S3.java PRE-CREATION 
  build/package.xml 09ed939 
  client/WEB-INF/classes/resources/messages.properties 626e44a 
  client/tomcatconf/commands.properties.in 149547e 
  core/pom.xml 15f0f7b 
  core/src/com/cloud/storage/S3VO.java PRE-CREATION 
  core/src/com/cloud/storage/SnapshotVO.java 08dfafa 
  core/src/com/cloud/storage/VMTemplateS3VO.java PRE-CREATION 
  core/src/com/cloud/storage/resource/NfsSecondaryStorageResource.java 155210d 
  patches/systemvm/debian/config/etc/sysctl.conf 7f945b0 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
 d2db85c 
  pom.xml 4a4276e 
  scripts/vm/hypervisor/xenserver/s3xen PRE-CREATION 
  scripts/vm/hypervisor/xenserver/xenserver56/patch d485414 
  scripts/vm/hypervisor/xenserver/xenserver56fp1/patch 9fe9740 
  scripts/vm/hypervisor/xenserver/xenserver60/patch f049109 
  server/pom.xml e3308d8 
  server/src/com/cloud/api/ApiDBUtils.java 3b5f634 
  server/src/com/cloud/api/ApiDispatcher.java dfe4a1f 
  server/src/com/cloud/api/ApiResponseHelper.java ebe8415 
  server/src/com/cloud/api/doc/ApiXmlDocWriter.java d31ef5a 
  server/src/com/cloud/configuration/Config.java 66ac276 
  server/src/com/cloud/configuration/ConfigurationManagerImpl.java ef940e8 
  server/src/com/cloud/configuration/DefaultComponentLibrary.java ef61044 
  server/src/com/cloud/resource/ResourceManagerImpl.java ced601b 
  server/src/com/cloud/storage/StorageManagerImpl.java e252633 
  server/src/com/cloud/storage/dao/S3Dao.java PRE-CREATION 
  server/src/com/cloud/storage/dao/S3DaoImpl.java PRE-CREATION 
  server/src/com/cloud/storage/dao/VMTemplateDao.java f5b6913 
  server/src/com/cloud/storage/dao/VMTemplateDaoImpl.java 2a0dfc8 
  server/src/com/cloud/storage/dao/VMTemplateS3Dao.java PRE-CREATION 
  server/src/com/cloud/storage/dao/VMTemplateS3DaoImpl.java PRE-CREATION 
  server/src/com/cloud/storage/s3/S3Manager.java PRE-CREATION 
  server/src/com/cloud/storage/s3/S3ManagerImpl.java PRE-CREATION 
  server/src/com/cloud/storage/snapshot/SnapshotManager.java a10298e 
  server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java 32e37e6 
  server/src/com/cloud/template/S3SyncTask.java PRE-CREATION 
  server/src/com/cloud/template/TemplateManagerImpl.java 1e87de2 
  setup/db/create-schema.sql fff084e 
  setup/db/db/schema-40to410.sql PRE-CREATION 
  tools/apidoc/gen_toc.py eeaf2a2 
  tools/marvin/marvin/cloudstackConnection.py c805213 
  tools/marvin/marvin/deployDataCenter.py bdf08cc 
  ui/dictionary.jsp b80e296 
  ui/scripts/cloudStack.js de3bd73 
  ui/scripts/sharedFunctions.js b6b3ef8 
  ui/scripts/system.js 9e3932f 
  ui/scripts/templates.js 

RE: new PPMC member:

2012-11-26 Thread Rohit Yadav
Congrats Hugo!

Regards.

From: David Nalley [da...@gnsa.us]
Sent: Tuesday, November 27, 2012 1:19 AM
To: cloudstack-dev@incubator.apache.org
Subject: new PPMC member:

The Podling Project Management Committee (PPMC) for Apache CloudStack
has asked Hugo to become a member of the PPMC and we are pleased to
announce that he has accepted.

Please join me in congratulating Hugo,

--David
on behalf of the CloudStack PPMC


RE: Backport UI fixes to 4.0.1

2012-11-26 Thread Pranav Saxena
Few of the bugs mentioned below have been fixed by me and the code changes have 
been pushed into asf/master . The remaining ones also seem to have been 
addressed . Could you please verify once more ?

Thanks  Regards,
Pranav

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: Monday, November 26, 2012 12:11 PM
To: cloudstack-dev@incubator.apache.org
Subject: Backport UI fixes to 4.0.1

jzb - below is the list of bugs that should be minimally impacting and are UI 
changes


Least intrusive - UI Changes 
---
CLOUDSTACK-474  
Create NetworkOffering wizard should provide dropdown for LB isolation when LB 
is set to External devices  guest_type is set to Shared
---
CLOUDSTACK-475  
cloudstack UI - create network offering - Hide VPC checkbox when Guest Type is 
Shared. Show it when Guest Type is Isolated.

CLOUDSTACK-476  
cloudstack UI - create network offering - Supported Source NAT type dropdown - 
set Per zone as default option.

CLOUDSTACK-477  
cloudstack UI - zone wizard - When Advanced/SecurityGroup is selected, pass 
forVirtualNetwork=false to createVlanIpRange API.

CLOUDSTACK-439
Alert with typo and outdated text regarding direct attached public IPs


Additional least intrusive nice to haves


CLOUDSTACK-523
When adding Vms to an LB rule , when there are vms with display name that were 
provided by user and autogenearated uuid , the list vm screen extends beyond 
the frames original width..

CLOUDSTACK-459  
[Optional Public IP assignment for EIP with Basic Zone] Associate IP Checkbox 
in Create Network Offering Dialog is Displayed When Elastic LB is Selected



I will file more bug reports that I was under impression - have been addressed 
by above- but as I reviewed the bug details - I don't believe they have been 
addressed.

Thanks
ilya





[jira] [Resolved] (CLOUDSTACK-538) cloudstack UI - Acquire IP addresses button should not be there in UI for basic zone without EIP, ELB

2012-11-26 Thread Jessica Wang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jessica Wang resolved CLOUDSTACK-538.
-

Resolution: Fixed

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Author date:4 minutes ago (Mon Nov 26 13:51:02 2012)
Commit date:3 minutes ago (Mon Nov 26 13:52:19 2012)
Commit hash:7f40eef9200cd6b799db7059b203f150500778e2

CLOUDSTACK-538: cloudstack UI - IP Addresses page - Acquire New IP button - If 
it's under a Basic zone, check whether its network offering is EIP ELB. If yes, 
show the button. If no, hide the button.

Contained in branches: master
Contained in no tag

 cloudstack UI - Acquire IP addresses button should not be there in UI for 
 basic zone without EIP, ELB
 ---

 Key: CLOUDSTACK-538
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-538
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: new PPMC member:

2012-11-26 Thread Alena Prokharchyk
Hugo, congratulations!

-Alena.

On 11/26/12 11:49 AM, David Nalley da...@gnsa.us wrote:

The Podling Project Management Committee (PPMC) for Apache CloudStack
has asked Hugo to become a member of the PPMC and we are pleased to
announce that he has accepted.

Please join me in congratulating Hugo,

--David
on behalf of the CloudStack PPMC





[jira] [Created] (CLOUDSTACK-541) cloudstack UI - Network menu - Guest Network section - network detailPanel - show View IP Addresses icon regardless of having SourceNAT service or not.

2012-11-26 Thread Jessica Wang (JIRA)
Jessica Wang created CLOUDSTACK-541:
---

 Summary: cloudstack UI - Network menu - Guest Network section - 
network detailPanel - show View IP Addresses icon regardless of having 
SourceNAT service or not.
 Key: CLOUDSTACK-541
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-541
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CLOUDSTACK-541) cloudstack UI - Network menu - Guest Network section - network detailPanel - show View IP Addresses icon regardless of having SourceNAT service or not.

2012-11-26 Thread Jessica Wang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jessica Wang resolved CLOUDSTACK-541.
-

Resolution: Fixed

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   37 seconds ago (Mon Nov 26 14:05:26 2012)
Commit hash:08bd175d5661dad29b099c605de7f40b171eb07b

CLOUDSTACK-541: cloudstack UI - Network menu - Guest Network section - network 
detailPanel - show View IP Addresses icon regardless of having SourceNAT 
service or not.

Contained in branches: master
Contained in no tag

 cloudstack UI - Network menu - Guest Network section - network detailPanel - 
 show View IP Addresses icon regardless of having SourceNAT service or not.
 -

 Key: CLOUDSTACK-541
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-541
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Iliya (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504173#comment-13504173
 ] 

Iliya commented on CLOUDSTACK-540:
--

Thnx Marcus.

in sysctl.conf
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-arptables
0
[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-ip6tables
0
[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-iptables
0


[root@bh1 run]# brctl show
bridge name bridge id   STP enabled interfaces
cloud0  8000.fe00a9fe01ff   no  vnet0
vnet4
cloudVirBr508000.707be8f0d202   no  bond2.50
vnet2
vnet6
cloudVirBr700   8000.fc48ef2fbd44   no  bond1.700
vnet7
cloudbr08000.fc48ef2fbd44   yes bond1
cloudbr18000.707be8f0d202   yes bond2
cloudbrm8000.fc48ef2fbd44   no  bond1.40
vnet1
vnet3
vnet5
virbr0  8000.525400d54daf   yes virbr0-nic
[root@bh1 run]#

[root@bh2 run]# brctl show
bridge name bridge id   STP enabled interfaces
cloud0  8000.fe00a9fe011c   no  vnet1
cloudVirBr508000.707be8f0d200   no  bond2.50
vnet2
cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
vnet0
cloudbr08000.fc48ef2fbd38   yes bond1
cloudbr18000.707be8f0d200   yes bond2
cloudbrm8000.fc48ef2fbd38   no  bond1.40
virbr0  8000.525400c8b796   yes virbr0-nic
[root@bh2 run]#

[root@bh2 run]# ifconfig bond1.700 10.1.1.1 netmask 255.255.255.0 up
[root@bh1 run]# ifconfig bond1.700 10.1.1.2 netmask 255.255.255.0 up

[root@bh2 run]# ping 10.1.1.2
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
^C
--- 10.1.1.2 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1872ms


Rules :
-A BF-cloudVirBr700 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A BF-cloudVirBr700 -m physdev --physdev-is-in --physdev-is-bridged -j 
BF-cloudVirBr700-IN
-A BF-cloudVirBr700 -m physdev --physdev-is-out --physdev-is-bridged -j 
BF-cloudVirBr700-OUT
-A BF-cloudVirBr700 -m physdev --physdev-out eth0 --physdev-is-bridged -j ACCEPT

should be established automatically ? or this was only in Cloudstack 2.2 
version?



 KVM network trouble 
 

 Key: CLOUDSTACK-540
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-540
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
 Environment: 2x Node CentOS 6.3
 1x node Cloudstack 4.0.0.1234
 Hypervisor: KVM
 Primary: CLVM
Reporter: Iliya

 I setup the advanced setup. 
 cloudbrm - private
 cloudbr0 - guest
 cloudbr1 - public
 VLAN50 - public
 VLAN500-1000 - guest 
 I created an instance (template CentOS 5.5(64-bit) no GUI (KVM)) and added a 
 new network (DefaultIsolatedNetworkOfferingWithSourceNatService) in step 5 of 
 the wizard. This network is deployed in  cloudVirBr700
 bh1 - 1 KVM host
 bh2 - 2 KVM host
 The VM booted successfully, but when router and vm is same host - ping good.
 When router on bh1 and vm on bh2 network wasn't reachable:
 1. The VM couldn't ping the public network gateway
 2. The VM couldn't ping the Virtual Router
 3. The Virtual Router couldn't ping the VM
 When tcpdump-ing cloudVirBr700 on the bh1 KVM host, I noticed ICMP echo 
 requests, but no reply's.
 I also noticed there were no iptables rules regarding cloudVirBr700. it's 
 good or no? 
 [root@bh2 1234]# iptables -L -n
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:53
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:53
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:67
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:67
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 ACCEPT all  --  0.0.0.0/0192.168.122.0/24state 
 RELATED,ESTABLISHED
 ACCEPT all  --  

[jira] [Comment Edited] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Iliya (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504173#comment-13504173
 ] 

Iliya edited comment on CLOUDSTACK-540 at 11/26/12 10:07 PM:
-

Thnx Marcus.

in sysctl.conf
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-arptables
0
[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-ip6tables
0
[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-iptables
0

[root@bh1 run]# cat /proc/sys/net/bridge/bridge-nf-call-arptables
0
[root@bh1 run]# cat /proc/sys/net/bridge/bridge-nf-call-ip6tables
0
[root@bh1 run]# cat /proc/sys/net/bridge/bridge-nf-call-iptables
0


[root@bh1 run]# brctl show
bridge name bridge id   STP enabled interfaces
cloud0  8000.fe00a9fe01ff   no  vnet0
vnet4
cloudVirBr508000.707be8f0d202   no  bond2.50
vnet2
vnet6
cloudVirBr700   8000.fc48ef2fbd44   no  bond1.700
vnet7
cloudbr08000.fc48ef2fbd44   yes bond1
cloudbr18000.707be8f0d202   yes bond2
cloudbrm8000.fc48ef2fbd44   no  bond1.40
vnet1
vnet3
vnet5
virbr0  8000.525400d54daf   yes virbr0-nic
[root@bh1 run]#

[root@bh2 run]# brctl show
bridge name bridge id   STP enabled interfaces
cloud0  8000.fe00a9fe011c   no  vnet1
cloudVirBr508000.707be8f0d200   no  bond2.50
vnet2
cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
vnet0
cloudbr08000.fc48ef2fbd38   yes bond1
cloudbr18000.707be8f0d200   yes bond2
cloudbrm8000.fc48ef2fbd38   no  bond1.40
virbr0  8000.525400c8b796   yes virbr0-nic
[root@bh2 run]#

[root@bh2 run]# ifconfig bond1.700 10.1.1.1 netmask 255.255.255.0 up
[root@bh1 run]# ifconfig bond1.700 10.1.1.2 netmask 255.255.255.0 up

[root@bh2 run]# ping 10.1.1.2
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
^C
--- 10.1.1.2 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1872ms


Rules :
-A BF-cloudVirBr700 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A BF-cloudVirBr700 -m physdev --physdev-is-in --physdev-is-bridged -j 
BF-cloudVirBr700-IN
-A BF-cloudVirBr700 -m physdev --physdev-is-out --physdev-is-bridged -j 
BF-cloudVirBr700-OUT
-A BF-cloudVirBr700 -m physdev --physdev-out eth0 --physdev-is-bridged -j ACCEPT

should be established automatically ? or this was only in Cloudstack 2.2 
version?



  was (Author: sunrash):
Thnx Marcus.

in sysctl.conf
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-arptables
0
[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-ip6tables
0
[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-iptables
0


[root@bh1 run]# brctl show
bridge name bridge id   STP enabled interfaces
cloud0  8000.fe00a9fe01ff   no  vnet0
vnet4
cloudVirBr508000.707be8f0d202   no  bond2.50
vnet2
vnet6
cloudVirBr700   8000.fc48ef2fbd44   no  bond1.700
vnet7
cloudbr08000.fc48ef2fbd44   yes bond1
cloudbr18000.707be8f0d202   yes bond2
cloudbrm8000.fc48ef2fbd44   no  bond1.40
vnet1
vnet3
vnet5
virbr0  8000.525400d54daf   yes virbr0-nic
[root@bh1 run]#

[root@bh2 run]# brctl show
bridge name bridge id   STP enabled interfaces
cloud0  8000.fe00a9fe011c   no  vnet1
cloudVirBr50

[jira] [Comment Edited] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Iliya (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504173#comment-13504173
 ] 

Iliya edited comment on CLOUDSTACK-540 at 11/26/12 10:08 PM:
-

Thnx Marcus.

in sysctl.conf
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-arptables
0
[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-ip6tables
0
[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-iptables
0

[root@bh1 run]# cat /proc/sys/net/bridge/bridge-nf-call-arptables
0
[root@bh1 run]# cat /proc/sys/net/bridge/bridge-nf-call-ip6tables
0
[root@bh1 run]# cat /proc/sys/net/bridge/bridge-nf-call-iptables
0


[root@bh1 run]# brctl show
bridge name bridge id   STP enabled interfaces
cloud0  8000.fe00a9fe01ff   no  vnet0
vnet4
cloudVirBr508000.707be8f0d202   no  bond2.50
vnet2
vnet6
cloudVirBr700   8000.fc48ef2fbd44   no  bond1.700
vnet7
cloudbr08000.fc48ef2fbd44   yes bond1
cloudbr18000.707be8f0d202   yes bond2
cloudbrm8000.fc48ef2fbd44   no  bond1.40
vnet1
vnet3
vnet5
virbr0  8000.525400d54daf   yes virbr0-nic
[root@bh1 run]#

[root@bh2 run]# brctl show
bridge name bridge id   STP enabled interfaces
cloud0  8000.fe00a9fe011c   no  vnet1
cloudVirBr508000.707be8f0d200   no  bond2.50
vnet2
cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
vnet0
cloudbr08000.fc48ef2fbd38   yes bond1
cloudbr18000.707be8f0d200   yes bond2
cloudbrm8000.fc48ef2fbd38   no  bond1.40
virbr0  8000.525400c8b796   yes virbr0-nic
[root@bh2 run]#

[root@bh2 run]# ifconfig bond1.700 10.1.1.1 netmask 255.255.255.0 up
[root@bh1 run]# ifconfig bond1.700 10.1.1.2 netmask 255.255.255.0 up

[root@bh2 run]# ping 10.1.1.2
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
^C
--- 10.1.1.2 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1872ms

[root@bh1 run]# tcpdump -i bond1.700
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bond1.700, link-type EN10MB (Ethernet), capture size 65535 bytes
02:08:06.957484 ARP, Request who-has 10.1.1.2 tell 10.1.1.1, length 42
02:08:06.957494 ARP, Request who-has 10.1.1.2 tell 10.1.1.1, length 42
02:08:07.957442 ARP, Request who-has 10.1.1.2 tell 10.1.1.1, length 42
02:08:07.957448 ARP, Request who-has 10.1.1.2 tell 10.1.1.1, length 42
02:08:08.957466 ARP, Request who-has 10.1.1.2 tell 10.1.1.1, length 42
02:08:08.957472 ARP, Request who-has 10.1.1.2 tell 10.1.1.1, length 42
02:08:09.966483 ARP, Request who-has 10.1.1.2 tell 10.1.1.1, length 42
02:08:09.966490 ARP, Request who-has 10.1.1.2 tell 10.1.1.1, length 42
02:08:10.966435 ARP, Request who-has 10.1.1.2 tell 10.1.1.1, length 42
02:08:10.966442 ARP, Request who-has 10.1.1.2 tell 10.1.1.1, length 42





Rules :
-A BF-cloudVirBr700 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A BF-cloudVirBr700 -m physdev --physdev-is-in --physdev-is-bridged -j 
BF-cloudVirBr700-IN
-A BF-cloudVirBr700 -m physdev --physdev-is-out --physdev-is-bridged -j 
BF-cloudVirBr700-OUT
-A BF-cloudVirBr700 -m physdev --physdev-out eth0 --physdev-is-bridged -j ACCEPT

should be established automatically ? or this was only in Cloudstack 2.2 
version?



  was (Author: sunrash):
Thnx Marcus.

in sysctl.conf
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-arptables
0
[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-ip6tables
0
[root@bh2 run]# cat /proc/sys/net/bridge/bridge-nf-call-iptables
0

[root@bh1 run]# cat /proc/sys/net/bridge/bridge-nf-call-arptables
0
[root@bh1 run]# cat /proc/sys/net/bridge/bridge-nf-call-ip6tables
0
[root@bh1 run]# cat /proc/sys/net/bridge/bridge-nf-call-iptables
0


[root@bh1 run]# brctl show
bridge name bridge id   STP enabled interfaces
cloud0  

[jira] [Commented] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Marcus Sorensen (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504176#comment-13504176
 ] 

Marcus Sorensen commented on CLOUDSTACK-540:


Just for fun you can stop iptables to see if it is the culprit. It looks like 
your bridging should bypass iptables though. If it's not iptables, then it 
looks like there might be an issue with vlan 700 configured on the switch ports.

 KVM network trouble 
 

 Key: CLOUDSTACK-540
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-540
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
 Environment: 2x Node CentOS 6.3
 1x node Cloudstack 4.0.0.1234
 Hypervisor: KVM
 Primary: CLVM
Reporter: Iliya

 I setup the advanced setup. 
 cloudbrm - private
 cloudbr0 - guest
 cloudbr1 - public
 VLAN50 - public
 VLAN500-1000 - guest 
 I created an instance (template CentOS 5.5(64-bit) no GUI (KVM)) and added a 
 new network (DefaultIsolatedNetworkOfferingWithSourceNatService) in step 5 of 
 the wizard. This network is deployed in  cloudVirBr700
 bh1 - 1 KVM host
 bh2 - 2 KVM host
 The VM booted successfully, but when router and vm is same host - ping good.
 When router on bh1 and vm on bh2 network wasn't reachable:
 1. The VM couldn't ping the public network gateway
 2. The VM couldn't ping the Virtual Router
 3. The Virtual Router couldn't ping the VM
 When tcpdump-ing cloudVirBr700 on the bh1 KVM host, I noticed ICMP echo 
 requests, but no reply's.
 I also noticed there were no iptables rules regarding cloudVirBr700. it's 
 good or no? 
 [root@bh2 1234]# iptables -L -n
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:53
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:53
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:67
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:67
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 ACCEPT all  --  0.0.0.0/0192.168.122.0/24state 
 RELATED,ESTABLISHED
 ACCEPT all  --  192.168.122.0/24 0.0.0.0/0
 ACCEPT all  --  0.0.0.0/00.0.0.0/0
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination
 [root@bh2 1234]#
 [root@bh2 1234]# brctl show
 bridge name bridge id   STP enabled interfaces
 cloud0  8000.fe00a9fe03da   no  vnet1
 cloudVirBr508000.707be8f0d200   no  bond2.50
 vnet2
 cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
 vnet0
 cloudbr08000.fc48ef2fbd38   yes bond1
 cloudbr18000.707be8f0d200   yes bond2
 cloudbrm8000.fc48ef2fbd38   no  bond1.40
 virbr0  8000.525400c8b796   yes virbr0-nic
 [root@bh2 1234]#
 it's freesh installation. 
 i try it on 4.0.0.140 and 4.0.0.1234 releases the problem is the same 
 everywhere
 [root@bh2 cloud]# tail -100 security_group.log
 2012-11-27 00:39:23,025 - Cleaned up rules for 0 chains
 2012-11-27 00:39:24,049 - iptables-save | grep '^:' | grep -v '.*-def' | grep 
 -v '.*-eg' | awk '{print $1}' | cut -d':' -f2
 2012-11-27 00:39:24,055 - ebtables-save |grep :i |awk '{print $1}' |sed -e 
 's/\-in//g' |sed -e 's/\-out//g' |sed -e 's/^://g'
 2012-11-27 00:39:24,069 - Cleaned up rules for 0 chains
 2012-11-27 01:01:41,150 - iptables-save | grep BF | grep r-4 | grep 
 physdev-is-bridged | sed 's/-A/-D/'
 2012-11-27 01:01:41,156 - ebtables -t nat -L PREROUTING | grep r-4-VM
 2012-11-27 01:01:41,161 - ebtables -t nat -L POSTROUTING | grep r-4-VM
 2012-11-27 01:01:41,166 - ebtables -t nat -F r-4-VM-in
 2012-11-27 01:01:41,169 - Ignoring failure to delete ebtables chain for vm 
 r-4-VM
 2012-11-27 01:01:41,170 - ebtables -t nat -F r-4-VM-out
 2012-11-27 01:01:41,174 - Ignoring failure to delete ebtables chain for vm 
 r-4-VM
 2012-11-27 01:01:41,174 - iptables -F r-4-def
 2012-11-27 01:01:41,178 - Ignoring failure to delete  chain r-4-def
 2012-11-27 01:01:41,178 - iptables -X r-4-def
 2012-11-27 01:01:41,182 - Ignoring failure to delete  chain r-4-def
 2012-11-27 01:01:41,182 - iptables -F r-4-VM
 2012-11-27 01:01:41,186 - Ignoring failure to delete  chain r-4-VM
 2012-11-27 01:01:41,186 - iptables -X r-4-VM
 2012-11-27 01:01:41,190 - 

RE: Backport UI fixes to 4.0.1

2012-11-26 Thread Musayev, Ilya
Pranav,

They have been all addressed but are not on 4.0 branch, my request is to 
backport them to 4.0 to be available on 4.0.1 release.

Is it not applicable to 4.0?

Thanks
ilya

-Original Message-
From: Pranav Saxena [mailto:pranav.sax...@citrix.com] 
Sent: Monday, November 26, 2012 4:52 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Backport UI fixes to 4.0.1

Few of the bugs mentioned below have been fixed by me and the code changes have 
been pushed into asf/master . The remaining ones also seem to have been 
addressed . Could you please verify once more ?

Thanks  Regards,
Pranav

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: Monday, November 26, 2012 12:11 PM
To: cloudstack-dev@incubator.apache.org
Subject: Backport UI fixes to 4.0.1

jzb - below is the list of bugs that should be minimally impacting and are UI 
changes


Least intrusive - UI Changes 
---
CLOUDSTACK-474  
Create NetworkOffering wizard should provide dropdown for LB isolation when LB 
is set to External devices  guest_type is set to Shared
---
CLOUDSTACK-475  
cloudstack UI - create network offering - Hide VPC checkbox when Guest Type is 
Shared. Show it when Guest Type is Isolated.

CLOUDSTACK-476  
cloudstack UI - create network offering - Supported Source NAT type dropdown - 
set Per zone as default option.

CLOUDSTACK-477  
cloudstack UI - zone wizard - When Advanced/SecurityGroup is selected, pass 
forVirtualNetwork=false to createVlanIpRange API.

CLOUDSTACK-439
Alert with typo and outdated text regarding direct attached public IPs


Additional least intrusive nice to haves


CLOUDSTACK-523
When adding Vms to an LB rule , when there are vms with display name that were 
provided by user and autogenearated uuid , the list vm screen extends beyond 
the frames original width..

CLOUDSTACK-459  
[Optional Public IP assignment for EIP with Basic Zone] Associate IP Checkbox 
in Create Network Offering Dialog is Displayed When Elastic LB is Selected



I will file more bug reports that I was under impression - have been addressed 
by above- but as I reviewed the bug details - I don't believe they have been 
addressed.

Thanks
ilya







Moving documentation issues from bugs.cloudstack.org to Apache Jira

2012-11-26 Thread Chris Sears
Hi All,

I'm new to the project and have been going over the docs recently. I saw
some IRC discussion of moving documentation issues over from the old
bugs.cloudstack.org to the new Apache Jira and wanted to offer to help with
that.

My thought was to start going through all the open issues with the
component 'Doc' in the old bugs Jira, look for a similar existing issue in
Apache Jira, do a quick check of the docs to see if the issue is already
fixed, (if needed) copy the description, important metadata and a link to
the original into a new Apache Jira issue, and then resolve/close the
original. If I'm missing any steps, just let me know. I'm open to whatever
process you guys recommend.

Is there anyone already working on this that I should coordinate with?

Thanks,

 - Chris


[jira] [Commented] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Iliya (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504187#comment-13504187
 ] 

Iliya commented on CLOUDSTACK-540:
--

on the switch had been prescribed range vlan 50-1000, so this did not seem to 
be problems...

I created two interface

ifcfg-bond1.666
DEVICE=bond1.666
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=no
IPV6_AUTOCONF=no
VLAN=yes

on both hosts 

and try test: 

[root@bh1 network-scripts]# /etc/init.d/iptables status
iptables: Firewall is not running.
[root@bh2 network-scripts]# /etc/init.d/iptables status
iptables: Firewall is not running.


[root@bh2 network-scripts]# ifconfig bond1.666 10.3.1.1 netmask 255.255.255.0 up
[root@bh1 network-scripts]# ifconfig bond1.666 10.3.1.2 netmask 255.255.255.0 up
[root@bh620-3 network-scripts]# ping 10.3.1.1
PING 10.3.1.1 (10.3.1.1) 56(84) bytes of data.
64 bytes from 10.3.1.1: icmp_seq=1 ttl=64 time=1.75 ms
64 bytes from 10.3.1.1: icmp_seq=2 ttl=64 time=0.161 ms

maybe there is some problem in the bridge??? 

I added the newly created interface bridge cloudVirBr700 and try ping again... 

[root@bh620-4 network-scripts]# brctl addif cloudVirBr700 bond1.666
[root@bh620-3 network-scripts]# brctl addif cloudVirBr700 bond1.666
[root@bh620-3 network-scripts]# ping 10.3.1.1
PING 10.3.1.1 (10.3.1.1) 56(84) bytes of data.
^C
--- 10.3.1.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2677ms





 KVM network trouble 
 

 Key: CLOUDSTACK-540
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-540
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
 Environment: 2x Node CentOS 6.3
 1x node Cloudstack 4.0.0.1234
 Hypervisor: KVM
 Primary: CLVM
Reporter: Iliya

 I setup the advanced setup. 
 cloudbrm - private
 cloudbr0 - guest
 cloudbr1 - public
 VLAN50 - public
 VLAN500-1000 - guest 
 I created an instance (template CentOS 5.5(64-bit) no GUI (KVM)) and added a 
 new network (DefaultIsolatedNetworkOfferingWithSourceNatService) in step 5 of 
 the wizard. This network is deployed in  cloudVirBr700
 bh1 - 1 KVM host
 bh2 - 2 KVM host
 The VM booted successfully, but when router and vm is same host - ping good.
 When router on bh1 and vm on bh2 network wasn't reachable:
 1. The VM couldn't ping the public network gateway
 2. The VM couldn't ping the Virtual Router
 3. The Virtual Router couldn't ping the VM
 When tcpdump-ing cloudVirBr700 on the bh1 KVM host, I noticed ICMP echo 
 requests, but no reply's.
 I also noticed there were no iptables rules regarding cloudVirBr700. it's 
 good or no? 
 [root@bh2 1234]# iptables -L -n
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:53
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:53
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:67
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:67
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 ACCEPT all  --  0.0.0.0/0192.168.122.0/24state 
 RELATED,ESTABLISHED
 ACCEPT all  --  192.168.122.0/24 0.0.0.0/0
 ACCEPT all  --  0.0.0.0/00.0.0.0/0
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination
 [root@bh2 1234]#
 [root@bh2 1234]# brctl show
 bridge name bridge id   STP enabled interfaces
 cloud0  8000.fe00a9fe03da   no  vnet1
 cloudVirBr508000.707be8f0d200   no  bond2.50
 vnet2
 cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
 vnet0
 cloudbr08000.fc48ef2fbd38   yes bond1
 cloudbr18000.707be8f0d200   yes bond2
 cloudbrm8000.fc48ef2fbd38   no  bond1.40
 virbr0  8000.525400c8b796   yes virbr0-nic
 [root@bh2 1234]#
 it's freesh installation. 
 i try it on 4.0.0.140 and 4.0.0.1234 releases the problem is the same 
 everywhere
 [root@bh2 cloud]# tail -100 security_group.log
 2012-11-27 00:39:23,025 - Cleaned up rules for 0 chains
 2012-11-27 00:39:24,049 - iptables-save | grep '^:' | grep -v '.*-def' | grep 
 -v '.*-eg' | awk '{print $1}' | cut -d':' -f2
 2012-11-27 00:39:24,055 - ebtables-save |grep :i |awk '{print $1}' |sed -e 
 's/\-in//g' |sed -e 's/\-out//g' 

[jira] [Comment Edited] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Iliya (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504187#comment-13504187
 ] 

Iliya edited comment on CLOUDSTACK-540 at 11/26/12 10:26 PM:
-

on the switch had been prescribed range vlan 50-1000, so this did not seem to 
be problems...

I created two interface

ifcfg-bond1.666
DEVICE=bond1.666
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=no
IPV6_AUTOCONF=no
VLAN=yes

on both hosts 

and try test: 

[root@bh1 network-scripts]# /etc/init.d/iptables status
iptables: Firewall is not running.
[root@bh2 network-scripts]# /etc/init.d/iptables status
iptables: Firewall is not running.


[root@bh2 network-scripts]# ifconfig bond1.666 10.3.1.1 netmask 255.255.255.0 up
[root@bh1 network-scripts]# ifconfig bond1.666 10.3.1.2 netmask 255.255.255.0 up
[root@bh1 network-scripts]# ping 10.3.1.1
PING 10.3.1.1 (10.3.1.1) 56(84) bytes of data.
64 bytes from 10.3.1.1: icmp_seq=1 ttl=64 time=1.75 ms
64 bytes from 10.3.1.1: icmp_seq=2 ttl=64 time=0.161 ms

maybe there is some problem in the bridge??? 

I added the newly created interface bridge cloudVirBr700 and try ping again... 

[root@bh2 network-scripts]# brctl addif cloudVirBr700 bond1.666
[root@bh1 network-scripts]# brctl addif cloudVirBr700 bond1.666
[root@bh1 network-scripts]# ping 10.3.1.1
PING 10.3.1.1 (10.3.1.1) 56(84) bytes of data.
^C
--- 10.3.1.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2677ms





  was (Author: sunrash):
on the switch had been prescribed range vlan 50-1000, so this did not seem 
to be problems...

I created two interface

ifcfg-bond1.666
DEVICE=bond1.666
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=no
IPV6_AUTOCONF=no
VLAN=yes

on both hosts 

and try test: 

[root@bh1 network-scripts]# /etc/init.d/iptables status
iptables: Firewall is not running.
[root@bh2 network-scripts]# /etc/init.d/iptables status
iptables: Firewall is not running.


[root@bh2 network-scripts]# ifconfig bond1.666 10.3.1.1 netmask 255.255.255.0 up
[root@bh1 network-scripts]# ifconfig bond1.666 10.3.1.2 netmask 255.255.255.0 up
[root@bh620-3 network-scripts]# ping 10.3.1.1
PING 10.3.1.1 (10.3.1.1) 56(84) bytes of data.
64 bytes from 10.3.1.1: icmp_seq=1 ttl=64 time=1.75 ms
64 bytes from 10.3.1.1: icmp_seq=2 ttl=64 time=0.161 ms

maybe there is some problem in the bridge??? 

I added the newly created interface bridge cloudVirBr700 and try ping again... 

[root@bh620-4 network-scripts]# brctl addif cloudVirBr700 bond1.666
[root@bh620-3 network-scripts]# brctl addif cloudVirBr700 bond1.666
[root@bh620-3 network-scripts]# ping 10.3.1.1
PING 10.3.1.1 (10.3.1.1) 56(84) bytes of data.
^C
--- 10.3.1.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2677ms




  
 KVM network trouble 
 

 Key: CLOUDSTACK-540
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-540
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
 Environment: 2x Node CentOS 6.3
 1x node Cloudstack 4.0.0.1234
 Hypervisor: KVM
 Primary: CLVM
Reporter: Iliya

 I setup the advanced setup. 
 cloudbrm - private
 cloudbr0 - guest
 cloudbr1 - public
 VLAN50 - public
 VLAN500-1000 - guest 
 I created an instance (template CentOS 5.5(64-bit) no GUI (KVM)) and added a 
 new network (DefaultIsolatedNetworkOfferingWithSourceNatService) in step 5 of 
 the wizard. This network is deployed in  cloudVirBr700
 bh1 - 1 KVM host
 bh2 - 2 KVM host
 The VM booted successfully, but when router and vm is same host - ping good.
 When router on bh1 and vm on bh2 network wasn't reachable:
 1. The VM couldn't ping the public network gateway
 2. The VM couldn't ping the Virtual Router
 3. The Virtual Router couldn't ping the VM
 When tcpdump-ing cloudVirBr700 on the bh1 KVM host, I noticed ICMP echo 
 requests, but no reply's.
 I also noticed there were no iptables rules regarding cloudVirBr700. it's 
 good or no? 
 [root@bh2 1234]# iptables -L -n
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:53
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:53
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:67
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:67
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 ACCEPT all  --  0.0.0.0/0192.168.122.0/24state 
 RELATED,ESTABLISHED
 ACCEPT all  --  192.168.122.0/24 0.0.0.0/0
 ACCEPT all  --  0.0.0.0/00.0.0.0/0
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 REJECT all  

[jira] [Commented] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Marcus Sorensen (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504193#comment-13504193
 ] 

Marcus Sorensen commented on CLOUDSTACK-540:


Normally people put the IP addresses on the bridge device, so in this example 
cloudVirBr700, rather than the interface. Also make sure the bridge is up: 
ifconfig clouVirBr700 up

 KVM network trouble 
 

 Key: CLOUDSTACK-540
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-540
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
 Environment: 2x Node CentOS 6.3
 1x node Cloudstack 4.0.0.1234
 Hypervisor: KVM
 Primary: CLVM
Reporter: Iliya

 I setup the advanced setup. 
 cloudbrm - private
 cloudbr0 - guest
 cloudbr1 - public
 VLAN50 - public
 VLAN500-1000 - guest 
 I created an instance (template CentOS 5.5(64-bit) no GUI (KVM)) and added a 
 new network (DefaultIsolatedNetworkOfferingWithSourceNatService) in step 5 of 
 the wizard. This network is deployed in  cloudVirBr700
 bh1 - 1 KVM host
 bh2 - 2 KVM host
 The VM booted successfully, but when router and vm is same host - ping good.
 When router on bh1 and vm on bh2 network wasn't reachable:
 1. The VM couldn't ping the public network gateway
 2. The VM couldn't ping the Virtual Router
 3. The Virtual Router couldn't ping the VM
 When tcpdump-ing cloudVirBr700 on the bh1 KVM host, I noticed ICMP echo 
 requests, but no reply's.
 I also noticed there were no iptables rules regarding cloudVirBr700. it's 
 good or no? 
 [root@bh2 1234]# iptables -L -n
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:53
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:53
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:67
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:67
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 ACCEPT all  --  0.0.0.0/0192.168.122.0/24state 
 RELATED,ESTABLISHED
 ACCEPT all  --  192.168.122.0/24 0.0.0.0/0
 ACCEPT all  --  0.0.0.0/00.0.0.0/0
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination
 [root@bh2 1234]#
 [root@bh2 1234]# brctl show
 bridge name bridge id   STP enabled interfaces
 cloud0  8000.fe00a9fe03da   no  vnet1
 cloudVirBr508000.707be8f0d200   no  bond2.50
 vnet2
 cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
 vnet0
 cloudbr08000.fc48ef2fbd38   yes bond1
 cloudbr18000.707be8f0d200   yes bond2
 cloudbrm8000.fc48ef2fbd38   no  bond1.40
 virbr0  8000.525400c8b796   yes virbr0-nic
 [root@bh2 1234]#
 it's freesh installation. 
 i try it on 4.0.0.140 and 4.0.0.1234 releases the problem is the same 
 everywhere
 [root@bh2 cloud]# tail -100 security_group.log
 2012-11-27 00:39:23,025 - Cleaned up rules for 0 chains
 2012-11-27 00:39:24,049 - iptables-save | grep '^:' | grep -v '.*-def' | grep 
 -v '.*-eg' | awk '{print $1}' | cut -d':' -f2
 2012-11-27 00:39:24,055 - ebtables-save |grep :i |awk '{print $1}' |sed -e 
 's/\-in//g' |sed -e 's/\-out//g' |sed -e 's/^://g'
 2012-11-27 00:39:24,069 - Cleaned up rules for 0 chains
 2012-11-27 01:01:41,150 - iptables-save | grep BF | grep r-4 | grep 
 physdev-is-bridged | sed 's/-A/-D/'
 2012-11-27 01:01:41,156 - ebtables -t nat -L PREROUTING | grep r-4-VM
 2012-11-27 01:01:41,161 - ebtables -t nat -L POSTROUTING | grep r-4-VM
 2012-11-27 01:01:41,166 - ebtables -t nat -F r-4-VM-in
 2012-11-27 01:01:41,169 - Ignoring failure to delete ebtables chain for vm 
 r-4-VM
 2012-11-27 01:01:41,170 - ebtables -t nat -F r-4-VM-out
 2012-11-27 01:01:41,174 - Ignoring failure to delete ebtables chain for vm 
 r-4-VM
 2012-11-27 01:01:41,174 - iptables -F r-4-def
 2012-11-27 01:01:41,178 - Ignoring failure to delete  chain r-4-def
 2012-11-27 01:01:41,178 - iptables -X r-4-def
 2012-11-27 01:01:41,182 - Ignoring failure to delete  chain r-4-def
 2012-11-27 01:01:41,182 - iptables -F r-4-VM
 2012-11-27 01:01:41,186 - Ignoring failure to delete  chain r-4-VM
 2012-11-27 01:01:41,186 - iptables -X r-4-VM
 2012-11-27 01:01:41,190 - Ignoring failure to delete  chain r-4-VM
 2012-11-27 

[jira] [Commented] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Iliya (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504204#comment-13504204
 ] 

Iliya commented on CLOUDSTACK-540:
--

it's already up on both hosts

cloudVirBr700 Link encap:Ethernet  HWaddr FC:48:EF:2F:BD:38
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:264 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:22206 (21.6 KiB)  TX bytes:0 (0.0 b)


[root@bh1 network-scripts]# ifconfig cloudVirBr700 10.1.1.4 netmask 
255.255.255.0 up
[root@bh2 network-scripts]# ifconfig cloudVirBr700 10.1.1.3 netmask 
255.255.255.0 up

[root@bh1 network-scripts]# ping 10.1.1.3
PING 10.1.1.3 (10.1.1.3) 56(84) bytes of data.
From 10.1.1.2 icmp_seq=2 Destination Host Unreachable
From 10.1.1.2 icmp_seq=3 Destination Host Unreachable
From 10.1.1.2 icmp_seq=4 Destination Host Unreachable

Firewall is not running. 





 KVM network trouble 
 

 Key: CLOUDSTACK-540
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-540
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
 Environment: 2x Node CentOS 6.3
 1x node Cloudstack 4.0.0.1234
 Hypervisor: KVM
 Primary: CLVM
Reporter: Iliya

 I setup the advanced setup. 
 cloudbrm - private
 cloudbr0 - guest
 cloudbr1 - public
 VLAN50 - public
 VLAN500-1000 - guest 
 I created an instance (template CentOS 5.5(64-bit) no GUI (KVM)) and added a 
 new network (DefaultIsolatedNetworkOfferingWithSourceNatService) in step 5 of 
 the wizard. This network is deployed in  cloudVirBr700
 bh1 - 1 KVM host
 bh2 - 2 KVM host
 The VM booted successfully, but when router and vm is same host - ping good.
 When router on bh1 and vm on bh2 network wasn't reachable:
 1. The VM couldn't ping the public network gateway
 2. The VM couldn't ping the Virtual Router
 3. The Virtual Router couldn't ping the VM
 When tcpdump-ing cloudVirBr700 on the bh1 KVM host, I noticed ICMP echo 
 requests, but no reply's.
 I also noticed there were no iptables rules regarding cloudVirBr700. it's 
 good or no? 
 [root@bh2 1234]# iptables -L -n
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:53
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:53
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:67
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:67
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 ACCEPT all  --  0.0.0.0/0192.168.122.0/24state 
 RELATED,ESTABLISHED
 ACCEPT all  --  192.168.122.0/24 0.0.0.0/0
 ACCEPT all  --  0.0.0.0/00.0.0.0/0
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination
 [root@bh2 1234]#
 [root@bh2 1234]# brctl show
 bridge name bridge id   STP enabled interfaces
 cloud0  8000.fe00a9fe03da   no  vnet1
 cloudVirBr508000.707be8f0d200   no  bond2.50
 vnet2
 cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
 vnet0
 cloudbr08000.fc48ef2fbd38   yes bond1
 cloudbr18000.707be8f0d200   yes bond2
 cloudbrm8000.fc48ef2fbd38   no  bond1.40
 virbr0  8000.525400c8b796   yes virbr0-nic
 [root@bh2 1234]#
 it's freesh installation. 
 i try it on 4.0.0.140 and 4.0.0.1234 releases the problem is the same 
 everywhere
 [root@bh2 cloud]# tail -100 security_group.log
 2012-11-27 00:39:23,025 - Cleaned up rules for 0 chains
 2012-11-27 00:39:24,049 - iptables-save | grep '^:' | grep -v '.*-def' | grep 
 -v '.*-eg' | awk '{print $1}' | cut -d':' -f2
 2012-11-27 00:39:24,055 - ebtables-save |grep :i |awk '{print $1}' |sed -e 
 's/\-in//g' |sed -e 's/\-out//g' |sed -e 's/^://g'
 2012-11-27 00:39:24,069 - Cleaned up rules for 0 chains
 2012-11-27 01:01:41,150 - iptables-save | grep BF | grep r-4 | grep 
 physdev-is-bridged | sed 's/-A/-D/'
 2012-11-27 01:01:41,156 - ebtables -t nat -L PREROUTING | grep r-4-VM
 2012-11-27 01:01:41,161 - ebtables -t nat -L POSTROUTING | grep r-4-VM
 2012-11-27 01:01:41,166 - ebtables -t nat -F r-4-VM-in
 2012-11-27 01:01:41,169 - Ignoring failure to delete ebtables chain for vm 
 

[jira] [Comment Edited] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Iliya (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504204#comment-13504204
 ] 

Iliya edited comment on CLOUDSTACK-540 at 11/26/12 10:50 PM:
-

it's already up on both hosts

cloudVirBr700 Link encap:Ethernet  HWaddr FC:48:EF:2F:BD:38
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:264 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:22206 (21.6 KiB)  TX bytes:0 (0.0 b)


[root@bh1 network-scripts]# ifconfig cloudVirBr700 10.1.1.4 netmask 
255.255.255.0 up
[root@bh2 network-scripts]# ifconfig cloudVirBr700 10.1.1.3 netmask 
255.255.255.0 up

[root@bh1 network-scripts]# ping 10.1.1.4
PING 10.1.1.4 (10.1.1.4) 56(84) bytes of data.
64 bytes from 10.1.1.4: icmp_seq=1 ttl=64 time=0.012 ms

Firewall is not running. 





  was (Author: sunrash):
it's already up on both hosts

cloudVirBr700 Link encap:Ethernet  HWaddr FC:48:EF:2F:BD:38
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:264 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:22206 (21.6 KiB)  TX bytes:0 (0.0 b)


[root@bh1 network-scripts]# ifconfig cloudVirBr700 10.1.1.4 netmask 
255.255.255.0 up
[root@bh2 network-scripts]# ifconfig cloudVirBr700 10.1.1.3 netmask 
255.255.255.0 up

[root@bh1 network-scripts]# ping 10.1.1.3
PING 10.1.1.3 (10.1.1.3) 56(84) bytes of data.
From 10.1.1.2 icmp_seq=2 Destination Host Unreachable
From 10.1.1.2 icmp_seq=3 Destination Host Unreachable
From 10.1.1.2 icmp_seq=4 Destination Host Unreachable

Firewall is not running. 




  
 KVM network trouble 
 

 Key: CLOUDSTACK-540
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-540
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
 Environment: 2x Node CentOS 6.3
 1x node Cloudstack 4.0.0.1234
 Hypervisor: KVM
 Primary: CLVM
Reporter: Iliya

 I setup the advanced setup. 
 cloudbrm - private
 cloudbr0 - guest
 cloudbr1 - public
 VLAN50 - public
 VLAN500-1000 - guest 
 I created an instance (template CentOS 5.5(64-bit) no GUI (KVM)) and added a 
 new network (DefaultIsolatedNetworkOfferingWithSourceNatService) in step 5 of 
 the wizard. This network is deployed in  cloudVirBr700
 bh1 - 1 KVM host
 bh2 - 2 KVM host
 The VM booted successfully, but when router and vm is same host - ping good.
 When router on bh1 and vm on bh2 network wasn't reachable:
 1. The VM couldn't ping the public network gateway
 2. The VM couldn't ping the Virtual Router
 3. The Virtual Router couldn't ping the VM
 When tcpdump-ing cloudVirBr700 on the bh1 KVM host, I noticed ICMP echo 
 requests, but no reply's.
 I also noticed there were no iptables rules regarding cloudVirBr700. it's 
 good or no? 
 [root@bh2 1234]# iptables -L -n
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:53
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:53
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:67
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:67
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 ACCEPT all  --  0.0.0.0/0192.168.122.0/24state 
 RELATED,ESTABLISHED
 ACCEPT all  --  192.168.122.0/24 0.0.0.0/0
 ACCEPT all  --  0.0.0.0/00.0.0.0/0
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination
 [root@bh2 1234]#
 [root@bh2 1234]# brctl show
 bridge name bridge id   STP enabled interfaces
 cloud0  8000.fe00a9fe03da   no  vnet1
 cloudVirBr508000.707be8f0d200   no  bond2.50
 vnet2
 cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
 vnet0
 cloudbr08000.fc48ef2fbd38   yes bond1
 cloudbr18000.707be8f0d200   yes bond2
 cloudbrm8000.fc48ef2fbd38   no  bond1.40
 virbr0  8000.525400c8b796   yes virbr0-nic
 [root@bh2 1234]#
 it's freesh installation. 
 i try it on 4.0.0.140 and 4.0.0.1234 releases the problem is 

[jira] [Comment Edited] (CLOUDSTACK-540) KVM network trouble

2012-11-26 Thread Iliya (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504204#comment-13504204
 ] 

Iliya edited comment on CLOUDSTACK-540 at 11/26/12 10:51 PM:
-

it's already up on both hosts

cloudVirBr700 Link encap:Ethernet  HWaddr FC:48:EF:2F:BD:38
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:264 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:22206 (21.6 KiB)  TX bytes:0 (0.0 b)


[root@bh1 network-scripts]# ifconfig cloudVirBr700 10.1.1.4 netmask 
255.255.255.0 up
[root@bh2 network-scripts]# ifconfig cloudVirBr700 10.1.1.3 netmask 
255.255.255.0 up

[root@bh620-3 network-scripts]# ping 10.1.1.3
PING 10.1.1.3 (10.1.1.3) 56(84) bytes of data.
64 bytes from 10.1.1.3: icmp_seq=1 ttl=64 time=0.164 ms


Firewall is not running. 





  was (Author: sunrash):
it's already up on both hosts

cloudVirBr700 Link encap:Ethernet  HWaddr FC:48:EF:2F:BD:38
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:264 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:22206 (21.6 KiB)  TX bytes:0 (0.0 b)


[root@bh1 network-scripts]# ifconfig cloudVirBr700 10.1.1.4 netmask 
255.255.255.0 up
[root@bh2 network-scripts]# ifconfig cloudVirBr700 10.1.1.3 netmask 
255.255.255.0 up

[root@bh1 network-scripts]# ping 10.1.1.4
PING 10.1.1.4 (10.1.1.4) 56(84) bytes of data.
64 bytes from 10.1.1.4: icmp_seq=1 ttl=64 time=0.012 ms

Firewall is not running. 




  
 KVM network trouble 
 

 Key: CLOUDSTACK-540
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-540
 Project: CloudStack
  Issue Type: Bug
  Components: Network Controller
Affects Versions: 4.0.0
 Environment: 2x Node CentOS 6.3
 1x node Cloudstack 4.0.0.1234
 Hypervisor: KVM
 Primary: CLVM
Reporter: Iliya

 I setup the advanced setup. 
 cloudbrm - private
 cloudbr0 - guest
 cloudbr1 - public
 VLAN50 - public
 VLAN500-1000 - guest 
 I created an instance (template CentOS 5.5(64-bit) no GUI (KVM)) and added a 
 new network (DefaultIsolatedNetworkOfferingWithSourceNatService) in step 5 of 
 the wizard. This network is deployed in  cloudVirBr700
 bh1 - 1 KVM host
 bh2 - 2 KVM host
 The VM booted successfully, but when router and vm is same host - ping good.
 When router on bh1 and vm on bh2 network wasn't reachable:
 1. The VM couldn't ping the public network gateway
 2. The VM couldn't ping the Virtual Router
 3. The Virtual Router couldn't ping the VM
 When tcpdump-ing cloudVirBr700 on the bh1 KVM host, I noticed ICMP echo 
 requests, but no reply's.
 I also noticed there were no iptables rules regarding cloudVirBr700. it's 
 good or no? 
 [root@bh2 1234]# iptables -L -n
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:53
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:53
 ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:67
 ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:67
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 ACCEPT all  --  0.0.0.0/0192.168.122.0/24state 
 RELATED,ESTABLISHED
 ACCEPT all  --  192.168.122.0/24 0.0.0.0/0
 ACCEPT all  --  0.0.0.0/00.0.0.0/0
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with 
 icmp-port-unreachable
 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination
 [root@bh2 1234]#
 [root@bh2 1234]# brctl show
 bridge name bridge id   STP enabled interfaces
 cloud0  8000.fe00a9fe03da   no  vnet1
 cloudVirBr508000.707be8f0d200   no  bond2.50
 vnet2
 cloudVirBr700   8000.fc48ef2fbd38   no  bond1.700
 vnet0
 cloudbr08000.fc48ef2fbd38   yes bond1
 cloudbr18000.707be8f0d200   yes bond2
 cloudbrm8000.fc48ef2fbd38   no  bond1.40
 virbr0  8000.525400c8b796   yes virbr0-nic
 [root@bh2 1234]#
 it's freesh installation. 
 i try it on 4.0.0.140 and 4.0.0.1234 releases the problem is the same 
 everywhere
 [root@bh2 cloud]# tail -100 security_group.log
 2012-11-27 00:39:23,025 - 

RE: Review Request: S3-backed Secondary Storage

2012-11-26 Thread Edison Su


 -Original Message-
 From: John Burwell [mailto:nore...@reviews.apache.org] On Behalf Of John
 Burwell
 Sent: Monday, November 26, 2012 2:54 PM
 To: cloudstack; Rohit Yadav; John Burwell
 Subject: Re: Review Request: S3-backed Secondary Storage
 
 
 
  On Nov. 21, 2012, 4:32 a.m., Rohit Yadav wrote:
   Read the coding conventions and checkout the diff so you'll know.
  
   Watch out for the red lines and extra indents.
   For example, fix for following files with tabwidth=4 with spaces, no
   tabs; fix trailing spaces;
  
   api/src/com/cloud/agent/api/BackupSnapshotCommand.java
   api/src/com/cloud/agent/api/DeleteSnapshotBackupCommand.java
   api/src/com/cloud/agent/api/DeleteTemplateFromS3Command.java
   api/src/com/cloud/agent/api/DownloadSnapshotFromS3Command.java
   api/src/com/cloud/agent/api/to/S3TO.java
   core/src/com/cloud/storage/S3VO.java
   core/src/com/cloud/storage/SnapshotVO.java
   core/src/com/cloud/storage/VMTemplateS3VO.java
  
 core/src/com/cloud/storage/resource/NfsSecondaryStorageResource.java
   (lots of tab excess indents; 1tab4spaces, trailing spaces)
   server/src/com/cloud/api/ApiDBUtils.java
   server/src/com/cloud/api/doc/ApiXmlDocWriter.java
   server/src/com/cloud/configuration/ConfigurationManagerImpl.java
   server/src/com/cloud/storage/StorageManagerImpl.java
   server/src/com/cloud/storage/dao/VMTemplateDaoImpl.java
   server/src/com/cloud/storage/dao/VMTemplateS3DaoImpl.java
   server/src/com/cloud/storage/s3/S3Manager.java
   server/src/com/cloud/storage/s3/S3ManagerImpl.java
   server/src/com/cloud/storage/snapshot/SnapshotManager.java
   server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
   server/src/com/cloud/template/S3SyncTask.java
   server/src/com/cloud/template/TemplateManagerImpl.java
   utils/src/com/cloud/utils/S3Utils.java
   utils/src/com/cloud/utils/StringUtils.java
  
   Not sure about js, though they look alright:
   ui/scripts/system.js
  
   For python code, it should be pep8 compliant (for example all under
   80 char width etc.), as per coding conventions; to check that I uses
   pep8; (for ex. tools/cli/codemonkey/*.py is pep8 compliant) pip
   install pep8
   pep8 filename will tell you what to fix; for example:
   pep8 scripts/vm/hypervisor/xenserver/s3xen.py
  
   Try to fix it until you get no error/output from pep8.
   Unfortunately, we don't have anything like pep8 for Java.
  
   Code reviews:
  
   For tools/marvin/marvin/cloudstackConnection.py:
   Why was the function moved: make_request_with_auth? Port 8096 is
 the
   default integration port, that is added to configuration when we do
 deploydb with mvn, If we replace this;
   if port == 8096:
   by;
   if self.apiKey == None and self.securityKey == None:
  
   If still fails, as I can feed incorrect api and secret keys, and if port 
   is 8096, I
 would still want non auth api calls? May be we can do this;
   if port == 8096 or (self.apiKey == None and self.securityKey ==
 None):
   Lastly, why remove the logging code, we need that to see the response,
 to see what was returned.
  
   Great work, lastly one suggestion on submitting patches:
   Since, this is a  big patch you can split it and submit multiple patches. 
   This
 would make it easier to review, commit and revert if necessary.
   And, use git patch mode, using git add -p. This would ask you what parts
 of the changes, even withing a file to add or stage for commit.
   To fix the current patch (there may be other better ways), you can
   do this; assuming on your branch it was one patch and is on HEAD git
   format-patch -o patches HEAD~1 (backup your patch) git rebase -i
   HEAD~2; NOTE: this deletes the current commit from vim that deletes
   the commit from history, make sure you've a backup patch
  
   git apply patch file (this won't commit, but stage the changes)
   git add -p (add what is needed for a commit, say group changes by
   java/python/sql/js code or by server, api etc.) git commit -s repeat
   git add -p say you generated 10 patches; git format-patch -o patches
   HEAD~10 (email them on ML, review board fails for multiple patches,
   there is one way though by adding them as parent-child one after the
   other)
  
  
 
 I have pushed a new version of the patch that corrects the tab and
 whitespace issues, as well as, PEP-8 compliance for the s3xen plugin.
 
 Unfortunately, this patch can't reasonably be split into smaller pieces.  The 
 S3
 functionality, like Swift, cuts a wide path through the code base.  The
 enhancements added to utility classes (e.g. StringUtils, GlobalLock, etc) are


I want to add s3 as an example how to integrate storage into cloudstack storage 
subsystem I proposed in 
(https://cwiki.apache.org/confluence/display/CLOUDSTACK/Storage+subsystem+2.0), 
so hopefully, we don't need to change so many code, all over the place, to add 
a new storage.


 directly used by the S3 implementation.  There are roughly 10-20 lines of
 code (e.g. 1 line 

RE: Backport UI fixes to 4.0.1

2012-11-26 Thread Pranav Saxena
I think you are right then . We should definitely back port them to 4.0 as well 
but I am not very sure , if we can reproduce all of them there . If you could 
reproduce these issues once on 4.0 , I can backport the fixes immediately .

Thanks,
Pranav


-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: Monday, November 26, 2012 2:23 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Backport UI fixes to 4.0.1

Pranav,

They have been all addressed but are not on 4.0 branch, my request is to 
backport them to 4.0 to be available on 4.0.1 release.

Is it not applicable to 4.0?

Thanks
ilya

-Original Message-
From: Pranav Saxena [mailto:pranav.sax...@citrix.com] 
Sent: Monday, November 26, 2012 4:52 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Backport UI fixes to 4.0.1

Few of the bugs mentioned below have been fixed by me and the code changes have 
been pushed into asf/master . The remaining ones also seem to have been 
addressed . Could you please verify once more ?

Thanks  Regards,
Pranav

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: Monday, November 26, 2012 12:11 PM
To: cloudstack-dev@incubator.apache.org
Subject: Backport UI fixes to 4.0.1

jzb - below is the list of bugs that should be minimally impacting and are UI 
changes


Least intrusive - UI Changes 
---
CLOUDSTACK-474  
Create NetworkOffering wizard should provide dropdown for LB isolation when LB 
is set to External devices  guest_type is set to Shared
---
CLOUDSTACK-475  
cloudstack UI - create network offering - Hide VPC checkbox when Guest Type is 
Shared. Show it when Guest Type is Isolated.

CLOUDSTACK-476  
cloudstack UI - create network offering - Supported Source NAT type dropdown - 
set Per zone as default option.

CLOUDSTACK-477  
cloudstack UI - zone wizard - When Advanced/SecurityGroup is selected, pass 
forVirtualNetwork=false to createVlanIpRange API.

CLOUDSTACK-439
Alert with typo and outdated text regarding direct attached public IPs


Additional least intrusive nice to haves


CLOUDSTACK-523
When adding Vms to an LB rule , when there are vms with display name that were 
provided by user and autogenearated uuid , the list vm screen extends beyond 
the frames original width..

CLOUDSTACK-459  
[Optional Public IP assignment for EIP with Basic Zone] Associate IP Checkbox 
in Create Network Offering Dialog is Displayed When Elastic LB is Selected



I will file more bug reports that I was under impression - have been addressed 
by above- but as I reviewed the bug details - I don't believe they have been 
addressed.

Thanks
ilya







[jira] [Created] (CLOUDSTACK-542) cloudtack UI - create network offering dialog - hide NetworkACL service field when Guest Type is selected as Shared.

2012-11-26 Thread Jessica Wang (JIRA)
Jessica Wang created CLOUDSTACK-542:
---

 Summary: cloudtack UI - create network offering dialog - hide 
NetworkACL service field when Guest Type is selected as Shared.
 Key: CLOUDSTACK-542
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-542
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CLOUDSTACK-543) cloudstack UI - create network offering dialog - disable Redundant router capability checkbox, Conserve Mode checkbox (still visible, but can't be selected) when Gues

2012-11-26 Thread Jessica Wang (JIRA)
Jessica Wang created CLOUDSTACK-543:
---

 Summary: cloudstack UI - create network offering dialog - disable 
Redundant router capability checkbox, Conserve Mode checkbox (still visible, 
but can't be selected) when Guest Type is selected as Shared.
 Key: CLOUDSTACK-543
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-543
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CLOUDSTACK-542) cloudtack UI - create network offering dialog - hide NetworkACL service field when Guest Type is selected as Shared.

2012-11-26 Thread Jessica Wang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jessica Wang resolved CLOUDSTACK-542.
-

Resolution: Fixed

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   36 seconds ago (Mon Nov 26 15:26:15 2012)
Commit hash:c0d39ebbfef079dcad7ed1c534a0de6d3c84f34d

CLOUDSTACK-542: cloudtack UI - create network offering dialog - hide NetworkACL 
service field when Guest Type is selected as Shared.

Contained in branches: master
Contained in no tag

 cloudtack UI - create network offering dialog - hide NetworkACL service field 
 when Guest Type is selected as Shared.
 

 Key: CLOUDSTACK-542
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-542
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: Backport UI fixes to 4.0.1

2012-11-26 Thread Chip Childers
Has the master branch really diverged that much at this point?  Also,
I think Ilya has mostly been using the 4.0 release anyway (but we can
wait for confirmation of that).

- chip

Sent from my iPhone.

On Nov 26, 2012, at 6:17 PM, Pranav Saxena pranav.sax...@citrix.com wrote:

 I think you are right then . We should definitely back port them to 4.0 as 
 well but I am not very sure , if we can reproduce all of them there . If you 
 could reproduce these issues once on 4.0 , I can backport the fixes 
 immediately .

 Thanks,
 Pranav


 -Original Message-
 From: Musayev, Ilya [mailto:imusa...@webmd.net]
 Sent: Monday, November 26, 2012 2:23 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: Backport UI fixes to 4.0.1

 Pranav,

 They have been all addressed but are not on 4.0 branch, my request is to 
 backport them to 4.0 to be available on 4.0.1 release.

 Is it not applicable to 4.0?

 Thanks
 ilya

 -Original Message-
 From: Pranav Saxena [mailto:pranav.sax...@citrix.com]
 Sent: Monday, November 26, 2012 4:52 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: Backport UI fixes to 4.0.1

 Few of the bugs mentioned below have been fixed by me and the code changes 
 have been pushed into asf/master . The remaining ones also seem to have been 
 addressed . Could you please verify once more ?

 Thanks  Regards,
 Pranav

 -Original Message-
 From: Musayev, Ilya [mailto:imusa...@webmd.net]
 Sent: Monday, November 26, 2012 12:11 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: Backport UI fixes to 4.0.1

 jzb - below is the list of bugs that should be minimally impacting and are UI 
 changes


 Least intrusive - UI Changes
 ---
 CLOUDSTACK-474
 Create NetworkOffering wizard should provide dropdown for LB isolation when 
 LB is set to External devices  guest_type is set to Shared
 ---
 CLOUDSTACK-475
 cloudstack UI - create network offering - Hide VPC checkbox when Guest Type 
 is Shared. Show it when Guest Type is Isolated.
 
 CLOUDSTACK-476
 cloudstack UI - create network offering - Supported Source NAT type dropdown 
 - set Per zone as default option.
 
 CLOUDSTACK-477
 cloudstack UI - zone wizard - When Advanced/SecurityGroup is selected, pass 
 forVirtualNetwork=false to createVlanIpRange API.
 
 CLOUDSTACK-439
 Alert with typo and outdated text regarding direct attached public IPs


 Additional least intrusive nice to haves

 
 CLOUDSTACK-523
 When adding Vms to an LB rule , when there are vms with display name that 
 were provided by user and autogenearated uuid , the list vm screen extends 
 beyond the frames original width..
 
 CLOUDSTACK-459
 [Optional Public IP assignment for EIP with Basic Zone] Associate IP Checkbox 
 in Create Network Offering Dialog is Displayed When Elastic LB is Selected
 


 I will file more bug reports that I was under impression - have been 
 addressed by above- but as I reviewed the bug details - I don't believe they 
 have been addressed.

 Thanks
 ilya








Re: master branch build is broken?

2012-11-26 Thread David Nalley
On Mon, Nov 26, 2012 at 7:02 PM, Edison Su edison...@citrix.com wrote:
 If -Dnonoss is enabled, mvn reports that a lot of class missing related to 
 autoscale. Any special jars needed? I use the jars from 
 http://zooi.widodh.nl/cloudstack/build-dep/

Those have apparently changed and per Vijay you should use the jars
located here:
http://community.citrix.com/download/attachments/37847122/cloud-netscaler-jars.zip

--David


[jira] [Created] (CLOUDSTACK-544) cloudstack UI - template page, ISO page - edit, copy, download action is available if template/ISO and the login user is under the same project.

2012-11-26 Thread Jessica Wang (JIRA)
Jessica Wang created CLOUDSTACK-544:
---

 Summary: cloudstack UI - template page, ISO page - edit, copy, 
download action is available if template/ISO and the login user is under the 
same project.
 Key: CLOUDSTACK-544
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-544
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CLOUDSTACK-544) cloudstack UI - template page, ISO page - edit, copy, download action is available if template/ISO and the login user is under the same project.

2012-11-26 Thread Jessica Wang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jessica Wang resolved CLOUDSTACK-544.
-

Resolution: Fixed

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   37 seconds ago (Mon Nov 26 16:13:01 2012)
Commit hash:163779200fbc37963d2890902f3feebbb2cb1231

CLOUDSTACK-544: cloudstack UI - template page, ISO page - edit, copy, download 
action is available if template/ISO and the login user is under the same 
project.

Contained in branches: master
Contained in no tag

 cloudstack UI - template page, ISO page - edit, copy, download action is 
 available if template/ISO and the login user is under the same project.
 

 Key: CLOUDSTACK-544
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-544
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Jessica Wang
Assignee: Jessica Wang



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


RE: master branch build is broken?

2012-11-26 Thread Pranav Saxena
Copying the right Vijay ! 

@Vijay - Could you please have a look at this  - 

Regards,
Pranav

-Original Message-
From: David Nalley [mailto:da...@gnsa.us] 
Sent: Monday, November 26, 2012 4:07 PM
To: cloudstack-dev@incubator.apache.org
Cc: Vijayendra Bhamidipati
Subject: Re: master branch build is broken?

On Mon, Nov 26, 2012 at 7:02 PM, Edison Su edison...@citrix.com wrote:
 If -Dnonoss is enabled, mvn reports that a lot of class missing 
 related to autoscale. Any special jars needed? I use the jars from 
 http://zooi.widodh.nl/cloudstack/build-dep/

Those have apparently changed and per Vijay you should use the jars located 
here:
http://community.citrix.com/download/attachments/37847122/cloud-netscaler-jars.zip

--David


[jira] [Commented] (CLOUDSTACK-459) [Optional Public IP assignment for EIP with Basic Zone] Associate IP Checkbox in Create Network Offering Dialog is Displayed When Elastic LB is Selected

2012-11-26 Thread Jessica Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504278#comment-13504278
 ] 

Jessica Wang commented on CLOUDSTACK-459:
-

Author: Jessica Wang 
jessica.w...@citrix.com#mailto:jessica.w...@citrix.com
Date:   36 seconds ago (Mon Nov 26 16:58:24 2012)
Commit hash:8c76baa0544846149916cfc0c98b81203ee546ca

CLOUDSTACK-459: cloudstack UI - create network offering dialog - fix a bug that 
associatePublicIP parameter was passed to createNetworkOffering API 
incorrectly. Fix it to pass associatePublicIP parameter as part of 
servicecapabilitylist.

Contained in branches: master
Contained in no tag

 [Optional Public IP assignment for EIP with Basic Zone] Associate IP Checkbox 
 in Create Network Offering Dialog is Displayed When Elastic LB is Selected
 

 Key: CLOUDSTACK-459
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-459
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Affects Versions: 4.1.0
Reporter: Radhika Nair
Assignee: Pranav Saxena
Priority: Minor
 Fix For: 4.1.0

 Attachments: elastic-lb.png


 As per the PRD, Create Network Offering dialog box should display the 
 Associate IP checkbox when EIP service capability is chosen. Checkbox for the 
 capability shall only show up when 'EIP service'  capability is chosen.
 But, the Associate IP checkbox is displayed when you select Elastic LB 
 instead of Elastic IP option.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: Backport UI fixes to 4.0.1

2012-11-26 Thread Musayev, Ilya
I'm on official 4.0 release. I will try to reproduce what I can. I will 
probably file few more UI bugs on the way, spexifically when you do advanced 
network setup as I had to resort to API to get what UI did not accomplish.

Side note, id like to create rpms from source code/git identical to what is 
done on Jenkins. Is this documented?

Chip Childers chip.child...@sungard.com wrote:
Has the master branch really diverged that much at this point?  Also,
I think Ilya has mostly been using the 4.0 release anyway (but we can
wait for confirmation of that).

- chip

Sent from my iPhone.

On Nov 26, 2012, at 6:17 PM, Pranav Saxena pranav.sax...@citrix.com wrote:

 I think you are right then . We should definitely back port them to 4.0 as 
 well but I am not very sure , if we can reproduce all of them there . If you 
 could reproduce these issues once on 4.0 , I can backport the fixes 
 immediately .

 Thanks,
 Pranav


 -Original Message-
 From: Musayev, Ilya [mailto:imusa...@webmd.net]
 Sent: Monday, November 26, 2012 2:23 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: Backport UI fixes to 4.0.1

 Pranav,

 They have been all addressed but are not on 4.0 branch, my request is to 
 backport them to 4.0 to be available on 4.0.1 release.

 Is it not applicable to 4.0?

 Thanks
 ilya

 -Original Message-
 From: Pranav Saxena [mailto:pranav.sax...@citrix.com]
 Sent: Monday, November 26, 2012 4:52 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: Backport UI fixes to 4.0.1

 Few of the bugs mentioned below have been fixed by me and the code changes 
 have been pushed into asf/master . The remaining ones also seem to have been 
 addressed . Could you please verify once more ?

 Thanks  Regards,
 Pranav

 -Original Message-
 From: Musayev, Ilya [mailto:imusa...@webmd.net]
 Sent: Monday, November 26, 2012 12:11 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: Backport UI fixes to 4.0.1

 jzb - below is the list of bugs that should be minimally impacting and are UI 
 changes


 Least intrusive - UI Changes
 ---
 CLOUDSTACK-474
 Create NetworkOffering wizard should provide dropdown for LB isolation when 
 LB is set to External devices  guest_type is set to Shared
 ---
 CLOUDSTACK-475
 cloudstack UI - create network offering - Hide VPC checkbox when Guest Type 
 is Shared. Show it when Guest Type is Isolated.
 
 CLOUDSTACK-476
 cloudstack UI - create network offering - Supported Source NAT type dropdown 
 - set Per zone as default option.
 
 CLOUDSTACK-477
 cloudstack UI - zone wizard - When Advanced/SecurityGroup is selected, pass 
 forVirtualNetwork=false to createVlanIpRange API.
 
 CLOUDSTACK-439
 Alert with typo and outdated text regarding direct attached public IPs


 Additional least intrusive nice to haves

 
 CLOUDSTACK-523
 When adding Vms to an LB rule , when there are vms with display name that 
 were provided by user and autogenearated uuid , the list vm screen extends 
 beyond the frames original width..
 
 CLOUDSTACK-459
 [Optional Public IP assignment for EIP with Basic Zone] Associate IP Checkbox 
 in Create Network Offering Dialog is Displayed When Elastic LB is Selected
 


 I will file more bug reports that I was under impression - have been 
 addressed by above- but as I reviewed the bug details - I don't believe they 
 have been addressed.

 Thanks
 ilya









[jira] [Created] (CLOUDSTACK-545) Tabularize the cloudmonkey response

2012-11-26 Thread Prasanna Santhanam (JIRA)
Prasanna Santhanam created CLOUDSTACK-545:
-

 Summary: Tabularize the cloudmonkey response
 Key: CLOUDSTACK-545
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-545
 Project: CloudStack
  Issue Type: Bug
  Components: Cloudmonkey, Test Tools
Reporter: Prasanna Santhanam


cloudmonkey responses would be more sensible and easier on the eye if they can 
look tabular similar to the ec2 tools. enhance cloudmonkey to support tabular 
formatting instead of sequential lists of the response

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: [ACS41] Schedule Reminder #1

2012-11-26 Thread howie...@trend.com.tw
Hi

Maybe you can watch the  Roadmap on cloudstack's JIRA site.

https://issues.apache.org/jira/browse/CLOUDSTACK?selectedTab=com.atlassian.
jira.plugin.system.project%3Aroadmap-panel

It will show the release progress.

On 12/11/26 下午11:52, Sudha Ponnaganti sudha.ponnaga...@citrix.com
wrote:

Do we have a web page just like CS 4.0.1 created to track release
progress? Sorry - I have been trying to locate it but keep going to other
sites. 


-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com]
Sent: Monday, November 26, 2012 6:57 AM
To: cloudstack-dev@incubator.apache.org
Subject: [ACS41] Schedule Reminder #1

Hi all,

I just want to remind everyone about our 4.1 feature release schedule.
 I'll periodically send email reminders like this, until we get closer to
feature freeze (and much more frequently once we head into the Testing /
Hardening / Wrap-Up phase).

It's the last week of November, which means we have 2 more months for
features to make it into master for the 4.1 release.


Here's the full schedule once again:

=
New 4.1 detailed schedule proposal:
=

2012-11-01 through 2013-01-31
  Feature and documentation development (obviously ongoing, but continued
during this period)

2013-01-31
  Feature Freeze
  All new feature need to have been merged into master by this date.
  Release branch will be cut on this date.
  Jenkins updated to include new release branch builds.

2013-02-01 through 2013-02-28
  Testing/Bug Fixes (testing against jenkins artifacts)
  Documentation Finalization

2013-02-28
  Docs Freeze (except release notes and translations)
  Release Branch moves to limited updates only (only commits allowed in
would be release blockers fixes, translation updates, etc...)

2013-03-01 through 2013-03-22
  Translation Development and Integration (should be ongoing, but focused
effort)
  Final regression testing / bug fixes / doc fixes

2013-03-22
  4.1.0-RC1 is created, and project level VOTE is called


table class=TM_EMAIL_NOTICEtrtdpre
TREND MICRO EMAIL NOTICE
The information contained in this email and any attachments is confidential 
and may be subject to copyright or other intellectual property protection. 
If you are not the intended recipient, you are not authorized to use or 
disclose this information, and we request that you notify us by reply mail or
telephone and delete the original message from your mail system.
/pre/td/tr/table

[jira] [Assigned] (CLOUDSTACK-546) Guest vms which are in expunging state should not be displayed in UI

2012-11-26 Thread Pranav Saxena (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pranav Saxena reassigned CLOUDSTACK-546:


Assignee: Pranav Saxena

 Guest vms which are in expunging state should not be displayed in UI
 

 Key: CLOUDSTACK-546
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-546
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Pranav Saxena
Assignee: Pranav Saxena
 Fix For: 4.0.1


 UI: Guest vms which are in expunging state should not be displayed in UI 
 Repro Steps: 
 == 
 1.Create a guest vm 
 2.Destroy it 
 Wait for the vm to go to expunging state(Set expunge interval to small 
 value). Check the status in vm_instance table in cloud db. When the vm status 
 is in expunging state in db, vm should not be displayed in UI in Instance . 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CLOUDSTACK-546) Guest vms which are in expunging state should not be displayed in UI

2012-11-26 Thread Pranav Saxena (JIRA)
Pranav Saxena created CLOUDSTACK-546:


 Summary: Guest vms which are in expunging state should not be 
displayed in UI
 Key: CLOUDSTACK-546
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-546
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Pranav Saxena
 Fix For: 4.0.1


UI: Guest vms which are in expunging state should not be displayed in UI 

Repro Steps: 
== 
1.Create a guest vm 
2.Destroy it 

Wait for the vm to go to expunging state(Set expunge interval to small value). 
Check the status in vm_instance table in cloud db. When the vm status is in 
expunging state in db, vm should not be displayed in UI in Instance . 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CLOUDSTACK-546) Guest vms which are in expunging state should not be displayed in UI

2012-11-26 Thread Pranav Saxena (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pranav Saxena resolved CLOUDSTACK-546.
--

Resolution: Fixed

 Guest vms which are in expunging state should not be displayed in UI
 

 Key: CLOUDSTACK-546
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-546
 Project: CloudStack
  Issue Type: Bug
  Components: UI
Reporter: Pranav Saxena
Assignee: Pranav Saxena
 Fix For: 4.0.1


 UI: Guest vms which are in expunging state should not be displayed in UI 
 Repro Steps: 
 == 
 1.Create a guest vm 
 2.Destroy it 
 Wait for the vm to go to expunging state(Set expunge interval to small 
 value). Check the status in vm_instance table in cloud db. When the vm status 
 is in expunging state in db, vm should not be displayed in UI in Instance . 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: Review Request: HttpClient needs releaseConnection method call

2012-11-26 Thread Hiroaki Kawai


 On Nov. 22, 2012, 9:39 a.m., Hugo Trippaers wrote:
  plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/NiciraNvpApi.java,
   line 123
  https://reviews.apache.org/r/8186/diff/1/?file=222930#file222930line123
 
  Can you release the connection here and still call the getStatusCode() 
  below?

Yes, we can release the connection and still get the status code.


- Hiroaki


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8186/#review13691
---


On Nov. 22, 2012, 8:42 a.m., Hiroaki Kawai wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/8186/
 ---
 
 (Updated Nov. 22, 2012, 8:42 a.m.)
 
 
 Review request for cloudstack.
 
 
 Description
 ---
 
 Thanks to Hugo about pointing out the page 
 http://hc.apache.org/httpclient-3.x/threading.html , I found that we MUST 
 call releaseConnection when we're using HttpClient in conjunction with 
 MultiThreadedHttpConnectionManager.
 
 
 Diffs
 -
 
   agent/src/com/cloud/agent/AgentShell.java 774f222 
   awsapi/src/com/cloud/bridge/io/S3CAStorBucketAdapter.java 2101afe 
   
 plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/NiciraNvpApi.java
  26e7e0d 
   server/src/com/cloud/cluster/ClusterServiceServletImpl.java 0c3a175 
   server/src/com/cloud/maint/UpgradeManagerImpl.java c1ce3f0 
 
 Diff: https://reviews.apache.org/r/8186/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Hiroaki Kawai
 




RE: master branch build is broken?

2012-11-26 Thread Vijay Venkatachalam

I have updated the build doc with the correct link location for netscaler jar 
files.

PS:
Wido is on a vacation and will update his repository once he is back.
 
Thanks,
Vijay V.

 -Original Message-
 From: David Nalley [mailto:da...@gnsa.us]
 Sent: Tuesday, November 27, 2012 5:37 AM
 To: cloudstack-dev@incubator.apache.org
 Cc: Vijayendra Bhamidipati
 Subject: Re: master branch build is broken?
 
 On Mon, Nov 26, 2012 at 7:02 PM, Edison Su edison...@citrix.com wrote:
  If -Dnonoss is enabled, mvn reports that a lot of class missing
  related to autoscale. Any special jars needed? I use the jars from
  http://zooi.widodh.nl/cloudstack/build-dep/
 
 Those have apparently changed and per Vijay you should use the jars located
 here:
 http://community.citrix.com/download/attachments/37847122/cloud-
 netscaler-jars.zip
 
 --David


Re: Review Request: HttpClient needs releaseConnection method call

2012-11-26 Thread Hiroaki Kawai

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8186/
---

(Updated Nov. 27, 2012, 2:03 a.m.)


Review request for cloudstack.


Changes
---

In NiciraNvpApi.java, previous patch called releaseConnection before reading 
http response body. Fixed in this patch.


Description
---

Thanks to Hugo about pointing out the page 
http://hc.apache.org/httpclient-3.x/threading.html , I found that we MUST call 
releaseConnection when we're using HttpClient in conjunction with 
MultiThreadedHttpConnectionManager.


Diffs (updated)
-

  agent/src/com/cloud/agent/AgentShell.java 774f222 
  awsapi/src/com/cloud/bridge/io/S3CAStorBucketAdapter.java 2101afe 
  
plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/NiciraNvpApi.java
 26e7e0d 
  server/src/com/cloud/cluster/ClusterServiceServletImpl.java 0c3a175 
  server/src/com/cloud/maint/UpgradeManagerImpl.java c1ce3f0 

Diff: https://reviews.apache.org/r/8186/diff/


Testing
---


Thanks,

Hiroaki Kawai



RE: new PPMC member:

2012-11-26 Thread Rajesh Battala
Congratulations Hugo.

Thanks
Rajesh Battala

-Original Message-
From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com] 
Sent: Tuesday, November 27, 2012 3:35 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: new PPMC member:

Hugo, congratulations!

-Alena.

On 11/26/12 11:49 AM, David Nalley da...@gnsa.us wrote:

The Podling Project Management Committee (PPMC) for Apache CloudStack 
has asked Hugo to become a member of the PPMC and we are pleased to 
announce that he has accepted.

Please join me in congratulating Hugo,

--David
on behalf of the CloudStack PPMC





Re: Backport UI fixes to 4.0.1

2012-11-26 Thread David Nalley
On Mon, Nov 26, 2012 at 8:01 PM, Musayev, Ilya imusa...@webmd.net wrote:
 I'm on official 4.0 release. I will try to reproduce what I can. I will 
 probably file few more UI bugs on the way, spexifically when you do advanced 
 network setup as I had to resort to API to get what UI did not accomplish.

 Side note, id like to create rpms from source code/git identical to what is 
 done on Jenkins. Is this documented?

Yes - check out the install guide:
http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/sect-source-buildrpm.html


RE: Nexus 1000v Support (CLOUDSTACK-301)

2012-11-26 Thread Sateesh Chodapuneedi
Chip,

I have fixed the issue and testing is in progress now.

Regards,
Sateesh


This e-mail message is for the sole use of the intended recipient(s) and may 
contain confidential and/or privileged information. Any unauthorized review, 
use, disclosure, or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message. 


 -Original Message-
 From: Ram Ganesh
 Sent: Monday, November 26, 2012 10:38 PM
 To: cloudstack-dev@incubator.apache.org; Sateesh Chodapuneedi
 Subject: RE: Nexus 1000v Support (CLOUDSTACK-301)
 
 Chip,
 
 Sateesh is actively working on it. You should hear more in a day or two.
 
 Thanks,
 Ram
 
  -Original Message-
  From: Chip Childers [mailto:chip.child...@sungard.com]
  Sent: 26 November 2012 21:01
  To: cloudstack-dev@incubator.apache.org; Sateesh Chodapuneedi
  Subject: Nexus 1000v Support (CLOUDSTACK-301)
 
  Sateesh,
 
  CLOUDSTACK-301 is currently assigned to you.  Is this in progress?  Or
  is this something that can be picked up by someone else?
 
  Thanks!
 
  https://issues.apache.org/jira/browse/CLOUDSTACK-301


[jira] [Commented] (CLOUDSTACK-515) NVP Installation

2012-11-26 Thread Rohit Yadav (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504393#comment-13504393
 ] 

Rohit Yadav commented on CLOUDSTACK-515:


Fix is really simple, will look into that tomorrow. I'm not sure, will check 
with Hugo if NVP was integrated with 4.0.0 release for ubuntu.

 NVP Installation 
 -

 Key: CLOUDSTACK-515
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-515
 Project: CloudStack
  Issue Type: Bug
  Components: Install and Setup
Affects Versions: 4.0.0
 Environment: Ubuntu 12.04 package installation
Reporter: Dimitri Desmidt
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.0.1


 When installation CloudStack on Ubuntu 12.04 (package installation), the 
 etc/cloud/management/nicira-nvp_commands.properties file was missing.
 Note: To get the installation working, I had to manually copy it from git + 
 restart management.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira