Re: [DISCUSS] Let's do ACS 4.5 RC4?

2015-02-23 Thread Amogh Vasekar
Hi,

I have replied to the bug mentioned on the steps. One only needs to know
the Hypervisor specific names of OS for the mappings to add the entries.

Thanks
Amogh

On 2/23/15 8:07 AM, Marcus shadow...@gmail.com wrote:

What's missing is that there's simply no entry in the table for KVM or
VMware. There needs to be an entry added for them.

On the KVM side the entry should probably just look like the previous
respective releases, as LibvirtComputingResource only has two states
for VM hardware,  PV or non-PV, and decides this based off of OS name
(which is currently coming through as 'Other' due to the missing
mappings described in the bug).

On Mon, Feb 23, 2015 at 1:39 AM, Rohit Yadav rohit.ya...@shapeblue.com
wrote:

 On 23-Feb-2015, at 2:55 pm, Daan Hoogland daan.hoogl...@gmail.com
wrote:

 Rohit, I see one blocker issue. [1] I think it's status is debatable.
 It is at Anthony's name now but I doubt if he is aware of it yet. I
 agree that 4.5 should be out soon.

 It looks like a blocker but lacks information, if we know what is
missing we can fix it. Marcus - any comments?


 @Marcus: Do you really want to call this a blocker

 [1] https://issues.apache.org/jira/browse/CLOUDSTACK-8265


 On Mon, Feb 23, 2015 at 10:10 AM, Rohit Yadav
rohit.ya...@shapeblue.com wrote:
 Hi all,

 4.5.0 is already too late, let's focus on releasing it soon - in the
 past few weeks, we've already fixed many blockers and issues on 4.5.
Are
 there any blockers on 4.5 that need to be fixed?

 I would request to hold back on issues that are not blockers or
critical
 issues, and request David to please start a RC4 voting thread.

 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 8826230892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab
 PS. If you see any footer below, I did not add it :)
 Find out more about ShapeBlue and our range of CloudStack related
services

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

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



 --
 Daan

 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 88 262 30892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab



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

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

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

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-15 Thread Amogh Vasekar
Question - What happens to the already existing VMs with entries in the
DB? Do we keep it NULL?

Amogh

On 11/15/14 8:41 AM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

Any idea on how many tables would be impacted by a decision for us to add
the user ID directly into the tables (as opposed to relying on events)?

Since we already have a domain_id and an account_id in certain tables, it
might be better from a consistency standpoint to just add user_id to those
tables, as well (I know it is a bit de-normalized that way, but we already
have that situation with having both domain_id and account_id in these
tables).

On Sat, Nov 15, 2014 at 3:28 AM, Rohit Yadav rohit.ya...@shapeblue.com
wrote:

 Hi,


  On 15-Nov-2014, at 2:27 pm, Rajani Karuturi raj...@apache.org wrote:
 
  I agree with Nitin. It will be cleaner to use the events table. Since
  cloudstack is concerned only about account, it makes sense to have
only
  that information which is the owner field(and remove account_id,
  domain_id).
  I think, there is no auto purging or archival of events. Its the
operator
  who decides to delete the events. He can decide what he wants to
  retain/delete.

 I don¹t think it¹s a pragmatic solution, let me explain ‹ In the past
few
 months, apart from ACS development I¹ve been heavily involved in working
 and supporting large production grade clouds and my ops experience is
that
 there are usually couple of sysadmins (usually working in shifts) and we
 cannot really rely on the assumption that events are only cleared by one
 operator or that there is culture of knowledge sharing of all the
actions.
 If one of the sysadmins (during their shift) removes some events, others
 won¹t know. The events feature is perhaps good for event-driven
consumption
 such as via AMQP/RabbitMQ and automated monitoring systems but perhaps
not
 best suited for humans all the time (yet).

 The other use case is of a large org who are consumer of a (rented)
 CloudStack cloud among other tenants, the whole team of an org shares
the
 account but has various users in it. For them it can be useful to list
vms
 and other resources by userid within their account. Since, they may not
be
 admin (renting cloud?) the pragmatic solution would be to have such
 metadata somewhere easily slice-able and dice-able using APIs.

 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 88 262 30892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab

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

 IaaS Cloud Design  Build
 http://shapeblue.com/iaas-cloud-design-and-build//
 CSForge ­ rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Software Engineering
 http://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training Courses
 http://shapeblue.com/cloudstack-training/

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




-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
http://solidfire.com/solution/overview/?video=play*�*



Contrail compilation issue

2014-10-27 Thread Amogh Vasekar
Hi,

Anyone else seeing this issue?
Error code 503 suggests http://repository.apache.org/snapshots is down.
Any quick workarounds to get builds running again?


[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process
(default) on project cloud-client-ui: Error resolving project artifact:
Could not transfer artifact
net.juniper.contrail:juniper-contrail-api:pom:1.0-SNAPSHOT from/to
apache.snapshots (http://repository.apache.org/snapshots): Failed to look
for file:
http://repository.apache.org/snapshots/net/juniper/contrail/juniper-contrai
l-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.pom.
Return code is:
503 for project net.juniper.contrail:juniper-contrail-api:jar:1.0-SNAPSHOT

Thanks
Amogh




Re: vm.password.length issue in 4.4.1-SNAPSHOT

2014-10-24 Thread Amogh Vasekar
Hi Laszlo,

Any comments on the below? I agree adding 3 characters is a bug and
willing to fix it.

In addition, Ian, I believe we should set a minimum allowed value for the
config value vm.password.length. Any objections to setting the minimum to
8, the previous default?

Thanks
Amogh

On 10/13/14 5:34 PM, Ian Duffy i...@ianduffy.ie wrote:

The only other usage of it is within
server/src/com/cloud/server/ConfigurationServerImpl.java
Its used for creating a Secondary storage vm copy password.

I'm seeing absolutely no reason why we have 3 values going in no matter
what, I'm willing to say its a bug. I'm curious to why the tests are
written to deal with it though

On 14 October 2014 00:26, Nux! n...@li.nux.ro wrote:

 Well, it's a bit messy, but still better than the old password length.
 Ideally this should get clarified/fixed, but for now I am happy with my
 long+3 password! :)


 Cheers,
 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
  From: Ian Duffy i...@ianduffy.ie
  To: CloudStack Dev dev@cloudstack.apache.org
  Cc: laszlo hornyak laszlo.horn...@gmail.com
  Sent: Monday, 13 October, 2014 19:54:53
  Subject: Re: vm.password.length issue in 4.4.1-SNAPSHOT

  Hey Nux,
 
  So I passed this work off to a util class that was already present in
the
  code base PasswordGenerator
 
 @Override
 public String generateRandomPassword() {
 Integer passwordLength =
  Integer.parseInt(_configDao.getValue(vm.password.length));
 return 
PasswordGenerator.generateRandomPassword(passwordLength);
 }
 
  Not a clue why but the generateRandomPassword method creates a random
  3-character string first then loops through to generate n random
 characters.
 
 public static String generateRandomPassword(int num) {
 Random r = new SecureRandom();
 StringBuilder password = new StringBuilder();
 
 // Generate random 3-character string with a lowercase
character,
 // uppercase character, and a digit
 
 
 
password.append(generateLowercaseChar(r)).append(generateUppercaseChar(r)
).append(generateDigit(r));
 
 // Generate a random n-character string with only lowercase
 // characters
 for (int i = 0; i  num; i++) {
 password.append(generateLowercaseChar(r));
 }
 
 return password.toString();
 }
 
  The unit tests seem to accommodate for this aswell:
 
 // actual length is requested length + 3
 
  
Assert.assertTrue(PasswordGenerator.generateRandomPassword(0).length() ==
  3);
 
  
Assert.assertTrue(PasswordGenerator.generateRandomPassword(1).length() ==
  4);
 
  I'm guessing there's some reasoning for this CCing Laszlo who
 according
  to git log did some work on this class.
 
  Thanks,
 
  Ian
 
  On 13 October 2014 19:39, Nux! n...@li.nux.ro wrote:
 
  Hello,
 
  First of all THANKS! to whoever made this feature happen (Ian I
 guess).
  Now we can set more secure passwords generated for our instances.
 
  Second, the feature works, but with a small glitch, the number seems
to
 be
  affected by some sort of offset. I.e. if I set the password to be 15
 chars
  in length then the generated password will actually be 18 chars.
  In order to get a 15 chars long passwd I had to set
vm.password.length
 to
  12. Bug or feature? :)
 
 
  Lucian
 
  --
  Sent from the Delta quadrant using Borg technology!
 
  Nux!
  www.nux.ro




Re: vm.password.length issue in 4.4.1-SNAPSHOT

2014-10-24 Thread Amogh Vasekar
Do note that the password generated here is considered temporary, as
previously pointed out by Chiradeep in another thread.

Thanks
Amogh

On 10/24/14 5:31 PM, Nux! n...@li.nux.ro wrote:

Imho, considering the password is not very secure (it's missing symbols),
we should increase the length.
For my personal stuff I default to 15 chars.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Amogh Vasekar amogh.vase...@citrix.com
 To: dev@cloudstack.apache.org
 Cc: laszlo hornyak laszlo.horn...@gmail.com
 Sent: Saturday, 25 October, 2014 00:37:07
 Subject: Re: vm.password.length issue in 4.4.1-SNAPSHOT

 Hi Laszlo,
 
 Any comments on the below? I agree adding 3 characters is a bug and
 willing to fix it.
 
 In addition, Ian, I believe we should set a minimum allowed value for
the
 config value vm.password.length. Any objections to setting the minimum
to
 8, the previous default?
 
 Thanks
 Amogh
 
 On 10/13/14 5:34 PM, Ian Duffy i...@ianduffy.ie wrote:
 
The only other usage of it is within
server/src/com/cloud/server/ConfigurationServerImpl.java
Its used for creating a Secondary storage vm copy password.

I'm seeing absolutely no reason why we have 3 values going in no matter
what, I'm willing to say its a bug. I'm curious to why the tests are
written to deal with it though

On 14 October 2014 00:26, Nux! n...@li.nux.ro wrote:

 Well, it's a bit messy, but still better than the old password length.
 Ideally this should get clarified/fixed, but for now I am happy with
my
 long+3 password! :)


 Cheers,
 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
  From: Ian Duffy i...@ianduffy.ie
  To: CloudStack Dev dev@cloudstack.apache.org
  Cc: laszlo hornyak laszlo.horn...@gmail.com
  Sent: Monday, 13 October, 2014 19:54:53
  Subject: Re: vm.password.length issue in 4.4.1-SNAPSHOT

  Hey Nux,
 
  So I passed this work off to a util class that was already present
in
the
  code base PasswordGenerator
 
 @Override
 public String generateRandomPassword() {
 Integer passwordLength =
  Integer.parseInt(_configDao.getValue(vm.password.length));
 return
PasswordGenerator.generateRandomPassword(passwordLength);
 }
 
  Not a clue why but the generateRandomPassword method creates a
random
  3-character string first then loops through to generate n random
 characters.
 
 public static String generateRandomPassword(int num) {
 Random r = new SecureRandom();
 StringBuilder password = new StringBuilder();
 
 // Generate random 3-character string with a lowercase
character,
 // uppercase character, and a digit
 
 
 
password.append(generateLowercaseChar(r)).append(generateUppercaseChar(
r)
).append(generateDigit(r));
 
 // Generate a random n-character string with only lowercase
 // characters
 for (int i = 0; i  num; i++) {
 password.append(generateLowercaseChar(r));
 }
 
 return password.toString();
 }
 
  The unit tests seem to accommodate for this aswell:
 
 // actual length is requested length + 3
 
  
Assert.assertTrue(PasswordGenerator.generateRandomPassword(0).length()
==
  3);
 
  
Assert.assertTrue(PasswordGenerator.generateRandomPassword(1).length()
==
  4);
 
  I'm guessing there's some reasoning for this CCing Laszlo who
 according
  to git log did some work on this class.
 
  Thanks,
 
  Ian
 
  On 13 October 2014 19:39, Nux! n...@li.nux.ro wrote:
 
  Hello,
 
  First of all THANKS! to whoever made this feature happen (Ian I
 guess).
  Now we can set more secure passwords generated for our instances.
 
  Second, the feature works, but with a small glitch, the number
seems
to
 be
  affected by some sort of offset. I.e. if I set the password to be
15
 chars
  in length then the generated password will actually be 18 chars.
  In order to get a 15 chars long passwd I had to set
vm.password.length
 to
  12. Bug or feature? :)
 
 
  Lucian
 
  --
  Sent from the Delta quadrant using Borg technology!
 
  Nux!
  www.nux.ro



Re: Urgent. Importing certificate to CS 4.3.1 using GUI

2014-10-23 Thread Amogh Vasekar
:77:66:74:eb:
 10:d5:7e:58:d7:ba:70:fe:96:4b:94:f5:66:5c:af:57:ae:e0:
 ad:72:7a:ef:04:80:7e:4b:6d:ee:13:e2:de:20:94:4e:bb:7b:
 a6:87:0f:92:d8:c4:01:9b:50:fd:b4:0b:60:b2:93:91:32:ce:
 31:f9:b7:4f:a0:72:71:a1:87:b4:02:ff:5b:49:c1:2f:a1:6d:
 13:98:c1:81:9c:33:f6:61:b9:f9:47:7b:7b:2a:b2:e0:7b:21:
 4b:67:c0:23:04:b7:08:e5:7d:a3:44:b5:a5:aa:ce:03:be:93:
 cb:78:fe:2d:e5:a7:61:20:03:b2:a1:ac:92:41:54:c0:25:b5:
 32:c6:c5:83:49:7a:cd:a8:16:4e:80:f2:05:9c:47:17:74:1f:
 55:63:f2:9c:e3:fa:48:cb:93:40:8f:63:7b:69:2f:2a:22:4e:
 0e:44:1b:52:3e:70:fb:65:43:be:a2:0a:04:5e:70:cf:d7:fe:
 d5:66:0a:19:81:d5:bf:54:ce:fd:25:cc:d8:f6:cc:be:e8:a9:
 e1:a9:38:ef:81:80:2e:61:52:fb:0a:0c:e5:21:e1:7a:c8:3f:
 8e:6a:9a:ab:a6:72:81:54:43:08:65:b8:62:00:08:c8:c2:f6:
 88:82:7e:fb:07:22:67:09:c0:1a:fb:d9:69:17:2a:d8:be:01:
 7e:e5:ee:3d:1b:f1:bf:3f
 
 
 
 Tnx and regards,
 F.
 
 
 On 25 Sep 2014, at 13:48, France mailingli...@isg.si wrote:
 
 Tnx Amogh,
 
 i have checked management-server.log and no new entries or
 errors regarding certificate operation are written at the time
 when i get Failed to update SSL Certificate. error message. I
 tried it a couple of times. I also used somedomain.tld in the
 GUI. Certificate is for *.somedomain.tld.
 I will go thru whole create CA and certificate process again and
 retry.
 There must be some simple mistake in my process somewhere. Lack
 of errors in logs, is also strange. :-/
 
 Regards,
 F.
 
 On 24 Sep 2014, at 21:10, Amogh Vasekar
 amogh.vase...@citrix.com
 wrote:
 
 Hi,
 
 Couple of things :
 
 1. The error will be logged to the cloudstack management server
 log file
 (management-server.log) and would really help to know what it is.
 2. While uploading the certificate, the domain_suffix should be
 somedomain.tld and not *.somedomain.tld (the asterisk is only
 for global config so that cloudstack can distinguish between
 HTTP and HTTPS modes)
 
 Thanks
 Amogh
 
 On 9/24/14 7:40 AM, France mailingli...@isg.si wrote:
 
 Hi guys,
 
 i want to migrate away from realhostip.com. I have set up DNS
 service in no time, but am having problems importing
 certificates to ACS 3.4.1.
 
 I created my own CA like this:
 
 cd /etc/pki/CA
 touch index.txt
 echo 1000  serial
 openssl genrsa -aes256 -out /etc/pki/CA/private/ca.key.pem
 4096 chmod 400 /etc/pki/CA/private/ca.key.pem nano -w
 /etc/pki/tls/openssl.cnf openssl req -new -x509 -days 63650
 -key /etc/pki/CA/private/ca.key.pem
 -sha256 -extensions v3_ca -out /etc/pki/CA/certs/ca.cert.pem
 
 
 Signed my own keys and converted them to pkcs8 format like this:
 
 cd /etc/pki/CA
 openssl genrsa -out private/vse.somedomain.tld.key.pem 4096
 chmod
 400 private/vse.somedomain.tld.key.pem
 openssl req -sha256 -new -key
 private/vse.somedomain.tld.key.pem
 -out certs/vse.somedomain.tld.csr.pem openssl ca -keyfile
 private/ca.key.pem -cert certs/ca.cert.pem -extensions
 usr_cert -notext -md sha256 -days 63649 -in
 certs/vse.somedomain.tld.csr.pem -out
 certs/vse.somedomain.tld.cert.pem openssl pkcs8 -topk8 -in
 private/vse.somedomain.tld.key.pem -out
 private/vse.somedomain.tld.key.encrypted.pkcs8
 openssl pkcs8 -in
 private/vse.somedomain.tld.key.encrypted.pkcs8
 -out
 private/vse.somedomain.tld.key.pkcs8
 chmod 400 private/vse.somedomain.tld.key.encrypted.pkcs8
 chmod 400 private/vse.somedomain.tld.key.pkcs8
 
 
 
 But when trying to import it via GUI: infrastructure - SSL
 Certificate:
 Certificate from vse.somedomain.tld.cert.pem
 PKCS8 from private/vse.somedomain.tld.key.pkcs8
 DNS domain suffix to: *.somedomain.tld
 
 But it fails with:
 Failed to update SSL Certificate.
 
 Please help me upload the new certificate.
 Catalina.out shows no error. I have no idea what else to check.
 
 Thank you.
 F.
 
 
 
 
 
 
 
 
 
 




Re: Couple of questions about the 4.4.1 systemvm (re failed VR upgrades) and how to fix it

2014-10-22 Thread Amogh Vasekar
What hypervisor? Also, the systemvm.iso is attached when the systemVM is
created, so rebooting may not have the intended effect.

Amogh

On 10/22/14 11:17 AM, Nux! n...@li.nux.ro wrote:

After some grepping through the source code I found the command mkisofs
-quiet -r -o systemvm.iso systemvm, however this does not make any
difference, the VR will not boot with my custom iso. Is there some
checksum control or something?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Nux! n...@li.nux.ro
 To: dev@cloudstack.apache.org
 Sent: Wednesday, 22 October, 2014 17:37:03
 Subject: Re: Couple of questions about the 4.4.1 systemvm (re failed VR
upgrades) and how to fix it

 I copied the script to the lowercase filename as well, so they're both
there.
 Uploaded the ISO on the hypervisor/agent (also here
 http://tmp.nux.ro/Wz9-systemvm.iso )
 
 The problem now is - after I destroy the VR to make sure the new ISO is
used -
 the new VR will not start. Logs: http://fpaste.org/144244/14139957/raw/
 
 Perhaps I am not generating the ISO with the right options. How is it
being
 built exactly?
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: Daan Hoogland daan.hoogl...@gmail.com
 To: dev dev@cloudstack.apache.org
 Sent: Wednesday, 22 October, 2014 17:09:02
 Subject: Re: Couple of questions about the 4.4.1 systemvm (re failed VR
 upgrades) and how to fix it
 
 rename the script or create a link to it in the systemvm.iso
 
 On Wed, Oct 22, 2014 at 5:53 PM, Nux! n...@li.nux.ro wrote:
 Lovely!
 Now, how do I fix it? :-)

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
 From: Daan Hoogland daan.hoogl...@gmail.com
 To: dev dev@cloudstack.apache.org
 Sent: Wednesday, 22 October, 2014 16:46:56
 Subject: Re: Couple of questions about the 4.4.1 systemvm (re failed
VR
 upgrades) and how to fix it

 I had it backwards. the script is installed from the systemvm.iso not
 in the template it seems. sorry my search was correct but I
 interpreted the results wrong

 On Wed, Oct 22, 2014 at 5:37 PM, Daan Hoogland
daan.hoogl...@gmail.com wrote:
 Lucian, see inline

 On Wed, Oct 22, 2014 at 5:24 PM, Nux! n...@li.nux.ro wrote:
 Hi,

 So as per my other emails[1] regarding the failing upgrade because
the VR won't
 find /opt/cloud/bin/createipAlias.sh (a typo by the looks of it):

 - can I just download the systemvm, customise it and use it or is
the systemvm's
 cheksum, size and others locked in the DB?
 the checksum is used during downloading only AFAIR

 - if I can customise the systemvm, is it enough to just symlink
 /opt/cloud/bin/createIpAlias.sh (correct path) to
 /opt/cloud/bin/createipAlias.sh?
 You could. It still seems strange to me that the 4.3 version should
 work and the 4.4 not.


 Is there anything else I need to do to fix this? Jayapal mentioned
the
 systemvm.iso, do I need to edit this one as well?
 a search shows it is not mentioned in the iso scripts. Redoing this
 search now and let you know if otherwise.


 Lucian


 [1] - 
http://www.mail-archive.com/dev@cloudstack.apache.org/msg36853.html

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro



 --
 Daan



 --
 Daan
 
 
 
 --
  Daan



Missing commit?

2014-10-14 Thread Amogh Vasekar
Hi Hugo,

I was looking at the build failures and saw that commit
5990ed461049a51c57e76ff8c9ae1fb3355c3ea3 is not in master.
Not sure if its intentional, can you please do a quick check?

Thanks
Amogh



Re: Build failed in Jenkins: build-4.5 #14

2014-10-13 Thread Amogh Vasekar
Possibly disk space issue?
Can someone with access to Jenkins slaves please check on this?

Thanks
Amogh

On 10/13/14 1:12 AM, jenk...@cloudstack.org jenk...@cloudstack.org
wrote:

See http://jenkins.buildacloud.org/job/build-4.5/14/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on test-infra-common (test) in workspace
http://jenkins.buildacloud.org/job/build-4.5/ws/
java.io.IOException: Failed to mkdirs:
http://jenkins.buildacloud.org/job/build-4.5/ws/
   at hudson.FilePath.mkdirs(FilePath.java:1069)
   at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
   at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(Abstract
Build.java:609)
   at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
   at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:5
18)
   at hudson.model.Run.execute(Run.java:1688)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:231)
Recording test results
ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to
exception
http://jenkins.buildacloud.org/job/build-4.5/ws/ does not exist.
   at 
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFil
eSet.java:483)
   at 
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFil
eSet.java:460)
   at 
hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java
:108)
   at 
hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java
:90)
   at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2462)
   at hudson.remoting.UserRequest.perform(UserRequest.java:118)
   at hudson.remoting.UserRequest.perform(UserRequest.java:48)
   at hudson.remoting.Request$2.run(Request.java:328)
   at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorSer
vice.java:72)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1146)
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:615)
   at java.lang.Thread.run(Thread.java:679)



Re: Registering a snapshot strategy

2014-10-13 Thread Amogh Vasekar
Hi,

You probably need to register in the spring contexts.
grep -ri snapshotstrategy --include \*.xml * | grep spring
Should give the files to be modified.

HTH,
Amogh

On 10/13/14 1:40 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

Hi,

I have created a snapshot strategy, but I'm not sure how to get the
management server to load it.

I don't see any documentation on the Wiki (or the web in general) for
this.

Does anyone know what's required here?

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
http://solidfire.com/solution/overview/?video=play**



Re: Unable to upload SSL certificate for realhostip replacement

2014-10-01 Thread Amogh Vasekar
Hi,

For 4.2 you may want to refer here :
http://www.chipchilders.com/blog/2013/1/2/undocumented-feature-using-certif
icate-chains-in-cloudstack.html

4.3 had a missing commit, due to which the global config
consoleproxy.url.domain had to be set to mydomain.com, instead of
*.mydomain.com. This has been fixed in 4.3.1

Apologies for the inconvenience.

Amogh

On 10/1/14 8:16 AM, Rohit Yadav rohit.ya...@shapeblue.com wrote:

Just to update on the certificate upload issue with 4.2:

I’m able to download and add new volumes/templates/isos and the link
provided has a valid https url with the same certificate that I uploaded
though when I try to access the console I get SSL cert error and I see
that it’s still returning the old *.realhostip.com certificate. I’ve
tried to delete old CPVMs and I see the same issue coming up again.


On 01-Oct-2014, at 4:55 pm, Rohit Yadav rohit.ya...@shapeblue.com wrote:
 Hi,

 I’ve fixed cloudmonkey to url encode parameters so now you can use
cloudmonkey to upload custom certificate but only in non-interactive
mode on shell (bash/zsh). You’ll have to install cloudmonkey from source
for now since the fix is only on master.

 Something like:
 $ cloudmonkey upload customcertificate id=xx domainsuffix=yy name=zzz
certificate=‘asdf
 asdfasdf
 asdfasdf
 asdf---'

 I’ve some issues to report while replacing certificates to get rid of
realhostip, this is specific for Xen could apply for other hypervisors
as well:

 - In case of 4.2, I see in the database that seq is 0 for the root
certificate for the realhostip.com domain. I uploaded certificates in
order (root, then intermediate and finally SSL cert from UI), and I see
the old certificate is still there. after CPVM/SSVM restarts and are in
UP state I still get SSL errors and I see that systemvm.iso is not
getting patched. How to fix this? Or force systemvm.iso patching?

 - In case of 4.3.0 and above, I see the same issue. I’m confused
whether to use *. wildcard in global setting or not.

 On 27-Sep-2014, at 9:32 pm, Amogh Vasekar amogh.vase...@citrix.com
wrote:
 Hi,

 For the encoding, in your case it was the space character causing the
 issue - it should be replaced by %20. The correct encoding would be
 (hoping mail clients don't screw up the blob):
 
-BEGIN%20CERTIFICATE-%0AMIIDfTCCAuagAwIBAgIDErvmMA0GCSqGSIb3DQEB
BQU
 
AME4xCzAJBgNVBAYTAlVT%0AMRAwDgYDVQQKEwdFcXVpZmF4MS0wKwYDVQQLEyRFcXVpZmF4
IFN
 
lY3VyZSBDZXJ0%0AaWZpY2F0ZSBBdXRob3JpdHkwHhcNMDIwNTIxMDQwMDAwWhcNMTgwODIx
MDQ
 
wMDAw%0AWjBCMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEbMBkGA1UE
%0A
 
AxMSR2VvVHJ1c3QgR2xvYmFsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB%0ACgKCA
QEA
 
2swYYzD99BcjGlZ%2BW988bDjkcbd4kdS8odhM%2BKhDtgPpTSEHCIjaWC9m%0AOSm9BXiLn
Tjo
 
BbdqfnGk5sRgprDvgOSJKA%2BeJdbtg%2FOtppHHmMlCGDUUna2YRpIu%0AT8rxh0PBFpVXL
VDv
 
iS2Aelet8u5fa9IAjbkU%2BBQVNdnARqN7csiRv8lVK83Qlz6c%0AJmTM386DGXHKTubU1Xu
pGc
 
1V3sjs0l44U%2BVcT4wt%2FlAjNvxm5suOpDkZALeVAjmR%0ACw7%2BOC7RHQWa9k0%2Bbw8
HHa
 
8sHo9gOeL6NlMTOdReJivbPagUvTLrGAMoUgRx5asz%0APeE4uwc2hGKceeoWMPRfwCvocWv
k%2
 
BQIDAQABo4HwMIHtMB8GA1UdIwQYMBaAFEjm%0AaPkr0rKV10fYIyAQTzOYkJ%2FUMB0GA1U
dDg
 
QWBBTAephojYn7qwVkDBF9qn1luMrM%0ATjAPBgNVHRMBAf8EBTADAQH%2FMA4GA1UdDwEB%
2Fw
 
QEAwIBBjA6BgNVHR8EMzAxMC%2Bg%0ALaArhilodHRwOi8vY3JsLmdlb3RydXN0LmNvbS9jc
mxz
 
L3NlY3VyZWNhLmNybDBO%0ABgNVHSAERzBFMEMGBFUdIAAwOzA5BggrBgEFBQcCARYtaHR0c
HM6
 
Ly93d3cuZ2Vv%0AdHJ1c3QuY29tL3Jlc291cmNlcy9yZXBvc2l0b3J5MA0GCSqGSIb3DQEBB
QUA
 
A4GB%0AAHbhEm5OSxYShjAGsoEIz%2FAIx8dxfmbuwu3UOx%2F%2F8PDITtZDOLC5MH0Y0FW
Dom
 
rL%0ANhGc6Ehmo21%2FuBPUR%2F6LWlxz%2FK7ZGzIZOKuXNBSqltLroxwUCEm2u%2BWR74M
26x
 
1W%0Ab8ravHNjkOR%2Fez4iyz0H7V84dJzjA1BOoa%2BY7mHyhD8S%0A-END%20CERTI
FIC
 ATE-

 As for the global parameter, you can set it to something like a few
 seconds and reset to original value when the URLs have been expired.

 Thanks
 Amogh


 On 9/27/14 10:53 AM, Indra Pramana in...@sg.or.id wrote:

 Hi Wido,

 I have changed the value of secstorage.ssl.cert.domain and restart
 management server, before I start uploading all the certificates.

 I found this article, which might be related to the problem:

 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Troubleshooting+
-+u
 ploading+custom+domain+certificate+instead+of+using+realhostip.com

 

 *Specific Issues seen*

 1. Download urls point to the old domain.
1. Reduce the expiration duration of the urls by changing global
config extract.url.expiration.interval
2. And change the frequency for cleanup thread
through extract.url.cleanup.interval restart MS.
3. Wait for the cleanup thread duration and try downloading again.
See whether the url is deleted.
4. DB tables to check (don¹t recommend but worst case)
Version  4.2 ­ upload table persists url. Entry is hard deleted on
expiration of url.
Version = 4.2 ­
template_store_ref, download_url is made null on expiration of url.
volume_store_ref, entry hard deleted on expiration of url.

 

 But I'm not too

Re: Unable to upload SSL certificate for realhostip replacement

2014-10-01 Thread Amogh Vasekar
Hi,

Can you please paste the contents of the keystore table (minus the private
key of course)?

For SSVM, in 4.2, the certificate chain was not configured correctly and
it would only use the server certificate when configuring Apache. It did
not impact functionality though.
This is not true for CPVM, which would try to use the full chain.
It was fixed in 4.3, along with removing a double decoding of certificate
when uploaded through API. The double decoding issue would manifest as
non-server certificates to be saved incorrectly in the DB, and hence
wanted to take a look at the table's contents. Since CPVM uses the full
chain but not SSVM, I suspect this might be your issue.

For the systemvm.iso - did you rebuild the ISO from source?
It gets patched automatically in 4.3 for XS, but 4.2 had a versioning
issue due to which it didn't change automatically.
For KVM, the ISO gets patched when you reinstall the agent package.
For Vmware, one needs to remove the old ISO from secondary storage folder
(under path_to_secstorage/systemvm/ I think) so that the new one gets
applied.

HTH
Amogh

On 10/1/14 9:51 AM, Rohit Yadav rohit.ya...@shapeblue.com wrote:

Hi Amogh,

I’ve a different issue, CPVM is opening the console but the HTTP service
is returning old *.realhostip.com certificate.

I debugged CPVM agent to find that it’s not picking up the keystore sent
from Management server. This issue is like:
https://issues.apache.org/jira/browse/CLOUDSTACK-3438

In the logs (from CPVM), I’m only seeing Initializing SSL from built-in
default certificate”. Reading source from
ConsoleProxySecureServerFactoryImpl, this means the agent is starting but
is not getting any StartConsoleProxyAgentHttpHandlerCommand with new
KeyStore data. I’ve tested this only for 4.2, Paul suggests something
similar for 4.3 as well.

I’ve one root certificate (id=1), two intermediate certificate (id=2,
id=3) and a wildcard domain cert+key. I uploaded them one by one as per
the docs and also following Chip’s blog. By doing so, the SSVM keys got
updated and by downloading an ISO I see the https url it gave returned
correct SSL certificate which means the chain of certificates etc. worked.

In case of CPVM, accessing console in browser led to SSL error. Do you
may any suggestions on how to get this fixed? If I remove CPVMs, I see
it’s still using old systemvm.iso and though docs/wiki recommend
systemvm.iso will get patched, it does not actually.

On 01-Oct-2014, at 6:32 pm, Amogh Vasekar amogh.vase...@citrix.com
wrote:
 Hi,

 For 4.2 you may want to refer here :
 
http://www.chipchilders.com/blog/2013/1/2/undocumented-feature-using-cert
if
 icate-chains-in-cloudstack.html

 4.3 had a missing commit, due to which the global config
 consoleproxy.url.domain had to be set to mydomain.com, instead of
 *.mydomain.com. This has been fixed in 4.3.1

 Apologies for the inconvenience.

 Amogh

 On 10/1/14 8:16 AM, Rohit Yadav rohit.ya...@shapeblue.com wrote:

 Just to update on the certificate upload issue with 4.2:

 I’m able to download and add new volumes/templates/isos and the link
 provided has a valid https url with the same certificate that I
uploaded
 though when I try to access the console I get SSL cert error and I see
 that it’s still returning the old *.realhostip.com certificate. I’ve
 tried to delete old CPVMs and I see the same issue coming up again.


 On 01-Oct-2014, at 4:55 pm, Rohit Yadav rohit.ya...@shapeblue.com
wrote:
 Hi,

 I’ve fixed cloudmonkey to url encode parameters so now you can use
 cloudmonkey to upload custom certificate but only in non-interactive
 mode on shell (bash/zsh). You’ll have to install cloudmonkey from
source
 for now since the fix is only on master.

 Something like:
 $ cloudmonkey upload customcertificate id=xx domainsuffix=yy name=zzz
 certificate=‘asdf
 asdfasdf
 asdfasdf
 asdf---'

 I’ve some issues to report while replacing certificates to get rid of
 realhostip, this is specific for Xen could apply for other hypervisors
 as well:

 - In case of 4.2, I see in the database that seq is 0 for the root
 certificate for the realhostip.com domain. I uploaded certificates in
 order (root, then intermediate and finally SSL cert from UI), and I
see
 the old certificate is still there. after CPVM/SSVM restarts and are
in
 UP state I still get SSL errors and I see that systemvm.iso is not
 getting patched. How to fix this? Or force systemvm.iso patching?

 - In case of 4.3.0 and above, I see the same issue. I’m confused
 whether to use *. wildcard in global setting or not.

 On 27-Sep-2014, at 9:32 pm, Amogh Vasekar amogh.vase...@citrix.com
 wrote:
 Hi,

 For the encoding, in your case it was the space character causing the
 issue - it should be replaced by %20. The correct encoding would be
 (hoping mail clients don't screw up the blob):

 
-BEGIN%20CERTIFICATE-%0AMIIDfTCCAuagAwIBAgIDErvmMA0GCSqGSIb3DQ
EB
 BQU

 
AME4xCzAJBgNVBAYTAlVT%0AMRAwDgYDVQQKEwdFcXVpZmF4MS0wKwYDVQQLEyRFcXVpZm
F4
 IFN

 
lY3VyZSBDZXJ0

Re: Unable to upload SSL certificate for realhostip replacement

2014-09-27 Thread Amogh Vasekar
 are having the same problem.
 
 
  On Sun, Sep 28, 2014 at 12:36 AM, Indra Pramana in...@sg.or.id
 wrote:
 
  I tried to key in just BEGIN CERTIFICATE\nEND CERTIFICATE without
 the
  - and the content of the certificate itself. Same problem
 persists,
  it says parameter certificate is invalid, contains illegal ASCII
  non-printable characters.
 
  uploadcustomcertificateresponse cloud-stack-version=4.2.0
  errorcode431/errorcode
  cserrorcode/cserrorcode
  errortext
  Received value BEGIN CERTIFICATE END CERTIFICATE for parameter
  certificate is invalid, contains illegal ASCII non-printable
 characters
  /errortext
  /uploadcustomcertificateresponse
 
 
  Seems the issue was not actually on the certificate itself, but
may be
  on the API call handler?
 
  Any advice is greatly appreciated.
 
 
  On Sat, Sep 27, 2014 at 11:35 PM, Indra Pramana in...@sg.or.id
 wrote:
 
  Hi Amogh and all,
 
  To add, I am using RapidSSL and I got the root and intermediate
CAs
  from here:
 
 
 
 
https://knowledge.rapidssl.com/support/ssl-certificate-support/index?page
=contentactp=CROSSLINKid=SO26457
 
  I have ensured that the encoding is done correctly, but still
there's
  issue when I tried to upload it. Is it because I am still using
 version
  4.2.0, may be there's a different method on how to upload?
 
  Error messages:
 
  uploadcustomcertificateresponse cloud-stack-version=4.2.0
  errorcode431/errorcode
  cserrorcode/cserrorcode
  errortext
  Received value -BEGIN CERTIFICATE-
  MIIDfTCCAuagAwIBAgIDErvmMA0GCSqGSIb3DQEBBQUAME4xCzAJBgNVBAYTAlVT
  MRAwDgYDVQQKEwdFcXVpZmF4MS0wKwYDVQQLEyRFcXVpZmF4IFNlY3VyZSBDZXJ0
  aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDIwNTIxMDQwMDAwWhcNMTgwODIxMDQwMDAw
  WjBCMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEbMBkGA1UE
  AxMSR2VvVHJ1c3QgR2xvYmFsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
  CgKCAQEA2swYYzD99BcjGlZ+W988bDjkcbd4kdS8odhM+KhDtgPpTSEHCIjaWC9m
  OSm9BXiLnTjoBbdqfnGk5sRgprDvgOSJKA+eJdbtg/OtppHHmMlCGDUUna2YRpIu
  T8rxh0PBFpVXLVDviS2Aelet8u5fa9IAjbkU+BQVNdnARqN7csiRv8lVK83Qlz6c
  JmTM386DGXHKTubU1XupGc1V3sjs0l44U+VcT4wt/lAjNvxm5suOpDkZALeVAjmR
  Cw7+OC7RHQWa9k0+bw8HHa8sHo9gOeL6NlMTOdReJivbPagUvTLrGAMoUgRx5asz
  PeE4uwc2hGKceeoWMPRfwCvocWvk+QIDAQABo4HwMIHtMB8GA1UdIwQYMBaAFEjm
  aPkr0rKV10fYIyAQTzOYkJ/UMB0GA1UdDgQWBBTAephojYn7qwVkDBF9qn1luMrM
  TjAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjA6BgNVHR8EMzAxMC+g
  LaArhilodHRwOi8vY3JsLmdlb3RydXN0LmNvbS9jcmxzL3NlY3VyZWNhLmNybDBO
  BgNVHSAERzBFMEMGBFUdIAAwOzA5BggrBgEFBQcCARYtaHR0cHM6Ly93d3cuZ2Vv
  dHJ1c3QuY29tL3Jlc291cmNlcy9yZXBvc2l0b3J5MA0GCSqGSIb3DQEBBQUAA4GB
  AHbhEm5OSxYShjAGsoEIz/AIx8dxfmbuwu3UOx//8PDITtZDOLC5MH0Y0FWDomrL
  NhGc6Ehmo21/uBPUR/6LWlxz/K7ZGzIZOKuXNBSqltLroxwUCEm2u+WR74M26x1W
  b8ravHNjkOR/ez4iyz0H7V84dJzjA1BOoa+Y7mHyhD8S -END
 CERTIFICATE- for
  parameter certificate is invalid, contains illegal ASCII
 non-printable
  characters
  /errortext
  /uploadcustomcertificateresponse
 
 
  Any advice is greatly appreciated, since 30 Sep is just another 3
  days...
 
 
  On Sat, Sep 27, 2014 at 11:21 PM, Indra Pramana in...@sg.or.id
 wrote:
 
  Hi Amogh,
 
  I tried again tonight, still the same. Not too sure why, is it
  something wrong with the certificate? But I have confirmed that
 it's the
  correct root certificate from my CA.
 
  Any other advice?
 
  Looking forward to your reply, thank you.
 
  Cheers.
 
  On Tue, Sep 23, 2014 at 12:56 AM, Amogh Vasekar 
  amogh.vase...@citrix.com wrote:
 
  Can you try using http://meyerweb.com/eric/tools/dencoder/
 
  Amogh
 
  On 9/22/14 4:36 AM, Indra Pramana in...@sg.or.id wrote:
 
  Dear all,
 
  I am following the instruction on this documentation to replace
  realhostip.com with my own domain.
 
 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Repla
c
  e+realhostip.com+with+Your+Own+Domain+Name
 
  Everything is fine until I need to upload the root certificate
via
  API. I
  have URL-encoded the certificate using online URL encoder tool
 such
  as:
 
  http://www.url-encode-decode.com/
 
  However, when I run the API command, the certificate is
rejected,
  saying
  that it contains illegal ASCII non-printable characters:
 
  for parameter certificate is invalid, contains illegal ASCII
  non-printable
  characters
 
  I have ensured and verified that it only contains generic ASCII
 text
  format, no space, symbol etc. Tried using UTF-8, US-ASCII
format
  while
  encoding, but still cannot work.
 
  Any advice is greatly appreciated.
 
  Looking forward to your reply, thank you.
 
  Cheers.
 




Re: Urgent. Importing certificate to CS 4.3.1 using GUI

2014-09-25 Thread Amogh Vasekar
:22:B4:F7:5B
X509v3 Authority Key Identifier:

keyid:B9:4F:AC:D0:CA:A4:32:E0:A0:49:48:8D:D4:C9:6A:6D:6F:6C:8F:42
 
Signature Algorithm: sha256WithRSAEncryption
 a9:f2:77:c2:10:9b:87:f4:44:9c:57:52:1b:dc:70:a7:e2:bf:
 97:8d:bb:3d:bc:b7:a9:90:55:75:43:47:ac:bf:6f:2a:5e:90:
 b1:5b:8c:41:e7:5a:51:2a:f7:db:2e:6a:37:e5:6e:18:3a:88:
 ae:10:42:1e:97:4c:75:e9:8a:51:37:8f:e9:99:bc:40:46:18:
 85:18:ce:6f:03:24:c7:b3:43:f2:53:51:34:36:70:d8:3b:84:
 09:70:91:13:51:a9:b7:30:e4:d3:f7:1a:34:f4:6b:25:b7:46:
 a1:dd:b7:eb:19:b3:03:be:b5:3d:12:b7:ee:a9:47:26:17:89:
 ef:06:9e:90:b4:78:5d:d9:52:1c:b4:0d:14:f2:37:64:9a:d8:
 4d:89:95:1e:c0:6b:14:93:e8:ea:91:84:69:c5:22:1f:d2:82:
 54:bd:fe:06:f8:ea:f3:66:a1:27:41:72:88:25:78:eb:2b:1b:
 73:fb:98:0f:00:58:b0:43:22:5b:3b:ea:89:b5:4f:3e:2a:ed:
 92:5f:48:37:39:ec:39:6c:b5:73:d3:0d:9c:ff:3b:37:92:5b:
 c6:ef:64:65:7a:99:1a:be:09:0e:bb:62:1b:9f:9e:ad:5d:cf:
 32:8c:81:42:c2:d9:11:65:64:8d:ce:5e:f5:b4:77:66:74:eb:
 10:d5:7e:58:d7:ba:70:fe:96:4b:94:f5:66:5c:af:57:ae:e0:
 ad:72:7a:ef:04:80:7e:4b:6d:ee:13:e2:de:20:94:4e:bb:7b:
 a6:87:0f:92:d8:c4:01:9b:50:fd:b4:0b:60:b2:93:91:32:ce:
 31:f9:b7:4f:a0:72:71:a1:87:b4:02:ff:5b:49:c1:2f:a1:6d:
 13:98:c1:81:9c:33:f6:61:b9:f9:47:7b:7b:2a:b2:e0:7b:21:
 4b:67:c0:23:04:b7:08:e5:7d:a3:44:b5:a5:aa:ce:03:be:93:
 cb:78:fe:2d:e5:a7:61:20:03:b2:a1:ac:92:41:54:c0:25:b5:
 32:c6:c5:83:49:7a:cd:a8:16:4e:80:f2:05:9c:47:17:74:1f:
 55:63:f2:9c:e3:fa:48:cb:93:40:8f:63:7b:69:2f:2a:22:4e:
 0e:44:1b:52:3e:70:fb:65:43:be:a2:0a:04:5e:70:cf:d7:fe:
 d5:66:0a:19:81:d5:bf:54:ce:fd:25:cc:d8:f6:cc:be:e8:a9:
 e1:a9:38:ef:81:80:2e:61:52:fb:0a:0c:e5:21:e1:7a:c8:3f:
 8e:6a:9a:ab:a6:72:81:54:43:08:65:b8:62:00:08:c8:c2:f6:
 88:82:7e:fb:07:22:67:09:c0:1a:fb:d9:69:17:2a:d8:be:01:
 7e:e5:ee:3d:1b:f1:bf:3f
 
 
 
 Tnx and regards,
 F.
 
 
 On 25 Sep 2014, at 13:48, France mailingli...@isg.si wrote:
 
 Tnx Amogh,
 
 i have checked management-server.log and no new entries or errors
regarding certificate operation are written at the time when i get
Failed to update SSL Certificate. error message. I tried it a couple
of times. I also used somedomain.tld in the GUI. Certificate is for
*.somedomain.tld.
 I will go thru whole create CA and certificate process again and retry.
 There must be some simple mistake in my process somewhere. Lack of
errors in logs, is also strange. :-/
 
 Regards,
 F.
 
 On 24 Sep 2014, at 21:10, Amogh Vasekar amogh.vase...@citrix.com
wrote:
 
 Hi,
 
 Couple of things :
 
 1. The error will be logged to the cloudstack management server log
file
 (management-server.log) and would really help to know what it is.
 2. While uploading the certificate, the domain_suffix should be
 somedomain.tld and not *.somedomain.tld (the asterisk is only for
global
 config so that cloudstack can distinguish between HTTP and HTTPS
modes)
 
 Thanks
 Amogh
 
 On 9/24/14 7:40 AM, France mailingli...@isg.si wrote:
 
 Hi guys,
 
 i want to migrate away from realhostip.com. I have set up DNS
service in
 no time, but am having problems importing certificates to ACS 3.4.1.
 
 I created my own CA like this:
 
 cd /etc/pki/CA
 touch index.txt
 echo 1000  serial
 openssl genrsa -aes256 -out /etc/pki/CA/private/ca.key.pem 4096
 chmod 400 /etc/pki/CA/private/ca.key.pem
 nano -w /etc/pki/tls/openssl.cnf
 openssl req -new -x509 -days 63650 -key
/etc/pki/CA/private/ca.key.pem
 -sha256 -extensions v3_ca -out /etc/pki/CA/certs/ca.cert.pem
 
 
 Signed my own keys and converted them to pkcs8 format like this:
 
 cd /etc/pki/CA
 openssl genrsa -out private/vse.somedomain.tld.key.pem 4096
 chmod 400 private/vse.somedomain.tld.key.pem
 openssl req -sha256 -new -key private/vse.somedomain.tld.key.pem
-out
 certs/vse.somedomain.tld.csr.pem
 openssl ca -keyfile private/ca.key.pem -cert certs/ca.cert.pem
 -extensions usr_cert -notext -md sha256 -days 63649 -in
 certs/vse.somedomain.tld.csr.pem -out
certs/vse.somedomain.tld.cert.pem
 openssl pkcs8 -topk8 -in private/vse.somedomain.tld.key.pem -out
 private/vse.somedomain.tld.key.encrypted.pkcs8
 openssl pkcs8 -in private/vse.somedomain.tld.key.encrypted.pkcs8 -out
 private/vse.somedomain.tld.key.pkcs8
 chmod 400 private/vse.somedomain.tld.key.encrypted.pkcs8
 chmod 400 private/vse.somedomain.tld.key.pkcs8
 
 
 
 But when trying to import it via GUI: infrastructure - SSL
Certificate:
 Certificate from vse.somedomain.tld.cert.pem
 PKCS8 from private/vse.somedomain.tld.key.pkcs8
 DNS domain suffix to: *.somedomain.tld
 
 But it fails with:
 Failed to update SSL Certificate.
 
 Please help me upload the new certificate.
 Catalina.out shows no error. I have no idea what else to check.
 
 Thank you.
 F.
 
 
 
 
 




Re: [ACS441] merge request: hotfix/4.4-7574

2014-09-24 Thread Amogh Vasekar
Same here wrt OS name, did quick search to find the relevant enum from
Vmware docs, but could not find one. Hence wondered if we even support it.
Will do a more thorough search and probably submit a merge request if
found.

Amogh 

On 9/23/14 7:15 PM, Pierre-Luc Dion pd...@cloudops.com wrote:

I guest so, but I don't know the OS name to define in VMware :-S  I don't
have a VMware system in hand.


*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683

*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_


On Tue, Sep 23, 2014 at 9:22 PM, Amogh Vasekar amogh.vase...@citrix.com
wrote:

 Hi,

 Do we claim support for these OS on vmware too?

 Amogh

 On 9/23/14 5:44 PM, Pierre-Luc Dion pd...@cloudops.com wrote:

 Hi Dahn,
 
 can you merge this branch into 4.4, I've test creation of windows 8.1,
 2012r2 and centos6.5 on xenserver.
 
 Thanks,
 
 Pierre-Luc





Re: Urgent. Importing certificate to CS 4.3.1 using GUI

2014-09-24 Thread Amogh Vasekar
Hi,

Couple of things :

1. The error will be logged to the cloudstack management server log file
(management-server.log) and would really help to know what it is.
2. While uploading the certificate, the domain_suffix should be
somedomain.tld and not *.somedomain.tld (the asterisk is only for global
config so that cloudstack can distinguish between HTTP and HTTPS modes)

Thanks
Amogh

On 9/24/14 7:40 AM, France mailingli...@isg.si wrote:

Hi guys,

i want to migrate away from realhostip.com. I have set up DNS service in
no time, but am having problems importing certificates to ACS 3.4.1.

I created my own CA like this:

cd /etc/pki/CA
touch index.txt
echo 1000  serial
openssl genrsa -aes256 -out /etc/pki/CA/private/ca.key.pem 4096
chmod 400 /etc/pki/CA/private/ca.key.pem
 nano -w /etc/pki/tls/openssl.cnf
openssl req -new -x509 -days 63650 -key /etc/pki/CA/private/ca.key.pem
-sha256 -extensions v3_ca -out /etc/pki/CA/certs/ca.cert.pem


Signed my own keys and converted them to pkcs8 format like this:

cd /etc/pki/CA
openssl genrsa -out private/vse.somedomain.tld.key.pem 4096
chmod 400 private/vse.somedomain.tld.key.pem
openssl req -sha256 -new -key private/vse.somedomain.tld.key.pem  -out
certs/vse.somedomain.tld.csr.pem
openssl ca -keyfile private/ca.key.pem -cert certs/ca.cert.pem
-extensions usr_cert -notext -md sha256 -days 63649 -in
certs/vse.somedomain.tld.csr.pem -out certs/vse.somedomain.tld.cert.pem
openssl pkcs8 -topk8 -in private/vse.somedomain.tld.key.pem -out
private/vse.somedomain.tld.key.encrypted.pkcs8
openssl pkcs8 -in private/vse.somedomain.tld.key.encrypted.pkcs8 -out
private/vse.somedomain.tld.key.pkcs8
chmod 400 private/vse.somedomain.tld.key.encrypted.pkcs8
chmod 400 private/vse.somedomain.tld.key.pkcs8



But when trying to import it via GUI: infrastructure - SSL Certificate:
Certificate from vse.somedomain.tld.cert.pem
PKCS8 from private/vse.somedomain.tld.key.pkcs8
DNS domain suffix to: *.somedomain.tld

But it fails with:
Failed to update SSL Certificate.

Please help me upload the new certificate.
Catalina.out shows no error. I have no idea what else to check.

Thank you.
F.





Re: [ACS441] merge request: hotfix/4.4-7574

2014-09-23 Thread Amogh Vasekar
Hi,

Do we claim support for these OS on vmware too?

Amogh

On 9/23/14 5:44 PM, Pierre-Luc Dion pd...@cloudops.com wrote:

Hi Dahn,

can you merge this branch into 4.4, I've test creation of windows 8.1,
2012r2 and centos6.5 on xenserver.

Thanks,

Pierre-Luc



Re: Unable to upload SSL certificate for realhostip replacement

2014-09-22 Thread Amogh Vasekar
Can you try using http://meyerweb.com/eric/tools/dencoder/

Amogh

On 9/22/14 4:36 AM, Indra Pramana in...@sg.or.id wrote:

Dear all,

I am following the instruction on this documentation to replace
realhostip.com with my own domain.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replac
e+realhostip.com+with+Your+Own+Domain+Name

Everything is fine until I need to upload the root certificate via API. I
have URL-encoded the certificate using online URL encoder tool such as:

http://www.url-encode-decode.com/

However, when I run the API command, the certificate is rejected, saying
that it contains illegal ASCII non-printable characters:

for parameter certificate is invalid, contains illegal ASCII non-printable
characters

I have ensured and verified that it only contains generic ASCII text
format, no space, symbol etc. Tried using UTF-8, US-ASCII format while
encoding, but still cannot work.

Any advice is greatly appreciated.

Looking forward to your reply, thank you.

Cheers.



Re: console proxy HTTPS in 4.3.1, static option, clarification please

2014-09-22 Thread Amogh Vasekar
Hi,

No, option (3) is not fully supported yet since it needs integration with
a load balancer for all console proxy VM ips. Please see the note at
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes#
RealhostIPchanges-ConsoleProxy.1

Amogh

On 9/22/14 4:47 AM, France mailingli...@isg.si wrote:

Hi,

because i get confusing information on the internet, i would like to ask
here for clarification.

There are three options for
consoleproxy.url.domain
configure setting.

1. Disable it with empty string.
Not really an option, because iframe to http from https, is silently
blocked by browsers now-days. If there would be a link to click instead
of iframe it could work and i would be done with it.

2. *.somedomain.xxx
Wildcard option. Requires to run own DNS server and buying of expensive
certificates. Not really an option, due to too high costs of wildcard and
setting up of another unnecessary service.

3. secure.somedomain.xxx
Static option which would allow us to use a single FQDN certificate. This
is acceptable for us, but upon testing with 4.3.1 (restart of ACS,
destruction of console proxy SVM) did not link to secure.somedomain.xxx.

Before i loose any more time with thir doption. Does it work with 3.4.1?


According to documentation for 4.3 on:
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.
3/search.html?q=consoleproxy.url.domaincheck_keywords=yesarea=default
in:
Working with System Virtual Machines
Console Proxy

Load-balancing Console Proxies

An alternative to using dynamic DNS or creating a range of DNS entries as
described in the last section would be to create a SSL certificate for a
specific domain name, configure CloudStack to use that particular FQDN,
and then configure a load balancer to load balance the console proxy¹s IP
address behind the FQDN. As the functionality for this is still new,
please 
seehttps://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+chan
ges for more details.


Regards,
F





Re: Upload root certificate and intermediate certificate

2014-09-20 Thread Amogh Vasekar
Viewing it in firebug in firefox, or developer tools in Chrome would be
easiest IMO.
Simply turn on the plugin / tools and click on some tab while logged in.
The Network tab would show the parameters used to make requests. Copy
the sessionid parameter

Amogh

On 9/20/14 11:41 AM, Indra Pramana in...@sg.or.id wrote:

Hi Abhisek and all,

I tried to run the login API command via browser:

https://x.x.x.x:8080/client/api?command=loginusername=myusernamepassword
=mypasswordinMD5hashingformat

The result is all the response results in one single line without any
separator.

e.g.

1800somethingfalseusernameAsia/Kuala_Lumpurblablablasomecodeblablabla=8.0s
omething

How can I tell which one is the session key?


On Sun, Sep 21, 2014 at 2:19 AM, Indra Pramana in...@sg.or.id wrote:

 Hi Abhisek,

 I checked on this documentation on login via API:

 http://cloudstack.apache.org/docs/api/apidocs-4.2/user/login.html

 It says that for login API command, I need to put the username and
 password as well? Can I login using username and password instead, do
the
 api key and signature still required?

 I also checked on this documentation on signing API request:


 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Deve
lopers_Guide/signing-api-requests.html

 If I sign the API requests using api key and signature say for the
 uploadCustomCertificate command, do I still need to put the session key?

 Thank you.




 On Sun, Sep 21, 2014 at 1:39 AM, abhisek basu abhisekb...@msn.com
wrote:

 Please run the login api using the api key and signature, in return you
 will get the session key.

 Sent from my iPhone

  On 20 Sep 2014, at 10:58 pm, Indra Pramana in...@sg.or.id wrote:
 
  Hi Abhisek and all,
 
  Good day to you, and thank you for your reply.
 
  How can we tell what is the session key, are you able to give me the
  command to check what is the session key? I have API key and secret
key,
  but not too sure how to check what is the session key.
 
  Looking forward to your reply, thank you.
 
  Cheers.
 
 
  On Sat, Sep 20, 2014 at 10:26 PM, abhisek basu abhisekb...@msn.com
 wrote:
 
  Inline..
 
  Sent from my iPhone
 
  On 20 Sep 2014, at 7:50 pm, Indra Pramana in...@sg.or.id wrote:
 
  Dear all,
 
  I am using CloudStack 4.2.0 and I am following this procedure to
 change
  console proxy to use our own domain:
 
 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Repl
ace+realhostip.com+with+Your+Own+Domain+Name
 
  On this step:
 
  
  Uploading root certificate API call. This is a mandatory step.
 
   -
 
 
http://secure-web.cisco.com/1iT2R06Wizvo9tf0JV4DU3By5npOsABm_p6OQXm1TOI9
9AS6ClmCjbii7hV_e87nMawuFZvKtXBuWDp4WJ0WwJTWZYIE3xTswv6PXGRf-FocNaRosXsi
SGkYbXKCzibxCaVoFsZpoHF9eZXgHmYVkb1-67BFfCxLbTmuKYwzkzyg/http%3A%2F%2F12
3.123.123.123%3A8080%2Fclient%2Fapi%3Fcommand%3DuploadCustomCertificate%
26id%3D1%26sessionkey%3DLAM0wM%2B0cejIYxCHprtGc4w15sg%3D%26name%3Droot1%
26domainsuffix%3Dcustomabc.com%26certificate%3D-BEGIN%2BCERTIFICATE-
%0AMIID%2FzCCAuegAwIBAgIJANX8lVYYPplhMA0GCSqGSIb3DQEBBQUAMIGVMQswCQY
D%0AVQQGEwJVUzELMAkGA1UECAwCQ0ExCzAJBgNVBAcMAlNDMRQwEgYDVQQKDAtDdXN0%0Ab
21BbW9naDEeMBwGA1UECwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MRQwEgYDVQQD%0ADAtDdX
N0b21BbW9naDEgMB4GCSqGSIb3DQEJARYRYW1vZ2h2a0BnbWFpbC5jb20w%0AHhcNMTQwNDA
xMTgwODUzWhcNMjQwMzI5MTgwODUzWjCBlTELMAkGA1UEBhMCVVMx%0ACzAJBgNVBAgMAkNB
MQswCQYDVQQHDAJTQzEUMBIGA1UECgwLQ3VzdG9tQW1vZ2gx%0AHjAcBgNVBAsMFUNlcnRpZ
mljYXRlIEF1dGhvcml0eTEUMBIGA1UEAwwLQ3VzdG9t%0AQW1vZ2gxIDAeBgkqhkiG9w0BCQ
EWEWFtb2dodmtAZ21haWwuY29tMIIBIjANBgkq%0AhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQE
A2Se5P610tI%2B5sz3X3FTjXGZZ3BzjdDIZ%0A5v5FQFcpAI35dBIYXFQv93gDp%2BAjwxET
PP2p%2BhOMtWQm1DWAiyDldH7WZm7EDmz9%0A6ymnU00RlkjluUhfhwTtB9l59xo1haCaKcZ
QpNBPFm7yPlTTEVLSFAMr0QZVPuu3%0AHM4rClZe9KdGkh4%2FcpzIrYAys2MZpoG3mu0fE6
EFbqEJYa5M%2Bvgsja1MqVt58TPo%0AqyaI548P6evJZ%2FpHiqDb360nxFDzbZlSqEUugq5
UiJzMm5KyLObvhVhzEZcWLbGe%0ASUAYaIdUfvEt%2FKWlqDZ%2BzRW5RpVMTT%2FFZtArZL
s%2FZuZJybq97KSj0wIDAQABo1Aw%0ATjAdBgNVHQ4EFgQUgb8VT%2BUqf1d%2BoCgC8Lap7
znkx3gwHwYDVR0jBBgwFoAUgb8V%0AT%2BUqf1d%2BoCgC8Lap7znkx3gwDAYDVR0TBAUwAw
EB%2FzANBgkqhkiG9w0BAQUFAAOC%0AAQEAbsKknHC6mEmE24eEV9CfAoGqym4aH3aEBS6%2
FUWWXQ%2FOjEArM5xUSXVUCnpQR%0APgLTpqxMymi%2Bq%2BdhAPhJFxDq0nqw91kJmUZ9cy
2LINs0akapNhWMvsomfy4YbiLR%0ANUHd%2BymaUb0Q%2BlGe5WeL4kh3W7KbVl0STIxFoRc
cxHKQHOiIcaQT4AzGWO8uCi90%0AbsFxk7Q11RwMUBUgK0qrhwnl31eUD0bBPvXADix0piTB
tUjBGJSJR2at9l%2FoI6F0%0AMyHwZer%2FNsN0vr%2FyeCbYdipdvYrDJOniRuhku01uyFz
f8U7%2Fa%2BrDVUtxGPxxfQzR%0APCTXX%2Fyam7lFvMT3ITntyF%2BKhg%3D%3D%0A-
END%2BCERTIFICATE-
   
 
 
http://secure-web.cisco.com/1vc527p_GzgOqlkM6lWaD1HUK4KxKO8KE9DYBPE_VgGR
6OrvPkzQHsjiSptGWZj6_Eg1KC4E6hncNTBrwv58t9D4hjxZ4zdXpeXl1FW-RS5fyuqwlCx8
xKdIHfBXYl-IB_KIAaj3RDpbZ4_YMg75tgB-p2pC0ManVqjx1c6RdNoo/http%3A%2F%2F10
.147.59.226%3A8080%2Fclient%2Fapi%3Fcommand%3DuploadCustomCertificate%26
id%3D1%26sessionkey%3DLAM0wM%2B0cejIYxCHprtGc4w15sg%3D%26name%3Droot1%26

Re: Review Request 25841: CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases.

2014-09-19 Thread Amogh Vasekar

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

Ship it!


Ship It!

- Amogh Vasekar


On Sept. 19, 2014, 7:12 p.m., sangeetha hariharan wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/25841/
 ---
 
 (Updated Sept. 19, 2014, 7:12 p.m.)
 
 
 Review request for cloudstack, Alex Brett, Chandan Purushothama, Min Chen, 
 and Santhosh Edukulla.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Added simulator_only attribute to all the acl related test cases , so that 
 they do not get picked up by the hypervisor runs bu get picked only for the 
 simulator runs.
 
 
 Diffs
 -
 
   test/integration/component/test_acl_isolatednetwork.py 59119f1 
   test/integration/component/test_acl_isolatednetwork_delete.py 3d09390 
   test/integration/component/test_acl_listsnapshot.py ac8748d 
   test/integration/component/test_acl_listvm.py 398f98a 
   test/integration/component/test_acl_listvolume.py e527582 
   test/integration/component/test_acl_sharednetwork.py 5d57f30 
   test/integration/component/test_acl_sharednetwork_deployVM-impersonation.py 
 a05a2d8 
 
 Diff: https://reviews.apache.org/r/25841/diff/
 
 
 Testing
 ---
 
 Tested by making sure that when  -a 
 !simulator_only,tags=advanced,required_hardware=false is used for the acl 
 related test suites , not test case gets executed.
 
 
 Thanks,
 
 sangeetha hariharan
 




Re: [VMWARE SETUP ERROR] Error seeing in brining up System VMs with Vmware setup with CS server

2014-09-19 Thread Amogh Vasekar
Are you building the systemvm.iso too? I have seen connection refused
issue mostly when the system Vms and the management server have different
SSH keys (that are passed via systemvm.iso)
I am assuming you are using standard vswitch in your deployment.

Amogh 

On 9/19/14 9:01 AM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulB
uild/artifact/tools/appliance/dist/systemvm64template-master-vmware.ova

On Fri, Sep 19, 2014 at 9:58 AM, Erik Weber terbol...@gmail.com wrote:

 Which systemvm template are you using?

 Erik
 19. sep. 2014 03:47 skrev Mike Tutkowski
mike.tutkow...@solidfire.com
 følgende:

  Actually, the virtual router says it requires an upgrade.
 
  I think I can just turn that check off and re-run my create-VM test.
 
  On Thu, Sep 18, 2014 at 7:43 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
   OK, I checked in a fix for this:
  
  
  
 
 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=1
8e5aa116e99906f24a292bf7546809e05c72ec2;hp=7537c33bcdda65672fdd8f81509e68
85aa536932
  
   I did notice that both before and after my fix that the virtual
router
 is
   NOT coming up.
  
   The system VM being cloned and the starting of the VM looks fine. It
 gets
   to the command prompt and then a little while later is shut down and
   restarted. I get an error in the GUI indicating that my VM
deployment
   failed.
  
   I don't personally know a whole lot about how the virtual router
code
   works, so we should pass that on to an appropriate developer.
  
   On Thu, Sep 18, 2014 at 6:35 PM, Mike Tutkowski 
   mike.tutkow...@solidfire.com wrote:
  
   Just destroyed and re-created my env from scratch without
   8bb4022f3729154f85036c4a7f55e2de783e4909 and it works fine.
  
   I think I know what the author was intending with the code that is
   causing the problem, so I'll go ahead and put in what I think is a
 fix,
   re-create my env, and see if it works.
  
   On Thu, Sep 18, 2014 at 6:26 PM, ilya musayev
ilya.musa...@gmail.com
 
   wrote:
  
Thank you Mike, please keep us posted.
  
   Regards
   ilya
  
   On 9/18/14, 4:14 PM, Mike Tutkowski wrote:
  
   Little clarification on this:
  
The dsName is derived from the UUID of the datastore.
  
I mean that the dsName is derived from the UUID primary storage
in
 the
   DB.
  
   On Thu, Sep 18, 2014 at 5:12 PM, Mike Tutkowski 
   mike.tutkow...@solidfire.com wrote:
  
   Just a little update on this:
  
The problem doesn't seem to have anything to do with managed
   storage code that was introduced back in March.
  
The dsName is derived from the UUID of the datastore. This leads
 to a
   null being returned from
  diskInfoBuilder.getDiskInfoByBackingFileBaseName,
   which subsequently leads to a null being returned from this
method
  (and a
   NullPointerException being thrown).
  
I plan to take a look at the history of this file in gitk.
  
   private VirtualMachineDiskInfo
   getMatchingExistingDisk(VirtualMachineDiskInfoBuilder
 diskInfoBuilder,
   DiskTO vol) {
  
   if (diskInfoBuilder != null) {
  
   VolumeObjectTO volume =
(VolumeObjectTO)vol.getData();
  
   String dsName =
  volume.getDataStore().getUuid().replace(-,
   );
  
  
MapString, String details = vol.getDetails();
  
   boolean isManaged = details != null 
   Boolean.parseBoolean(details.get(DiskTO.MANAGED));
  
  
VirtualMachineDiskInfo diskInfo =
  
  
   diskInfoBuilder.getDiskInfoByBackingFileBaseName(isManaged ? new
   DatastoreFile(volume.getPath()).getFileBaseName() :
 volume.getPath(),
   dsName);
  
   On Thu, Sep 18, 2014 at 4:34 PM, Mike Tutkowski 
   mike.tutkow...@solidfire.com wrote:
  
   I think I found the magic. :)
  
   sudo mount -t nfs 192.168.129.46:/export/secondary /mnt/sec
  
   If I mount /export/secondary to /mnt/sec (I did it in a bit of a
   roundabout way here), then the management server is happy.
  
   I think this is only VMware thing for the management server.
  
   Does anyone know if we document this?
  
   Thanks!
  
   On Thu, Sep 18, 2014 at 4:18 PM, Mike Tutkowski 
   mike.tutkow...@solidfire.com wrote:
  
   The instructions even say the following:
  
If your secondary storage mount point is not named
 /mnt/secondary,
   substitute your own mount point name.
  
   On Thu, Sep 18, 2014 at 4:15 PM, Mike Tutkowski 
   mike.tutkow...@solidfire.com wrote:
  
   Yeah, I've been through the instructions a couple times and
don't
   see anything that indicates why it's having trouble with
/mnt/sec
  (it says
   /mnt/sec instead of /mnt/secondary in the log messages).
  
   On Thu, Sep 18, 2014 at 4:01 PM, Ritu Sabharwal 
   rsabh...@brocade.com wrote:
  
   I have an external NFS server and it is mounted to
 /mnt/secondary
   on my CS server so seeding command I used is:
  
  
 
 

Re: Upgrade to 4.3.1

2014-09-17 Thread Amogh Vasekar
Hi,

Please set the value to *.yourdomain.com (note the asterisk)
The management server needs a restarted when you change the global config
value.
If this was a fresh install - by default console proxy will run on HTTP.
When you switch from HTTP to HTTPS or vice versa, you need to destroy the
old console proxy VM so that it may configure correctly and open right
port.

HTH
Amogh


On 9/17/14 10:56 AM, ilya musayev ilya.mailing.li...@gmail.com wrote:

Has this worked for you in 4.3.0, before the upgrade to 4.3.1?

I've briefly looked through change log from 4.3.0 to 4.3.1, i dont see
any changes related to console - but this check was very brief.

Regards
ilya
On 9/17/14, 1:42 AM, M?rti?š Jakubovičs wrote:
 Hello,

 I installed fresh CS 4.3.1 and it also don't use
 consoleproxy.url.domain value.

 This is in console proxy, source:

 htmltitlev-2-VM/titleframesetframe
 
src=https://.realhostip.com/ajax?token=1cttHTopOwqQbK_Q9gYmoYMOnzK9fcHUl
Uv3q6rIUsyVdY3hU7Kmwa7A9RxTz7ZuG4MherlIa0tllGr5XWez73GVyP19iBqxP-c5eCttLr
UAotMhMu3GLqPDdEzB2JmVFLZp2DLMBiiAYcdtnNvRl6by-V065VBXyZ729Awd-dnGWE1dNeb
ljz78M5RmNWJXy7HsmrWalWaJyUoI2vMYjBc7FEDksGmCGS_akmN_rPmKH6CdPEyHhNAcvEfb
0EiaFFMSA2NUZ9sDfhmmapVxGc1_mHWNWyTqq0WxMfIt6y5CvjmOSUutcagll5sm_SbdUcp7N
HB_xZmNAx7yWKnyiMm9XMnYTPnqfrJe8YSSNc481oCgPgPBiQOwbwaoOqtR6PZLDwTPIT6ULk
Dpy-nL9eVX-lPUJByWzAmgDOGN3ZxV7gwZbvPJGn8cF65Sa5Cb8WN97mYqNqgFZlMChx5ADxN
aBYxvWKHfATQoo6utXRg/frame/frameset/html


 When I set in url correct domain my-ip-add.domain.com, than console
 works, example like this:

 
https://11-111-111-11.domain.com/ajax?token=1cttHTopOwqQbK_Q9gYmoYMOnzK9f
cHUlUv3q6rIUsyVdY3hU7Kmwa7A9RxTz7ZuG4MherlIa0tllGr5XWez73GVyP19iBqxP-c5eC
ttLrUAotMhMu3GLqPDdEzB2JmVFLZp2DLMBiiAYcdtnNvRl6by-V065VBXyZ729Awd-dnGWE1
dNebljz78M5RmNWJXy7HsmrWalWaJyUoI2vMYjBc7FEDksGmCGS_akmN_rPmKH6CdPEyHhNAc
vEfb0EiaFFMSA2NUZ9sDfhmmapVxGc1_mHWNWyTqq0WxMfIt6y5CvjmOSUutcagll5sm_SbdU
cp7NHB_xZmNAx7yWKnyiMm9XMnYTPnqfrJe8YSSNc481oCgPgPBiQOwbwaoOqtR6PZLDwTPIT
6ULkDpy-nL9eVX-lPUJByWzAmgDOGN3ZxV7gwZbvPJGn8cF65Sa5Cb8WN97mYqNqgFZlMChx5
ADxNaBYxvWKHfATQoo6utXRg



  Forwarded Message 
 Subject: Re: Upgrade to 4.3.1
 Date: Wed, 17 Sep 2014 09:05:21 +0300
 From: M?rti?š Jakubovičs mart...@vertigs.lv
 To: us...@cloudstack.apache.org



 Hello Ilya,

 Thanks for response, I upgraded from 4.3.0 to 4.3.1.

 On 2014.09.17. 03:34, ilya musayev wrote:
 M?rti?š

 If you dont get a response here, please post on dev. I'll try this out
 shortly in my env, what version did you upgrade from?

 Regards
 ilya
 On 9/16/14, 6:07 AM, M?rti?š Jakubovičs wrote:
 Hello,

 In CentOS 6.5 today I discovered that is available update for CS 4.3.
 I installed it but after management service restart 
 consoleproxy.url.domain value stopped to work. When I launch console
 proxy, it connect to .realhostip.com domain in a way to connect my
 real domain. When I clean this value, console proxy connects to IP.
 After entering any other value it connects to .realhostip.com
 anyway. How I can solve this?

 Thanks.










Re: [Help] Help for setting up Vmware Cluster in CloudStack...

2014-09-11 Thread Amogh Vasekar
Hi,

The management server logs will help.
Templates for launching user Vms won't be available until SSVM comes up
and downloads them to the correct location.
You may want to confirm if you are using the right systemVM template for
the (4.5?) build. 
Adding Rayees who may be able to point to the right systemVM template.

Thanks,
Amogh

On 9/11/14 11:25 AM, Ritu Sabharwal rsabh...@brocade.com wrote:

Hello CS developers,

I need help in setting up Vmware cluster in CloudStack.

Any help is appreciated!

Thanks  Regards,
Ritu S.

-Original Message-
From: Ritu Sabharwal [mailto:rsabh...@brocade.com]
Sent: Friday, September 05, 2014 4:51 PM
To: ilya musayev
Cc: dev@cloudstack.apache.org; Adip Shetty
Subject: RE: [Help] Help for setting up Vmware Cluster in CloudStack...

Hi Ilya,

I am trying to do this vmware integration with Cloudstack again but
seeing some issues. Need your help to move forward.

I followed the steps from the tutorial:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Advanced
+Network+Tutorial+-+Step+by+Step

I imported the system template from the location
http://cloudstack.apt-get.eu/systemvm/systemvm64template-2014-01-14-master
-vmware.ova by running the command

/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-t
mplt -m /mnt/secondary -u systemvm64template-2014-01-14-master-vmware.ova
-h vmware -F

Looks like the import did not happen successfully because the ova file
created under /mnt/secondary/template/tmpl/1/8/ is of size 0.

I followed rest of the steps in the tutorial . All went fine, adding
zone, pod, cluster, primary storage, secondary storage but the system vms
(Secondary storage VM and Console Proxy VM)  are not deployed.

Now when I am trying to create a user VM, I don't see any templates
available to create it.

Please help to unblock me with this setup.

Thanks  Regards,
Ritu S.

From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
Sent: Wednesday, July 09, 2014 10:53 PM
To: Ritu Sabharwal; Hugo Trippaers
Cc: dev@cloudstack.apache.org
Subject: Re: [Help] Help for setting up Vmware Cluster in CloudStack...

I'm in Sunnyvale. I've been trying to do a meetup and perhaps demo the
whole vmware/cloudstack setup, but i never really got to do this.

Hopefully, we can put something together for July or early August
timeframe for the meetup.

Also, Router VMs have 1 Management and 1 Guest IP - just realized i
missed it.

If i can give you a suggestion in the meantime, try to get your setup
working with stable 4.3. Once you figure the process out - which is
really not that difficult in my opinion (should take 10-30 minutes at
most - granted you have everything pre-set), then try it with master
codebase, and only then master codebase and your patch.

You did not mention if you are using VLAN tagging btw. Not that it
matters greatly, but consider using newer vSphere, you can download
trials from VMware site, you can even do a nested setup and run many
vSphere CloudStack environments for dev/qa - which is what i've been
doing lately. You have 60 day trial, post that, you can reset the
environment to be compliant with vmware licensing model - needless to
say, this can be semi or completely automated, depends how much effort
you want to put into this. I'd double check this with vmware rep to be on
the safe side.


On 7/9/14, 5:36 PM, Ritu Sabharwal wrote:
Hi Ilya,

Thanks for your replies.

This is really helpful. We can surely get into some video conferencing
and get this setup ready. I am in San Jose, CA.

Thanks  Regards,
Ritu S.

From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
Sent: Wednesday, July 09, 2014 12:58 PM
To: Ritu Sabharwal; Hugo Trippaers
Cc: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org
Subject: Re: [Help] Help for setting up Vmware Cluster in CloudStack...

Ritu,

That tutorial is a bit old.

Let me try to answer them, i do have an alternative solution, perhaps we
can get on the phone and do a webex session or something similar - this
week is bad for me, i'm traveling, but next week, Thursday and beyond -
my schedule is flexible. I assume you are on PST timezone somewhere in
bay area.

Please see response inline to your inquiries.



On 7/8/14, 6:29 PM, Ritu Sabharwal wrote:


Hi Ilya,

I am trying to add VMWare DC for the first time in CloudStack management
server and need help in doing so. I am trying to test the Brocade Network
Plugin functionality. The Jira id is :
https://issues.apache.org/jira/browse/CLOUDSTACK-6823

I am following the Tutorial:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Advanced
+Network+Tutorial+-+Step+by+Step

My Network setup:


1.   2 ESXi hosts 4.1.0 hosts.

2.   vCenter 5.0

Network layout:

vSwitch0: For Management Network
vSwitch0: for Guest Network

vSwitch0 is assigned 1 Physical Nic. This Nic is connected to Brocade VDX
switch.


My test includes:

 *   Create an isolated network; verify that the port-profile is created
on the 

Re: Add OS X 10.9 to the guest os type

2014-09-05 Thread Amogh Vasekar
Ohh, then the old way should be the one as you correctly said.
Just checking if you built with the -Dnoredist flag so that the Vmware
code is compiled again?

Thanks,
Amogh

On 9/5/14 1:14 AM, Mohamed Ali Saidi saidi.mohamed.ali...@gmail.com
wrote:

Hi,

I'm sorry but i forgot to specify that i'm working on CS 4.2.1.

So the trick, that i want to add os x 10.9  on guest list but the request
to vmware will contain os x 10.7 ( because vmware 5.1, supported by cs
4.2.1, have no support for os x 10.9)

Regards,


2014-09-05 7:43 GMT+02:00 Amogh Vasekar amogh.vase...@citrix.com:

 Hi,

 The guest OS mappings have been moved to DB, let me put up a wiki on how
 to add new OS to ACS.

 In your case, you would need something like the following:

 INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type,
 hypervisor_version, guest_os_name, guest_os_id, created,
is_user_defined)
 VALUES (UUID(),'VMware', '5.0', 'darwin11Guest', 226, now(), 0);

 This needs to be done for Vmware versions that support OS X 10.9 (5.1,
 5.5?)
 Also, please note that hypervisor = VMware and not VmWare all throughout
 cloudstack.

 HTH
 Amogh

 On 9/4/14 1:27 AM, Mohamed Ali Saidi saidi.mohamed.ali...@gmail.com
 wrote:

 Hi,
 
 I'm working on a CI platforme and I want to add OS x 10.9 to Cloudstack
 guest os type.
 
 I tried with adding these lines on db:
 
 INSERT INTO `cloud`.`guest_os` (id, uuid, category_id, display_name)
 VALUES
 (226, UUID(), 7, 'Apple Mac OS X 10.9 (32 bit)');
 INSERT INTO `cloud`.`guest_os` (id, uuid, category_id, display_name)
 VALUES
 (227, UUID(), 7, 'Apple Mac OS X 10.9 (64 bit)');
 
 INSERT INTO `cloud`.`guest_os_hypervisor` (hypervisor_type,
guest_os_name,
 guest_os_id) VALUES (VmWare, 'Apple Mac OS X 10.9 (32 bit)', 226);
 INSERT INTO `cloud`.`guest_os_hypervisor` (hypervisor_type,
guest_os_name,
 guest_os_id) VALUES (VmWare, 'Apple Mac OS X 10.9 (64 bit)', 227);
 
 And on VmwareGuestOsMapper.java:
 
 s_mapper.put(Apple Mac OS X 10.9 (32
 bit),VirtualMachineGuestOsIdentifier.DARWIN_11_GUEST);
s_mapper.put(Apple Mac OS X 10.9 (64
 bit),VirtualMachineGuestOsIdentifier.DARWIN_11_64_GUEST);
 
 
 but it didn't work.
 
 PS:On Vcenter i get  Other(64 bit) as vm os guest type.
 
 Thanks





Re: Storing passwords in the DB

2014-09-02 Thread Amogh Vasekar
Hi,
You can add @Encrypt tag to the field and it would be stored in encrypted
form in the DB, and decrypted automatically when reading. It uses the key
file provided in db.properties for encryption.
You can check many of the VOs, for example UserVO, as a reference.

HTH
Amogh  


On 9/2/14 12:38 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

OK - thanks!


On Tue, Sep 2, 2014 at 1:33 PM, Wido den Hollander w...@widodh.nl wrote:



 On 02-09-14 21:29, Mike Tutkowski wrote:

 Thanks, Wido

 Do you happen to know a relevant class off the top of your head?


 No sorry, but if you search for where it fetches the VNC password for
KVM
 VMs you should find it.

 It's probably the DB layer which does the encryption and decryption.

 Wido



 On Tue, Sep 2, 2014 at 1:25 PM, Wido den Hollander w...@widodh.nl
 wrote:



 On 02-09-14 21:22, Mike Tutkowski wrote:

  Hi,

 I was wondering what our current best practices are around storing
 passwords in the DB?

 For example, if you want to store the username and password of a
 resource
 that CloudStack manages, how do we recommend storing the password?


  Using the build-in encryption mechanism? CloudStack also saves the
VNC
 passwords for KVM that way for example.

 Wido

   Thanks!








-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
http://solidfire.com/solution/overview/?video=play**



Re: Storing passwords in the DB

2014-09-02 Thread Amogh Vasekar
Hi,

You can check DBEncryptionUtil, it provides utility methods for encryption
/ decryption. May be add some custom logic for only your cell?
HostEntityDaoImpl might be useful reference.

Thanks,
Amogh

On 9/2/14 1:47 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

Thanks, Amogh

In my case, I'm storing the password in the storage_pool_details table's
value field. Not all cells in this column will need to be encrypted,
though. What do you suggest there?


On Tue, Sep 2, 2014 at 2:28 PM, Amogh Vasekar amogh.vase...@citrix.com
wrote:

 Hi,
 You can add @Encrypt tag to the field and it would be stored in
encrypted
 form in the DB, and decrypted automatically when reading. It uses the
key
 file provided in db.properties for encryption.
 You can check many of the VOs, for example UserVO, as a reference.

 HTH
 Amogh


 On 9/2/14 12:38 PM, Mike Tutkowski mike.tutkow...@solidfire.com
wrote:

 OK - thanks!
 
 
 On Tue, Sep 2, 2014 at 1:33 PM, Wido den Hollander w...@widodh.nl
 wrote:
 
 
 
  On 02-09-14 21:29, Mike Tutkowski wrote:
 
  Thanks, Wido
 
  Do you happen to know a relevant class off the top of your head?
 
 
  No sorry, but if you search for where it fetches the VNC password for
 KVM
  VMs you should find it.
 
  It's probably the DB layer which does the encryption and decryption.
 
  Wido
 
 
 
  On Tue, Sep 2, 2014 at 1:25 PM, Wido den Hollander w...@widodh.nl
  wrote:
 
 
 
  On 02-09-14 21:22, Mike Tutkowski wrote:
 
   Hi,
 
  I was wondering what our current best practices are around
storing
  passwords in the DB?
 
  For example, if you want to store the username and password of a
  resource
  that CloudStack manages, how do we recommend storing the password?
 
 
   Using the build-in encryption mechanism? CloudStack also saves
the
 VNC
  passwords for KVM that way for example.
 
  Wido
 
Thanks!
 
 
 
 
 
 
 
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the cloud
 http://solidfire.com/solution/overview/?video=play* *




-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
http://solidfire.com/solution/overview/?video=play**



Re: Master build failing with compilation error

2014-08-28 Thread Amogh Vasekar
Hi,
Seems is failing after the SAML2 branch merge : See
http://jenkins.buildacloud.org/job/build-master-noredist/3415/changes
Have pushed in a temp fix, will check again to see what may have exposed
this.

Thanks,
Amogh

On 8/28/14 4:01 PM, Rayees Namathponnan rayees.namathpon...@citrix.com
wrote:

Master build failing with compilation error  with plugin
network-elements/cisco-vnmc

Anyone else observed this ? there is no change in this plugin, wondering
why its failing suddenly ?



[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
cloud-plugin-network-cisco-vnmc ---
[INFO] Compiling 30 source files to
/root/jenkins/build/workspace/ASF-build-master-automation/cloudplatform/cl
oudstack/plugins/network-elements/cisco-vnmc/target/classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR] 
/root/jenkins/build/workspace/ASF-build-master-automation/cloudplatform/cl
oudstack/plugins/network-elements/cisco-vnmc/src/com/cloud/network/cisco/C
iscoVnmcConnectionImpl.java:[1231,127] error: unreported exception
GeneralSecurityException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Total time: 19.175s
[INFO] Finished at: Thu Aug 28 15:35:55 PDT 2014
[INFO] Final Memory: 20M/238M
[INFO] 

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project cloud-plugin-network-cisco-vnmc: Compilation
failure
[ERROR] 
/root/jenkins/build/workspace/ASF-build-master-automation/cloudplatform/cl
oudstack/plugins/network-elements/cisco-vnmc/src/com/cloud/network/cisco/C
iscoVnmcConnectionImpl.java:[1231,127] error: unreported exception
GeneralSecurityException; must be caught or declared to be thrown
[ERROR] - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging

Regards,
Rayees






Re: [PROPOSAL] Using continuous integration to maintain our code quality...

2014-08-20 Thread Amogh Vasekar
Bumping up this thread since another one seems to be starting over CI

Amogh

On 5/27/14 8:28 PM, David Nalley da...@gnsa.us wrote:

On Tue, May 27, 2014 at 12:52 PM, Alex Huang alex.hu...@citrix.com
wrote:
 Like Chip, I am very concerned with this being dependent on a single
 company, even if its the company that employs me. It isn't
sustainable, it
 excludes others from contributing, and makes the project less
independent
 because it depends on a single company's infrastructure.

 Agreed there.


 I'm also unclear on the answer to the question in the FAQ. The first
time I
 read it, I got the impression that you were happy to bring it up on
hardware
 at the ASF if the ASF wanted to own it. The second time I read it I
wondered
 if you meant that Citrix was going to attempt to donate hardware.

 Sorry if I did not make that clear.  I meant the scripts/code that we
wrote are checked in publicly and we're willing to help set it up if ASF
provided the hardware.  I have not approach Citrix on donating the
actual hardware.  Although I can approach them if it speeds up the
adoption process.

 Finally - what do you think you need from ASF infra to make this
happen?


 It's currently about 10 servers with two networks.  One network is
static with IPMI to PXE boot the machines.  The other network is the
actual data network that CloudStack uses.  That's actually just enough
for XenServer and KVM.  In order to accommodate for HyperV, Bare Metal,
LXC, (which we do not have any test cases in the automation suits
currently) we will need even more machines.  We might be able to use
nested virtualization for the hypervisors to maintain server count at
ten or a little more than ten but we haven't explore that yet.

 The CI process is up and running on those machines but because we
didn't have CI running on master before, automation tests that were
passing for 4.3 are now broken again on 4.4. and master.  I think Sudha
already reported on the list that QA is busy trying to fix all the
automation tests to bring CI on 4.4-forward and master back to 100% pass
rate.  Unfortunately, it's been delaying our effort to put this out in
the public and let the community try this themselves.

 --Alex


So the board just approved a 3 month budget, but the new board will
have to take up the remainder of the FY budget shortly after coming
into office. Perhaps worth coming up with an estimate of what this
will cost/need and getting it to president@ before that new budget is
taken up.

--David



Re: [PROPOSAL] Using continuous integration to maintain our code quality...

2014-08-20 Thread Amogh Vasekar
Hi,


On 8/20/14 12:24 PM, Erik Weber terbol...@gmail.com wrote:

They both had fundamental flaws, where the one was
practically useless for a week or so, and the other had major issues with
KVM, and if the BVT doesn't encounter those because it's using the
simulator I see it as a burden rather than a gift, since you're relying on
a false result.

AFAIK, only the non-resource-layer related tests were moved to Simulator,
the idea being it helps catch bugs at management layer quickly without
needing a full set-up.
Of course, bugs related to actual resource layer may not be exposed by
Simulator runs.
In addition, I believe Koushik had done a lot of work to simulate failure
scenarios etc so that we don't only test the happy path using Simulator.

HTH
Amogh



Re: Changing the default egress policy

2014-08-18 Thread Amogh Vasekar
Seems to be :-)

Amogh

On 8/18/14 4:04 PM, Nux! n...@li.nux.ro wrote:

Hi,

I see there's this in the DB - egress_default_policy, if I turn it from
0 to 1, would the policy become allow?
http://i.imgur.com/TIXeayp.png

Lucian


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro




[ACS441] Hotfix merge request

2014-08-15 Thread Amogh Vasekar
Hi,

Can you please merge hotfix/4.4-6905 to 4.4 so that the issues get fixed
in 441?

Thanks,
Amogh



Re: [ACS44] 4.4.1 test and RC

2014-08-14 Thread Amogh Vasekar
Thanks, and enjoy the vacation :-)

Amogh

On 8/13/14 11:17 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:

I do not know, Amogh. I do urge all of you to let it be merged by someone
you don't regularly meet on the work floor or in the bar around the
corner.
You can send a mail heading [ACS44] and cc to me if you are not in a
hurry.
I expect to be on line not coming but next Wednesday (+/- a day).



On Wed, Aug 13, 2014 at 10:03 PM, Amogh Vasekar amogh.vase...@citrix.com
wrote:

 Hi,
 Wondering who do we reach out to for hotfix* branch merge, if any.
 Have a nice vacation!

 Thanks,
 Amogh

 On 8/13/14 12:47 PM, Rohit Yadav rohit.ya...@shapeblue.com wrote:

 
 On 13-Aug-2014, at 9:15 pm, Daan Hoogland daan.hoogl...@gmail.com
 wrote:
 
  H all,
 
  I am working on testing 4.4.1 (4.4 branch). I am leaving for a two
week
  holiday with low connectivity on Saturday. Therefore I do not think I
 will
  make/bake an RC soon and given the lack of volunteers lately, I
suggest
 we
  plan for the first week of September.
 
 Have fun! This also buys more time for us to test it :)
 
 Cheers,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +41 779015219 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab
 
 
 
 Find out more about ShapeBlue and our range of CloudStack related
services
 
 IaaS Cloud Design 
 Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
 CSForge ­ rapid IaaS deployment
frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Infrastructure
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training
 Courseshttp://shapeblue.com/cloudstack-training/
 
 This email and any attachments to it may be confidential and are
intended
 solely for the use of the individual to whom it is addressed. Any views
 or opinions expressed are solely those of the author and do not
 necessarily represent those of Shape Blue Ltd or related companies. If
 you are not the intended recipient of this email, you must neither take
 any action based upon its contents, nor copy or show it to anyone.
Please
 contact the sender if you believe you have received this email in
error.
 Shape Blue Ltd is a company incorporated in England  Wales. ShapeBlue
 Services India LLP is a company incorporated in India and is operated
 under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda
is
 a company incorporated in Brasil and is operated under license from
Shape
 Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic
of
 South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
 is a registered trademark.




-- 
Daan



Re: [ACS44] 4.4.1 test and RC

2014-08-13 Thread Amogh Vasekar
Hi,
Wondering who do we reach out to for hotfix* branch merge, if any.
Have a nice vacation!

Thanks,
Amogh

On 8/13/14 12:47 PM, Rohit Yadav rohit.ya...@shapeblue.com wrote:


On 13-Aug-2014, at 9:15 pm, Daan Hoogland daan.hoogl...@gmail.com wrote:

 H all,

 I am working on testing 4.4.1 (4.4 branch). I am leaving for a two week
 holiday with low connectivity on Saturday. Therefore I do not think I
will
 make/bake an RC soon and given the lack of volunteers lately, I suggest
we
 plan for the first week of September.

Have fun! This also buys more time for us to test it :)

Cheers,
Rohit Yadav
Software Architect, ShapeBlue
M. +41 779015219 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



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

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

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



Re: Unable to add host exception

2014-08-07 Thread Amogh Vasekar
Firewall may be?
Can you telnet to the mentioned IP and port?

Amogh

On 8/7/14 11:43 AM, Elapavuluri, Jaya jaya.elapavul...@netapp.com
wrote:

I am trying to add a KVM host on to the Management server. However, I am
getting an error while adding the host. It says unable to add the host.

The log at the management server says:
Discovery exception
error code list for exceptions
WARN  [o.a.c.a.c.a.h.AddHostCmd]
(1690201491@qtp-794886538-14:ctx-7544e509 ctx-fc750325) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
   at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerIm
pl.java:791)
   at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.j
ava:586)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

The log at the KVM host says:
2014-08-07 09:55:57,600 INFO  [utils.nio.NioClient] (Agent-Selector:null)
Connecting to 192.168.182.149:8250
2014-08-07 09:57:00,600 WARN  [utils.nio.NioConnection]
(Agent-Selector:null) Unable to connect to remote: is there a server
running on port 8250
2014-08-07 09:57:05,601 INFO  [utils.nio.NioClient] (Agent-Selector:null)
Connecting to 192.168.182.149:8250
2014-08-07 09:58:08,618 WARN  [utils.nio.NioConnection]
(Agent-Selector:null) Unable to connect to remote: is there a server
running on port 8250
2014-08-07 09:58:13,619 INFO  [utils.nio.NioClient] (Agent-Selector:null)
Connecting to 192.168.182.149:8250
2014-08-07 09:59:16,630 WARN  [utils.nio.NioConnection]
(Agent-Selector:null) Unable to connect to remote: is there a server
running on port 8250
2014-08-07 09:59:21,631 INFO  [utils.nio.NioClient] (Agent-Selector:null)
Connecting to 192.168.182.149:8250

Can someone give an insight into this?



[ACS441] Hotfix merge request

2014-08-05 Thread Amogh Vasekar
Hi Daan,

Can you please merge hotfix/4.4-7257 into 4.4, that fixes CLOUDSTACK-7257.

Thanks,
Amogh



4.4.1 related checkins

2014-08-04 Thread Amogh Vasekar
Hi,

I am wondering where we are to check-in commits we think should go in
4.4.1.
4.4 / 4.4-forward / create 4.4.1 / create a branch and request a merge /
some other way?

Thanks,
Amogh 



Re: Failed add KVM agent to CS with latest master

2014-07-23 Thread Amogh Vasekar
Reverted the offending commit 4523490d44160b054de9e943f72db1d0ce06054a,
should work now.

Thanks,
Amogh

On 7/23/14 5:40 AM, Alex Brett alex.br...@citrix.com wrote:

 I am unable to add KVM agent with latest master build,  this issue is
tracked
 in https://issues.apache.org/jira/browse/CLOUDSTACK-7170
 
 Those made changes in master yesterday/today, can you please check it
 regressed from you commit or not ?

As noted on the ticket I've narrowed this down to one of the following
three changesets:

commit 3b32732459730bfd4848678c95c27e2eb653cc04
Author: Min Chen min.c...@citrix.com
Date:   Tue Jul 22 09:47:27 2014 -0700

CLOUDSTACK-7162:queryAsyncJobResult api does not return jobinstanceid.

commit 1d2124dcbf48d15d23ddbdea23a29f0ab21be6f3
Author: Hugo Trippaers htrippa...@schubergphilis.com
Date:   Tue Jul 22 17:43:49 2014 +0200

Fix NPE reported on IRC, provide the user an informative error message

commit 4523490d44160b054de9e943f72db1d0ce06054a
Author: Santhosh Edukulla santhosh.eduku...@gmail.com
Date:   Mon Jul 21 20:49:03 2014 +0530

Fixed Coverity Issues reported

Signed-off-by: Santhosh Edukulla santhosh.eduku...@gmail.com

Alex



[ACS 4.4] Cherry pick request

2014-07-17 Thread Amogh Vasekar
Hi Daan,
Can you please cherry-pick c8ca15b95a57a3d79b71c76c913e295f6490f05d

This is for CLOUDSTACK-6358.

Thanks,
Amogh



Re: [ACS 4.4] Cherry pick request

2014-07-17 Thread Amogh Vasekar
Seems good, looks like was an issue with a newline somewhere. But deploydb
went fine on 4.4

Thanks,
Amogh

On 7/17/14 2:42 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:

Amogh, I couldn't help myself. please have a look at the resulting
setup/db/db/schema-430to440.sql

On Thu, Jul 17, 2014 at 11:35 PM, Daan Hoogland daan.hoogl...@gmail.com
wrote:
 On Thu, Jul 17, 2014 at 11:19 PM, Amogh Vasekar
 amogh.vase...@citrix.com wrote:
 c8ca15b95a57a3d79b71c76c913e295f6490f05d

 Amogh, it has conflicts. I will have a look at those in the morning

 --
 Daan



-- 
Daan



Re: [VOTE] Apache Cloudstack 4.4.0

2014-07-16 Thread Amogh Vasekar
Hi,

It is probably due to missing mapping in guest_os_hypervisor table. I had
created default entries for KVM using :
http://bit.ly/1rrML8n

I can add the missing mapping to it.

Thanks,
Amogh

On 7/16/14 2:08 PM, Marcus shadow...@gmail.com wrote:

I have another big issue to report with 4.4 in testing these artifacts. I
register a CentOS 6.5 template, and launch VMs for it on KVM, and the
disks/nics are not virtio.

It looks like it is due to the following commit, which changes how the KVM
agent determines if a template is PV enabled. The 'getPlatformEmulator()'
is empty. I have reopened the associated bug and commented on it.

 -DiskDef.diskBus diskBusType =
getGuestDiskModel(vmSpec.getOs());
+DiskDef.diskBus diskBusType =
getGuestDiskModel(vmSpec.getPlatformEmulator());

commit 02bd3d0671b0cde46f8aa7892f20aa0bb0d48d1c
Author: Amogh Vasekar amogh.vase...@citrix.com
Date:   Wed May 7 15:16:55 2014 -0700

CLOUDSTACK-6358: As a part of supporting dynamic guest OS defined by
user, removing the hard-coded dependencies.
This patch is for KVM

1. Local testing on KVM
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Snapshots are not supported for KVM

 Signed off by :- Nitin Mehtanitin.me...@citrix.com



On Wed, Jul 16, 2014 at 2:57 PM, Alena Prokharchyk 
alena.prokharc...@citrix.com wrote:

 Daan, during 4.4 testing, I found the following regression bug:

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


 Unable to expunge vms in error state

 There is a workaround for it - I¹ve mentioned it in the bug - yet
ideally
 I would prefer the fix to be cherry-picked from 4.4-forward:

 commit 822b38761f1655ef3d5d3648985a197f5c2c1262



 Thank you,
 Alena.

 On 7/16/14, 4:47 AM, Daan Hoogland daan.hoogl...@gmail.com wrote:

 On Thu, Jul 3, 2014 at 1:41 AM, Marcus shadow...@gmail.com wrote:
  I tested this release with
  cherry-picking 2ec7359b4eb501b0d9e80ed87af7a54938e9d505 from
 4.4-forward.
 
 
 I have cherry-picked and pushed. I will address the last remaining
 issue by editting the pom.xml from build_asf.sh and roll out a new RC.
 
 Hope all of you have continued testing and have now more issues to
 block this release
 
 --
 Daan





Cant build master

2014-07-10 Thread Amogh Vasekar
Hi,

I am seeing this error when trying to build master branch :
Tests in error: 
  getTableName(com.cloud.utils.DbUtilTest)
  getTableName(com.cloud.utils.DbUtilTest): Could not initialize class
com.cloud.utils.db.TransactionLegacy
  closeStatement(com.cloud.utils.DbUtilTest): Could not initialize class
com.cloud.utils.db.TransactionLega


Am I missing something, or is the build broken on master?

Thanks,
Amogh



Re: Cant build master

2014-07-10 Thread Amogh Vasekar
Without disabling the tests?

Thanks,
Amogh

On 7/10/14 12:07 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

I just updated to the latest on master and was able to successfully build
the codebase. I'm on Ubuntu 12.04.


On Thu, Jul 10, 2014 at 12:58 PM, Amogh Vasekar amogh.vase...@citrix.com
wrote:

 Hi,

 I am seeing this error when trying to build master branch :
 Tests in error:
   getTableName(com.cloud.utils.DbUtilTest)
   getTableName(com.cloud.utils.DbUtilTest): Could not initialize class
 com.cloud.utils.db.TransactionLegacy
   closeStatement(com.cloud.utils.DbUtilTest): Could not initialize class
 com.cloud.utils.db.TransactionLega


 Am I missing something, or is the build broken on master?

 Thanks,
 Amogh




-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
http://solidfire.com/solution/overview/?video=play**



Re: Timeout error while brining up VM console from UI for testing Brocade Network Plugin: CLOUDSTACK-6823

2014-07-08 Thread Amogh Vasekar
Hi,

AFAIK, since the simulator does not actually have any H/W or real VM, I
don't think console access is available.

Thanks,
Amogh

On 7/7/14 4:00 PM, Ritu Sabharwal rsabh...@brocade.com wrote:

Hi,

I have tested the plugin functionality with the Simulator by creating the
datacenter with the marvin script and configuring the Brocade VDX
switches.

The Brocade VDX switches are configured with the port-profiles and
interfaces at appropriate lifecycles of VMs.

I can see the VMs coming up and running. I need to bring up the console
for the VMs to test the ping across the VMs.

In the CloudStack UI, when I click the console button for a VM, I don't
get the console but see a timeout message.

Thanks  Regards,
Ritu S.



Re: [HELP] How to build CS to enable VMware support in CloudStack..

2014-07-08 Thread Amogh Vasekar
Hi,

Unfortunately, you need to download and install the manageontop jar too

Thanks,
Amogh

On 7/8/14 1:03 PM, Ritu Sabharwal rsabh...@brocade.com wrote:

Hi,

I am trying to add VMWare DC for the first time in CloudStack management
server and need help in doing so. I downloaded the vim25.jar and
apputils.jar from VSphere Management SDK and copied them to deps folder.

When I a tryingto build cloudStack from source using the command mvn
install  -Dnoredist , it is failing and looking for dependencies for
NetApp Plugin.

[ERROR] Failed to execute goal on project cloud-plugin-netapp: Could not
resolve dependencies for project
org.apache.cloudstack:cloud-plugin-netapp:jar:4.5.0-SNAPSHOT: Failure to
find com.cloud.com.netapp:manageontap:jar:4.0 in
http://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central
has elapsed or updates are forced - [Help 1]


How can I just build for enabling VMware support and no other opensource
dependency?

Help in this regard is appreciated.

Thanks  Regards,
Ritu S.




Re: [ANNOUNCE] Santhosh Edukulla as a committer...

2014-06-30 Thread Amogh Vasekar
Congrats Santhosh!

On 6/30/14 1:14 PM, Rayees Namathponnan rayees.namathpon...@citrix.com
wrote:

Congrats Santosh. 

-Original Message-
From: Harikrishna Patnala [mailto:harikrishna.patn...@citrix.com]
Sent: Monday, June 30, 2014 1:12 PM
To: dev@cloudstack.apache.org
Subject: Re: [ANNOUNCE] Santhosh Edukulla as a committer...

Congratulations Santosh.


On 01-Jul-2014, at 1:16 am, Animesh Chaturvedi
animesh.chaturv...@citrix.com wrote:

 Congrats Santhosh
 
 -Original Message-
 From: Alex Huang [mailto:alex.hu...@citrix.com]
 Sent: Monday, June 30, 2014 9:25 AM
 To: dev@cloudstack.apache.org
 Subject: [ANNOUNCE] Santhosh Edukulla as a committer...
 
 Hi All,
 
 The Project Management Committee (PMC) for Apache CloudStack has
 asked Santhosh Edukulla to become a committer and we are pleased to
 announce that he has accepted.
 
 Being a committer allows many contributors to contribute more
 autonomously. For developers, it makes it easier to submit changes
 and eliminates the need to have contributions reviewed via the patch
 submission process. Whether contributions are development-related or
 otherwise, it is a recognition of a contributor's participation in
 the project and commitment to the project and the Apache Way.
 
 Please join me in congratulating Santhosh!
 
 --Alex, on behalf of the CloudStack PMC




Re: failed build on 4.3

2014-06-18 Thread Amogh Vasekar
I faced it for 4.4 on Monday. There was a thread running yesterday on this
too. Apparently an intermittent issue.

Thanks,
Amogh

On 6/18/14 12:45 PM, David Nalley da...@gnsa.us wrote:

Look at what the error actually says.

It's getting a 503 from repository.a.o

--David


On Wed, Jun 18, 2014 at 3:21 PM, sebgoa run...@gmail.com wrote:
 Anyone seeing a build error like this:

 [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process
(default) on project cloud-client-ui: Error resolving project artifact:
Could not transfer artifact
net.juniper.contrail:juniper-contrail-api:pom:1.0-SNAPSHOT from/to
apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file: 
http://repository.apache.org/snapshots/net/juniper/contrail/juniper-contr
ail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.pom. Return code
is: 503, ReasonPhrase:Service Temporarily Unavailable. for project
net.juniper.contrail:juniper-contrail-api:jar:1.0-SNAPSHOT - [Help 1]
 [ERROR]







Re: Can't build codebase

2014-06-17 Thread Amogh Vasekar
Kept failing for me yesterday too.

Thanks,
Amogh

On 6/17/14 9:44 AM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

This morning, when I ran that URL, it returned that the service was
unavailable (which is consistent with what Maven said).

Now, as you pointed out, it returns a 404.

It all seems to work now, but before it was failing on both my Mac OS X
and
Ubuntu environments.


On Tue, Jun 17, 2014 at 10:31 AM, Ian Duffy i...@ianduffy.ie wrote:


 
http://repository.apache.org/snapshots/net/juniper/contrail/juniper-contr
ail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.pom
 returns a 404.

 Searching on apache's nexus also returns nothing for juniper or contrail
 https://repository.apache.org/index.html

 I'd imagine you are working from .m2 cache.


 On 17 June 2014 17:19, Mike Tutkowski mike.tutkow...@solidfire.com
 wrote:

  This failed twice this morning, but seems to be OK for me now.
 
 
  On Tue, Jun 17, 2014 at 9:48 AM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
   Hi,
  
   Is anyone else seeing this issue when trying to build the codebase
 under
   either 4.4 or master?
  
   Thanks!
  
   [ERROR] Failed to execute goal
   org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process
   (default) on project cloud-client-ui: Error resolving project
artifact:
   Could not transfer artifact
   net.juniper.contrail:juniper-contrail-api:pom:1.0-SNAPSHOT from/to
   apache.snapshots (http://repository.apache.org/snapshots): Failed to
   transfer file:
  
 
 
http://repository.apache.org/snapshots/net/juniper/contrail/juniper-contr
ail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.pom
  .
   Return code is: 503, ReasonPhrase:Service Temporarily Unavailable.
for
   project net.juniper.contrail:juniper-contrail-api:jar:1.0-SNAPSHOT
-
  [Help
   1]
  
   --
   *Mike Tutkowski*
   *Senior CloudStack Developer, SolidFire Inc.*
   e: mike.tutkow...@solidfire.com
   o: 303.746.7302
   Advancing the way the world uses the cloud
   http://solidfire.com/solution/overview/?video=play**
  
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the cloud
  http://solidfire.com/solution/overview/?video=play**
 




-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
http://solidfire.com/solution/overview/?video=play**



[ACS44] Cherry pick request

2014-06-16 Thread Amogh Vasekar
Hi Daan,

Can you please cherry-pick de04881da177b28d7cb3efc09adb2d8069f0fdd3 from
4.4-forward to 4.4?

This fixes CLOUDSTACK-6915

Thanks,
Amogh



Re: Unable to upload SSL certificate

2014-06-11 Thread Amogh Vasekar
Hi,

The commit below actually ensures parity between API and UI calls, in
absence of which API calls will fail. Additionally, without it POST calls
will fail.
Please do send a note in case reverting part of the commit.

I believe Saksham has removed the double decoding for the API, which seems
the right fix.

Thanks,
Amogh


On 6/5/14 8:44 AM, Wei ZHOU ustcweiz...@gmail.com wrote:

To make it works on UI, I suggest to revert part of source code in this
commit
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=b8
a1cbe;hp=beb26237bceabfc3ebeae57431f9affb21d041e5

-Wei


2014-06-05 16:23 GMT+02:00 Saksham Srivastava
saksham.srivast...@citrix.com
:

 Syed,

 The certificate in the mentioned call is already UTF-8 encoded of the
raw
 plain-text certificate.
 To make the api work I had to doubly encode the cert and key .

 I guess it will be good to have this mentioned in the FS/docs as there
is
 no UI for this and also a sample api call can help a lot.

 Thanks,
 Saksham

 -Original Message-
 From: Syed Ahmed [mailto:sah...@cloudops.com]
 Sent: Thursday, June 5, 2014 6:23 AM
 To: Saksham Srivastava
 Cc: Vijay Venkatachalam; dev@cloudstack.apache.org
 Subject: Re: Unable to upload SSL certificate

 Can you try to encode the certificate before passing it as the param?

 -Syed

 On Wed 04 Jun 2014 09:01:19 AM EDT, Saksham Srivastava wrote:
  Adding Syed,
 
  I debugged the issue and here are my findings:
 
  The api is failing at CertServiceimpl: parseCertificate()
 
  return (Certificate) certPem.readObject();
 
  readObject method is failing.
 
  I tried to use the certificate used in the test
  runUploadSslCertSelfSignedWithPassword and other tests in
 CertServiceTest.java The following is the api call:
 
  http://10.x.x.x:8096/client/api?command=uploadSslCertcertificate=
  -BEGIN+CERTIFICATE-%0AMIIDBjCCAe4CCQD5Q6qF5dVV0jANBgkqhkiG9w0BAQUF
  ADBFMQswCQYDVQQGEwJB%0AVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW5
  0ZXJuZXQgV2lkZ2l0%0AcyBQdHkgTHRkMB4XDTEzMTAyMTEzNTgwNFoXDTE0MTAyMTEzNT
  gwNFowRTELMAkG%0AA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMG
  EludGVybmV0%0AIFdpZGdpdHMgUHR5IEx0ZDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
  AQoCggEB%0AAN%2F7lJtiEs68IC1ZPxY9NA34z9T4AU4LPS%2FkbQtuxx4X72XOBy%2By0
  cB%2FqdMD7JNV%0Ah8Mq4URDljhSDyVPdH%2F%2BjQr%2B7kWx2gNe2R%2FDCnd%2FmeVw
  wU30JJvpGVZXt%2BMTef5N%0AQAbSfDMsuT4FaUY80InbDd24HelrjwunPdY9wwKXO6zL2
  fLjyDRediiydxcx18Vb%0ADq1cm7DRi4mNkmA3RwBQMhxGp3VsfXJ4Hy2WTRCCCxWHZphA
  h3EUJGK3idum6%2F7j%0AHbAwpM%2Ft1kNWN8PZiYDZ1HbccgjmqB7Cub10BfB9g1RByiQ
  %2FC87o5cKtQha3uuXR%0AiBcHISoDydQrgxKgUpiqEF0CAwEAATANBgkqhkiG9w0BAQUF
  AAOCAQEASvulIaVb%0Azh8z2TysE6RFoYTAYIRXghFrmqCUyyQmUVTvs6vN8iaSXr%2BWM
  QJcpgXewWcFrDhr%0AmIcyRCvF91ZYb7q6lMZFSpE6u%2FSUGIEtxGUDAfbkbQdKYmrMcb
  ggUUIvSzgUFisO%0A

 
Kr0H9PEO4AWtCCrtOJFc7jgu03Sv06wDxn9ghkyiBRnVkbAhoKfKnI179yKruJWR%0AA3ieEj
0eFoUbeSH8hDkToj4ynpkAvEGoHjHG9j%2B8FJxy%2FPTjkyVPl1ykTs%2B2Jc1B%0ASnx8f2
afdTenPWyyBm3wFuRZjEAJJLUO0kxM7E8hAwhGsr%2BXYanwcr1oA1dz6M3f%0Acq26lpjTH5
ITwQ%3D%3D%0A-END+CERTIFICATE-%0Aprivatekey=-BEGIN+RSA+PRIVA
TE+KEY-%0AProc-Type%3A+4%2CENCRYPTED%0ADEK-Info%3A+DES-EDE3-CBC%2CCCA
6E4CB4C4039DD%0A%0ATaVCJtB0dE9xTZbX7GOaGJwwGHVAMjU1GbRIHf0jODdP%2BquZvbjk
lNqsw8Ozlia9%0Aq%2FG%2BUqtRJGlIPPLpce0YCrTo0P3eixZdMs0%2BhioAEJ4OLtL0SAC6
b8q%2FgB6HRfAx%0ABvNg%2BumTqeF9YB68Tcuv%2F2g4VGKiaePQACyOzMdf7lGY7ojxoJCY
Za1mfKb7jWrg%0AFLwmTtLLhNjb6CnOKo3klIef3A6zdutpgxF1gARzdRyXg4qCA3boYnwEpt
TOlJFu%0AovxbhDG9iuYYr4gXYSs1pLYptEC8J6iWpG%2Fqzkwfr4l5Cfg5uF00bbxQE5%2BW
eRaj%0AYFicvXjB%2FkcoFZuCL7M%2FYRXYxkJ%2FEZ19xI9HZNBQ4L738StkSBKL4OhpF%2F
qgYZ2y%0AZLRV6XT4AijUA0Ef7YTuUsTL7Qt9drj09gCtAzXTA7gpZBn5SqT9kWhuwSzY302l
%0AKF8DIC6A52igk2QKPLbleM%2FV8eCu6n%2BJ4uF%2B0GwVRROuG7ThxAQiUlJKhoEYrndL
%0AnzT7jHVLftjilhVWFu2On62bRf5t1QZuob%2B1AdK0ukvEI

 
VsYnN4bnlAkc99Wi6C0%0AZJd9qW5L4A9XAC2gcjr3m0Rzw3RO%2Bk17faR8YfmTuJvGyBf5f
nrSFoNkrninXQXp%0Ask0ajRi4PJ4XTswLyxjWRSt3egNsZBSKnVCibca%2FQoDEdZHSKXo2F
lYiUYx8JHQX%0ASPUsLl9OQKC1W8%2F%2BReryqBLHCkiGEsvT8gVaXga0uhVaqe%2BPaVur2
tbOHl4yCysC%0A%2BZlnKwsC84LQsUvpENdCh%2BD7E1I1Rao9IJMR6q9azKq8Ck63cOJ1fA9
xSnxJGoCA%0AIlGLttlXrR32EtzYwEnlqf1nI%2FIqNQrAXQKrP5VPzHsgMFu5uD4OEZa92Q5
cVTsz%0Aap%2F1UEqiJVYUt6nuA%2BaqOUlyjC0oNtYL%2FVO4DbHTFcHa8SI2cPSS6ebPMWP
GHjUm%0Al9bWa6Q9iyplCYS6hinAVsAaLVjPi1Eu9Pc8rxFCmoiJYJju5NZuGI5UBK64dqcX%
0AT6trWl0kB8QY63JtnrZaoStoSPImV5KVseUKDV8TM3Y76h1nLV3MSmAD1ivk9oKs%0AVKeV
rDhZBWUq9Dqre%2F%2BlVGO0a2wo5VTR8hfpf8QkODPLeyNZNdfGKzkkFLuXa8V5%0AELhLQJ
3FnbEU3NEvMwikV9MhP%2FELPTkZwJr%2FNKv%2B9JLs9eXtwz29I%2FQ8byQVrCCs%0AhAuD
l0zHGRnqdpdSImeS2EXGx631zGMwSe8fhKelni5h6hXrXz52asr0k30BxWjf%0AWUn1uTInwV
jWGy9B5j3mZlVDotFbvVAZgtR0IoFwihPl4VZd9oS13l%2BhMfrTy1YZ%0A8xFNg8ZqUQ0lSm
KfOVqSBT0lP8tM8LuGxgY4cWluhsAQxR5Nl7wkundnqjcwEDDu%0AJz2rD54St1EZYGLDJZSf
C7mpG2PgodsdeopQCTyFhHWa8s3caZ40GFOwaR%2B%2F5%2BYF

 
%0A1oRvkR1Yr4qIS7KbX4xsaFfAA5b8QfLA74L05PAgDwKofam2GFAlAKHOcI6mexPq%0AayS
ON9MNdnXBNxs16mBJLzCX5ljQb0ilJildVEI3aVmABptM4ehEiw%3D%3D%0A-END+RSA+

Re: [DISCUSS] Release 4.4

2014-06-11 Thread Amogh Vasekar
Hi,

AFAIK a couple of Automation blockers [1] [2], which had no owner
assigned, were moved to critical.

[1] CLOUDSTACK-6842
[2] CLOUDSTACK-6825

Thanks,
Amogh



On 6/11/14 10:33 AM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

we have four blockers remaining...all network
oriented.

Murali Reddy has two. All four have an owner and presumably progress is
being made.



[ACS44] Cherry pick request

2014-06-09 Thread Amogh Vasekar
Hi Daan,

Request you to please cherry-pick the following two commits to 4.4 branch :

1. ac92b3690304ff224e7e2530ea7d8e39f28a05c3 for CLOUDSTACK-6710
2. a4b401f29f83f2f0b467a9d05b509f951b5a3bca for CLOUDSTACK-6358

Thanks,
Amogh



Review Request 22249: Remove hardcoded guest OS mapping for vmware

2014-06-04 Thread Amogh Vasekar

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

Review request for cloudstack and Nitin Mehta.


Bugs: CLOUDSTACK-6358
https://issues.apache.org/jira/browse/CLOUDSTACK-6358


Repository: cloudstack-git


Description
---

Remove hardcoded guest OS mapping for vmware, as a part of supporting dynamic 
addition of guest OS.


Diffs
-

  
engine/storage/snapshot/src/org/apache/cloudstack/storage/vmsnapshot/DefaultVMSnapshotStrategy.java
 21f4968ca7657a35d19e2bad62a503d2fadd21ec 
  plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java 
77c45b26b7d50f2dedfe6e46d534ea3b82e8f75f 
  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 52421fa4406991446ce5c8970e853abea96ceee4 

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


Testing
---

This patch is for vmware
1. Local testing on VMware
2. Successfully got up system VMs
3. Successfully created a CentOS VM


Thanks,

Amogh Vasekar



Re: [ANNOUNCE] Amogh Vasekar as committer

2014-06-03 Thread Amogh Vasekar
Thanks a ton everyone! :-)

Regards,
Amogh

On 6/3/14 4:06 AM, Nux! n...@li.nux.ro wrote:

On 02.06.2014 19:14, John Kinsella wrote:
 The Project Management Committee (PMC) for Apache CloudStack has
 asked Amogh Vasekar to become a committer and we are pleased to
 announce
 that he has accepted.
 
 Being a committer allows many contributors to contribute more
 autonomously. For
 developers, it makes it easier to submit changes and eliminates the
 need to
 have contributions reviewed via the patch submission process. Whether
 contributions are development-related or otherwise, it is a
 recognition of a
 contributor's participation in the project and commitment to the
 project and
 the Apache Way.
 
 Please join me in congratulating Amogh!
 
 -John, on behalf of the CloudStack PMC

Congratulations, Amogh! :)

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: [ANNOUNCE] Amogh Vasekar as committer

2014-06-02 Thread Amogh Vasekar
Thanks everyone :-)

Regards,
Amogh

On 6/2/14 11:57 AM, Min Chen min.c...@citrix.com wrote:

Congratulations, Amogh.

-min

On 6/2/14 11:53 AM, Ahmad Emneina aemne...@gmail.com wrote:

oh dang! good stuff Amogh!


On Mon, Jun 2, 2014 at 11:29 AM, Rayees Namathponnan 
rayees.namathpon...@citrix.com wrote:

 Congrats Amogh.

 Regards,
 Rayees

 -Original Message-
 From: Nitin Mehta [mailto:nitin.me...@citrix.com]
 Sent: Monday, June 02, 2014 11:17 AM
 To: dev@cloudstack.apache.org
 Subject: Re: [ANNOUNCE] Amogh Vasekar as committer

 Great news. Congrats Amogh !!!

 On 02/06/14 11:14 AM, John Kinsella j...@stratosec.co wrote:

 The Project Management Committee (PMC) for Apache CloudStack has asked
 Amogh Vasekar to become a committer and we are pleased to announce
that
 he has accepted.
 
 Being a committer allows many contributors to contribute more
 autonomously. For developers, it makes it easier to submit changes and
 eliminates the need to have contributions reviewed via the patch
 submission process. Whether contributions are development-related or
 otherwise, it is a recognition of a contributor's participation in the
 project and commitment to the project and the Apache Way.
 
 Please join me in congratulating Amogh!
 
 -John, on behalf of the CloudStack PMC






Re: Proxy Console (RealhostIP Retired) Question

2014-05-22 Thread Amogh Vasekar
Hi,
Does the DNS resolve from your local machine? Is the DNS publicly
resolvable, or is it local to your intranet?

Thanks,
Amogh

On 5/21/14 6:14 PM, Mo m...@daoenix.com wrote:

but I am also still
unable to proceed in getting console access as it states it's unable to
resolve the DNS.

All my other DNS resolves without issue, please note



[ACS4.4] Cherry pick request

2014-05-22 Thread Amogh Vasekar
Hi Daan,

Can you please cherry pick 7bbad0491f7ec087f693814caadbe6d648d2edf2
It resolves CLOUDSTACK-6671

Thanks,
Amogh



Re: Creating or customising OS type

2014-05-19 Thread Amogh Vasekar
Hi,

Might this be of use to you?
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Proposal+-+Ability+t
o+add+new+guest+OS+mappings

Thanks,
Amogh

On 5/18/14 7:33 PM, Marcus shadow...@gmail.com wrote:

Not sure exactly, there is some details table or column associated with
the
template you register, and it is passed as details to the agent in a
StartCommand.
On Apr 25, 2014 2:27 AM, Nux! n...@li.nux.ro wrote:

 On 25.04.2014 01:31, Marcus wrote:

 Since other hypervisors are already doing it, I have no problem making
the
 KVM agent 'aware' of the magic strings. I'll commit this for future
 releases.


 Marcus,

 So I learn a new thing today, too, can you tell me where in the DB is
kept
 this information that we pass via cloudmonkey? i.e. what is telling the
 agent to use these specifics, VirtIO devices, Intel NICs and so on?

 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro




Review Request 21673: Missing KVM mappings causes NPE

2014-05-19 Thread Amogh Vasekar

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

Review request for cloudstack and Nitin Mehta.


Bugs: CLOUDSTACK-6671
https://issues.apache.org/jira/browse/CLOUDSTACK-6671


Repository: cloudstack-git


Description
---

Fixing NPE when a mapping is missing
Adding missing KVM mappings


Diffs
-

  plugins/hypervisors/xen/src/com/cloud/hypervisor/XenServerGuru.java 
620d7113f411c60729e176f093602dc364be74b9 
  server/src/com/cloud/hypervisor/KVMGuru.java 
4225232064df1081e14f933837d001c1408012cf 

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


Testing
---

Local testing with removing CentOS mapping and launch a VM. 


Thanks,

Amogh Vasekar



Re: Review Request 21673: Missing KVM mappings causes NPE

2014-05-19 Thread Amogh Vasekar

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

(Updated May 20, 2014, 12:11 a.m.)


Review request for cloudstack and Nitin Mehta.


Bugs: CLOUDSTACK-6671
https://issues.apache.org/jira/browse/CLOUDSTACK-6671


Repository: cloudstack-git


Description
---

Fixing NPE when a mapping is missing
Adding missing KVM mappings


Diffs (updated)
-

  plugins/hypervisors/xen/src/com/cloud/hypervisor/XenServerGuru.java 
620d7113f411c60729e176f093602dc364be74b9 
  server/src/com/cloud/hypervisor/KVMGuru.java 
4225232064df1081e14f933837d001c1408012cf 
  setup/db/db/schema-430to440.sql 89db04a2e93e048e3b6fa088a9679d7d4daa29c7 

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


Testing
---

Local testing with removing CentOS mapping and launch a VM. 


Thanks,

Amogh Vasekar



Re: [2/2] git commit: updated refs/heads/4.4 to 02bd3d0

2014-05-16 Thread Amogh Vasekar
Hi,

Can you please let me know the guest OS name for the ISO you are using?
May be one of the mappings is missing from DB, since Cent-os seems to be
working.

Thanks,
Amogh

On 5/16/14 8:46 AM, Daan Hoogland daan.hoogl...@gmail.com wrote:

Nitin, Amogh,

Can you have a quick look? please advice if I should revert or add a
missing commit.

regards,
Daan

On Fri, May 16, 2014 at 12:55 PM, Milamber milam...@apache.org wrote:
 Hello,

 This commit creating an NPE issue when you add a new kvm instance from
ISO.

 See: https://issues.apache.org/jira/browse/CLOUDSTACK-6671

 Milamber


 Le 13/05/2014 09:33, d...@apache.org a ecrit :

 CLOUDSTACK-6358: As a part of supporting dynamic guest OS defined by
user,
 removing the hard-coded dependencies.
 This patch is for KVM

 1. Local testing on KVM
 2. Successfully got up system VMs
 3. Successfully created a CentOS VM
 4. Snapshots are not supported for KVM

   Signed off by :- Nitin Mehtanitin.me...@citrix.com


 Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
 Commit: 
http://git-wip-us.apache.org/repos/asf/cloudstack/commit/02bd3d06
 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/02bd3d06
 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/02bd3d06

 Branch: refs/heads/4.4
 Commit: 02bd3d0671b0cde46f8aa7892f20aa0bb0d48d1c
 Parents: 1fb358d
 Author: Amogh Vasekar amogh.vase...@citrix.com
 Authored: Wed May 7 15:16:55 2014 -0700
 Committer: Daan Hoogland d...@onecht.net
 Committed: Tue May 13 10:33:15 2014 +0200

 --
   .../storage/dao/GuestOSHypervisorDaoImpl.java   |   6 +-
   .../kvm/resource/LibvirtComputingResource.java  | 156
 ++-
   .../hypervisor/kvm/resource/LibvirtVMDef.java   |   9 ++
   .../hypervisor/kvm/resource/VifDriverBase.java  |   4 +-
   server/src/com/cloud/hypervisor/KVMGuru.java|  14 +-
   5 files changed, 108 insertions(+), 81 deletions(-)
 --



 
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/02bd3d06/engine/s
chema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java
 --
 diff --git
 a/engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java
 b/engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java
 index 3b05120..b06cdfa 100644
 ---
 a/engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java
 +++
 b/engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java
 @@ -58,9 +58,13 @@ public class GuestOSHypervisorDaoImpl extends
 GenericDaoBaseGuestOSHypervisorVO
   @Override
   public GuestOSHypervisorVO findByOsIdAndHypervisor(long
guestOsId,
 String hypervisorType, String hypervisorVersion) {
   SearchCriteriaGuestOSHypervisorVO sc =
mappingSearch.create();
 +String version = default;
 +if (!(hypervisorVersion == null ||
hypervisorVersion.isEmpty()))
 {
 +version = hypervisorVersion;
 +}
   sc.setParameters(guest_os_id, guestOsId);
   sc.setParameters(hypervisor_type, hypervisorType);
 -sc.setParameters(hypervisor_version, hypervisorVersion);
 +sc.setParameters(hypervisor_version, version);
   return findOneBy(sc);
   }


 
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/02bd3d06/plugins/
hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingRe
source.java
 --
 diff --git
 
a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtC
omputingResource.java
 
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtC
omputingResource.java
 index 345a8ee..b8f33e5 100755
 ---
 
a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtC
omputingResource.java
 +++
 
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtC
omputingResource.java
 @@ -16,12 +16,79 @@
   // under the License.
   package com.cloud.hypervisor.kvm.resource;
   +import java.io.BufferedOutputStream;
 +import java.io.BufferedReader;
 +import java.io.File;
 +import java.io.FileNotFoundException;
 +import java.io.FileOutputStream;
 +import java.io.FileReader;
 +import java.io.IOException;
 +import java.io.InputStream;
 +import java.io.InputStreamReader;
 +import java.io.Reader;
 +import java.net.InetAddress;
 +import java.net.URI;
 +import java.net.URISyntaxException;
 +import java.net.URL;
 +import java.net.URLConnection;
 +import java.text.DateFormat;
 +import java.text.MessageFormat;
 +import java.text.SimpleDateFormat;
 +import java.util.ArrayList;
 +import java.util.Arrays;
 +import java.util.Calendar;
 +import java.util.Collections;
 +import java.util.Comparator;
 +import java.util.Date;
 +import java.util.HashMap;
 +import java.util.HashSet;
 +import java.util.List;
 +import java.util.Map;
 +import

Re: Problem with mailing list....

2014-05-14 Thread Amogh Vasekar
From ASF infra blog :

UPDATE 12 May 16:04 UTC - Clarification - we have opened the
floodgates, but have a substantial amount of backlog; and with the
sudden rush of mail are being throttled by various mail services. With
the addition of mail thats coming through anyway; it may take us from
2-5 days to fully flush the backlog. This time is so wide because of a
wide variety of factors that are largely outside of our control, such as
 new mail coming in and mail services individual throttling policies.

Amogh  


On 5/13/14 6:02 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

There was an issue for a couple days last week where mail was halted.

Perhaps the issue was not entirely resolved?

On Tuesday, May 13, 2014, Min Chen min.c...@citrix.com wrote:

 I had the same issue, my email sent a while back is still not sent to
 community yet.

 -min

 On 5/13/14 4:57 PM, Alex Huang alex.hu...@citrix.com javascript:;
 wrote:

 I've find some of my emails did not make it to the mailing list.  Does
 anyone else have this problem?
 
 --Alex



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
**



[ACS44] Cherry pick request

2014-05-14 Thread Amogh Vasekar
Hi Daan,

Can you please cherry-pick 594f66d12521c6a3a07475e37e7ab0f09d247b19
It is a fix for https://issues.apache.org/jira/browse/CLOUDSTACK-6437

Thanks,
Amogh



Re: seeing Unknown parameters : ctxdetails for addResourceDetail/removeResourceDetail

2014-05-13 Thread Amogh Vasekar
Same here. I see it nearly all API calls I make. I use port 8096 though,
if that makes any difference.

Thanks,
Amogh

On 5/13/14 3:01 AM, Koushik Das koushik@citrix.com wrote:

I am seeing the same for many commands. So this is not specific to
add/removeResourceDetail

2014-05-09 18:17:39,477 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-24:job-28 ctx-6eaab5d7) Received unknown parameters for
command updateNetworkServiceProvider. Unknown parameters : ctxdetails
2014-05-09 18:17:42,584 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-25:job-29 ctx-9c9f87f4) Received unknown parameters for
command updatePhysicalNetwork. Unknown parameters : ctxdetails
2014-05-12 11:13:29,079 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-1:job-3 ctx-146e0b74) Received unknown parameters for
command createPhysicalNetwork. Unknown parameters : ctxdetails
2014-05-12 11:13:29,188 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-2:job-4 ctx-923175d9) Received unknown parameters for
command addTrafficType. Unknown parameters : ctxdetails
2014-05-12 11:13:44,521 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-5:job-7 ctx-255c7f04) Received unknown parameters for
command configureVirtualRouterElement. Unknown parameters : ctxdetails
2014-05-12 11:13:44,576 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-6:job-8 ctx-5bbd3334) Received unknown parameters for
command updateNetworkServiceProvider. Unknown parameters : ctxdetails
2014-05-12 11:13:49,705 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-7:job-9 ctx-382414ba) Received unknown parameters for
command configureVirtualRouterElement. Unknown parameters : ctxdetails
2014-05-12 11:13:49,746 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-8:job-10 ctx-e806b020) Received unknown parameters for
command updateNetworkServiceProvider. Unknown parameters : ctxdetails
2014-05-12 11:13:54,873 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-9:job-11 ctx-6f762490) Received unknown parameters for
command configureInternalLoadBalancerElement. Unknown parameters :
ctxdetails
2014-05-12 11:13:54,917 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-10:job-12 ctx-a9a7f4dd) Received unknown parameters for
command updateNetworkServiceProvider. Unknown parameters : ctxdetails
2014-05-12 11:14:00,003 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-11:job-13 ctx-434a524d) Received unknown parameters for
command updatePhysicalNetwork. Unknown parameters : ctxdetails
2014-05-12 17:50:42,708 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-1:job-21 ctx-706223d8) Received unknown parameters for
command deployVirtualMachine. Unknown parameters : ctxdetails
2014-05-13 14:19:43,496 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-4:job-31 ctx-aff14d23) Received unknown parameters for
command deployVirtualMachine. Unknown parameters : ctxdetails
2014-05-13 14:48:59,308 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-1:job-53 ctx-9cc47c4f) Received unknown parameters for
command startVirtualMachine. Unknown parameters : ctxdetails
2014-05-13 14:50:18,255 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-5:job-61 ctx-5ceecd58) Received unknown parameters for
command startVirtualMachine. Unknown parameters : ctxdetails





On 13-May-2014, at 4:09 AM, Alena Prokharchyk
alena.prokharc...@citrix.com wrote:

 Hi Antonio,
 
 I see following errors in the 4.4 logs:
 
 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-49:job-2867 ctx-072e9ae9) Received unknown parameters
for command removeResourceDetail. Unknown parameters : ctxdetails
 WARN  [c.c.a.d.ParamGenericValidationWorker]
(API-Job-Executor-50:job-2868 ctx-35195840) Received unknown parameters
for command addResourceDetail. Unknown parameters : ctxdetails
 
 Isn¹t something that you¹ve fixed already? If so, what branches did it
go to? If not, can you please fix it?
 
 Thanks!
 Alena.




Re: devcloud script deployDataCentre.py not working

2014-05-13 Thread Amogh Vasekar
I have been seeing this for a while too, and IIRC there was a thread on
dev list regarding this.
In logs, I keep getting an error saying
mgmt server log:
ARN  [c.c.a.m.DirectAgentAttache] (DirectAgent-1:ctx-bef0aa48) Seq
1-9152158867746979841: Exception Caught while executing command
com.cloud.utils.exception.CloudRuntimeException: Cannot create directory
/opt/cloud/bin on XenServer hosts

Last I had tried was about a month ago though.


Thanks,
Amogh

On 5/13/14 9:26 AM, Santhosh Edukulla santhosh.eduku...@citrix.com
wrote:

If you atleast use 4.4-forward marvin, the first issue mentioned related
to connection refused, should work fine provided port configuration is
proper.

I havent tried devcloud 4.4 so far, I can try it with 4.4 and let know
the results.


Santhosh

From: sebgoa [run...@gmail.com]
Sent: Tuesday, May 13, 2014 8:41 AM
To: dev@cloudstack.apache.org; Santhosh Edukulla
Subject: Re: devcloud script deployDataCentre.py not working

cc santhosh, maybe he has tried devcloud with 4.4


On May 7, 2014, at 9:45 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:

 basic networking fails slightly differntly:

 daan:~/cloudstack-4.4/cloudstack (4.4) python
 tools/marvin/marvin/deployDataCenter.py -i tools/devcloud/devcloud.cfg
 Traceback (most recent call last):
  File tools/marvin/marvin/deployDataCenter.py, line 579, in module
deploy.deploy()
  File tools/marvin/marvin/deployDataCenter.py, line 563, in deploy
self.createZones(self.config.zones)
  File tools/marvin/marvin/deployDataCenter.py, line 425, in
createZones
self.createPods(zone.pods, zoneId, networkid)
  File tools/marvin/marvin/deployDataCenter.py, line 142, in createPods
vmwareDc=pod.vmwaredc)
  File tools/marvin/marvin/deployDataCenter.py, line 87, in
createClusters
cluster.hypervisor)
  File tools/marvin/marvin/deployDataCenter.py, line 53, in addHosts
self.apiClient.addHost(hostcmd)
  File 
/Users/daan/cloudstack-4.4/cloudstack/tools/marvin/marvin/cloudstackAPI/
cloudstackAPIClient.py,
 line 1535, in addHost
response = self.connection.marvinRequest(command,
 response_type=response, method=method)
  File 
/Users/daan/cloudstack-4.4/cloudstack/tools/marvin/marvin/cloudstackConn
ection.py,
 line 272, in marvinRequest
response = jsonHelper.getResultObj(response.json(), response_type)
  File 
/Users/daan/cloudstack-4.4/cloudstack/tools/marvin/marvin/jsonHelper.py
,
 line 148, in getResultObj
raise cloudstackException.cloudstackAPIException(respname, errMsg)
 cloudstackException.cloudstackAPIException: Execute cmd: addhost
 failed, due to: errorCode: 530, errorText:Cannot transit agent status
 with event AgentDisconnected for host 1, mangement server id is
 4278190080,Unable to transition to a new state from Creating via
 AgentDisconnected


 seems like I failed to do some config on the devcloud host. Anything?
 I followed 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud
 but in some cases it wasn't clear to me if I should execute something
 in the devcloud or on my laptop.

 On Wed, May 7, 2014 at 9:32 PM, Daan Hoogland daan.hoogl...@gmail.com
wrote:
 I am setting up a test env on my laptop using devcloud2 v4.3. I am
 running the ms v4.4 in eclipse and the db on my laptop. I get the
 following error:

 daan:~/cloudstack-4.4/cloudstack (4.4) python
 tools/marvin/marvin/deployDataCenter.py -i
 tools/devcloud/devcloud-advanced.cfg
 Traceback (most recent call last):
  File tools/marvin/marvin/deployDataCenter.py, line 579, in module
deploy.deploy()
  File tools/marvin/marvin/deployDataCenter.py, line 561, in deploy
self.loadCfg()
  File tools/marvin/marvin/deployDataCenter.py, line 523, in loadCfg
mgtDetails.apiKey, mgtDetails.securityKey = self.registerApiKey()
  File tools/marvin/marvin/deployDataCenter.py, line 492, in
registerApiKey
listuserRes = self.testClient.getApiClient().listUsers(listuser)
  File 
/Users/daan/cloudstack-4.4/cloudstack/tools/marvin/marvin/cloudstackAPI
/cloudstackAPIClient.py,
 line 600, in listUsers
response = self.connection.marvinRequest(command,
 response_type=response, method=method)
  File 
/Users/daan/cloudstack-4.4/cloudstack/tools/marvin/marvin/cloudstackCon
nection.py,
 line 266, in marvinRequest
method=method)
  File 
/Users/daan/cloudstack-4.4/cloudstack/tools/marvin/marvin/cloudstackCon
nection.py,
 line 196, in request
raise c
 requests.exceptions.ConnectionError:
 HTTPConnectionPool(host='192.168.56.10', port=8096): Max retries
 exceeded with url:
 /client/api?account=admincommand=listUsersresponse=json (Caused by
 class 'socket.error': [Errno 61] Connection refused)

 telnet port 8091 locally on my laptop works and from the devcloud to
 my laptop as well but the port is not opened on the dev. So it makes
 sense that the connection is refused. Not that it is opened. I set the
 'host' config item to the virtualbox gateway address, 192.168.56.1.
 That didn't help. I don't see what 

Re: [PROPOSAL] Using continuous integration to maintain our code quality...

2014-05-13 Thread Amogh Vasekar
Sorry, I take that back. Misunderstood the fork to be feature branch
on cloudstack git.

Amogh

On 5/13/14 3:03 PM, Amogh Vasekar amogh.vase...@citrix.com wrote:

Hi,

On 5/13/14 1:04 AM, Daan Hoogland daan.hoogl...@gmail.com wrote:

If I understood Alex' page on the wiki correctly you can run against
your own fork.

I think Non-committers can't have a feature branch on git (at least I
can't create one)

Thanks,
Amogh




Re: [PROPOSAL] Using continuous integration to maintain our code quality...

2014-05-13 Thread Amogh Vasekar
Hi,

On 5/13/14 1:04 AM, Daan Hoogland daan.hoogl...@gmail.com wrote:

If I understood Alex' page on the wiki correctly you can run against
your own fork.

I think Non-committers can't have a feature branch on git (at least I
can't create one)

Thanks,
Amogh



[ACS44] Cherry pick requests

2014-05-12 Thread Amogh Vasekar
Hi Daan,

Can you please cherry pick the following two commits, in order?

8f37841eb49532a729c9cc42a61e610da05b04a3

5949e33578a886061b18510cf5cfbd8c2b4e4c3b


They are for CLOUDSTACK-6358

Thanks,
Amogh



Re: Review Request 21340: Disallow deleting / modifying system defined mappings

2014-05-12 Thread Amogh Vasekar

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

(Updated May 12, 2014, 10:31 p.m.)


Review request for cloudstack and Nitin Mehta.


Changes
---

Same modifications for guest OS


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6437

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


Repository: cloudstack-git


Description
---

This patch disallows deleting / modifying system defined guest OS mappings


Diffs (updated)
-

  api/src/org/apache/cloudstack/api/ApiConstants.java 
70e1984420219f1f6c1638d161717464584b8460 
  api/src/org/apache/cloudstack/api/response/GuestOSResponse.java 
9737d6073adefbdd683243288aeda982917a8073 
  api/src/org/apache/cloudstack/api/response/GuestOsMappingResponse.java 
a0f7d1d0edd3cd06575f7c26db4340f4c5fb6aaf 
  engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDao.java 
5b6e7198f0d28d105c051390daf3383d2447216b 
  engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java 
b06cdfad68291b1b660fa219f1b3e144f1c684ff 
  server/src/com/cloud/api/ApiResponseHelper.java 
d8e26d8f8bf6a8a8916aacade1827435c61c8397 
  server/src/com/cloud/server/ManagementServerImpl.java 
da252986011dc29df76098123a1d269ad418dcfb 

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


Testing
---

Local env
1. Create user defined mapping
2. Delete / modify user defined mapping. Should pass
3. Delete / modify system defined mapping. Should fail


Thanks,

Amogh Vasekar



Review Request 21340: Disallow deleting / modifying system defined mappings

2014-05-12 Thread Amogh Vasekar

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

Review request for cloudstack and Nitin Mehta.


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6437

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


Repository: cloudstack-git


Description
---

This patch disallows deleting / modifying system defined guest OS mappings


Diffs
-

  api/src/org/apache/cloudstack/api/ApiConstants.java 
70e1984420219f1f6c1638d161717464584b8460 
  api/src/org/apache/cloudstack/api/response/GuestOsMappingResponse.java 
a0f7d1d0edd3cd06575f7c26db4340f4c5fb6aaf 
  engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDao.java 
5b6e7198f0d28d105c051390daf3383d2447216b 
  engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java 
b06cdfad68291b1b660fa219f1b3e144f1c684ff 
  server/src/com/cloud/api/ApiResponseHelper.java 
d8e26d8f8bf6a8a8916aacade1827435c61c8397 
  server/src/com/cloud/server/ManagementServerImpl.java 
da252986011dc29df76098123a1d269ad418dcfb 

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


Testing
---

Local env
1. Create user defined mapping
2. Delete / modify user defined mapping. Should pass
3. Delete / modify system defined mapping. Should fail


Thanks,

Amogh Vasekar



Re: Review Request 21087: Remove hard-coding for platform emulators in Xen Server

2014-05-06 Thread Amogh Vasekar

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

(Updated May 6, 2014, 10:45 p.m.)


Review request for cloudstack and Nitin Mehta.


Changes
---

Cleanly applying patch


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6358

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


Repository: cloudstack-git


Description
---

As a part of supporting dynamic guest OS defined by user, removing the 
hard-coded dependencies.
This patch is for XenServer


Diffs (updated)
-

  api/src/com/cloud/agent/api/to/VirtualMachineTO.java 
bbd83852abf840ab5d93f53ad0c71e61491b2dda 
  core/src/com/cloud/agent/api/VMSnapshotBaseCommand.java 
d2abd54e0407ab597636d9c9d5a596e55f987108 
  
engine/storage/snapshot/src/org/apache/cloudstack/storage/vmsnapshot/DefaultVMSnapshotStrategy.java
 e86bd23b0500f25268a603a7c41e8e00d18957d2 
  engine/storage/snapshot/test/src/VMSnapshotStrategyTest.java 
9eaa7e19c134caf0633bb9099c5f858075fddba7 
  
engine/storage/src/org/apache/cloudstack/storage/helper/HypervisorHelperImpl.java
 b41c1fa14ac77cffa53ce5ae2aec6d9bea9cd649 
  plugins/hypervisors/xen/src/com/cloud/hypervisor/XenServerGuru.java 
89e4ab5d94b61cc6acdefc8102da4a33dbbf23b5 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
 ad3797306c92d80d929a1e09b46b471231baa6c0 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
 4a69d3aececd718cdb7257d3807225c429b73823 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpServer16Resource.java
 8cb7997305f1344429c5b256bea35878137bb5a3 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpServerResource.java
 cc623bfab61f732a4310e3c6c93a51bc36a463b9 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer56FP1Resource.java
 3dc527e93d82733823f4e8fddb242d698c21629f 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer56Resource.java
 a78ed819bdeb4878850989915a7280b0639e3ab6 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer56SP2Resource.java
 9e7d5dd09d0c1a1d18c6c348ce098218933d18ed 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer600Resource.java
 021b9cbd4dc7ed4a5041c69aa55f29daa732f52b 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer602Resource.java
 5c9bfbb5952008b332900cd7af21671f7dc465a5 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java
 0c3e1e9660abdbfee1dcfe58c62145cbe0e06c9b 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer620Resource.java
 c10dc1e90cbce2ff41cc62e2120f5e23931a4207 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer620SP1Resource.java
 4f04961e35742d7e846cec47725551d67b704bfc 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/Xenserver625Resource.java
 40143646f7744e05e2ca009d99d53973ceaf58ee 

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


Testing
---

1. Local testing on XenServer 6.0.2
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Created VM snapshot and reverted to snapshot
5. Manipulated guest_os_hypervisor table for mapping, and checked for correct 
propagation of platform emulator.


Thanks,

Amogh Vasekar



Review Request 21131: Remove hard coding of guest OS mapping for KVM

2014-05-06 Thread Amogh Vasekar

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

Review request for cloudstack and Nitin Mehta.


Bugs: 
https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6358

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


Repository: cloudstack-git


Description
---

As a part of supporting dynamic guest OS defined by user, removing the 
hard-coded dependencies.
This patch is for KVM
This patch is to be applied after https://reviews.apache.org/r/21087/


Diffs
-

  engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java 
3b05120f5b9d5bcf4bab6ef25cd1dab2a6043c0d 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 345a8eea0cf3033eef10accdd94639bf014b0fb3 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java 
4032305b03268b4b8b93a3f41038dce83bcaaf19 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/VifDriverBase.java
 d89d71a1b2a93959ebcd4f0df529901e12445617 

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


Testing
---

1. Local testing on KVM
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Snapshots are not supported for KVM


Thanks,

Amogh Vasekar



Re: Review Request 21131: Remove hard coding of guest OS mapping for KVM

2014-05-06 Thread Amogh Vasekar

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

(Updated May 6, 2014, 10:51 p.m.)


Review request for cloudstack and Nitin Mehta.


Bugs: 
https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6358

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


Repository: cloudstack-git


Description
---

As a part of supporting dynamic guest OS defined by user, removing the 
hard-coded dependencies.
This patch is for KVM
This patch is to be applied after https://reviews.apache.org/r/21087/


Diffs
-

  engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java 
3b05120f5b9d5bcf4bab6ef25cd1dab2a6043c0d 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 345a8eea0cf3033eef10accdd94639bf014b0fb3 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java 
4032305b03268b4b8b93a3f41038dce83bcaaf19 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/VifDriverBase.java
 d89d71a1b2a93959ebcd4f0df529901e12445617 

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


Testing
---

1. Local testing on KVM
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Snapshots are not supported for KVM


Thanks,

Amogh Vasekar



Re: Congrats on 4.3 release!

2014-05-06 Thread Amogh Vasekar
Hi,

Can someone please commit the missing file wrt below for me? It has been
lingering for long.
The review request is at https://reviews.apache.org/r/18759/ , and the
changed file (ConsoleProxyInfo.java) that is responsible for handing out
the correct URL for console is missing in the commit for ACS 4.3 *only*

Thanks,
Amogh

On 3/27/14 1:00 PM, Amogh Vasekar amogh.vase...@citrix.com wrote:

Hi Remi,

Thanks for bringing this up.

John, 
I looked up the commit made and seems like one of the files -
ConsoleProxyInfo.java, is missing from the commit in 4.3. It made it to
the
master though.
4.3 : https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ec4db7b
Master : 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=09c3753
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ec4db7b

Can you please commit the file so that it makes it to the maintenance
releases?
The current work around is to remove the * when upgrading, from config :
consoleproxy.url.domain
I will update the bug accordingly.

Thanks,
Amogh

On 3/27/14 10:47 AM, Remi Bergsma rberg...@schubergphilis.com wrote:

Hi all,

Just a quick note we upgraded one of our cloud environments (~600 vms)
today to 4.3 and it all went smooth. We had a little issue
(CLOUDSTACK-6293) with the custom SSL cert on the console proxy you might
want to have a look at.

The GUI looks great and feels faster. The little feature that
re-creates router vms on reboot REALLY saved us a lot of time. Cool!

Thanks for your hard work and congratulations on what looks like a great
release! :-)


Kind regards,

Remi Bergsma




Re: Review Request 21131: Remove hard coding of guest OS mapping for KVM

2014-05-06 Thread Amogh Vasekar

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

(Updated May 7, 2014, 12:11 a.m.)


Review request for cloudstack and Nitin Mehta.


Changes
---

Add missing file


Bugs: 
https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6358

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


Repository: cloudstack-git


Description
---

As a part of supporting dynamic guest OS defined by user, removing the 
hard-coded dependencies.
This patch is for KVM
This patch is to be applied after https://reviews.apache.org/r/21087/


Diffs (updated)
-

  engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java 
3b05120f5b9d5bcf4bab6ef25cd1dab2a6043c0d 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 345a8eea0cf3033eef10accdd94639bf014b0fb3 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java 
4032305b03268b4b8b93a3f41038dce83bcaaf19 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/VifDriverBase.java
 d89d71a1b2a93959ebcd4f0df529901e12445617 
  server/src/com/cloud/hypervisor/KVMGuru.java 
174b32db578f66da83ed86e942f7f5b316512a55 

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


Testing
---

1. Local testing on KVM
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Snapshots are not supported for KVM


Thanks,

Amogh Vasekar



Re: Review Request 21131: Remove hard coding of guest OS mapping for KVM

2014-05-06 Thread Amogh Vasekar

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

(Updated May 7, 2014, 12:26 a.m.)


Review request for cloudstack and Nitin Mehta.


Changes
---

Cleaning up code


Bugs: 
https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6358

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


Repository: cloudstack-git


Description
---

As a part of supporting dynamic guest OS defined by user, removing the 
hard-coded dependencies.
This patch is for KVM
This patch is to be applied after https://reviews.apache.org/r/21087/


Diffs (updated)
-

  engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java 
3b05120f5b9d5bcf4bab6ef25cd1dab2a6043c0d 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 345a8eea0cf3033eef10accdd94639bf014b0fb3 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java 
4032305b03268b4b8b93a3f41038dce83bcaaf19 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/VifDriverBase.java
 d89d71a1b2a93959ebcd4f0df529901e12445617 
  server/src/com/cloud/hypervisor/KVMGuru.java 
174b32db578f66da83ed86e942f7f5b316512a55 

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


Testing
---

1. Local testing on KVM
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Snapshots are not supported for KVM


Thanks,

Amogh Vasekar



Re: console view not coming

2014-05-05 Thread Amogh Vasekar
http://goo.gl/IsnRFw

Thanks,
Amogh



On 5/5/14 10:28 AM, raja sekhar rajsekhar@gmail.com wrote:

hii all,

After upgrading from cloudstack 4.2 to cloudstack 4.3,when i click on
console view it shows that google crome(The server refused the connection)
and firefox(can't establish a connection to the server).



regards,
rajasekhar



Re: Review Request 21087: Remove hard-coding for platform emulators in Xen Server

2014-05-05 Thread Amogh Vasekar

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

(Updated May 5, 2014, 7:02 p.m.)


Review request for cloudstack and Nitin Mehta.


Changes
---

Cleaning up some code


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6358

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


Repository: cloudstack-git


Description
---

As a part of supporting dynamic guest OS defined by user, removing the 
hard-coded dependencies.
This patch is for XenServer


Diffs (updated)
-

  api/src/com/cloud/agent/api/to/VirtualMachineTO.java 
bbd83852abf840ab5d93f53ad0c71e61491b2dda 
  core/src/com/cloud/agent/api/VMSnapshotBaseCommand.java 
d2abd54e0407ab597636d9c9d5a596e55f987108 
  
engine/storage/snapshot/src/org/apache/cloudstack/storage/vmsnapshot/DefaultVMSnapshotStrategy.java
 e86bd23b0500f25268a603a7c41e8e00d18957d2 
  engine/storage/snapshot/test/src/VMSnapshotStrategyTest.java 
9eaa7e19c134caf0633bb9099c5f858075fddba7 
  
engine/storage/src/org/apache/cloudstack/storage/helper/HypervisorHelperImpl.java
 b41c1fa14ac77cffa53ce5ae2aec6d9bea9cd649 
  plugins/hypervisors/xen/src/com/cloud/hypervisor/XenServerGuru.java 
89e4ab5d94b61cc6acdefc8102da4a33dbbf23b5 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
 ad3797306c92d80d929a1e09b46b471231baa6c0 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
 4a69d3aececd718cdb7257d3807225c429b73823 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpServer16Resource.java
 8cb7997305f1344429c5b256bea35878137bb5a3 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpServerResource.java
 cc623bfab61f732a4310e3c6c93a51bc36a463b9 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer56FP1Resource.java
 3dc527e93d82733823f4e8fddb242d698c21629f 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer56Resource.java
 a78ed819bdeb4878850989915a7280b0639e3ab6 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer56SP2Resource.java
 9e7d5dd09d0c1a1d18c6c348ce098218933d18ed 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer600Resource.java
 021b9cbd4dc7ed4a5041c69aa55f29daa732f52b 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer602Resource.java
 5c9bfbb5952008b332900cd7af21671f7dc465a5 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java
 0c3e1e9660abdbfee1dcfe58c62145cbe0e06c9b 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer620Resource.java
 c10dc1e90cbce2ff41cc62e2120f5e23931a4207 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer620SP1Resource.java
 4f04961e35742d7e846cec47725551d67b704bfc 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/Xenserver625Resource.java
 40143646f7744e05e2ca009d99d53973ceaf58ee 

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


Testing
---

1. Local testing on XenServer 6.0.2
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Created VM snapshot and reverted to snapshot
5. Manipulated guest_os_hypervisor table for mapping, and checked for correct 
propagation of platform emulator.


Thanks,

Amogh Vasekar



Re: Console Proxy Error!!

2014-05-02 Thread Amogh Vasekar
http://goo.gl/IsnRFw

Thanks,
Amogh

On 5/2/14 11:13 AM, Prakash Rao Banuka prakas...@simplifydc.com wrote:

Hi,

After upgrading from cloudstack 4.2 to cloudstack 4.3, the console proxy
VM is running but when we actually go to an instance and click on view
console then it is giving an error (Firefox can't find the server at
10-10-10-40.*.realhostip.com.)Google Chrome error is (Unable to
resolve the server's DNS address.)

Any Ideas?

Thank you
Prakash




Re: [ACS44][DISCUSS] RC1 in 8 days

2014-05-01 Thread Amogh Vasekar
Hi,
I am working on https://issues.apache.org/jira/browse/CLOUDSTACK-6358 so
that the newly populated table can be used instead.

Thanks,
Amogh

On 5/1/14 5:53 AM, Wido den Hollander w...@widodh.nl wrote:



On 05/01/2014 01:14 PM, Daan Hoogland wrote:
 H,

 Is everybody prepared and aware of the release goal of rc1 by the end
 of next week?

Now I am :)

 If you have pressing issues or a feature that is not mature for a spin
 up by then please send out an alarm on this list in this thread.

I'm working on CLOUDSTACK-4549 [0] at the moment since that is still
broken and I want that fixed in 4.4

Testing it on my local clusters while I'm typing this e-mail.

[0]: https://issues.apache.org/jira/browse/CLOUDSTACK-4549

 Are there jira tickets that should get extra attention in your
 opinion? Let me know.

 thanks,




Review Request 20901: Remove accidentally added columns while resolving merge conflicts

2014-04-30 Thread Amogh Vasekar

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

Review request for cloudstack and Rajesh Battala.


Repository: cloudstack-git


Description
---

Remove accidentally added columns while resolving merge conflicts


Diffs
-

  setup/db/db/schema-430to440.sql 711919e6b4605f4d9285a4eb2c75f10d52b81fd3 

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


Testing
---


Thanks,

Amogh Vasekar



Re: db deployment is failing in master branch

2014-04-30 Thread Amogh Vasekar
Submitted patch https://reviews.apache.org/r/20901/ for this.
Sorry for the issue

Amogh

On 4/30/14 3:22 AM, Rajesh Battala rajesh.batt...@citrix.com wrote:

I have figure out that root cause.
Murali commit has committed the file with instance_ip column.
(https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=09515
1c98a45022b9759a45c066d8ec815de19e4)
After that again Amogh commit is trying to create the same column.
(https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=78c68
3f5682560deffa405ac76edf23f8e17565d)

769 ALTER TABLE `cloud`.`load_balancer_vm_map` ADD COLUMN instance_ip
VARCHAR(40);
 770 ALTER TABLE `cloud`.`load_balancer_vm_map` DROP KEY
`load_balancer_id`, ADD UNIQUE KEY load_balancer_id (`load_balancer_id`,
`instance_id`, `instance_ip`);
 771 ALTER TABLE `cloud`.`vpc_offerings` ADD COLUMN
supports_region_level_vpc boolean default false;
 772 ALTER TABLE `cloud`.`network_offerings` ADD COLUMN
supports_streched_l2 boolean default false;
 773 ALTER TABLE `cloud`.`networks` ADD COLUMN streched_l2 boolean
default false;
 774 ALTER TABLE `cloud`.`vpc` ADD COLUMN region_level_vpc boolean
default false;
 775 INSERT INTO `cloud`.`configuration`(category, instance, component,
name, value, description, default_value) VALUES ('Advanced', 'DEFAULT',
'NetworkOrchestrationService', 'router.redundant.vrrp.interval', '1',
'seconds between VRRP broadcast. It would 3 times broadcast fail to
trigger fail-over mechanism of redundant router', '1') ON DUPLICATE KEY
UPDATE category='Advanced';
 776 INSERT INTO `cloud`.`configuration`(category, instance, component,
name, value, description, default_value) VALUES ('Advanced', 'DEFAULT',
'NetworkOrchestrationService', 'router.aggregation.command.each.timeout',
'3', 'timeout in seconds for each Virtual Router command being
aggregated. The final aggregation command timeout would be determined by
this timeout * commands counts ', '3') ON DUPLICATE KEY UPDATE
category='Advanced';
 777 ALTER TABLE `cloud`.`load_balancer_vm_map` ADD COLUMN instance_ip
VARCHAR(40);
 778 ALTER TABLE `cloud`.`load_balancer_vm_map` DROP KEY
`load_balancer_id`, ADD UNIQUE KEY load_balancer_id (`load_balancer_id`,
`instance_id`, `instance_ip`)



I can fix this issue and commit the changes.

Thanks
Rajesh Battala


-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: Wednesday, April 30, 2014 3:29 PM
To: dev@cloudstack.apache.org
Subject: db deployment is failing in master branch

Hi All,

Deploying DB on master branch is failing.

 Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker
[WARNING]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
pl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to
upgrade the database
at 
com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.ja
va:352)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java
:447)
at 
com.cloud.upgrade.DatabaseCreator.main(DatabaseCreator.java:222)
... 6 more
Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to
execute upgrade script:
/home/rajesh/hyperv/developer/target/db/db/schema-430to440.sql
at 
com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.
java:267)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.ja
va:321)
... 8 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
Duplicate column name 'instance_ip'
at 
com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:193)
at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.
java:258)
... 9 more


Thanks
Rajesh Battala



[ACS4.4] Cherry pick 7694bee83f53a16537032bed3902ef8b4f95c4ab

2014-04-26 Thread Amogh Vasekar
Hi Daan / Hugo,

Can you please cherry pick commit 7694bee83f53a16537032bed3902ef8b4f95c4ab
This is to fix https://issues.apache.org/jira/browse/CLOUDSTACK-6516

Thanks,
Amogh



Re: Review Request 20466: Distinguish between user defined and system defined guest OS

2014-04-25 Thread Amogh Vasekar

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

(Updated April 25, 2014, 7:58 p.m.)


Review request for cloudstack and Nitin Mehta.


Changes
---

Updating diff for master


Bugs: CLOUDSTACK-6437
https://issues.apache.org/jira/browse/CLOUDSTACK-6437


Repository: cloudstack-git


Description
---

Add ability to distinguish between user defined and system defined guest OS and 
mappings
Add default mappings for XenServer


Diffs (updated)
-

  api/src/com/cloud/storage/GuestOS.java 
767a60ecf9fe36a13695826babb6954377b3ce25 
  api/src/com/cloud/storage/GuestOSHypervisor.java 
1cfc3a17285d3489214db283d41a4a065fbf0d60 
  engine/schema/src/com/cloud/storage/GuestOSHypervisorVO.java 
1fbc9d7178a79944ec550638f460e95bbeabdb22 
  engine/schema/src/com/cloud/storage/GuestOSVO.java 
a0040beeafe716f22dc41bc73d48cce4317d3e85 
  server/src/com/cloud/server/ManagementServerImpl.java 
081145f32956480c87bff4b3ce66bef22e39a2d4 
  setup/db/db/schema-430to440.sql f0bdba4c053e39337d78a4eeaf8d56dda53cc4b2 

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


Testing
---

Local testing with

1. Add new guest OS by API
2. Add new guest OS mapping by API


Thanks,

Amogh Vasekar



Re: [VMware] Calculating vm_snapshot_chain_size in the volumes table

2014-04-25 Thread Amogh Vasekar
Hi,

This is the info I have from Mice from sometime last year, not sure if it
is relevant. Sadly, I am unable to attach the original HTML message, I
will forward it off the list to you
==

1)   When a VM is created, the root volume and data volume are just
single node in storage

 
2)   After take a Disk Snapshot, leaf nodes are created as current
volume (this is vmware case), their parents nodes are not active and are a
part of snapshots.

 Two usage events are generated, since there are two volumes for
this VM.
Usage event: VMSnapshot, volumeId:root; vmid: ; size: sizeOf(Root)
   VMSnapshot, VolumeId:data; vmid:; size: sizeOf(Data)
 
3)   After take a DiskMemory Snapshot:

 Two usage events are generated,.
Usage event: VMSnapshot, volumeId:root; vmid: ; size: sizeOf(Root) +
sizeOf(ROOT-1) + sizeOf(memoryImage)
   VMSnapshot, VolumeId:data; vmid:; size: sizeOf(Data) +
sizeOf(Data-1)
 

Please note the size in usage event is CURRENT chain size of a volume.
===



On 4/25/14 1:11 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

Hi,

I logged a JIRA ticket with regards to how we calculate
vm_snapshot_chain_size in the volumes table (with regards to VMware).

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

If someone out there with a bunch of VMware experience could take a look
at
that ticket and comment on whether or not this is a problem, that would be
great.

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*(tm)*



Review Request 20731: Default value of secstorage.encrypt.copy overridden

2014-04-25 Thread Amogh Vasekar

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

Review request for cloudstack and Nitin Mehta.


Bugs: CLOUDSTACK-6516
https://issues.apache.org/jira/browse/CLOUDSTACK-6516


Repository: cloudstack-git


Description
---

In 4.3, SSL was turned off by default.
However, for SSVM, the value from configuration server overrides the default in 
Config.java. Work around is to change in global properties.


Diffs
-

  server/src/com/cloud/server/ConfigurationServerImpl.java 
8f8f4c14e9ca5e162240b5cf533ba956fc671542 

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


Testing
---

Local testing, checking a fresh install has the above property false by default.


Thanks,

Amogh Vasekar



Re: [ANNOUNCE] New PMC Menber: Alena Prokharchyk

2014-04-22 Thread Amogh Vasekar
Congrats Alena!

On 4/22/14 12:50 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:

The Project Management Committee (PMC) for Apache CloudStack has asked
Alena Prokharchyk to join the PMC and we are pleased to announce that
he has accepted.

Join me in congratulating Alena!


-The CloudStack PMC



Re: [QUESTION, SSVM] Updating code in SSVM

2014-04-18 Thread Amogh Vasekar
Hi,

Which CloudStack version is it?
AFAIK for vmware - deleting systemvm.iso from the secondary storage for
your VMWare zone, and restarting management server and SSVM should do the
trick.

Thanks,
Amogh

On 4/17/14 10:55 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

Hi,

I was debugging storage code for ESXi that runs in SSVM (a CopyCommand).

I needed to make a change related to managed storage.

I made the change, rebuilt the codebase, and have been trying various ways
of getting that code into SSVM, but SSVM seems to have the older code
still.

In this situation, my SSVM is actually running on a XenServer host.

Can someone provide me with the procedure to update the code that's
running
in SSVM on XenServer?

I tried to scp the systemvm.iso file from where it was built to the
XenServer host and then re-start SSVM, but that didn't seem to do the
trick.

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*(tm)*



Re: [QUESTION, SSVM] Updating code in SSVM

2014-04-18 Thread Amogh Vasekar
(For the lack of a better answer) I guess this would be a manual step by
logging onto the Secondary storageŠ

Thanks,
Amogh

On 4/17/14 11:25 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:

Thanks :)

What way do you recommend I remove systemvm.iso from secondary storage? It
doesn't show up under ISOs in the GUI.


On Fri, Apr 18, 2014 at 12:15 AM, Suresh Sadhu
suresh.sa...@citrix.comwrote:


 The  procedure mentioned by among  will work+ please make sure  that you
 stop and start the system vms after moving the old system vm from
secondary
 storage .


 And in case of xen. Clear the host tags on xen host and perform force
 reconnect form CS,new systemvm.iso will be pushed to xen host.

 Regards
 Sadhu

 -Original Message-
 From: Amogh Vasekar [mailto:amogh.vase...@citrix.com]
 Sent: 18 April 2014 11:34
 To: dev@cloudstack.apache.org
 Subject: Re: [QUESTION, SSVM] Updating code in SSVM

 Hi,

 Which CloudStack version is it?
 AFAIK for vmware - deleting systemvm.iso from the secondary storage for
 your VMWare zone, and restarting management server and SSVM should do
the
 trick.

 Thanks,
 Amogh

 On 4/17/14 10:55 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 wrote:

 Hi,
 
 I was debugging storage code for ESXi that runs in SSVM (a
CopyCommand).
 
 I needed to make a change related to managed storage.
 
 I made the change, rebuilt the codebase, and have been trying various
 ways of getting that code into SSVM, but SSVM seems to have the older
 code still.
 
 In this situation, my SSVM is actually running on a XenServer host.
 
 Can someone provide me with the procedure to update the code that's
 running in SSVM on XenServer?
 
 I tried to scp the systemvm.iso file from where it was built to the
 XenServer host and then re-start SSVM, but that didn't seem to do the
 trick.
 
 Thanks!
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*




-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*(tm)*



Re: Review Request 20466: Distinguish between user defined and system defined guest OS

2014-04-18 Thread Amogh Vasekar

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

(Updated April 18, 2014, 6:06 p.m.)


Review request for cloudstack and Nitin Mehta.


Changes
---

Updating diff to resolve merge conflicts


Bugs: CLOUDSTACK-6437
https://issues.apache.org/jira/browse/CLOUDSTACK-6437


Repository: cloudstack-git


Description
---

Add ability to distinguish between user defined and system defined guest OS and 
mappings
Add default mappings for XenServer


Diffs (updated)
-

  api/src/com/cloud/storage/GuestOS.java 
767a60ecf9fe36a13695826babb6954377b3ce25 
  api/src/com/cloud/storage/GuestOSHypervisor.java 
1cfc3a17285d3489214db283d41a4a065fbf0d60 
  engine/schema/src/com/cloud/storage/GuestOSHypervisorVO.java 
1fbc9d7178a79944ec550638f460e95bbeabdb22 
  engine/schema/src/com/cloud/storage/GuestOSVO.java 
a0040beeafe716f22dc41bc73d48cce4317d3e85 
  server/src/com/cloud/server/ManagementServerImpl.java 
5cc9154b81276fa54bb3dd4bdfab1712f4388fd9 
  setup/db/db/schema-430to440.sql 5185670681d3e6125100c92b213bc1fdf98f07cf 

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


Testing
---

Local testing with

1. Add new guest OS by API
2. Add new guest OS mapping by API


Thanks,

Amogh Vasekar



Re: Devcloud2 errors on 4.4

2014-04-17 Thread Amogh Vasekar
I see the same error. Not sure if its something related to the new
XenServer jars. But I was seeing this since about a month, haven't been
able to dig into it yet.

Thanks,
Amogh

On 4/17/14 10:58 AM, David Grizzanti dgrizzanti.cloudst...@gmail.com
wrote:

Yeah, even after using the newer devcloud2 instance, I'm still not able to
get it to work. Still seeing errors for the directory and others.

Amogh - what errors are you seeing?

From deploy marvin:
cloudstackException.cloudstackAPIException: Execute cmd: addhost failed,
due to: errorCode: 530, errorText:Cannot transit agent status with event
AgentDisconnected for host 1, mangement server id is 8796757504512,Unable
to transition to a new state from Creating via AgentDisconnected

mgmt server log:
ARN  [c.c.a.m.DirectAgentAttache] (DirectAgent-1:ctx-bef0aa48) Seq
1-9152158867746979841: Exception Caught while executing command
com.cloud.utils.exception.CloudRuntimeException: Cannot create directory
/opt/cloud/bin on XenServer hosts
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.setupServer(CitrixRes
ourceBase.java:4843)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourc
eBase.java:4669)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citrix
ResourceBase.java:490)
at
com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssReso
urce.java:176)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAt
tache.java:216)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
ContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
faultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
ontext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
ntext(DefaultManagedContext.java:53)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
ntextRunnable.java:46)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acces
s$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S
cheduledThreadPoolExecutor.java:292)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:615)
at java.lang.Thread.run(Thread.java:724)
WARN  [c.c.h.x.d.XcpServerDiscoverer]
(15756059@qtp-13139836-0:ctx-a51fbd54
ctx-e6b9836a ctx-f62ead06) Unable to setup agent 1 due to
com.cloud.utils.exception.CloudRuntimeException: Cannot create directory
/opt/cloud/bin on XenServer hosts
INFO  [c.c.u.e.CSExceptionErrorCode] (15756059@qtp-13139836-0:ctx-a51fbd54
ctx-e6b9836a ctx-f62ead06) Could not find exception:
com.cloud.exception.ConnectionException in error code list for exceptions
WARN  [c.c.a.m.AgentManagerImpl] (15756059@qtp-13139836-0:ctx-a51fbd54
ctx-e6b9836a ctx-f62ead06) Monitor XcpServerDiscoverer says there is an
error in the connect process for 1 due to Reinitialize agent after setup.
INFO  [c.c.a.m.AgentManagerImpl] (15756059@qtp-13139836-0:ctx-a51fbd54
ctx-e6b9836a ctx-f62ead06) Host 1 is disconnecting with event
AgentDisconnected
WARN  [c.c.r.ResourceManagerImpl] (15756059@qtp-13139836-0:ctx-a51fbd54
ctx-e6b9836a ctx-f62ead06) Unable to connect due to
com.cloud.exception.ConnectionException: Reinitialize agent after setup.
at
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(Xcp
ServerDiscoverer.java:657)
at
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentM
anagerImpl.java:514)
at
com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentMan
agerImpl.java:1427)
at
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerI
mpl.java:1765)
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerIm
pl.java:773)
at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.j
ava:586)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


On Wed, Apr 16, 2014 at 1:40 PM, Amogh Vasekar
amogh.vase...@citrix.comwrote:

 Let me know if you get it working, hasn't been for me.

 Thanks,
 Amogh

 On 4/16/14 5:20 AM, David Grizzanti dgrizzanti.cloudst...@gmail.com
 wrote:

 Didn't realize there was a new version of devcloud - thanks for the
tip.
  Will try this out!
 
 
 On Wed, Apr 16, 2014 at 1:30 AM, Punith S punit...@cloudbyte.com
wrote:
 
  hi,
 
  check whether you are using the new updated devcloud2(1.3GB) for 4.3
  onwards!
  ref - https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud
 
  and its recommended to use devcloud as host only mode.
  thanks,
 
 
 
  On Wed, Apr 16, 2014 at 12:18 AM

Review Request 20466: Distinguish between user defined and system defined guest OS

2014-04-17 Thread Amogh Vasekar

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

Review request for cloudstack and Nitin Mehta.


Bugs: CLOUDSTACK-6437
https://issues.apache.org/jira/browse/CLOUDSTACK-6437


Repository: cloudstack-git


Description
---

Add ability to distinguish between user defined and system defined guest OS and 
mappings
Add default mappings for XenServer


Diffs
-

  api/src/com/cloud/storage/GuestOS.java 
767a60ecf9fe36a13695826babb6954377b3ce25 
  api/src/com/cloud/storage/GuestOSHypervisor.java 
1cfc3a17285d3489214db283d41a4a065fbf0d60 
  engine/schema/src/com/cloud/storage/GuestOSHypervisorVO.java 
1fbc9d7178a79944ec550638f460e95bbeabdb22 
  engine/schema/src/com/cloud/storage/GuestOSVO.java 
a0040beeafe716f22dc41bc73d48cce4317d3e85 
  server/src/com/cloud/server/ManagementServerImpl.java 
5cc9154b81276fa54bb3dd4bdfab1712f4388fd9 
  setup/db/db/schema-430to440.sql fff0ea3200ba22f3b923f407da3b1be9c32d2ff8 

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


Testing
---

Local testing with

1. Add new guest OS by API
2. Add new guest OS mapping by API


Thanks,

Amogh Vasekar



Re: Devcloud2 errors on 4.4

2014-04-16 Thread Amogh Vasekar
Let me know if you get it working, hasn't been for me.

Thanks,
Amogh

On 4/16/14 5:20 AM, David Grizzanti dgrizzanti.cloudst...@gmail.com
wrote:

Didn't realize there was a new version of devcloud - thanks for the tip.
 Will try this out!


On Wed, Apr 16, 2014 at 1:30 AM, Punith S punit...@cloudbyte.com wrote:

 hi,

 check whether you are using the new updated devcloud2(1.3GB) for 4.3
 onwards!
 ref - https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud

 and its recommended to use devcloud as host only mode.
 thanks,



 On Wed, Apr 16, 2014 at 12:18 AM, David Grizzanti 
 david.grizza...@sungard.com wrote:

  All,
 
  I am facing an issue when trying to get devcloud2 running with latest
 code
  from 4.4 branch. There was a similar email to this a few weeks back on
  master, but I did not see any resolution.
 
  I'm running everything in side of devcloud2 (mgmt server, mysql, xen).
 
  Seeing the following errors when trying to deploy an initial zone.
Don't
  see any issues with creating the /opt/cloud/bin directory inside the
VM.
 
  WARN  [c.c.a.m.DirectAgentAttache] (DirectAgent-37:ctx-0d57a0bf) Seq
  3-8906994163031998465: Exception Caught while executing command
  com.cloud.utils.exception.CloudRuntimeException: Cannot create
directory
  /opt/cloud/bin on XenServer hosts
  at
 
 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.setupServer(CitrixRe
sourceBase.java:4842)
  at
 
 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResour
ceBase.java:4668)
  at
 
 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citri
xResourceBase.java:489)
  at
 
 
com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssRes
ource.java:176)
  at
 
 
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentA
ttache.java:216)
  at
 
 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Manage
dContextRunnable.java:49)
  at
 
 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(D
efaultManagedContext.java:56)
  at
 
 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWith
Context(DefaultManagedContext.java:103)
  at
 
 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithC
ontext(DefaultManagedContext.java:53)
  at
 
 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedC
ontextRunnable.java:46)
  at
  
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at
  java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
  at java.util.concurrent.FutureTask.run(FutureTask.java:166)
  at
 
 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acce
ss$201(ScheduledThreadPoolExecutor.java:178)
  at
 
 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(
ScheduledThreadPoolExecutor.java:292)
  at
 
 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java
:1145)
  at
 
 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
a:615)
  at java.lang.Thread.run(Thread.java:724)
  WARN  [c.c.h.x.d.XcpServerDiscoverer] (AgentTaskPool-13:ctx-5015bd03)
  Unable to setup agent 3 due to
  com.cloud.utils.exception.CloudRuntimeException: Cannot create
directory
  /opt/cloud/bin on XenServer hosts
  INFO  [c.c.u.e.CSExceptionErrorCode] (AgentTaskPool-13:ctx-5015bd03)
 Could
  not find exception: com.cloud.exception.ConnectionException in error
code
  list for exceptions
  WARN  [c.c.a.m.AgentManagerImpl] (AgentTaskPool-13:ctx-5015bd03)
Monitor
  XcpServerDiscoverer says there is an error in the connect process for
3
 due
  to Reinitialize agent after setup.
  INFO  [c.c.a.m.AgentManagerImpl] (AgentTaskPool-13:ctx-5015bd03) Host
3
 is
  disconnecting with event AgentDisconnected
  WARN  [c.c.r.ResourceManagerImpl] (AgentTaskPool-13:ctx-5015bd03)
Unable
  to connect due to
  com.cloud.exception.ConnectionException: Reinitialize agent after
setup.
  at
 
 
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(Xc
pServerDiscoverer.java:658)
  at
 
 
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(Agent
ManagerImpl.java:514)
  at
 
 
com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentMa
nagerImpl.java:1428)
  at
 
 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManager
Impl.java:1767)
  at
 
 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManager
Impl.java:1893)
  at sun.reflect.GeneratedMethodAccessor226.invoke(Unknown
Source)
  at
 
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
mpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at
 
 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(A

Re: [4.3] Wrong download template URL

2014-04-14 Thread Amogh Vasekar
Hi,
What is the value of secstorage.ssl.cert.domain?

Thanks,
Amogh

On 4/14/14 8:21 AM, Nux! n...@li.nux.ro wrote:

Hello,

I run my own realhostip and today by chance I needed to download a
template from ACS 4.3, but instead of getting a link looking like
http://1-2-3-4.mydomain.tld/blah-blah.qcow2 I got with just the top
domain: http://domain.tld/blah-blah.qcow2 which end up in a 404.

Can anyone duplicate this?

Lucian

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: [4.3] Wrong download template URL

2014-04-14 Thread Amogh Vasekar
Can you change it to *.domain.tld and try?

Thanks,
Amogh

On 4/14/14 10:59 AM, Nux! n...@li.nux.ro wrote:

On 14.04.2014 18:57, Amogh Vasekar wrote:
 Hi,
 What is the value of secstorage.ssl.cert.domain?

It's domain.tld.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: [4.3] Wrong download template URL

2014-04-14 Thread Amogh Vasekar
Hi,

Is it an upgrade or a fresh 4.3 install for the other set-up you mentioned?
If it is a fresh set-up, those fields should be NULL since we default
everything to HTTP now.

Thanks,
Amogh

On 4/14/14 11:33 AM, Nux! n...@li.nux.ro wrote:

On 14.04.2014 19:08, Amogh Vasekar wrote:
 Can you change it to *.domain.tld and try?
 
 Thanks,
 Amogh

Thanks Amogh, that did the trick!

Do not that I have the same problem with a default installation using
realhostip, it's good to be fixed.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: Problem Registering an ISO

2014-04-11 Thread Amogh Vasekar
Is secstorage.allowed.internal.sites set correctly?

Thanks,
Amogh

On 4/11/14 6:52 AM, Giri Prasad g_p...@yahoo.com wrote:

Hi All,

 I have installed cloudstack 4.1 on Ubuntu 12.04 LTS. The system vm's
were correctly created and are running.

 I have also installed apache2 and configured it as shown below a few
lines.

I copied the iso file to /var/www dir.

 I tried to Templates - Select View ISO, Register ISO, from the
cloudstack GUI.

Name, Descrption : Ubuntu 12.04

URL : http://192.XXX.X.X:80/ubuntu-12.04.4-desktop-amd64.iso

And selected options : bootable, public and featured.


After pressing Ok button, and afer a while, cloud stack GUI, reports
problem as :
Status : Connection refused

Any clues, as to what is missing?

Thanks in advance.

Regards,
Giri

iptables -I INPUT -p tcp --dport 80 -m state --state NEW,ESTABLISHED -j
ACCEPT 

iptables -I OUTPUT -p tcp --sport 80 -m state --state ESTABLISHED -j
ACCEPT 

iptables -I INPUT -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j
ACCEPT 

iptables -I OUTPUT -p tcp --sport 443 -m state --state ESTABLISHED -j
ACCEPT 


/etc/apache2/sites-available/default
VirtualHost 192.XXX.X.X:80
ServerAdmin webmaster@localhost
/VirtualHost

VirtualHost 192.XXX.X.X:443
ServerAdmin webmaster@localhost
/VirtualHost

/etc/apache2/ports.conf
#NameVirtualHost *:80
NameVirtualHost 192.XXX.X.X:80
Listen 80

NameVirtualHost 192.XXX.X.X:443
Listen 443

2014-04-11 18:53:01,908 DEBUG [cloud.api.ApiServlet]
(catalina-exec-18:null) ===START===  192.XXX.X.X -- GET
command=registerIsoresponse=jsonsessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3
Dname=ubuntu+12.04displayText=ubuntu+12.04url=http%3A%2F%2F192.XXX.X.X%
3A80%2Fubuntu-12.04.4-desktop-amd64.isozoneid=-1isextractable=falseboot
able=trueosTypeId=bebeafbe-c09d-11e3-a09a-b8ac6fa54598ispublic=trueisfe
atured=true_=1397222581864
2014-04-11 18:53:02,341 DEBUG [agent.transport.Request]
(catalina-exec-18:null) Seq 4-1716715535: Sending  { Cmd , MgmtId:
3373003050, via: 4, Ver: v1, Flags: 100011,
[{storage.DownloadCommand:{hvm:true,description:ubuntu
12.04,maxDownloadSizeInBytes:53687091200,id:209,resourceType:TEMPL
ATE,url:http://192.XXX.X.X:80/ubuntu-12.04.4-desktop-amd64.iso,forma
t:ISO,accountId:2,name:209-2-9078c27c-aae3-3e83-acdd-29b177c2af41
,secUrl:nfs://192.XXX.X.X/export/secondary,wait:0}}] }
2014-04-11 18:53:02,762 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-8:null) Ping from 1
2014-04-11 18:53:02,955 DEBUG [cloud.api.ApiServlet]
(catalina-exec-18:null) ===END===  192.XXX.X.X -- GET
command=registerIsoresponse=jsonsessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3
Dname=ubuntu+12.04displayText=ubuntu+12.04url=http%3A%2F%2F192.XXX.X.X%
3A80%2Fubuntu-12.04.4-desktop-amd64.isozoneid=-1isextractable=falseboot
able=trueosTypeId=bebeafbe-c09d-11e3-a09a-b8ac6fa54598ispublic=trueisfe
atured=true_=1397222581864
2014-04-11 18:53:05,671 DEBUG [agent.transport.Request]
(AgentManager-Handler-10:null) Seq 4-1716715535: Processing:  { Ans: ,
MgmtId: 3373003050, via: 4, Ver: v1, Flags: 10,
[{storage.DownloadAnswer:{jobId:e1062610-bb70-4946-a860-da3fe3b523f2
,downloadPct:0,errorString:
,downloadStatus:NOT_DOWNLOADED,downloadPath:/mnt/SecStorage/8a8183
69-b841-3a4a-9b29-915c301f9a85/template/tmpl/2/209/dnld6474604236321162705
tmp_,templateSize:0,templatePhySicalSize:0,result:false,details:
 ,wait:0}}] }
2014-04-11 18:53:06,109 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-11:null) SeqA 3-64: Processing Seq 3-64:  { Cmd ,
MgmtId: -1, via: 3, Ver: v1, Flags: 11,
[{ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n
\connections\: []\n},wait:0}}] }
2014-04-11 18:53:06,190 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-11:null) SeqA 3-64: Sending Seq 3-64:  { Ans: ,
MgmtId: 3373003050, via: 3, Ver: v1, Flags: 100010,
[{AgentControlAnswer:{result:true,wait:0}}] }
2014-04-11 18:53:10,965 DEBUG [cloud.api.ApiServlet]
(catalina-exec-14:null) ===START===  192.XXX.X.X -- GET
command=listIsosisofilter=selfid=e84e21d5-270f-4779-81a3-22f389221a15zo
neid=76d51e53-15ca-4971-b03d-7bd8cbce453aresponse=jsonsessionkey=SOcwFO6
T0PvHrpiFSRySjuDkC1w%3D_=1397222590952
2014-04-11 18:53:10,990 DEBUG [cloud.api.ApiServlet]
(catalina-exec-14:null) ===END===  192.XXX.X.X -- GET
command=listIsosisofilter=selfid=e84e21d5-270f-4779-81a3-22f389221a15zo
neid=76d51e53-15ca-4971-b03d-7bd8cbce453aresponse=jsonsessionkey=SOcwFO6
T0PvHrpiFSRySjuDkC1w%3D_=1397222590952
2014-04-11 18:53:11,083 DEBUG [cloud.api.ApiServlet]
(catalina-exec-25:null) ===START===  192.XXX.X.X -- GET
command=listOsTypesresponse=jsonsessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3
D_=1397222591039
2014-04-11 18:53:11,083 DEBUG [cloud.api.ApiServlet]
(catalina-exec-7:null) ===START===  192.XXX.X.X -- GET
command=listTagsresponse=jsonsessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3Dr
esourceId=e84e21d5-270f-4779-81a3-22f389221a15resourceType=ISOlistAll=tr
ue_=1397222591050
2014-04-11 18:53:11,102 DEBUG [cloud.api.ApiServlet]
(catalina-exec-7:null) 

Re: Review Request 18759: HTTP support for console proxy and making it default

2014-04-01 Thread Amogh Vasekar


 On March 9, 2014, 9:08 p.m., John Kinsella wrote:
  Ship It!

John, I noticed the ConsoleProxyInfo file is missing from the commit in 4.3 
branch. Can you please add the file, so that it makes it to the maintenance 
release?

Thanks!


- Amogh


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


On March 10, 2014, 7:17 p.m., Amogh Vasekar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/18759/
 ---
 
 (Updated March 10, 2014, 7:17 p.m.)
 
 
 Review request for cloudstack, Demetrius Tsitrelis and John Kinsella.
 
 
 Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6204
 
 https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6204
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Changes to support HTTP mode in Console Proxy, per 
 http://www.mail-archive.com/dev@cloudstack.apache.org/msg24151.html , as 
 realhostip may go away
 
 More details here : 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes
 
 
 Diffs
 -
 
   core/src/com/cloud/info/ConsoleProxyInfo.java 
 3439f3d3bfa2e262c48f1d7b1ea4f58522f3fcbe 
   
 engine/storage/image/src/org/apache/cloudstack/storage/image/TemplateServiceImpl.java
  a649bb7212308de70c41e2d74de1d865949f1cb7 
   
 plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java
  52cad3bc7af291e59eabc68e23e09248877e0a81 
   server/src/com/cloud/configuration/Config.java 
 473db96059a4367858f9487d901b7cb3a054654a 
   server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java 
 c8769d43349dbc5a3103a00c905f29b7edef0468 
   server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java 
 611550e90832911fb182ad18d93a8a18333f3a35 
   setup/db/db/schema-421to430.sql 39f58d43822ebbe469d9af433582846a80ce91a0 
   systemvm/conf/consoleproxy.properties 
 bb452f5823cb2da2e12aa61d762de90e4349e9ee 
 
 Diff: https://reviews.apache.org/r/18759/diff/
 
 
 Testing
 ---
 
 Tested on local environment by 
 1. Using HTTP based console proxy
 2. HTTPS with realhostip domain
 3. HTTPS with custom domain and self-signed cert
 4. Secondary storage template download with custom domain and self-signed cert
 
 
 Thanks,
 
 Amogh Vasekar
 




Re: Congrats on 4.3 release!

2014-03-27 Thread Amogh Vasekar
Hi Remi,

Thanks for bringing this up.

John, 
I looked up the commit made and seems like one of the files -
ConsoleProxyInfo, is missing from the commit in 4.3. It made it to the
master though.
4.3 : https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ec4db7b
Master : https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ec4db7b

Can you please commit the file so that it makes it to the maintenance
releases?
The current work around is to remove the * from config :
consoleproxy.url.domain
I will update the bug accordingly.

Thanks,
Amogh

On 3/27/14 10:47 AM, Remi Bergsma rberg...@schubergphilis.com wrote:

Hi all,

Just a quick note we upgraded one of our cloud environments (~600 vms)
today to 4.3 and it all went smooth. We had a little issue
(CLOUDSTACK-6293) with the custom SSL cert on the console proxy you might
want to have a look at.

The GUI looks great and feels faster. The little feature that
re-creates router vms on reboot REALLY saved us a lot of time. Cool!

Thanks for your hard work and congratulations on what looks like a great
release! :-)


Kind regards,

Remi Bergsma




Re: Congrats on 4.3 release!

2014-03-27 Thread Amogh Vasekar
Typo, master commit is :
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=09c3753

Amogh

On 3/27/14 1:00 PM, Amogh Vasekar amogh.vase...@citrix.com wrote:

Hi Remi,

Thanks for bringing this up.

John, 
I looked up the commit made and seems like one of the files -
ConsoleProxyInfo, is missing from the commit in 4.3. It made it to the
master though.
4.3 : https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ec4db7b
Master : 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ec4db7b

Can you please commit the file so that it makes it to the maintenance
releases?
The current work around is to remove the * from config :
consoleproxy.url.domain
I will update the bug accordingly.

Thanks,
Amogh

On 3/27/14 10:47 AM, Remi Bergsma rberg...@schubergphilis.com wrote:

Hi all,

Just a quick note we upgraded one of our cloud environments (~600 vms)
today to 4.3 and it all went smooth. We had a little issue
(CLOUDSTACK-6293) with the custom SSL cert on the console proxy you might
want to have a look at.

The GUI looks great and feels faster. The little feature that
re-creates router vms on reboot REALLY saved us a lot of time. Cool!

Thanks for your hard work and congratulations on what looks like a great
release! :-)


Kind regards,

Remi Bergsma





  1   2   3   >