Re: [VOTE] Apache CloudStack 4.7.1

2016-01-22 Thread Tomasz Zięba
Hi all,

-1 https://issues.apache.org/jira/browse/CLOUDSTACK-9251

Best Regards
Tom


2016-01-20 23:27 GMT+01:00 Remi Bergsma <rberg...@schubergphilis.com>:

> Hi all,
>
> I've created a 4.7.1 release candidate, with the following artifacts up
> for a vote:
>
> Git Branch and Commit SH:
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=4.7.1-RC20160120T2318
>
> Commit: 5ea07dc93799f28dd6c268b17514867d92dc53f7
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/4.7.1/
>
> PGP release keys (signed using A47DDC4F):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
> Vote will be open for at least 72 hours.
>
> For sanity in tallying the vote, can PMC members please be sure to
> indicate "(binding)" with their vote?
>
> [ ] +1  approve
> [ ] +0  no opinion
> [ ] -1  disapprove (and reason why)
>
>


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
<http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/>


Re: [VOTE] Apache Cloudstack 4.5.2 (Round 2)

2015-08-24 Thread Tomasz Zięba
Hi all,

+1

Env:
  XenServer 6.2,  6.5, Advanced zone,
upgrade 4.2.1 - 4.5.2



2015-08-20 20:23 GMT+02:00 Remi Bergsma rberg...@schubergphilis.com:

 Hi all,

 +1 (binding)

 Tested:
 
 1. Advanced zone with XenServer
 - Deployed VPCs, VMs and VPNs between them
 - Crashed a XenServer, watched it recover
 - Tested it again and all was fine. All I had to do was reset the VPN
 connection, but maybe it'd have done it automatically if I waited longer.

 2. Advanced zone with KVM (on CentOS 7 that is, after some manual tweaks)
 - Advanced zone with XenServer
 - Deployed VPCs, VMs and VPNs between them
 - Crashed a KVM hypervisor, watched it recover
 - Tested it again and all was fine. VPN recovery was automatic.

 3. Upgraded 4.4.4 - 4.5.2
 It went fine.

 About KVM on CentOS 7
 At work we're actually running KVM on CentOS 7, on ACS 4.4.x. Although I
 know not many people do. I tried it on 4.5.2 and encountered the issues
 described in CLOUDSTACK-8443. I checked the documentation and it said we
 only support CentOS 6.3 (I assume .3 should be .x but anyway) on ACS 4.5.x
 so I'll just ignore this for now.

 I have updated the Jira issue with some findings and I will investigate
 this further, so we can fix it and at least start supporting CentOS 7 as a
 KVM hypervisor out-of-the-box in 4.6.

 If we feel we want to fix KVM on CentOS 7 in 4.5.2 then we need another
 4.5.2RC, in which case I'm happy to help making it happen ;-)

 Regards,
 Remi



  On 20 Aug 2015, at 08:26, Rajani Karuturi raj...@apache.org wrote:
 
  +1(binding)
 
  tested fresh install on xenserver 6.5 advanced zone setup.
 
  register template, create network, launch vm, view console etc. worked
 fine.
 
 
  ~Rajani
 
  On Thu, Aug 20, 2015 at 12:04 AM, Milamber milam...@apache.org wrote:
 
  Hello,
 
  +1 (binding)
 
  * Building CloudStack ubuntu packages from Git 4.5.2 RC2 tag.
 
  * Tests migration from 4.4.4 - 4.5.2rc2 on Ubuntu 14.04.3 (1 mgr, 2
  nodes, 1 nfs), basic install, NFS storage, KVM, SystemVM shapeblue,
 After
  migration: some tests on HA (crash node), some tests with templates,
  account management in webui, test localization french, and
 CS-cloud-init
  on debian.
 
  * Tests fresh install on Ubuntu 14.04.3 (1 mgr, 2 nodes, 1 nfs),
 advanced
  network install NFS storage, KVM, SystemVM shapeblue, some tests on HA
  (crash node), some tests with templates, and CS-cloud-init on debian.
 
  * Some tests (register template, create network, register ssh key,
 create
  instance, get IP) with Ansible + ansible-cloudstack module from @resmo
 
  Thanks for the RM.
 
  Milamber
 
 
  Please note this bug message in the last migration step (when I rebooted
  all systemvm/router).
 
  root@cs-mgr1:~# cloudstack-sysvmadm -d 127.0.0.1 -u cloud -p cloudPass
 -a
  /usr/bin/cloudstack-sysvmadm: line 21: /etc/rc.d/init.d/functions: No
 such
  file or directory
 
  Stopping and starting 1 secondary storage vm(s)...
  Done stopping and starting secondary storage vm(s)
 
  Stopping and starting 1 console proxy vm(s)...
  Done stopping and starting console proxy vm(s) .
 
  Stopping and starting 1 running routing vm(s)...
  Done restarting router(s).
 
 
 
 
  On 19/08/2015 10:22, Rohit Yadav wrote:
 
  Hi All,
 
  I've created a 4.5.2 release, with the following artifacts up for a
 vote:
 
  Git Branch and Commit SH:
 
 
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.5-RC20150819T1442
  Commit: 7385441807ba3fde3d45c226df6b1bdd2f36ae26
  Tag: 4.5.2-rc2
 
  List of changes:
 
 
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.5-RC20150819T1442
 
  Source release (checksums and signatures are available at the same
  location):
  https://dist.apache.org/repos/dist/dev/cloudstack/4.5.2/
 
  PGP release keys (signed using 0EE3D884):
  https://dist.apache.org/repos/dist/release/cloudstack/KEYS
 
  The vote will be open for 72 hours.
 
  For sanity in tallying the vote, can PMC members please be sure to
  indicate (binding) with their vote?
 
  [ ] +1  approve
  [ ] +0  no opinion
  [ ] -1  disapprove (and reason why)
 
  Regards.
 
 
 




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


acs github branch 4.5 - compiling error

2015-08-10 Thread Tomasz Zięba
Hello,

We have problems with compiling 4.5 branch.
We think that this problem occurs for last week.

Cound someone confirm this  ?

Step to reproduce:
1. Download source
https://github.com/apache/cloudstack/archive/4.5.zip

2. mvn install
3. errror

Running rdpclient.MockServerTest
Error in mock server: Received fatal alert: unexpected_message
javax.net.ssl.SSLException: Received fatal alert: unexpected_message
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1991)
at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1098)
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1344)
at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371)
at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
at streamer.debug.MockServer.run(MockServer.java:120)
at java.lang.Thread.run(Thread.java:745)
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.143 sec
 FAILURE!

Results :

Tests in error:
  testIsMockServerCanUpgradeConnectionToSsl(rdpclient.MockServerTest):
Failed to find any kerberos service ticket for host/tes...@example.com

Tests run: 404, Failures: 0, Errors: 1, Skipped: 0


[INFO] Apache CloudStack Client UI ... SUCCESS [14.814s]
[INFO] Apache CloudStack Console Proxy - RDP Client .. FAILURE [20.100s]
[INFO] Apache CloudStack Console Proxy ... SKIPPED
[INFO] Apache CloudStack Console Proxy - Server .. SKIPPED
[INFO] Apache CloudStack Framework - QuickCloud .. SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 19:49.102s
[INFO] Finished at: Mon Aug 10 13:22:21 CEST 2015
[INFO] Final Memory: 76M/290M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
project cloudstack-service-console-proxy-rdpclient: There are test failures.
[ERROR]
[ERROR] Please refer to
/root/cs452/cloudstack-4.5/services/console-proxy-rdp/rdpconsole/target/surefire-reports
for the individual test results.
[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.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :cloudstack-service-console-proxy-rdpclient


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: [DISCUSS] 4.5.2 bugfix sprint

2015-06-26 Thread Tomasz Zięba
Template Issue in 4.5.1
-
http://comments.gmane.org/gmane.comp.apache.cloudstack.user/18735
After manual creating systemVM using actual code from git everything is OK.

Fail to create load-balancing service on VPC
--
https://issues.apache.org/jira/browse/CLOUDSTACK-8231


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


2015-06-25 21:35 GMT+02:00 Rohit Yadav rohit.ya...@shapeblue.com:

 Hi all,

 Now that 4.4.4 has passed, I would like to start a 4.5.2 release effort
 soon. Please share any blockers, critical issues and other problems you may
 have discovered with 4.5.1 that we should try to fix in ACS 4.5.2.

 Thanks.

 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.



Re: [4.5.1] Failure to add firewall rules

2015-03-26 Thread Tomasz Zięba
hi,

i am closing this topic.
My guys made additional tests with another networks and everything is OK.
sorry for confusion,


Tom


2015-03-26 16:28 GMT+01:00 Nux! n...@li.nux.ro:

 Hi,

 Is anyone else seeing this?
 https://issues.apache.org/jira/browse/CLOUDSTACK-8347

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: XenServer 6.5

2015-01-28 Thread Tomasz Zięba
that
   newer,
effectively unknown versions are 'acceptable' as a valid
hypervisor?
Basically, If we deploy CS 4.4.1 and we like the look of
XS 6.5
when
 it
comes out, will we need to make any changes to CS to
start
  using
it?
 If
   so,
are these simple edits to the contents of a file or would
it
require
rebuilding?
   
-Original Message-
From: Stephen Turner [mailto:stephen.tur...@citrix.com
 javascript:;]
Sent: 20 October 2014 15:28
To: dev@cloudstack.apache.org javascript:;
Subject: RE: xenserver 6.5
   
I think it should be minimal, because although there are
large
 internal
changes (e.g., 3.x kernel, 64-bit dom0, new Xen, new
storage
 datapath,
PVHVM
mode for RHEL/CentOS 7), the interface is essentially
  unchanged.
   
--
Stephen Turner
   
   
-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com
javascript:;]
Sent: 20 October 2014 14:32
To: dev
Subject: xenserver 6.5
   
Does anybody (know of) work on supporting xenserver 6.5
or has
  an
 idea
  of
how much effort that is going to be?
   
--
Daan
   
  
  
   --
   *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*™*
  
 



 --
 Daan

   
   
   
--
*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*™*
   
  
 
 
 
  --
  Daan
 
 
 
 
  --
  Daan
 



 --
 Daan




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: [VOTE] Apache CloudStack 4.5.0 RC1

2015-01-22 Thread Tomasz Zięba
-1
quite simple issues:

https://issues.apache.org/jira/browse/CLOUDSTACK-8176
https://issues.apache.org/jira/browse/CLOUDSTACK-8175

2015-01-13 0:16 GMT+01:00 David Nalley da...@gnsa.us:

 Hi folks,

 I've created a 4.5.0 release candidate, with the following artifacts
 up for a vote:

 Git Branch and Commit SH:

 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=tree;h=refs/heads/4.5-RC20150112T2256;hb=4.5-RC20150112T2256
 Commit: 8db3cbd4ff62b17a8b496026b68cf60ee0c76740

 Source release (checksums and signatures are available at the same
 location):
 https://dist.apache.org/repos/dist/dev/cloudstack/4.5.0-rc1/

 PGP release keys (signed using 6FE50F1C):
 https://dist.apache.org/repos/dist/release/cloudstack/KEYS

 Vote will be open for at least 72 hours.

 For sanity in tallying the vote, can PMC members please be sure to
 indicate (binding) with their vote?

 [ ] +1  approve
 [ ] +0  no opinion
 [ ] -1  disapprove (and reason why)




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: [ACS44] query: do we need/want a 4.4.3

2014-12-20 Thread Tomasz Zięba
+1
H,

given the vote for 4.3.2 that is out and the fact that it contains
ixes that are not in 4.4.2 but will be in 4.5, Do we feel we should
work on a 4.4.3 fix-release?

greatfuly awaiting all and any comments and thoughts,
--
Daan


Re: [ACS44]release 4.4.2 release candidate RC20141121T0341 (#2)

2014-11-25 Thread Tomasz Zięba
+1

for:

http://jenkins.buildacloud.org/view/4.4/job/cloudstack-4.4-package-rpm/
-- build 317
http://jenkins.buildacloud.org/view/4.4/job/cloudstack-4.4-systemvm64/
-- build 171

Regards
Tom

2014-11-21 3:59 GMT+01:00 Daan Hoogland daan.hoogl...@gmail.com:

 Hi All,

 I've created a 4.4.2 release, with the following artifacts up for a vote:

 Git Branch and Commit SH:

 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.4
 Commit: e0420a6fec738d728bc59ba65bc5e12809bde0eb

 List of changes:
 `CLOUDSTACK-7887
 https://issues.apache.org/jira/browse/CLOUDSTACK-7887`_  fail to
 push snapshot to secondary storage if using multipart using swift...

 `CLOUDSTACK-7883
 https://issues.apache.org/jira/browse/CLOUDSTACK-7883`_  Allow
 infrastructure to handle delete of volume from DB...

 `CLOUDSTACK-7871
 https://issues.apache.org/jira/browse/CLOUDSTACK-7871`_  Fix update
 VirtualMachine/Template API to allow nic/disk controller details for
 ...

 `CLOUDSTACK-7855
 https://issues.apache.org/jira/browse/CLOUDSTACK-7855`_  Sec
 storage/network MTU should be on nic3 and not nic1...

 `CLOUDSTACK-7826
 https://issues.apache.org/jira/browse/CLOUDSTACK-7826`_  UI - dialog
 widget - dependent dropdown field (dependsOn property specified) -
 f...

 `CLOUDSTACK-7822
 https://issues.apache.org/jira/browse/CLOUDSTACK-7822`_  test SSL
 cert expired...

 `CLOUDSTACK-7752
 https://issues.apache.org/jira/browse/CLOUDSTACK-7752`_  Management
 Server goes in infinite loop while creating a vm with tagged local
 da...

 `CLOUDSTACK-7722
 https://issues.apache.org/jira/browse/CLOUDSTACK-7722`_  add.label:
 Add button for tags show the label not Add text...

 `CLOUDSTACK-7246
 https://issues.apache.org/jira/browse/CLOUDSTACK-7246`_  VM
 deployment failed due to wrong in  script name createipalias.sh...

 Source release (checksums and signatures are available at the same
 location):
 https://dist.apache.org/repos/dist/dev/cloudstack/4.4.2

 PGP release keys (signed using 4096R/AA4736F3):
 https://dist.apache.org/repos/dist/release/cloudstack/KEYS

 Vote will be open for 72 hours.

 For sanity in tallying the vote, can PMC members please be sure to
 indicate (binding) with their vote?

 [ ] +1  approve
 [ ] +0  no opinion
 [ ] -1  disapprove (and reason why)


 --
 Daan




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: [ACS44]release 4.4.2 release candidate RC20141121T0341 (#2)

2014-11-21 Thread Tomasz Zięba
Is there available RPM Repository with ACS 4.4.2 ?

2014-11-21 3:59 GMT+01:00 Daan Hoogland daan.hoogl...@gmail.com:

 Hi All,

 I've created a 4.4.2 release, with the following artifacts up for a vote:

 Git Branch and Commit SH:

 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.4
 Commit: e0420a6fec738d728bc59ba65bc5e12809bde0eb

 List of changes:
 `CLOUDSTACK-7887
 https://issues.apache.org/jira/browse/CLOUDSTACK-7887`_  fail to
 push snapshot to secondary storage if using multipart using swift...

 `CLOUDSTACK-7883
 https://issues.apache.org/jira/browse/CLOUDSTACK-7883`_  Allow
 infrastructure to handle delete of volume from DB...

 `CLOUDSTACK-7871
 https://issues.apache.org/jira/browse/CLOUDSTACK-7871`_  Fix update
 VirtualMachine/Template API to allow nic/disk controller details for
 ...

 `CLOUDSTACK-7855
 https://issues.apache.org/jira/browse/CLOUDSTACK-7855`_  Sec
 storage/network MTU should be on nic3 and not nic1...

 `CLOUDSTACK-7826
 https://issues.apache.org/jira/browse/CLOUDSTACK-7826`_  UI - dialog
 widget - dependent dropdown field (dependsOn property specified) -
 f...

 `CLOUDSTACK-7822
 https://issues.apache.org/jira/browse/CLOUDSTACK-7822`_  test SSL
 cert expired...

 `CLOUDSTACK-7752
 https://issues.apache.org/jira/browse/CLOUDSTACK-7752`_  Management
 Server goes in infinite loop while creating a vm with tagged local
 da...

 `CLOUDSTACK-7722
 https://issues.apache.org/jira/browse/CLOUDSTACK-7722`_  add.label:
 Add button for tags show the label not Add text...

 `CLOUDSTACK-7246
 https://issues.apache.org/jira/browse/CLOUDSTACK-7246`_  VM
 deployment failed due to wrong in  script name createipalias.sh...

 Source release (checksums and signatures are available at the same
 location):
 https://dist.apache.org/repos/dist/dev/cloudstack/4.4.2

 PGP release keys (signed using 4096R/AA4736F3):
 https://dist.apache.org/repos/dist/release/cloudstack/KEYS

 Vote will be open for 72 hours.

 For sanity in tallying the vote, can PMC members please be sure to
 indicate (binding) with their vote?

 [ ] +1  approve
 [ ] +0  no opinion
 [ ] -1  disapprove (and reason why)


 --
 Daan




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: [DISCUSS][ACS44] release 4.4.2

2014-11-12 Thread Tomasz Zięba
Is it possible to add
  CLOUDSTACK-7280
to 4.4.2

If it does not violate the principles of creating versions, I would be
grateful for the add.

Regards,
Tom

2014-11-11 15:40 GMT+01:00 Daan Hoogland daan.hoogl...@gmail.com:

 H,

 As we made a big boogy by have a different commit id used for the
 artifact as for the tag/vote, I need to create a new relase including
 vote. Does anybody have last minute entries/fixes they want in? I plan
 to build tonight (about 21:00 UTC)

 regards,
 --
 Daan




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


unable to create remote vpn because of special character in password

2014-11-12 Thread Tomasz Zięba
If someone could look at this simple bug ?
https://issues.apache.org/jira/browse/CLOUDSTACK-7888

-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: [DISCUSS][ACS44] release 4.4.2

2014-11-11 Thread Tomasz Zięba
https://issues.apache.org/jira/browse/CLOUDSTACK-7782
https://issues.apache.org/jira/browse/CLOUDSTACK-7781

If possible:
https://issues.apache.org/jira/browse/CLOUDSTACK-7826


2014-11-11 16:08 GMT+01:00 Daan Hoogland daan.hoogl...@gmail.com:

 added the two commits mentioned there. care to test?

 On Tue, Nov 11, 2014 at 3:59 PM, Nux! n...@li.nux.ro wrote:
  Yes, fixed systemvms please!
  https://issues.apache.org/jira/browse/CLOUDSTACK-7781
 
  --
  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: Tuesday, 11 November, 2014 14:40:24
  Subject: [DISCUSS][ACS44] release 4.4.2
 
  H,
 
  As we made a big boogy by have a different commit id used for the
  artifact as for the tag/vote, I need to create a new relase including
  vote. Does anybody have last minute entries/fixes they want in? I plan
  to build tonight (about 21:00 UTC)
 
  regards,
  --
  Daan



 --
 Daan




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: CPU Sockets and Cores

2014-10-25 Thread Tomasz Zięba
Look at: https://issues.apache.org/jira/browse/CLOUDSTACK-904


2014-10-25 5:49 GMT+02:00 Michael Phillips mphilli7...@hotmail.com:

 All,
The following pertains to cloudstack + vmware. Currently when using a
 multi CPU compute service offering, cloudstack creates the CPUs on the vm
 using all sockets. This can be an issue for operating systems that have
 physical CPU sockets limits. It can also be a license issue for certain
 software as well. An easy work around would be to let the admin define the
 socket to core ratio in the compute service offering. Are there in plans to
 implement such a feature in any upcoming cloudstack releases?






-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


download template - delete vhd

2014-07-23 Thread Tomasz Zięba
Hello,

Could someone confirm that download template deletes the vhd file from
secondary storage.

We are testing on the ACS version 4.2.1 but the code responsible for
removing is the same in version 4.4

https://github.com/apache/cloudstack/blob/8b6dc7ce2f0058b9cf29bd9c72e4e0db9162fe6e/services/secondary-storage/server/src/org/apache/cloudstack/storage/template/UploadManagerImpl.java

funkcja: handleDeleteEntityDownloadURLCommand


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: vms stopped while restarted by user

2014-07-18 Thread Tomasz Zięba
Hello,

After analyzing the code, I am convinced that 10 minutes is indeed
associated with the parameters that gave Daan, and specifically in:

class: HighAvailabilityManagerImpl.java

function: protected Long stopVM(final HaWorkVO work) throws
ConcurrentOperationException
..
work.setTimesTried(work.getTimesTried() + 1);
if (s_logger.isDebugEnabled()) {
s_logger.debug(Stop was unsuccessful.  Rescheduling);
}
return (System.currentTimeMillis()  10) + _stopRetryInterval;
.

where:
value = params.get(stop.retry.interval);
_stopRetryInterval = NumbersUtil.parseInt(value, 10 * 60);



However, I believe that the problem lies elsewhere than in the wrong value
of these parameters.
In any case, where machine has a problem with Reschduling, HAworker process
is preceded by message, ie:

2014-07-17 12:43:27,800 DEBUG [vm.dao.VMInstanceDaoImpl]
(HA-Worker-0:work-2824) Unable to update VM[User|centos-min-10G-test]: DB
Data={Host=null; State=Stopped; updated=5; time=Thu Jul 17 12:43:27 CEST
2014} New Data: {Host=null; State=Stopped; updated=5; time=Thu Jul 17
12:43:27 CEST 2014} Stale Data: {Host=58; State=Stopping; updated=4;
time=Thu Jul 17 12:43:15 CEST 2014}

For entry to the log corresponds to the:

class: VMInstanceDaoImpl.java
function: public boolean updateState(State oldState, Event event, State
newState, VirtualMachine vm, Object opaque)

However, at this moment we can not diagnose what is the cause.

Maybe someone has an idea?




2014-07-15 21:12 GMT+02:00 Chiradeep Vittal chiradeep.vit...@citrix.com:

  Agree. Not sure why your system is so slow, but these parameters should
 help

   From: Daan Hoogland daan.hoogl...@gmail.com
 Reply-To: dev@cloudstack.apache.org dev@cloudstack.apache.org
 Date: Tuesday, July 15, 2014 at 6:29 AM
 To: Tomasz Zięba t.a.zi...@gmail.com
 Cc: dev@cloudstack.apache.org dev@cloudstack.apache.org, Marcus
 Sorensen shadow...@gmail.com, Damoder Reddy damoder.re...@citrix.com
 Subject: vms stopped while restarted by user

   Tomasz,

  I can only fantasize on the full rationale of the implementation of
 the retry but in general it makes sense to me. A job has a time to try
 and a times tried field. the worker manager has time to sleep and max
 retries. As you can see below these are read from the configuration:

  value = params.get(time.to.sleep);
 _timeToSleep = NumbersUtil.parseInt(value, 60) * 1000;

  value = params.get(max.retries);
 _maxRetries = NumbersUtil.parseInt(value, 5);

  there is also

  value = params.get(stop.retry.interval);
 _stopRetryInterval = NumbersUtil.parseInt(value, 10 * 60);


  The time.to.sleep and stop.retry.interval seem to jointly explain the
 ten minute scenario you described in the bug report. They don't do
 completely as some of the handling of the values is based on
 bitshifting and not on datetime calculus (using mixed factors of
 1000,60,60,24 and 365.25)
 You can try and play with those to tune your setting. In any case
 looking at the vm to decide to restart the vm is not usefull as
 Cloudstack will do some cleanup after stopping the instance. You
 should really wait untill cloudstack reports on the job with either
 succes or error.

  On Tue, Jul 15, 2014 at 3:12 PM, Tomasz Zięba t.a.zi...@gmail.com
 wrote:

 Hello,

  The user does not receive confirmation of the operation.
 From the point of view of user input it looks like the machine itself
 stopped.

  As you can see in the logs, the ACS explicitly sends stop command, as if
 they press the Stop button from the GUI, so it is aware of the action from
 the perspective of the ACS / MS.

  I can not point out which component may be responsible for it.
 We have tried to analyze the code to understand what is happening,
 but the part of the code related to HAWorker is not very clear.
 Unfortunately we could not find online any assumptions on the level of
 architecture / design of HAWorker.

  Maybe method of small steps help find a solution.
 First a small question: why HAWorker performs reschedule. What was the idea
 for such action.




  2014-07-15 14:26 GMT+02:00 Daan Hoogland daan.hoogl...@gmail.com:

  Tomasz,

  As I understand the issue this is what happens:

  The user stops the vm from the UI
 The MS sends the stop command to the machine
 The machine stops and takes a long time for it
 The MS reschedules the stop
 Then machine stops
 the user starts the machine
 the MS get by stopping the machine

  Did the user ever get a confirmation that the machine was stopped or
 that stopping failed? If so, this is the bug, as it seems the MS works
 as designed.

  Don't get me wrong; I am trying to figure out a path to a solution for
 you. I am not convinced there is a bug in the management server
 though. That doesn't mean it can be in cloudstack over all. Either at
 a design level or for instance in some inter-process communication.

  kind regards,
 Daan Hoogland


  On Fri, Jul 11, 2014 at 2:45 PM, Tomasz Zięba t.a.zi...@gmail.com

Re: [VOTE] Apache Cloudstack 4.4.0

2014-07-15 Thread Tomasz Zięba
Hello,

The user does not receive confirmation of the operation.
From the point of view of user input it looks like the machine itself
stopped.

As you can see in the logs, the ACS explicitly sends stop command, as if
they press the Stop button from the GUI, so it is aware of the action from
the perspective of the ACS / MS.

I can not point out which component may be responsible for it.
We have tried to analyze the code to understand what is happening,
but the part of the code related to HAWorker is not very clear.
Unfortunately we could not find online any assumptions on the level of
architecture / design of HAWorker.
Maybe method of small steps help find a solution.
First a small question: why HAWorker performs reschedule. What was the idea
for such action.




2014-07-15 14:26 GMT+02:00 Daan Hoogland daan.hoogl...@gmail.com:

 Tomasz,

 As I understand the issue this is what happens:

 The user stops the vm from the UI
 The MS sends the stop command to the machine
 The machine stops and takes a long time for it
 The MS reschedules the stop
 Then machine stops
 the user starts the machine
 the MS get by stopping the machine

 Did the user ever get a confirmation that the machine was stopped or
 that stopping failed? If so, this is the bug, as it seems the MS works
 as designed.

 Don't get me wrong; I am trying to figure out a path to a solution for
 you. I am not convinced there is a bug in the management server
 though. That doesn't mean it can be in cloudstack over all. Either at
 a design level or for instance in some inter-process communication.

 kind regards,
 Daan Hoogland


 On Fri, Jul 11, 2014 at 2:45 PM, Tomasz Zięba t.a.zi...@gmail.com wrote:
  Hello,
 
  We are waiting for the patch with longingly.
 
  Error associated with self-closing of machines causes very serious
  complications, both from the technical (users need to wait for 10 minutes
  and check if the machine is not closed automatically) as well as the
  business side (this problem does not look very professional from the user
  side)
 
  Given that:
  - An error has been detected in February so 5 months ago,
  - in earlier versions  (3.0.2) error does not exists,
  - there is a procedure to reproduce this error,
 
  we would be very grateful if this issue will be resolved in ACS4.4.
 
 
  --
  Regards,
  Tomasz Zięba
  Twitter: @TZieba
  LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
 http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/
 
  2014-07-11 13:48 GMT+02:00 Daan Hoogland daan.hoogl...@gmail.com:
 
  Our beloved VP pointed out that there has not come a vote conclusion
 yet:
 
  The 4.4.0 vote has resulted in a rejection of the present release
  candidate due to -1 of Marcus and no active voting since.
 
  there are three issues pending from this vote thread:
  - CLOUDSTACK-6036 (Tomasz)
  - unable to add a KVM host (Marcus)
  - top level pom.xml still contains a -SNAPSHOT suffix (Ove, question
  outstanding to Tim)
 
  Can I have some reporting on the status of those issues by the
  reporters, please?
 
  regards,
  your friendly release manager
 
 
  On Wed, Jul 2, 2014 at 10:18 PM, Daan Hoogland daan.hoogl...@gmail.com
 
  wrote:
   Hi All,
  
   I've created a 4.4.0 release, with the following artifacts up for a
   vote:
  
   Git Branch and Commit SH:
  
  
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.4-RC20140702T2107
   Commit: 379387961bd05d1f84fe2e9a1997e9ecdceef91a
  
   List of changes:
  
  
 http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/
  
   Source release (checksums and signatures are available at the same
   location):
   https://dist.apache.org/repos/dist/dev/cloudstack/4.4.0/
  
   PGP release keys (signed using 4096R/AA4736F3):
   https://dist.apache.org/repos/dist/release/cloudstack/KEYS
  
   Vote will be open for 72 hours.
  
   For sanity in tallying the vote, can PMC members please be sure to
   indicate (binding) with their vote?
  
   [ ] +1  approve
   [ ] +0  no opinion
   [ ] -1  disapprove (and reason why)
  
  
   I will ad my key to the mentioned KEYS file as soon as possible,
   --
   Daan
 
 
 
  --
  Daan
 
 
 



 --
 Daan




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: [ACS44] non-blocking issue CLOUDSTACK-6036 CloudStack stops the machine for no reason

2014-07-15 Thread Tomasz Zięba
Hello,

I can not assess time-consuming to solve this problem.

I'm afraid that with the growing popularity of the ACS product this problem
will escalate.
Users will be more persuasive to install large installation based on the
ACS.
The fact that the machine user closes after a few minutes does not mean
that there are problems with them. In our infrastructure, we have installed
a large ERP environment, DataMining, etc. hence we observe this issue so
fast.

Back to the main thread,

I can concur that we should shift this issue to the next version.

A few thoughts:
- Maybe we should introduce a flag indicating the potential complexity of
the solution error ? I am not a developer so I don't know if this proposal
is correct.
- Notice that with the emergence of the next versions, the list of Known
Issues is growing.
- It seems to me that the ACS is becoming a mature product so we should
ensure both the stability of the code, and new functionality - unless, that
idea may be new branches eg CloudSand.com


2014-07-15 14:11 GMT+02:00 Daan Hoogland daan.hoogl...@gmail.com:

 Tomasz, Damodar,

 The issue mentioned seems to be a timing issue. It must be a corner
 case as only two users mention it and Ryan seems to have a work
 around. I appriciate the nature of the issue being a bug but it seems
 to be not a blocker for the release.

 Can you concur?

 --
 Daan




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


customize systemVM

2014-07-11 Thread Tomasz Zięba
Where can I find a tutorial to modify systemVM image or create my own
systemVM template ?

-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: [VOTE] Apache Cloudstack 4.4.0

2014-07-11 Thread Tomasz Zięba
Hello,

We are waiting for the patch with longingly.

Error associated with self-closing of machines causes very serious
complications, both from the technical (users need to wait for 10 minutes
and check if the machine is not closed automatically) as well as the
business side (this problem does not look very professional from the user
side)

Given that:
- An error has been detected in February so 5 months ago,
- in earlier versions  (3.0.2) error does not exists,
- there is a procedure to reproduce this error,

we would be very grateful if this issue will be resolved in ACS4.4.

-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/

2014-07-11 13:48 GMT+02:00 Daan Hoogland daan.hoogl...@gmail.com:

 Our beloved VP pointed out that there has not come a vote conclusion yet:

 The 4.4.0 vote has resulted in a rejection of the present release
 candidate due to -1 of Marcus and no active voting since.

 there are three issues pending from this vote thread:
 - CLOUDSTACK-6036 (Tomasz)
 - unable to add a KVM host (Marcus)
 - top level pom.xml still contains a -SNAPSHOT suffix (Ove, question
 outstanding to Tim)

 Can I have some reporting on the status of those issues by the
 reporters, please?

 regards,
 your friendly release manager


 On Wed, Jul 2, 2014 at 10:18 PM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:
  Hi All,
 
  I've created a 4.4.0 release, with the following artifacts up for a vote:
 
  Git Branch and Commit SH:
 
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.4-RC20140702T2107
  Commit: 379387961bd05d1f84fe2e9a1997e9ecdceef91a
 
  List of changes:
 
 http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/
 
  Source release (checksums and signatures are available at the same
  location):
  https://dist.apache.org/repos/dist/dev/cloudstack/4.4.0/
 
  PGP release keys (signed using 4096R/AA4736F3):
  https://dist.apache.org/repos/dist/release/cloudstack/KEYS
 
  Vote will be open for 72 hours.
 
  For sanity in tallying the vote, can PMC members please be sure to
  indicate (binding) with their vote?
 
  [ ] +1  approve
  [ ] +0  no opinion
  [ ] -1  disapprove (and reason why)
 
 
  I will ad my key to the mentioned KEYS file as soon as possible,
  --
  Daan



 --
 Daan



Re: [VOTE] Apache Cloudstack 4.4.0

2014-07-02 Thread Tomasz Zięba
-1 because CLOUDSTACK-6036


2014-07-02 22:18 GMT+02:00 Daan Hoogland daan.hoogl...@gmail.com:

 Hi All,

 I've created a 4.4.0 release, with the following artifacts up for a vote:

 Git Branch and Commit SH:

 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.4-RC20140702T2107
 Commit: 379387961bd05d1f84fe2e9a1997e9ecdceef91a

 List of changes:

 http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/

 Source release (checksums and signatures are available at the same
 location):
 https://dist.apache.org/repos/dist/dev/cloudstack/4.4.0/

 PGP release keys (signed using 4096R/AA4736F3):
 https://dist.apache.org/repos/dist/release/cloudstack/KEYS

 Vote will be open for 72 hours.

 For sanity in tallying the vote, can PMC members please be sure to
 indicate (binding) with their vote?

 [ ] +1  approve
 [ ] +0  no opinion
 [ ] -1  disapprove (and reason why)


 I will ad my key to the mentioned KEYS file as soon as possible,
 --
 Daan




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: Citrix 6.2SP1 - snapshot error - unpause operation

2014-05-16 Thread Tomasz Zięba
Hello,

recently again the situation is repeated. These errors themselves ...
We have added a tap-ctl to monitoring as suggested by Radek.

We have the following observations:
- one of the disks has changed status

pid = 19919 minor = 16, state = 0
args=vhd:/dev/VG_XenStorage-6df30603-5815-133c-4218-3d49cfca0561/VHD-88291650-4138-403d-9263-973343891a78


pid = 19919 minor = 16, state = 0x2a
args=vhd:/dev/VG_XenStorage-6df30603-5815-133c-4218-3d49cfca0561/VHD-88291650-4138-403d-9263-973343891a78


- two other drives has disappeared and tap-ctl does not show them any more.

Is there anyone able to interpret these behaviors when performing a
snapshot?




2014-05-13 16:14 GMT+02:00 Radek Smigielski radek.smigiel...@ymail.com:

  Is anyone using Citrix'a 6.2SP1 noticed a problem with blocking the VDI

  during making snapshot'a?
  VDI disk during snapshot is marked as paused and virtual machine can not
  use it.

 Tomku, try to run tap-ctl list command before you do the snapshot and
 when it gets stuck.
 What's the difference?
 You should see your VDI open and probbaly paused for some short time but
 it should return to normal state after max few seconds.


 Radek.




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Citrix 6.2SP1 - snapshot error - unpause operation

2014-05-11 Thread Tomasz Zięba
Hello,

Is anyone using Citrix'a 6.2SP1 noticed a problem with blocking the VDI
during making snapshot'a?
VDI disk during snapshot is marked as paused and virtual machine can not
use it.

It looks like the process tapdisk (mapping VDI disk to the virtual machine)
was destroyed and at this point the system/hypervizor can not perform the
operation 'unpause'.
We reported the matter to the Citrix forum but topic is dead :-(

Details can be found under the link:
http://discussions.citrix.com/topic/350486-snapshot-error-unpause-operation/#
entry1812789

If anyone would have any tips would be grateful.


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


role of HA-Worker

2014-03-25 Thread Tomasz Zięba
Hello,

Could someone explain to me what is the role of HA-Worker thread
in CloudStack ?

The number of threads is set in the global settings:
ha.workers Number of hectares of worker threads. 5

According to me, HA-Worker thread has a bug in the implementation that
causes uncontrolled stopping virtual machines. (CLOUDSTACK-6036).

Which ACS functionality will be lost when the option ha.workers we set to
0?

Regards,


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


applying patch - manually change jar file

2014-03-24 Thread Tomasz Zięba
Hello,

How do I apply a patch to the ACS 4.2.1 ?

I have fixed file:
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java

and would like to make apply this changes to cloudstack-management

After performing the following commands:

/usr/bin/javac -cp
/usr/share/java/commons-collections.jar:/usr/share/java/commons-dbcp.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-logging-api.jar:/usr/share/java/commons-pool.jar:/usr/share/java/commons-httpclient.jar:/usr/share/java/ws-commons-util.jar:/usr/share/java/jnetpcap.jar:/usr/share/cloudstack-agent/lib/*:/usr/share/cloudstack-management/lib/*:/usr/share/cloudstack-common/lib/*:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/*
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java

#find /usr/ -name *.jar -exec grep -Hls xen.resource {} \;

/usr/bin/jar -uvf
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-xen-4.2.1-SNAPSHOT.jar
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.class
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase$SRType.class
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase$XsHost.class
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase$XsLocalNetwork.class


and restart cloudstack-management, unfortunately, still uses the old
classes.

Thank you.

-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: applying patch - manually change jar file

2014-03-24 Thread Tomasz Zięba
Hello,

after running:   jar -uvf .

I have information:
adding:
apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.class(in
= 238178) (out= 104028)(deflated 56%)

New file size increases:

ls -la
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-xen-4.2.1*
-rw-r--r-- 1 root root 366550 Mar 24 09:55
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-xen-4.2.1-SNAPSHOT.jar

Original file looks as follows:

ls -la
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/__cloud-plugin-hypervisor-xen-4.2.1-SNAPSHOT.jar__
-rw-r--r-- 1 root root 261682 Mar 20 14:02
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/__cloud-plugin-hypervisor-xen-4.2.1-SNAPSHOT.jar__

I'm using ACS from (cloudstack-*-SNAPSHOT.el6.x86_64.rpm) rpms na centos.


PS: I'm not java master :-)


Best Regards,


2014-03-24 10:15 GMT+01:00 Wido den Hollander w...@widodh.nl:

 On 03/24/2014 10:12 AM, Tomasz Zięba wrote:

 Hello,

 How do I apply a patch to the ACS 4.2.1 ?

 I have fixed file:
 apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/
 com/cloud/hypervisor/xen/resource/CitrixResourceBase.java

 and would like to make apply this changes to cloudstack-management

 After performing the following commands:

 /usr/bin/javac -cp
 /usr/share/java/commons-collections.jar:/usr/share/
 java/commons-dbcp.jar:/usr/share/java/commons-logging.
 jar:/usr/share/java/commons-logging-api.jar:/usr/share/
 java/commons-pool.jar:/usr/share/java/commons-httpclient.
 jar:/usr/share/java/ws-commons-util.jar:/usr/share/
 java/jnetpcap.jar:/usr/share/cloudstack-agent/lib/*:/usr/
 share/cloudstack-management/lib/*:/usr/share/cloudstack-
 common/lib/*:/usr/share/cloudstack-management/webapps/
 client/WEB-INF/lib/*
 apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/
 com/cloud/hypervisor/xen/resource/CitrixResourceBase.java

 #find /usr/ -name *.jar -exec grep -Hls xen.resource {} \;

 /usr/bin/jar -uvf
 /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-
 hypervisor-xen-4.2.1-SNAPSHOT.jar
 apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/
 com/cloud/hypervisor/xen/resource/CitrixResourceBase.class
 apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/
 com/cloud/hypervisor/xen/resource/CitrixResourceBase$SRType.class
 apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/
 com/cloud/hypervisor/xen/resource/CitrixResourceBase$XsHost.class
 apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/
 com/cloud/hypervisor/xen/resource/CitrixResourceBase$XsLocalNetwork.class


 and restart cloudstack-management, unfortunately, still uses the old
 classes.


 You should remove the same file without the -SNAPSHOT in the name. It's
 probably reading that file on boot.

 Wido

  Thank you.





-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: applying patch - manually change jar file

2014-03-24 Thread Tomasz Zięba
hi,

thank you for responses.
unfortunately I don't know tools like mvn, ant etc. :-(
So I don't know how to interpret this command output..

# mvn -X -P developer,systemvm clean install -pl cloud-plugin-hypervisor-xen

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
14:51:28+0100)
Maven home: /usr/local/apache-maven-3.0.5
Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux, version: 2.6.32-358.23.2.el6.x86_64, arch: amd64,
family: unix
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from
/usr/local/apache-maven-3.0.5/conf/settings.xml
[DEBUG] Reading user settings from /root/.m2/settings.xml
[DEBUG] Using local repository at /root/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for
/root/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project
org.apache.cloudstack:cloudstack:pom:4.2.1: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from
ClassRealm[plexus.core, parent: null]
.
.
[DEBUG] Looking up lifecyle mappings for packaging pom from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.apache.cloudstack:cloud-devcloud-kvm:pom:4.2.1: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from
ClassRealm[plexus.core, parent: null]
[ERROR] Could not find the selected project in the reactor:
cloud-plugin-hypervisor-xen - [Help 1]
org.apache.maven.MavenExecutionException: Could not find the selected
project in the reactor: cloud-plugin-hypervisor-xen
at
org.apache.maven.DefaultMaven.trimSelectedProjects(DefaultMaven.java:749)
at
org.apache.maven.DefaultMaven.createDependencyGraph(DefaultMaven.java:703)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

But if I try to build rpms:
cd packaging/centos63
./package.sh

everything works properly.


However, I do not want to create new rpms just update the jar file.

PS: Sorry for asking such simple questions.
Thanks,



2014-03-24 10:34 GMT+01:00 Punith S punit...@cloudbyte.com:

 hi,

 if you are using maven build,

 do mvn -P developer,systemvm clean install -pl cloud-plugin-hypervisor-xen

 get the newly built jar from .m2 repo in localhost and replace the old jar
 in /usr/share/cloudtsack-management/webapps/client/WEB-INF/lib.

 your changes will be applied.

 thanks.



 On Mon, Mar 24, 2014 at 2:57 PM, Tomasz Zięba t.a.zi...@gmail.com wrote:

  Hello,
 
  after running:   jar -uvf .
 
  I have information:
  adding:
 
 
 apache-cloudstack-4.2.1-src/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.class(in
  = 238178) (out= 104028)(deflated 56%)
 
  New file size increases:
 
  ls -la
 
 
 /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-xen-4.2.1*
  -rw-r--r-- 1 root root 366550 Mar 24 09:55
 
 
 /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-xen-4.2.1-SNAPSHOT.jar
 
  Original file looks as follows:
 
  ls -la
 
 
 /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/__cloud-plugin-hypervisor-xen-4.2.1-SNAPSHOT.jar__
  -rw-r--r-- 1 root root 261682 Mar 20 14:02
 
 
 /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/__cloud-plugin-hypervisor-xen-4.2.1-SNAPSHOT.jar__
 
  I'm using ACS from (cloudstack-*-SNAPSHOT.el6.x86_64.rpm) rpms na centos.
 
 
  PS: I'm not java master :-)
 
 
  Best Regards,
 
 
  2014-03-24 10:15 GMT+01:00 Wido den Hollander w...@widodh.nl:
 
   On 03/24/2014 10:12 AM, Tomasz Zięba wrote:
  
   Hello,
  
   How do I apply a patch to the ACS 4.2.1 ?
  
   I have fixed file:
   apache-cloudstack-4.2.1-src/plugins/hypervisors

Fwd: CloudStack stops the machine for no reason

2014-02-06 Thread Tomasz Zięba
if someone could help..


After the upgrade from version 3.0.2 to 4.2.1 appeared very strange error
associated with self-stopping machine after changing the offering.

Steps to reproduce:
1. Running instance of the machine
2. Stop with the operating system
3. Change offering of machine
4. Start the machine
5. Waiting for 10 minutes
6. CloudStack stops the machine for no reason
7. Restart the machine
8. Sometimes this situation repeats few times

In the logs you can find information:

2014-02-05 06:27:00,974 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-316:null) 11. The VM i-41-824-VM is in Running state
2014-02-05 06:27:00,974 DEBUG [agent.transport.Request]
(DirectAgent-316:null) Seq 50-1756626952: Processing: { Ans: , MgmtId:
160544475005497, via: 50, Ver: v1, Flags: 10,
[{com.cloud.agent.api.ClusterSyncAnswer:{_clusterId:2,_newStates:{i-41-824-VM:{t:f32a4fee-b64e-4868-9c52-2a27e32d4c0e,u:Running,v:viridian:true;acpi:true;apic:true;pae:true;nx:false;timeoffset:0;cores-per-socket:4}},_isExecuted:false,result:true,wait:0}}]
}
2014-02-05 06:27:00,981 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(DirectAgent-316:null) VM i-41-824-VM: cs state = Running and realState =
Running
2014-02-05 06:27:00,981 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(DirectAgent-316:null) VM i-41-824-VM: cs state = Running and realState =
Running
2014-02-05 06:36:01,240 DEBUG [agent.transport.Request]
(HA-Worker-1:work-1511) Seq 51-1374970375: Sending { Cmd , MgmtId:
160544475005497, via: 51, Ver: v1, Flags: 100111,
[{com.cloud.agent.api.StopCommand:{isProxy:false,executeInSequence:true,vmName:i-41-824-VM,wait:0}}]
}
2014-02-05 06:36:01,240 DEBUG [agent.transport.Request]
(HA-Worker-1:work-1511) Seq 51-1374970375: Executing: { Cmd , MgmtId:
160544475005497, via: 51, Ver: v1, Flags: 100111,
[{com.cloud.agent.api.StopCommand:{isProxy:false,executeInSequence:true,vmName:i-41-824-VM,wait:0}}]
}
2014-02-05 06:36:01,383 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-150:null) 9. The VM i-41-824-VM is in Stopping state
2014-02-05 06:36:27,625 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-150:null) 10. The VM i-41-824-VM is in Stopped state

You will notice that the stop of the machine corresponds to the component
HA-Worker.

Such operation after the upgrade is complicating work of users.


-- Forwarded message --
From: Tomasz Zięba t.a.zi...@gmail.com
Date: 2014-02-05 17:40 GMT+01:00
Subject: CloudStack stops the machine for no reason
To: dev@cloudstack.apache.org, us...@cloudstack.apache.org


Hello,

Today I've submitted this bug:
https://issues.apache.org/jira/browse/CLOUDSTACK-6036

Could someone confirm the existence of the problems after the migration
from 3.0.2 to 4.2.1.


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/



-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: CLOUDSTACK-6023: Non windows instances are created on XenServer with a vcpu-max above supported xenserver limits

2014-02-05 Thread Tomasz Zięba
Hello,

In the test environment:
ACS 4.2.1 + compute offering (1 cpu, 1GB RAM)

XCP 1.1 - User vm instance (CentOS) sees 32 processors
XS 6.2SP1 - user vm instance (CentOS) sees 1 processor,

I don't have XS 6.0.2 and 6.1 in my lab.




2014-02-05 Daan Hoogland daan.hoogl...@gmail.com:

 we see host crashes because of large posts to pool-masters that are
 due to this. The fix reduces the size of these posts. When we device a
 more elegant solution I am all for it but at the moment the fix is the
 most sensible protection against those crashes.

 the way this causes crashes is because information is added to the
 post on all vcpus
  even those that are not actually allocated.

 @Joris, please correct me, because I am wrong



 On Wed, Feb 5, 2014 at 8:19 AM, Harikrishna Patnala
 harikrishna.patn...@citrix.com wrote:
  Hi,
 
  There are xenserver docs [1][2] that suggests max VCPUs limit for Linux
 VMS is 32.
 
  [1] says that 32 VCPUs is the limitation on Linux vms and *a maximum of
 16 vCPUs are supported by *XenCenter
 
  And this value is set in time frame of 4.2 and since then we are using
 this.
  to be safe I agree to set 16 max VCPU value, but may I know how this
 VCPU-max value effects the HTTP request. I could not find the reason for 32
 VCPUS-max limit in the log
 
  [20140204T13:52:17.346Z|error|xenserverhost1|144
 inet-RPC|host.call_plugin R:e58e985539ab|master_connection] Received HTTP
 error 500 ({ method = POST; uri = /remote_db_access; query = [  ];
 content_length = [ 315932 ]; transfer encoding = ; version = 1.1; cookie =
 [
 pool_secret=386bbf39-8710-4d2d-f452-9725d79c2393/aa7bcda9-8ebb-0cef-bb77-c6b496c5d859/1f928d82-7a20-9117-dd30-f96c7349b16e
 ]; task = ; subtask_of = ; content-type = ; user_agent = xapi/1.9 })
 
 
 
  -Harikrishna
 
 
 
 
  [1] Section 3.4 in
 http://support.citrix.com/servlet/KbServlet/download/32303-102-691296/guest.pdf
  [2] http://support.citrix.com/article/CTX134887
 
 
 
 
  On 04-Feb-2014, at 9:06 pm, Daan Hoogland daan.hoogl...@gmail.com
 wrote:
 
  Hello community,
 
  This is not the only serious bug Joris has filed today. The other one
  is quite some older and we ran into it only now because before we
  hadn't been using internal addresses in the 172.16 or 192.168 ranges.
  This one is CLOUDSTACK-6020 and may not impede the RC but I think 6023
  does. Before I cast my -1 I want to hear some more opinions on it.
 
  regards,
  Daan
 
  On Tue, Feb 4, 2014 at 4:11 PM, Joris van Lieshout
  jvanliesh...@schubergphilis.com wrote:
  Hi All,
 
  Today I've submitted this bug:
 https://issues.apache.org/jira/browse/CLOUDSTACK-6023
  Because this bug has stability impact on XenServer I'm mentioning it
 here as well. In my opinion it may impact the current vote on 4.3.
 
  Thanks you
 
  Kind regards,
  Joris van Lieshout
 
 
  Schuberg Philis
  Boeingavenue 271
  1119 PD  Schiphol-Rijk
  schubergphilis.com
 
  +31 207506672
  +31651428188
  _
 
 
 
 
 
  --
  Daan
 



 --
 Daan




-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


CloudStack stops the machine for no reason

2014-02-05 Thread Tomasz Zięba
Hello,

Today I've submitted this bug:
https://issues.apache.org/jira/browse/CLOUDSTACK-6036

Could someone confirm the existence of the problems after the migration
from 3.0.2 to 4.2.1.


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


ACS 4.2.1 - which systemvm

2014-01-14 Thread Tomasz Zięba
Hello,

I have a simple question about ACS 4.2.1.
Which systemvm should we use for this version:

a) link from documentation 
http://d21ifhcun6b1t2.cloudfront.net/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2

b) last build from jenkins 
http://jenkins.buildacloud.org/view/4.2/job/build-systemvm-4.2/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2014-01-14-master-xen.vhd.bz2

-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/


Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2013-12-19 Thread Tomasz Zięba
+/- 0 because of simple bugs:
CLOUDSTACK-5422
CLOUDSTACK-5332
CLOUDSTACK-3806

-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/