[GitHub] cloudstack pull request: CLOUDSTACK-8476-Disable enable pod:

2015-05-26 Thread pritisarap12
Github user pritisarap12 closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8476-Disable enable host:

2015-05-26 Thread pritisarap12
Github user pritisarap12 closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Fixed VM Deployment Issue in(integration....

2015-05-26 Thread pritisarap12
Github user pritisarap12 closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Fixed VM Deployment Issue in(integration....

2015-05-26 Thread gauravaradhye
Github user gauravaradhye commented on the pull request:

https://github.com/apache/cloudstack/pull/312#issuecomment-105776689
  
Looks good, and as discusses with you, this test case has been run and it 
is passing now successfully. Merging this review request.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Skip vm migration code from the test sinc...

2015-05-26 Thread sanju1010
Github user sanju1010 closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8516: Fixed syntax errors and ...

2015-05-26 Thread asfgit
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8516: Fixed syntax errors and ...

2015-05-26 Thread gauravaradhye
GitHub user gauravaradhye opened a pull request:

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

CLOUDSTACK-8516: Fixed syntax errors and pep8 issues in 
testpath_storage_migration.py

Checked with pep8 and pylint. No issues now.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gauravaradhye/cloudstack 8516

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/313.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #313


commit 52d728eae6fd85734ee4a8748adf3917f9793122
Author: Gaurav Aradhye 
Date:   2015-05-27T06:25:49Z

CLOUDSTACK-8516: Fixed syntax errors and pep8 issues in 
testpath_storage_migration.py




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: UDSTACK-8513-Fixed-VM-Deployment-Issue:

2015-05-26 Thread pritisarap12
GitHub user pritisarap12 opened a pull request:

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

UDSTACK-8513-Fixed-VM-Deployment-Issue:

--Fixed the vm deployment issue

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pritisarap12/cloudstack 
CLOUDSTACK-8513-Fixed-VM-Deployment-Issue

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/312.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #312


commit 10ff4804fbf20abcde5c17a2b5f72da5a9c1ce6c
Author: pritisarap12 
Date:   2015-05-27T06:22:27Z

UDSTACK-8513-Fixed-VM-Deployment-Issue:
--Fixed the vm deployment issue




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [GitHub] cloudstack pull request: Reinstate working sessions in browser

2015-05-26 Thread Erik Weber
Thanks for filling in the blanks Rajani!

-- 
Erik

On Wed, May 27, 2015 at 7:32 AM, Rajani Karuturi  wrote:

> On Wed, May 27, 2015 at 3:23 AM, Erik Weber  wrote:
>
> > This is a perfect example of why we should use Jira for (almost all)
> > commits.
> >
> > We know what this commit does, but we have to guess why it was done this
> > way.
> > And we don't know how to reproduce the original issue.
> >
> > It references what I believe to be an internal Citrix Jira/tracking#, so
> if
> > anyone that works at Citrix could check this it would be great
> >
>
> CLOUDSTACK-5242 is the ACS issue id for this (accessible only to security
> list)
>
> The commit was done by Jessica for CloudPlatform and the patch was provided
> to ACS by another colleague in her absence(she is no longer with citrix)
> and is committed by Rohit.
> May be thats the reason for wrong issue ids as the author didnt share the
> patch.
>
> This was discussed on the security list. This is the last comment I see
> about it
>
> "
> On Fri, Mar 13, 2015 at 8:21 PM, Demetrius Tsitrelis
>  wrote:
> > https://www.owasp.org/index.php/Category:OWASP_CSRFGuard_Project is a
> JavaEE
> > filter.  It simply rewrites AJAX requests to contain the CSRF protection
> > token as a header. This would not require the code changes as does
> Jessica's
> > patch and it would leave the existing session key value in place so as
> not
> > to affect the UI.
> "
>
> ~ Rajani
>
>
> >
> > --
> > Erik
> >
> > On Tue, May 26, 2015 at 11:39 PM, rsafonseca  wrote:
> >
> > > GitHub user rsafonseca opened a pull request:
> > >
> > > https://github.com/apache/cloudstack/pull/308
> > >
> > > Reinstate working sessions in browser
> > >
> > > I've seen that session persistence stopped working due to
> > >
> >
> https://github.com/apache/cloudstack/commit/19e3c0168e744a76b5e1dc24a5eafa776d342404
> > > From what I could gather from the comments, this was done to fix
> > issue
> > > where separate instances of management servers could exist within the
> > same
> > > domain.
> > > I've fixed the above mentioned issue by prepending the location's
> > > hostname, in order to allow both sessions to co-exist without clashing.
> > > This also removes the need for this fix
> > >
> >
> https://github.com/apache/cloudstack/commit/6c71d3bae1a3a72a9fa4004decdba4a7174f6913
> > >
> > >
> > >
> > >
> > > You can merge this pull request into a Git repository by running:
> > >
> > > $ git pull https://github.com/rsafonseca/cloudstack fixsessions
> > >
> > > Alternatively you can review and apply these changes as the patch at:
> > >
> > > https://github.com/apache/cloudstack/pull/308.patch
> > >
> > > To close this pull request, make a commit to your master/trunk branch
> > > with (at least) the following in the commit message:
> > >
> > > This closes #308
> > >
> > > 
> > > commit ef4a2f6c592a911dc12c63ef30ed3028ce56e2da
> > > Author: Rafael da Fonseca 
> > > Date:   2015-05-26T21:29:11Z
> > >
> > > Reinstate working sessions in browser while fixing same domain
> > > different instance issue
> > >
> > > 
> > >
> > >
> > > ---
> > > If your project is set up for it, you can reply to this email and have
> > your
> > > reply appear on GitHub as well. If your project does not have this
> > feature
> > > enabled and wishes so, or if the feature is enabled but not working,
> > please
> > > contact infrastructure at infrastruct...@apache.org or file a JIRA
> > ticket
> > > with INFRA.
> > > ---
> > >
> >
>


[GitHub] cloudstack pull request: CLOUDSTACK-8515: Skip snapshot test cases...

2015-05-26 Thread asfgit
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8515: Skip snapshot test cases...

2015-05-26 Thread gauravaradhye
GitHub user gauravaradhye opened a pull request:

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

CLOUDSTACK-8515: Skip snapshot test cases for HyperV and LXC

Skip because unsupported feature.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gauravaradhye/cloudstack 8515

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/311.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #311


commit b0c094ece1f3b951adfe700d1d19a2e3db5d9fe5
Author: Gaurav Aradhye 
Date:   2015-05-27T06:09:35Z

CLOUDSTACK-8515: Skip snapshot test cases for HyperV and LXC




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Skip vm migration code from the test sinc...

2015-05-26 Thread sanju1010
GitHub user sanju1010 opened a pull request:

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

Skip vm migration code from the test since it is not supported on LXC



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/sanju1010/cloudstack test1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/310.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #310


commit fa807a59bf1fc4ff274102db1af47b83ded9
Author: sanjeev 
Date:   2015-05-27T06:06:06Z

Skip vm migration code from the test since it is not supported on LXC




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [GitHub] cloudstack pull request: Reinstate working sessions in browser

2015-05-26 Thread Rajani Karuturi
On Wed, May 27, 2015 at 3:23 AM, Erik Weber  wrote:

> This is a perfect example of why we should use Jira for (almost all)
> commits.
>
> We know what this commit does, but we have to guess why it was done this
> way.
> And we don't know how to reproduce the original issue.
>
> It references what I believe to be an internal Citrix Jira/tracking#, so if
> anyone that works at Citrix could check this it would be great
>

CLOUDSTACK-5242 is the ACS issue id for this (accessible only to security
list)

The commit was done by Jessica for CloudPlatform and the patch was provided
to ACS by another colleague in her absence(she is no longer with citrix)
and is committed by Rohit.
May be thats the reason for wrong issue ids as the author didnt share the
patch.

This was discussed on the security list. This is the last comment I see
about it

"
On Fri, Mar 13, 2015 at 8:21 PM, Demetrius Tsitrelis
 wrote:
> https://www.owasp.org/index.php/Category:OWASP_CSRFGuard_Project is a
JavaEE
> filter.  It simply rewrites AJAX requests to contain the CSRF protection
> token as a header. This would not require the code changes as does
Jessica's
> patch and it would leave the existing session key value in place so as not
> to affect the UI.
"

~ Rajani


>
> --
> Erik
>
> On Tue, May 26, 2015 at 11:39 PM, rsafonseca  wrote:
>
> > GitHub user rsafonseca opened a pull request:
> >
> > https://github.com/apache/cloudstack/pull/308
> >
> > Reinstate working sessions in browser
> >
> > I've seen that session persistence stopped working due to
> >
> https://github.com/apache/cloudstack/commit/19e3c0168e744a76b5e1dc24a5eafa776d342404
> > From what I could gather from the comments, this was done to fix
> issue
> > where separate instances of management servers could exist within the
> same
> > domain.
> > I've fixed the above mentioned issue by prepending the location's
> > hostname, in order to allow both sessions to co-exist without clashing.
> > This also removes the need for this fix
> >
> https://github.com/apache/cloudstack/commit/6c71d3bae1a3a72a9fa4004decdba4a7174f6913
> >
> >
> >
> >
> > You can merge this pull request into a Git repository by running:
> >
> > $ git pull https://github.com/rsafonseca/cloudstack fixsessions
> >
> > Alternatively you can review and apply these changes as the patch at:
> >
> > https://github.com/apache/cloudstack/pull/308.patch
> >
> > To close this pull request, make a commit to your master/trunk branch
> > with (at least) the following in the commit message:
> >
> > This closes #308
> >
> > 
> > commit ef4a2f6c592a911dc12c63ef30ed3028ce56e2da
> > Author: Rafael da Fonseca 
> > Date:   2015-05-26T21:29:11Z
> >
> > Reinstate working sessions in browser while fixing same domain
> > different instance issue
> >
> > 
> >
> >
> > ---
> > If your project is set up for it, you can reply to this email and have
> your
> > reply appear on GitHub as well. If your project does not have this
> feature
> > enabled and wishes so, or if the feature is enabled but not working,
> please
> > contact infrastructure at infrastruct...@apache.org or file a JIRA
> ticket
> > with INFRA.
> > ---
> >
>


[GitHub] cloudstack pull request: CLOUDSTACK-8514: test_haproxy.py - Verify...

2015-05-26 Thread asfgit
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8514: test_haproxy.py - Verify...

2015-05-26 Thread gauravaradhye
GitHub user gauravaradhye opened a pull request:

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

CLOUDSTACK-8514: test_haproxy.py - Verifying router state before validating 
network rules

The test case test_08_create_policy_router_stopped fails in automation runs 
because the router state is not verified if running, when the routers is 
stopped and started again.
In this case SSH fails if the router is still in starting state.
Hence, before doing SSH, check if the router it is in running state, then 
only proceed.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gauravaradhye/cloudstack 8514

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/309.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #309


commit 0878169627dc02d07bb130bccbdc48d1cf97ab4a
Author: Gaurav Aradhye 
Date:   2015-05-27T04:47:16Z

CLOUDSTACK-8514: test_haproxy.py - Verifying router state before validating 
network rules




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: SystemVM (kvm) : 3 different versions for the same CloudStack version (4.5.1)

2015-05-26 Thread Rajani Karuturi
On Wed, May 27, 2015 at 12:54 AM, Rohit Yadav 
wrote:

>
> > On 26-May-2015, at 6:27 am, Rajani Karuturi  wrote:
> >
> > I dont think we should mention shapeblue.com/cloud.com templates in the
> > docs. They may not really be from the point where RC is voted. I think it
> > should be the apt-get.eu / jenkins.
>
> I’m not sure why this is relevant to the specific issue Milamber shared
> wrt the *urls* used in doc,


because I felt having 3 versions of template is the source of confusion and
I think its better to support one version as a community.



> though if you’ve any solution to the problem of QA-ing ACS
> systemvmtemplate during release time or if you can help identify and solve
> the shared issue - you’re most welcome.
>

I would have done that if I had expertise in the area (even before the
welcome).


>
> If you think it’s an issue that needs to be discussed - you may start a
> discussion on a different thread.
>

you are welcome to start a new thread if you think its irrelevant here.
But, thats not how I feel.


>
> With my PMC hat on - we should not recognise or discriminate against any
> of the systemvmtemplate sources and repositories, since we only do source
> code releases. As a convenience we have used references to 3rd party
> websites and servers which host or link to additional tools, binaries,
> images, git repos, automation toos, and such artifacts (on our docs, cwiki,
> website etc). hosted and managed by various community members.
>
> With my dayjob hat - we publish a GPG signed deb/rpm repo along with
> systemvmtemplates built from official releases or tags, as a convenience
> for any user. The infrastructure has been provided by British Telecom, the
> server is mirrored by Lucian (
> http://mirrors.coreix.net/packages.shapeblue.com/) and is open for
> everyone to mirror using rsyncd. There is no secret sauce included and our
> process is transparent so I hope the community can trust us and consume
> from the hosted server. JFYI - The hosted systemvmtemplates were built by
> jenkins.b.o server.
>
> As a general disclosure - I’ve access to both apt-get.eu and
> packages.shapeblue.com servers. I don’t know how to build Ubuntu based
> repo so I did not scp the deb repo on packages.shapeblue.com to apt-get.eu
> but I’ll add a rsync mirror cronjob to least mirror the centos repos on it
> soon (similar to how Lucian mirrors from packages.shapeblue.com.
>


With any hat on, I dont think we should confuse ACS users with multiple
different sources of templates/packages.



>
> Regards.
>
> >
> > ~Rajani
> >
> > On Mon, May 25, 2015 at 4:26 PM, Rohit Yadav 
> > wrote:
> >
> >> Hi Milamber,
> >>
> >> In theory you should be able to use any of the systemvmtemplates and
> also
> >> from jenkins.buildacloud.org, but the one I published on
> >> packages.shapeblue.com is the latest and has the few additional
> >> improvements, latest packages and security updates.
> >>
> >> I’ve tested this and it seems to have worked for me on Ubuntu 14.04
> based
> >> host, can you share what is your KVM host like, distro, libvirt/qemu
> >> version and kernel version? Was the host Intel-VT or AMD-V enabled, or
> was
> >> it virtualized (KVM on KVM/Xen/VMWare)? What is the time and timezone on
> >> your host and if kvmclock was disable/enabled on the kvm host?
> >>
> >> Lastly, can you also share if the SSVM gets stuck indefinitely or you
> did
> >> not wait that long and decided to reboot it?
> >>
> >> Regarding the upgrade path, it does not matter really. Since you
> register
> >> 4.5 template before upgrading the upgrade path would simply check if a
> >> systemvm template exists for currently used unique hypervisors (it does
> >> that by checking for current hosts with distinct hypervisors from
> cluster
> >> table). The checksums and URLs are in there for adding rows in the db in
> >> case you decide to add a new hypervisor host and it needs to donwload a
> >> suitable template for that new hypervisor. There are on-going
> discussion on
> >> improving the upgrade process so this issue may be addressed in that.
> >>
> >>> On 25-May-2015, at 9:13 am, Milamber  wrote:
> >>>
> >>> Hello,
> >>>
> >>> There have 3 different versions of the SystemVM image for CloudStack
> >> 4.5.1 (for KVM, but I assumed that concerns other hypervisors)
> >>>
> >>> 1/ shapeblue.com version on Upgrade 4.5.1 from 4.4 page [1]
> >>>
> >>> 2/ apt-get.eu version on Installation Management Server Page [2]
> >>>
> >>> 3/ cloud.com version in com.cloud.upgrade.dao.Upgrade442to450 class
> [3]
> >> (Used for the upgrade process from 4.4.2-3 to 4.5.1)
> >>>
> >>> The checksums are different:
> >>> 1 - 5b6d9f276bc1faf50d2fe839c3c7dc5a
> systemvm64template-4.5-kvm.qcow2.bz2
> >>> 2 - c3f5d60fbc4a6af7e85c94bb776f2778
> systemvm64template-4.5-kvm.qcow2.bz2
> >>> 3 - aa9f501fecd3de1daeb9e2f357f6f002
> systemvm64template-4.5-kvm.qcow2.bz2
> >>>
> >>> The date/size (of the Qcow2 inside) too:
> >>> 1 - -rw-r--r-- 1 milamber milamber 312669696 May5 

Re: SystemVM (kvm) : 3 different versions for the same CloudStack version (4.5.1)

2015-05-26 Thread Rajani Karuturi
I said that because, I dont know from which commit the template is built
from and am not sure if thats the one that is voted. Neither do I have
access to check the same or correct the template incase of an error. So, I
am not comfortable with putting a reference to that in the official
documentation of ACS (I am just putting my personal opinion).
If its donated for the community, I would prefer it to be a subdomain of
cloudstack.org. maybe packages.cloudstack.org (yes name does matter to me)
and preferably have some documentation about it and procedure to get access
to it or a list of who all has access.



~Rajani

On Tue, May 26, 2015 at 10:41 PM, Paul Angus 
wrote:

> Hi Ranji,
>
> I don't follow your logic - British Telecom have donated the infra
> specifically to host community's convenience binaries much as Wido does on
> apt-get.eu
> And Jenkins constantly builds the latest systemVM template for a full dot
> release and doesn't discriminate between minor dot releases
>
> Please could you clarify your objection.
>
> Regards,
>
> Paul Angus
> Cloud Architect
> S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
> paul.an...@shapeblue.com
>
> -Original Message-
> From: Rajani Karuturi [mailto:raj...@apache.org]
> Sent: Tuesday, May 26, 2015 5:28 AM
> To: dev@cloudstack.apache.org
> Subject: Re: SystemVM (kvm) : 3 different versions for the same CloudStack
> version (4.5.1)
>
> I dont think we should mention shapeblue.com/cloud.com templates in the
> docs. They may not really be from the point where RC is voted. I think it
> should be the apt-get.eu / jenkins.
>
> ~Rajani
>
> On Mon, May 25, 2015 at 4:26 PM, Rohit Yadav 
> wrote:
>
> > Hi Milamber,
> >
> > In theory you should be able to use any of the systemvmtemplates and
> > also from jenkins.buildacloud.org, but the one I published on
> > packages.shapeblue.com is the latest and has the few additional
> > improvements, latest packages and security updates.
> >
> > I’ve tested this and it seems to have worked for me on Ubuntu 14.04
> > based host, can you share what is your KVM host like, distro,
> > libvirt/qemu version and kernel version? Was the host Intel-VT or
> > AMD-V enabled, or was it virtualized (KVM on KVM/Xen/VMWare)? What is
> > the time and timezone on your host and if kvmclock was disable/enabled
> on the kvm host?
> >
> > Lastly, can you also share if the SSVM gets stuck indefinitely or you
> > did not wait that long and decided to reboot it?
> >
> > Regarding the upgrade path, it does not matter really. Since you
> > register
> > 4.5 template before upgrading the upgrade path would simply check if a
> > systemvm template exists for currently used unique hypervisors (it
> > does that by checking for current hosts with distinct hypervisors from
> > cluster table). The checksums and URLs are in there for adding rows in
> > the db in case you decide to add a new hypervisor host and it needs to
> > donwload a suitable template for that new hypervisor. There are
> > on-going discussion on improving the upgrade process so this issue may
> be addressed in that.
> >
> > > On 25-May-2015, at 9:13 am, Milamber  wrote:
> > >
> > > Hello,
> > >
> > > There have 3 different versions of the SystemVM image for CloudStack
> > 4.5.1 (for KVM, but I assumed that concerns other hypervisors)
> > >
> > > 1/ shapeblue.com version on Upgrade 4.5.1 from 4.4 page [1]
> > >
> > > 2/ apt-get.eu version on Installation Management Server Page [2]
> > >
> > > 3/ cloud.com version in com.cloud.upgrade.dao.Upgrade442to450 class
> > > [3]
> > (Used for the upgrade process from 4.4.2-3 to 4.5.1)
> > >
> > > The checksums are different:
> > > 1 - 5b6d9f276bc1faf50d2fe839c3c7dc5a
> > > systemvm64template-4.5-kvm.qcow2.bz2
> > > 2 - c3f5d60fbc4a6af7e85c94bb776f2778
> > > systemvm64template-4.5-kvm.qcow2.bz2
> > > 3 - aa9f501fecd3de1daeb9e2f357f6f002
> > > systemvm64template-4.5-kvm.qcow2.bz2
> > >
> > > The date/size (of the Qcow2 inside) too:
> > > 1 - -rw-r--r-- 1 milamber milamber 312669696 May5 01:40
> > systemvm64template-4.5-kvm.qcow2
> > > 2 - -rw-r--r-- 1 milamber milamber 303972352 Mar   7 12:21
> > systemvm64template-4.5-kvm.qcow2
> > > 3 - -rw-r--r-- 1 milamber milamber 305387008 Sep  4  2014
> > systemvm64template-4.5-kvm.qcow2
> > >
> > >
> > > I'm not sure if that's relevant, but yesterday, my upgrade from
> > > 4.4.3 to
> > 4.5.1 is failed when I would re-create a virtual router (using the
> > cloud.com version). I have tried to recreate SSVM and CPVM without
> > success too)
> > > (Installation type: Adv Network without SG)
> > >
> > > I made a re-installation of my test platform with a fresh 4.5.1
> > > version
> > with shapeblue version (more recent), failed too on the start of SSVM
> > (blocked on "Cleaning up temporary files..."), after 1 manual VM
> > reset, the SSVM started, but the first VR have the same problem and
> > the reset don't work like the SSVM.
> > > (Installation type: Adv Network with SG)
> > >
> > > I made another re-i

Re: [GitHub] cloudstack pull request: CLOUDSTACK-8231: fixed merge conflicts wi...

2015-05-26 Thread Rajani Karuturi
Yesterday I noticed some sync issues between github and git-wip-us.apache.
github didnt have all the commits from apache. May be that is the reason
why you are seeing additional commits in your pull request.


~Rajani

On Tue, May 26, 2015 at 2:45 PM, Vadim Kimlaychuk  wrote:

> Rohit,
>
> I have merged my local branch with master and resolved conflicts.
> Pull request showed modifications that I have made precisely. But when I
> created the request it contains multiple files (not just those I have
> changed). Please review this. I think I have done something wrong again.
>
> Vadim.
>
> -Original Message-
> From: vadimkim [mailto:g...@git.apache.org]
> Sent: Tuesday, May 26, 2015 12:10 PM
> To: dev@cloudstack.apache.org
> Subject: [GitHub] cloudstack pull request: CLOUDSTACK-8231: fixed merge
> conflicts wi...
>
> GitHub user vadimkim opened a pull request:
>
> https://github.com/apache/cloudstack/pull/302
>
> CLOUDSTACK-8231: fixed merge conflicts with previous patch
>
> We need to port this update to 4.5 branch as well.
>
> You can merge this pull request into a Git repository by running:
>
> $ git pull https://github.com/vadimkim/cloudstack master
>
> Alternatively you can review and apply these changes as the patch at:
>
> https://github.com/apache/cloudstack/pull/302.patch
>
> To close this pull request, make a commit to your master/trunk branch with
> (at least) the following in the commit message:
>
> This closes #302
>
> 
> commit 7ee9b1042f35a2998217d973b5ee447ca68497fb
> Author: Vadim Kimlaychuk 
> Date:   2015-05-20T19:08:29Z
>
> CLOUDSTACK-8231: Fixed UI empty drop-down list for LB rules
>
> commit a064911d440170185b69001deb28b8b2173b4d05
> Author: Vadim Kimlaychuk 
> Date:   2015-05-21T07:18:41Z
>
> CLOUDSTACK-8231: fixed call to getLbAlgorithms() function in order to
> merge results from static and dynamic data
>
> commit 7abf21f9c8a80dd9bf42c564f9eb56f0a6f9d7cf
> Author: Vadim Kimlaychuk 
> Date:   2015-05-21T07:44:20Z
>
> CLOUDSTACK-8231: reverted 7ee9b1042 commit logic
>
> commit ff31d1f20bc2ef05c82ab10556ee8cf274a39a84
> Author: Vadim Kimlaychuk 
> Date:   2015-05-26T09:06:27Z
>
> Merge remote-tracking branch 'upstream/master'
>
> Conflicts:
> ui/scripts/network.js
>
> 
>
>
> ---
> If your project is set up for it, you can reply to this email and have
> your reply appear on GitHub as well. If your project does not have this
> feature enabled and wishes so, or if the feature is enabled but not
> working, please contact infrastructure at infrastruct...@apache.org or
> file a JIRA ticket with INFRA.
> ---
>


Re: refresh browser - logged out from ACS ?

2015-05-26 Thread ilya

But it was not refresh - to best of my recollection..

On 5/26/15 8:27 PM, ilya wrote:
I vaguely recall Rohit mentioned it was some sort of security fix that 
was causing this side effect due to the way sessionids were handled..


On 5/26/15 8:15 AM, Andrija Panic wrote:

Thx Rafael, as usuall :)

I remember there was some thread on this topic, but cant really find 
it...


On 26 May 2015 at 17:14, Rafael Fonseca  wrote:


Hi Andrija,

I noticed the same is also happening on the 4.6.0-SNAPSHOT .. it's a 
bit

annoying.

I'll have a closer look later today if i can find the time for it :)


On Tue, May 26, 2015 at 4:11 PM, Andrija Panic 


wrote:


Hi guys,

just wondering - when I refresh browser/UI I get logged out of ACS -

4.4.3

(testing with 4.5.1 in few minutes...).

I remember there was some thread on this, but can't really find it

anywhere

This behaviour is not present in 4.3 and prior AFAIK.

Any tips ?
--

Andrija Panić










Re: refresh browser - logged out from ACS ?

2015-05-26 Thread ilya
I vaguely recall Rohit mentioned it was some sort of security fix that 
was causing this side effect due to the way sessionids were handled..


On 5/26/15 8:15 AM, Andrija Panic wrote:

Thx Rafael, as usuall :)

I remember there was some thread on this topic, but cant really find it...

On 26 May 2015 at 17:14, Rafael Fonseca  wrote:


Hi Andrija,

I noticed the same is also happening on the 4.6.0-SNAPSHOT .. it's a bit
annoying.

I'll have a closer look later today if i can find the time for it :)


On Tue, May 26, 2015 at 4:11 PM, Andrija Panic 
wrote:


Hi guys,

just wondering - when I refresh browser/UI I get logged out of ACS -

4.4.3

(testing with 4.5.1 in few minutes...).

I remember there was some thread on this, but can't really find it

anywhere

This behaviour is not present in 4.3 and prior AFAIK.

Any tips ?
--

Andrija Panić








Re: CLOUDSTACK-8407: Presharedkey is not accessible

2015-05-26 Thread Andrija Panic
I can confirm it's there on 4.5.1 - so all fine for this one :)

On 27 May 2015 at 00:22, Will Stevens  wrote:

> OK. I will test. Thanks.
> On May 26, 2015 6:17 PM, "Rohit Yadav"  wrote:
>
> >
> > > On 27-May-2015, at 12:09 am, Will Stevens 
> wrote:
> > >
> > > What do you mean by "I had already fixed this on 4.5/master before
> 4.5.1
> > > was released, therefore 4.5.1 users should not experience any issue.”?
> >
> > The regression exists for 4.4 but just fixed.
> > It’s not an issue for 4.5.1 release and latest 4.5/master branch.
> >
> > > So is the preshared key available in the API now?  Is there a way to
> get
> > > the preshared key if you don't have access to the DB?
> >
> > Yes. Use the list API.
> >
> > > Will
> > >
> > >
> > > *Will STEVENS*
> > > Lead Developer
> > >
> > > *CloudOps* *| *Cloud Solutions Experts
> > > 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> > > w cloudops.com *|* tw @CloudOps_
> > >
> > > On Tue, May 26, 2015 at 6:06 PM, Rohit Yadav <
> rohit.ya...@shapeblue.com>
> > > wrote:
> > >
> > >> Hi Will,
> > >>
> > >> I had already fixed this on 4.5/master before 4.5.1 was released,
> > >> therefore 4.5.1 users should not experience any issue. I’ve just
> checked
> > >> and cherry-picked the fix on 4.4 branch.
> > >>
> > >>> On 26-May-2015, at 10:57 pm, Will Stevens 
> > wrote:
> > >>>
> > >>> @Rohit: Do you have any suggestions for how to access the preshared
> key
> > >>> now?  I see you removed the ability for it to accessed through the
> API.
> > >>>
> > >>> https://issues.apache.org/jira/browse/CLOUDSTACK-8407
> > >>>
> > >>> Cheers,
> > >>>
> > >>> *Will STEVENS*
> > >>> Lead Developer
> > >>>
> > >>> *CloudOps* *| *Cloud Solutions Experts
> > >>> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> > >>> w cloudops.com *|* tw @CloudOps_
> > >>
> > >> 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 framework<
> http://shapeblue.com/csforge/
> > >
> > >> CloudStack Consulting
> > >> 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.
> > >>
> >
> > 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 framework
> > CloudStack Consulting
> > 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 a

Re: CLOUDSTACK-8407: Presharedkey is not accessible

2015-05-26 Thread Will Stevens
OK. I will test. Thanks.
On May 26, 2015 6:17 PM, "Rohit Yadav"  wrote:

>
> > On 27-May-2015, at 12:09 am, Will Stevens  wrote:
> >
> > What do you mean by "I had already fixed this on 4.5/master before 4.5.1
> > was released, therefore 4.5.1 users should not experience any issue.”?
>
> The regression exists for 4.4 but just fixed.
> It’s not an issue for 4.5.1 release and latest 4.5/master branch.
>
> > So is the preshared key available in the API now?  Is there a way to get
> > the preshared key if you don't have access to the DB?
>
> Yes. Use the list API.
>
> > Will
> >
> >
> > *Will STEVENS*
> > Lead Developer
> >
> > *CloudOps* *| *Cloud Solutions Experts
> > 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> > w cloudops.com *|* tw @CloudOps_
> >
> > On Tue, May 26, 2015 at 6:06 PM, Rohit Yadav 
> > wrote:
> >
> >> Hi Will,
> >>
> >> I had already fixed this on 4.5/master before 4.5.1 was released,
> >> therefore 4.5.1 users should not experience any issue. I’ve just checked
> >> and cherry-picked the fix on 4.4 branch.
> >>
> >>> On 26-May-2015, at 10:57 pm, Will Stevens 
> wrote:
> >>>
> >>> @Rohit: Do you have any suggestions for how to access the preshared key
> >>> now?  I see you removed the ability for it to accessed through the API.
> >>>
> >>> https://issues.apache.org/jira/browse/CLOUDSTACK-8407
> >>>
> >>> Cheers,
> >>>
> >>> *Will STEVENS*
> >>> Lead Developer
> >>>
> >>> *CloudOps* *| *Cloud Solutions Experts
> >>> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> >>> w cloudops.com *|* tw @CloudOps_
> >>
> >> 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 framework >
> >> CloudStack Consulting
> >> 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.
> >>
>
> 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 framework
> CloudStack Consulting
> 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 compa

Re: CLOUDSTACK-8407: Presharedkey is not accessible

2015-05-26 Thread Rohit Yadav

> On 27-May-2015, at 12:09 am, Will Stevens  wrote:
>
> What do you mean by "I had already fixed this on 4.5/master before 4.5.1
> was released, therefore 4.5.1 users should not experience any issue.”?

The regression exists for 4.4 but just fixed.
It’s not an issue for 4.5.1 release and latest 4.5/master branch.

> So is the preshared key available in the API now?  Is there a way to get
> the preshared key if you don't have access to the DB?

Yes. Use the list API.

> Will
>
>
> *Will STEVENS*
> Lead Developer
>
> *CloudOps* *| *Cloud Solutions Experts
> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> w cloudops.com *|* tw @CloudOps_
>
> On Tue, May 26, 2015 at 6:06 PM, Rohit Yadav 
> wrote:
>
>> Hi Will,
>>
>> I had already fixed this on 4.5/master before 4.5.1 was released,
>> therefore 4.5.1 users should not experience any issue. I’ve just checked
>> and cherry-picked the fix on 4.4 branch.
>>
>>> On 26-May-2015, at 10:57 pm, Will Stevens  wrote:
>>>
>>> @Rohit: Do you have any suggestions for how to access the preshared key
>>> now?  I see you removed the ability for it to accessed through the API.
>>>
>>> https://issues.apache.org/jira/browse/CLOUDSTACK-8407
>>>
>>> Cheers,
>>>
>>> *Will STEVENS*
>>> Lead Developer
>>>
>>> *CloudOps* *| *Cloud Solutions Experts
>>> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
>>> w cloudops.com *|* tw @CloudOps_
>>
>> 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 framework
>> CloudStack Consulting
>> 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.
>>

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
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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: CLOUDSTACK-8407: Presharedkey is not accessible

2015-05-26 Thread Will Stevens
What do you mean by "I had already fixed this on 4.5/master before 4.5.1
was released, therefore 4.5.1 users should not experience any issue."?

So is the preshared key available in the API now?  Is there a way to get
the preshared key if you don't have access to the DB?
Will


*Will STEVENS*
Lead Developer

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

On Tue, May 26, 2015 at 6:06 PM, Rohit Yadav 
wrote:

> Hi Will,
>
> I had already fixed this on 4.5/master before 4.5.1 was released,
> therefore 4.5.1 users should not experience any issue. I’ve just checked
> and cherry-picked the fix on 4.4 branch.
>
> > On 26-May-2015, at 10:57 pm, Will Stevens  wrote:
> >
> > @Rohit: Do you have any suggestions for how to access the preshared key
> > now?  I see you removed the ability for it to accessed through the API.
> >
> > https://issues.apache.org/jira/browse/CLOUDSTACK-8407
> >
> > Cheers,
> >
> > *Will STEVENS*
> > Lead Developer
> >
> > *CloudOps* *| *Cloud Solutions Experts
> > 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> > w cloudops.com *|* tw @CloudOps_
>
> 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 framework
> CloudStack Consulting
> 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.
>


[GitHub] cloudstack pull request: Reinstate working sessions in browser

2015-05-26 Thread bhaisaab
Github user bhaisaab commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/308#discussion_r31085151
  
--- Diff: ui/scripts/cloudStack.js ---
@@ -117,22 +117,15 @@
 }
 return cookieValue;
 };
-unBoxCookieValue('sessionkey');
-// if sessionkey cookie exists use this to set 
g_sessionKey
--- End diff --

The original issue was related to security where session key was stored in 
cookie; the crux of the fix by Jessica was to use the cookie to set the 
sessionkey on window (g_sessionKey variable) and destroy it so it may not be 
read later.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


IPv6 support in CloudStack for VPC(Advanced Networking)

2015-05-26 Thread Suresh Ramamurthy
Hello Everyone,

We at Schuberg Philis, had couple of discussions regarding the support for
IPv6 in CloudStack for VPC and we have come up with first version of its
design document.

Please find the design document at
https://cwiki.apache.org/confluence/display/CLOUDSTACK/IPv6+in+VPC+Router

Design document talks about
   a) How network allocation/carving happens for VPC and its tiers
   b) Enabling IPv6, Router Advertisement in VPC Router
   c) DNSMASQ for DHCPv6/DNS
   d) Network ACL
   e) BGP on VPC Router

And we will keep updating the document with as much details as possible
when we get more information from further discussions.

Please have a look at the design document send us your feedback to further
fine tune the design document :)

Thanks,
Suresh


[GitHub] cloudstack pull request: Reinstate working sessions in browser

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:

https://github.com/apache/cloudstack/pull/308#issuecomment-105682213
  
I searched around for that reference and found nothing useful, perhaps 
@bhaisaab can shed some light, since it was signed off by him :)
If I understood correctly, the issue is easy to reproduce, two instances of 
management server in the same domain would get messed up with each other's auth 
due to the cookies.
This prevents said issue from occurring, hopefully Rohit will confirm that 
:)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: CLOUDSTACK-8407: Presharedkey is not accessible

2015-05-26 Thread Rohit Yadav
Hi Will,

I had already fixed this on 4.5/master before 4.5.1 was released, therefore 
4.5.1 users should not experience any issue. I’ve just checked and 
cherry-picked the fix on 4.4 branch.

> On 26-May-2015, at 10:57 pm, Will Stevens  wrote:
>
> @Rohit: Do you have any suggestions for how to access the preshared key
> now?  I see you removed the ability for it to accessed through the API.
>
> https://issues.apache.org/jira/browse/CLOUDSTACK-8407
>
> Cheers,
>
> *Will STEVENS*
> Lead Developer
>
> *CloudOps* *| *Cloud Solutions Experts
> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> w cloudops.com *|* tw @CloudOps_

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
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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.


[GitHub] cloudstack pull request: Reinstate working sessions in browser

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/308#discussion_r31084802
  
--- Diff: ui/scripts/cloudStack.js ---
@@ -329,7 +325,6 @@
 g_regionsecondaryenabled = null;
 g_loginCmdText = null;
 
-$.cookie('JSESSIONID', null);
 $.cookie('sessionkey', null);
--- End diff --

Indeed Erik, thanks for pointing that out. I've updated the PR.

On Tue, May 26, 2015 at 11:46 PM, Erik Weber 
wrote:

> In ui/scripts/cloudStack.js
> :
>
> > @@ -329,7 +325,6 @@
> >  g_regionsecondaryenabled = null;
> >  g_loginCmdText = null;
> >
> > -$.cookie('JSESSIONID', null);
> >  $.cookie('sessionkey', null);
>
> I'm no UI/Javascript expert, but should these include hostname as well? If
> so, same goes for L351+
>
> —
> Reply to this email directly or view it on GitHub
> .
>



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [GitHub] cloudstack pull request: Reinstate working sessions in browser

2015-05-26 Thread Erik Weber
This is a perfect example of why we should use Jira for (almost all)
commits.

We know what this commit does, but we have to guess why it was done this
way.
And we don't know how to reproduce the original issue.

It references what I believe to be an internal Citrix Jira/tracking#, so if
anyone that works at Citrix could check this it would be great

-- 
Erik

On Tue, May 26, 2015 at 11:39 PM, rsafonseca  wrote:

> GitHub user rsafonseca opened a pull request:
>
> https://github.com/apache/cloudstack/pull/308
>
> Reinstate working sessions in browser
>
> I've seen that session persistence stopped working due to
> https://github.com/apache/cloudstack/commit/19e3c0168e744a76b5e1dc24a5eafa776d342404
> From what I could gather from the comments, this was done to fix issue
> where separate instances of management servers could exist within the same
> domain.
> I've fixed the above mentioned issue by prepending the location's
> hostname, in order to allow both sessions to co-exist without clashing.
> This also removes the need for this fix
> https://github.com/apache/cloudstack/commit/6c71d3bae1a3a72a9fa4004decdba4a7174f6913
>
>
>
>
> You can merge this pull request into a Git repository by running:
>
> $ git pull https://github.com/rsafonseca/cloudstack fixsessions
>
> Alternatively you can review and apply these changes as the patch at:
>
> https://github.com/apache/cloudstack/pull/308.patch
>
> To close this pull request, make a commit to your master/trunk branch
> with (at least) the following in the commit message:
>
> This closes #308
>
> 
> commit ef4a2f6c592a911dc12c63ef30ed3028ce56e2da
> Author: Rafael da Fonseca 
> Date:   2015-05-26T21:29:11Z
>
> Reinstate working sessions in browser while fixing same domain
> different instance issue
>
> 
>
>
> ---
> If your project is set up for it, you can reply to this email and have your
> reply appear on GitHub as well. If your project does not have this feature
> enabled and wishes so, or if the feature is enabled but not working, please
> contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
> with INFRA.
> ---
>


[VOTE] Apache Cloudstack 4.4.4

2015-05-26 Thread Daan Hoogland
Hi All,

For those still interested in the 4.4 tree I've created a 4.4.4
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-RC20150526T2323
Commit: c7600582a9c6a7441db3e26a5641d4d0ad7130e8

List of 
changes:https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/tags/4.4.4

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

PGP release keys (signed using
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)


[GitHub] cloudstack pull request: Reinstate working sessions in browser

2015-05-26 Thread terbolous
Github user terbolous commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/308#discussion_r31083230
  
--- Diff: ui/scripts/cloudStack.js ---
@@ -329,7 +325,6 @@
 g_regionsecondaryenabled = null;
 g_loginCmdText = null;
 
-$.cookie('JSESSIONID', null);
 $.cookie('sessionkey', null);
--- End diff --

I'm no UI/Javascript expert, but should these include hostname as well? If 
so, same goes for L351+


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Reinstate working sessions in browser

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:

https://github.com/apache/cloudstack/pull/308#issuecomment-105672476
  
@bhaisaab please take a look :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Reinstate working sessions in browser

2015-05-26 Thread rsafonseca
GitHub user rsafonseca opened a pull request:

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

Reinstate working sessions in browser 

I've seen that session persistence stopped working due to 
https://github.com/apache/cloudstack/commit/19e3c0168e744a76b5e1dc24a5eafa776d342404
From what I could gather from the comments, this was done to fix issue 
where separate instances of management servers could exist within the same 
domain.
I've fixed the above mentioned issue by prepending the location's hostname, 
in order to allow both sessions to co-exist without clashing.
This also removes the need for this fix 
https://github.com/apache/cloudstack/commit/6c71d3bae1a3a72a9fa4004decdba4a7174f6913




You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rsafonseca/cloudstack fixsessions

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/308.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #308


commit ef4a2f6c592a911dc12c63ef30ed3028ce56e2da
Author: Rafael da Fonseca 
Date:   2015-05-26T21:29:11Z

Reinstate working sessions in browser while fixing same domain different 
instance issue




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-6181: Allow RBD volumes to be ...

2015-05-26 Thread asfgit
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


CLOUDSTACK-8407: Presharedkey is not accessible

2015-05-26 Thread Will Stevens
@Rohit: Do you have any suggestions for how to access the preshared key
now?  I see you removed the ability for it to accessed through the API.

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

Cheers,

*Will STEVENS*
Lead Developer

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


Re: SystemVM (kvm) : 3 different versions for the same CloudStack version (4.5.1)

2015-05-26 Thread Rohit Yadav

> On 26-May-2015, at 6:27 am, Rajani Karuturi  wrote:
>
> I dont think we should mention shapeblue.com/cloud.com templates in the
> docs. They may not really be from the point where RC is voted. I think it
> should be the apt-get.eu / jenkins.

I’m not sure why this is relevant to the specific issue Milamber shared wrt the 
*urls* used in doc, though if you’ve any solution to the problem of QA-ing ACS 
systemvmtemplate during release time or if you can help identify and solve the 
shared issue - you’re most welcome.

If you think it’s an issue that needs to be discussed - you may start a 
discussion on a different thread.

With my PMC hat on - we should not recognise or discriminate against any of the 
systemvmtemplate sources and repositories, since we only do source code 
releases. As a convenience we have used references to 3rd party websites and 
servers which host or link to additional tools, binaries, images, git repos, 
automation toos, and such artifacts (on our docs, cwiki, website etc). hosted 
and managed by various community members.

With my dayjob hat - we publish a GPG signed deb/rpm repo along with 
systemvmtemplates built from official releases or tags, as a convenience for 
any user. The infrastructure has been provided by British Telecom, the server 
is mirrored by Lucian (http://mirrors.coreix.net/packages.shapeblue.com/) and 
is open for everyone to mirror using rsyncd. There is no secret sauce included 
and our process is transparent so I hope the community can trust us and consume 
from the hosted server. JFYI - The hosted systemvmtemplates were built by 
jenkins.b.o server.

As a general disclosure - I’ve access to both apt-get.eu and 
packages.shapeblue.com servers. I don’t know how to build Ubuntu based repo so 
I did not scp the deb repo on packages.shapeblue.com to apt-get.eu but I’ll add 
a rsync mirror cronjob to least mirror the centos repos on it soon (similar to 
how Lucian mirrors from packages.shapeblue.com.

Regards.

>
> ~Rajani
>
> On Mon, May 25, 2015 at 4:26 PM, Rohit Yadav 
> wrote:
>
>> Hi Milamber,
>>
>> In theory you should be able to use any of the systemvmtemplates and also
>> from jenkins.buildacloud.org, but the one I published on
>> packages.shapeblue.com is the latest and has the few additional
>> improvements, latest packages and security updates.
>>
>> I’ve tested this and it seems to have worked for me on Ubuntu 14.04 based
>> host, can you share what is your KVM host like, distro, libvirt/qemu
>> version and kernel version? Was the host Intel-VT or AMD-V enabled, or was
>> it virtualized (KVM on KVM/Xen/VMWare)? What is the time and timezone on
>> your host and if kvmclock was disable/enabled on the kvm host?
>>
>> Lastly, can you also share if the SSVM gets stuck indefinitely or you did
>> not wait that long and decided to reboot it?
>>
>> Regarding the upgrade path, it does not matter really. Since you register
>> 4.5 template before upgrading the upgrade path would simply check if a
>> systemvm template exists for currently used unique hypervisors (it does
>> that by checking for current hosts with distinct hypervisors from cluster
>> table). The checksums and URLs are in there for adding rows in the db in
>> case you decide to add a new hypervisor host and it needs to donwload a
>> suitable template for that new hypervisor. There are on-going discussion on
>> improving the upgrade process so this issue may be addressed in that.
>>
>>> On 25-May-2015, at 9:13 am, Milamber  wrote:
>>>
>>> Hello,
>>>
>>> There have 3 different versions of the SystemVM image for CloudStack
>> 4.5.1 (for KVM, but I assumed that concerns other hypervisors)
>>>
>>> 1/ shapeblue.com version on Upgrade 4.5.1 from 4.4 page [1]
>>>
>>> 2/ apt-get.eu version on Installation Management Server Page [2]
>>>
>>> 3/ cloud.com version in com.cloud.upgrade.dao.Upgrade442to450 class [3]
>> (Used for the upgrade process from 4.4.2-3 to 4.5.1)
>>>
>>> The checksums are different:
>>> 1 - 5b6d9f276bc1faf50d2fe839c3c7dc5a systemvm64template-4.5-kvm.qcow2.bz2
>>> 2 - c3f5d60fbc4a6af7e85c94bb776f2778 systemvm64template-4.5-kvm.qcow2.bz2
>>> 3 - aa9f501fecd3de1daeb9e2f357f6f002 systemvm64template-4.5-kvm.qcow2.bz2
>>>
>>> The date/size (of the Qcow2 inside) too:
>>> 1 - -rw-r--r-- 1 milamber milamber 312669696 May5 01:40
>> systemvm64template-4.5-kvm.qcow2
>>> 2 - -rw-r--r-- 1 milamber milamber 303972352 Mar   7 12:21
>> systemvm64template-4.5-kvm.qcow2
>>> 3 - -rw-r--r-- 1 milamber milamber 305387008 Sep  4  2014
>> systemvm64template-4.5-kvm.qcow2
>>>
>>>
>>> I'm not sure if that's relevant, but yesterday, my upgrade from 4.4.3 to
>> 4.5.1 is failed when I would re-create a virtual router (using the
>> cloud.com version). I have tried to recreate SSVM and CPVM without
>> success too)
>>> (Installation type: Adv Network without SG)
>>>
>>> I made a re-installation of my test platform with a fresh 4.5.1 version
>> with shapeblue version (more recent), failed too on the start of SSVM
>> (

[GitHub] cloudstack pull request: CLOUDSTACK-7888: unable to create remote ...

2015-05-26 Thread primechuck
GitHub user primechuck opened a pull request:

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

CLOUDSTACK-7888: unable to create remote vpn because of special character 
in password

Always enter chap-secrets as a quoted field. In the event of special 
characters it creates and deletes the entry properly, in the event there are 
not special characters there is no change behavior.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/primechuck/cloudstack CLOUDSTACK-7888-vpn_fix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/307.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #307


commit 03b5e855aecafd5a3aeef77f38a54be26caf691a
Author: David Bierce 
Date:   2015-05-26T19:07:44Z

Always enter chap-secrets as a quoted field. In the event of special 
characters it creates and deletes the entry properly, in the event there are 
not special characters there is no change behavior.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


RE: SystemVM (kvm) : 3 different versions for the same CloudStack version (4.5.1)

2015-05-26 Thread Paul Angus
Hi Ranji,

I don't follow your logic - British Telecom have donated the infra specifically 
to host community's convenience binaries much as Wido does on apt-get.eu
And Jenkins constantly builds the latest systemVM template for a full dot 
release and doesn't discriminate between minor dot releases

Please could you clarify your objection.

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Rajani Karuturi [mailto:raj...@apache.org]
Sent: Tuesday, May 26, 2015 5:28 AM
To: dev@cloudstack.apache.org
Subject: Re: SystemVM (kvm) : 3 different versions for the same CloudStack 
version (4.5.1)

I dont think we should mention shapeblue.com/cloud.com templates in the docs. 
They may not really be from the point where RC is voted. I think it should be 
the apt-get.eu / jenkins.

~Rajani

On Mon, May 25, 2015 at 4:26 PM, Rohit Yadav 
wrote:

> Hi Milamber,
>
> In theory you should be able to use any of the systemvmtemplates and
> also from jenkins.buildacloud.org, but the one I published on
> packages.shapeblue.com is the latest and has the few additional
> improvements, latest packages and security updates.
>
> I’ve tested this and it seems to have worked for me on Ubuntu 14.04
> based host, can you share what is your KVM host like, distro,
> libvirt/qemu version and kernel version? Was the host Intel-VT or
> AMD-V enabled, or was it virtualized (KVM on KVM/Xen/VMWare)? What is
> the time and timezone on your host and if kvmclock was disable/enabled on the 
> kvm host?
>
> Lastly, can you also share if the SSVM gets stuck indefinitely or you
> did not wait that long and decided to reboot it?
>
> Regarding the upgrade path, it does not matter really. Since you
> register
> 4.5 template before upgrading the upgrade path would simply check if a
> systemvm template exists for currently used unique hypervisors (it
> does that by checking for current hosts with distinct hypervisors from
> cluster table). The checksums and URLs are in there for adding rows in
> the db in case you decide to add a new hypervisor host and it needs to
> donwload a suitable template for that new hypervisor. There are
> on-going discussion on improving the upgrade process so this issue may be 
> addressed in that.
>
> > On 25-May-2015, at 9:13 am, Milamber  wrote:
> >
> > Hello,
> >
> > There have 3 different versions of the SystemVM image for CloudStack
> 4.5.1 (for KVM, but I assumed that concerns other hypervisors)
> >
> > 1/ shapeblue.com version on Upgrade 4.5.1 from 4.4 page [1]
> >
> > 2/ apt-get.eu version on Installation Management Server Page [2]
> >
> > 3/ cloud.com version in com.cloud.upgrade.dao.Upgrade442to450 class
> > [3]
> (Used for the upgrade process from 4.4.2-3 to 4.5.1)
> >
> > The checksums are different:
> > 1 - 5b6d9f276bc1faf50d2fe839c3c7dc5a
> > systemvm64template-4.5-kvm.qcow2.bz2
> > 2 - c3f5d60fbc4a6af7e85c94bb776f2778
> > systemvm64template-4.5-kvm.qcow2.bz2
> > 3 - aa9f501fecd3de1daeb9e2f357f6f002
> > systemvm64template-4.5-kvm.qcow2.bz2
> >
> > The date/size (of the Qcow2 inside) too:
> > 1 - -rw-r--r-- 1 milamber milamber 312669696 May5 01:40
> systemvm64template-4.5-kvm.qcow2
> > 2 - -rw-r--r-- 1 milamber milamber 303972352 Mar   7 12:21
> systemvm64template-4.5-kvm.qcow2
> > 3 - -rw-r--r-- 1 milamber milamber 305387008 Sep  4  2014
> systemvm64template-4.5-kvm.qcow2
> >
> >
> > I'm not sure if that's relevant, but yesterday, my upgrade from
> > 4.4.3 to
> 4.5.1 is failed when I would re-create a virtual router (using the
> cloud.com version). I have tried to recreate SSVM and CPVM without
> success too)
> > (Installation type: Adv Network without SG)
> >
> > I made a re-installation of my test platform with a fresh 4.5.1
> > version
> with shapeblue version (more recent), failed too on the start of SSVM
> (blocked on "Cleaning up temporary files..."), after 1 manual VM
> reset, the SSVM started, but the first VR have the same problem and
> the reset don't work like the SSVM.
> > (Installation type: Adv Network with SG)
> >
> > I made another re-installation of the test platform with a fresh
> > 4.5.1
> with apt-get.eu version. OK for SSVM but need to do 1 reset for the
> first VR (and the second VR too).
> > (Installation type: Adv Network without SG)
> >
> >
> > That is relevant?
> >
> > What is the good version?
> >
> > That is a bug for the freeze on "Cleaning up temporary files"?
> >
> > Why the Systemvm checksum is hard-coded in the class? If I had make
> > my
> upgrade with the shapeblue or apt-get.eu version I think an error will
> be occur on Upgrade process?
> >
> >
> > Milamber
> >
> > 
> > [1]
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en
> /4.5.1/upgrade/upgrade-4.4.html#update-system-vm-templates
> > [2]
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/
> 4.5/management-server/index.html#prepare-the-system-vm-template
> > [3]
> https://git

[GitHub] cloudstack pull request: CLOUDSTACK-6181: Allow RBD volumes to be ...

2015-05-26 Thread andrijapanic
Github user andrijapanic commented on the pull request:

https://github.com/apache/cloudstack/pull/281#issuecomment-105579878
  
Daan, will test today/tomorow (Im in a little bit specific situation right 
now)... Thx for backporting this.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-6181: Allow RBD volumes to be ...

2015-05-26 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/281#issuecomment-105575874
  
@andrijapanic do you still want this? I expect you to test it when we make 
an RC!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8506 extra check on unknown vl...

2015-05-26 Thread DaanHoogland
GitHub user DaanHoogland opened a pull request:

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

CLOUDSTACK-8506 extra check on unknown vlan

@wilderrodrigues 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/DaanHoogland/cloudstack master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/306.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #306


commit 18b324177048fb7fcd076cd7160207932340948f
Author: Daan Hoogland 
Date:   2015-05-26T14:22:28Z

CLOUDSTACK-8506 extra check on unknown vlan




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: 4.4.4 fixes

2015-05-26 Thread DaanHoogland
Github user DaanHoogland closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8506

2015-05-26 Thread asfgit
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: refresh browser - logged out from ACS ?

2015-05-26 Thread Andrija Panic
Thx Rafael, as usuall :)

I remember there was some thread on this topic, but cant really find it...

On 26 May 2015 at 17:14, Rafael Fonseca  wrote:

> Hi Andrija,
>
> I noticed the same is also happening on the 4.6.0-SNAPSHOT .. it's a bit
> annoying.
>
> I'll have a closer look later today if i can find the time for it :)
>
>
> On Tue, May 26, 2015 at 4:11 PM, Andrija Panic 
> wrote:
>
> > Hi guys,
> >
> > just wondering - when I refresh browser/UI I get logged out of ACS -
> 4.4.3
> > (testing with 4.5.1 in few minutes...).
> >
> > I remember there was some thread on this, but can't really find it
> anywhere
> >
> > This behaviour is not present in 4.3 and prior AFAIK.
> >
> > Any tips ?
> > --
> >
> > Andrija Panić
> >
>



-- 

Andrija Panić


Re: refresh browser - logged out from ACS ?

2015-05-26 Thread Rafael Fonseca
Hi Andrija,

I noticed the same is also happening on the 4.6.0-SNAPSHOT .. it's a bit
annoying.

I'll have a closer look later today if i can find the time for it :)


On Tue, May 26, 2015 at 4:11 PM, Andrija Panic 
wrote:

> Hi guys,
>
> just wondering - when I refresh browser/UI I get logged out of ACS - 4.4.3
> (testing with 4.5.1 in few minutes...).
>
> I remember there was some thread on this, but can't really find it anywhere
>
> This behaviour is not present in 4.3 and prior AFAIK.
>
> Any tips ?
> --
>
> Andrija Panić
>


[GitHub] cloudstack pull request: Build and create tomcat, fix several othe...

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/238#discussion_r31043937
  
--- Diff: 
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtConsoleProxyLoadCommandWrapper.java
 ---
@@ -49,6 +49,11 @@ public Answer executeProxyLoadScan(final Command cmd, 
final long proxyVmId, fina
 final URL url = new URL(sb.toString());
 final URLConnection conn = url.openConnection();
 
+// setting TIMEOUTs to avoid possible waiting until death 
situations
--- End diff --

@wilderrodrigues 

You may also want to get this into the libvirt refactor work you're doing.

This is a copy/paste from:

git/rsafonseca/cloudstack/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/wrapper/citrix/CitrixConsoleProxyLoadCommandWrapper.java



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: support for /31 Networks

2015-05-26 Thread Daan Hoogland
Devender, do you have a test possibility? Wilder made a fix for master
which I backported to 4.4:
https://github.com/DaanHoogland/cloudstack/tree/4.4
If you can please test it.

Op ma 25 mei 2015 om 12:38 schreef Daan Hoogland :

> Devender, You can backport it or wait for 4.4.4. There is still some
> discussion going on. We will put it in the 4.4 branch if possible before
> releasing 4.4.4
>
> Op ma 25 mei 2015 om 06:06 schreef Singh, Devender :
>
> Hi ,
>> Can  I  get patch file  to use /31 subnet in 4.4.2
>>
>> Devender
>>
>> -Original Message-
>> From: Wilder Rodrigues [mailto:wrodrig...@schubergphilis.com]
>> Sent: 22 May 2015 18:23
>> To: dev@cloudstack.apache.org
>> Subject: Re: support for /31 Networks
>>
>> Hi guys,
>>
>> We found when it was changed and the reason why:
>>
>> https://issues.apache.org/jira/browse/CLOUDSTACK-4811
>>
>>
>> I already traced the code and we will change the NetUtils class in order
>> to make it compliant with the RFC 3021
>>
>> The fix will be on ACS 4.6.0 and back ported to the new release 4.4.4.
>>
>> Cheers,
>> Wilder
>>
>> On 22 May 2015, at 10:27, Sanjeev N > sanj...@apache.org>> wrote:
>>
>> Not sure when this check was added excatly :(
>>
>> On Fri, May 22, 2015 at 1:12 AM, Remi Bergsma <
>> rberg...@schubergphilis.com>
>> wrote:
>>
>> Exactly!
>> Left my mail in outbox and missed your reply ;-)
>>
>> @Sanjeev, since you answered the original mail.. Do you know when/where
>> this check was added? Or else I’ll search for it. Let’s open an issue and
>> resolve it.
>>
>> Thanks,
>> Remi
>>
>> On 21 May 2015, at 19:28, Simon Weller > swel...@ena.com>> wrote:
>>
>> You can assigned the network address as a valid ip address from a /31,
>> and this is defined in RFC 3021 (http://www.ietf.org/rfc/rfc3021.txt).
>>
>> This is widely supported on network gear, and in modern operating systems.
>>
>> - Si
>>
>> 
>> From: Remi Bergsma mailto:r...@remi.nl>>
>> Sent: Thursday, May 21, 2015 10:31 AM
>> To: dev@cloudstack.apache.org
>> Subject: Re: support for /31 Networks
>>
>> Hi,
>>
>> This question was answered here as well:
>> http://markmail.org/message/m7vi342uwm4zr5iv
>>
>> Support was removed as /31 has no available ip addresses.
>>
>> Regards,
>> Remi
>>
>> 2015-05-21 16:42 GMT+02:00 Ian Southam :
>>
>> Hi Devender,
>>
>> You have started quite a discussion in our office about using the .0 and
>> putting a host on the cast address …...
>>
>> Just as a matter of interest, why do you do this - we are presuming it
>> does actually work ;)
>>
>> —
>> Grts!
>> Ian
>>
>> On 21 May 2015, at 10:29, Singh, Devender  wrote:
>>
>> Hi Cloudstack Team,
>>
>>
>> We had no problems building and using /31 networks on 4.2.0, but after
>> our upgrade to 4.4.2  we are no longer able to add new ones.
>> We have a lot of them already in place.  As an example I pasted some
>> output from cloudmonkey on a link that is already established and working.
>> Does anyone have a workaround, or can point me in the right direction for
>> a patch?
>> (local) > list networks id=e044c442-48f7-4bae-8c5d-530423a249f7
>> count = 1
>> network:
>> id = e044c442-48f7-4bae-8c5d-530423a249f7
>> name = VLAN180
>> acltype = Domain
>> broadcastdomaintype = Vlan
>> broadcasturi = vlan://180
>> canusefordeploy = False
>> cidr = 202.90.43.0/31
>> displaynetwork = True
>> displaytext = VM-UTILITY-2
>> dns1 = 4.2.2.1
>> domain = ROOT
>> domainid = 8acf0368-e5b1-11e2-b5cf-2ef4cf18a6ae
>> gateway = 202.90.43.0
>> ispersistent = False
>> issystem = False
>> netmask = 255.255.255.254
>> networkofferingavailability = Optional
>> networkofferingconservemode = False
>> networkofferingdisplaytext = private-guest1_switch networkofferingid =
>> 0b63d457-5f5e-426f-a81e-8797e522eb8c
>> networkofferingname = private-guest1_switch physicalnetworkid =
>> cf4c2846-2418-4ba4-b307-6a6405860799
>> related = e044c442-48f7-4bae-8c5d-530423a249f7
>> restartrequired = False
>> service:
>> specifyipranges = True
>> state = Setup
>> strechedl2subnet = False
>> subdomainaccess = True
>> tags:
>> traffictype = Guest
>> type = Shared
>> vlan = 180
>> zoneid = 88066cb4-64ab-4c54-83a9-3279a1e030cb
>> zonename = UTILITY-ZONE-1
>>
>> (local) > list nics nicid=e062922f-c0ea-4f8a-beca-b86146dee622
>> virtualmachineid=842054e6-c379-49fe-92f9-e2fdefa6779f
>> count = 1
>> nic:
>> id = e062922f-c0ea-4f8a-beca-b86146dee622
>> deviceid = 0
>> gateway = 202.90.43.0
>> ipaddress = 202.90.43.1
>> isdefault = True
>> macaddress = 06:ca:b4:00:00:20
>> netmask = 255.255.255.254
>> networkid = e044c442-48f7-4bae-8c5d-530423a249f7
>> virtualmachineid = 842054e6-c379-49fe-92f9-e2fdefa6779f
>> (local) >
>>
>> Devender Kumar Singh
>>
>>
>>
>>
>>
>>


[GitHub] cloudstack pull request:

2015-05-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11365325
  
Hi @rsafonseca,

It's fixed, but I haven't created a PR yet. I want to run a huge bunch of 
tests against it. So, PR will come tomorrow.

Concerning the exception handling, I will deal with that once the code is 
merged. I will refactor that a bit, for both KVM and XenServer.

Cheers,
Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


refresh browser - logged out from ACS ?

2015-05-26 Thread Andrija Panic
Hi guys,

just wondering - when I refresh browser/UI I get logged out of ACS - 4.4.3
(testing with 4.5.1 in few minutes...).

I remember there was some thread on this, but can't really find it anywhere

This behaviour is not present in 4.3 and prior AFAIK.

Any tips ?
-- 

Andrija Panić


[GitHub] cloudstack pull request: 4.4.4 fixes

2015-05-26 Thread DaanHoogland
GitHub user DaanHoogland opened a pull request:

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

4.4.4 fixes



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/DaanHoogland/cloudstack 4.4

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/305.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #305


commit 5fe68990dc16972232e4e0ce2d6072d01be89cc1
Author: Rafael da Fonseca 
Date:   2015-05-21T08:10:05Z

Fixed problem with static files reload: - Tomcat was not caching most 
static files in index.jsp due to changing timestamp - Page reload performance 
was very poor - Issue affects all versions since 4.0

Signed-off-by: Rohit Yadav 

This closes #277

 Conflicts:
ui/index.jsp

commit 5a8de8d7bd81a26e6c13220bfb52d6efc791d058
Author: Daan Hoogland 
Date:   2015-05-26T13:46:39Z

CLOUDSTACK-8506 slash 31 bit backport




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Swift 2.x as Secondary Storage - auth v2 ?

2015-05-26 Thread Andrija Panic
For the time being, we are looking into OSS solutions for the storage, but
will consider other stuff to.

Thx for sharing

On 26 May 2015 at 15:24, Erik Weber  wrote:

> If it's within your budget, we've had good results with NetApp and are
> happy to recommend it.
> I'm not responsible for configuring it, so I cannot say anything about how
> we do that, but we're using it's clustering abilities and haven't had any
> downtime on it.
>
> I believe the guys at Shuberg Philis also use NetApp(?)
>
> --
> Erik
>
> On Tue, May 26, 2015 at 3:18 PM, Andrija Panic 
> wrote:
>
> > Thx Erik, Interesting stuff :)
> >
> > We will test for now how Swift emulates S3 :)
> >
> > In general, we try to avoid single/multiply NFS boxes for SPOF and
> scaling
> > reasons, as Secondary Storage, so we are yet to come with good solution,
> > that works in ACS in nice fashion...
> >
> >
> > On 26 May 2015 at 15:13, Erik Weber  wrote:
> >
> > > These are probably a bit early to use anywhere production, but they do
> > look
> > > interesting:
> > > https://github.com/bouncestorage/swiftproxy
> > > https://github.com/bouncestorage/s3proxy
> > >
> > > --
> > > Erik
> > >
> > > On Tue, May 26, 2015 at 3:09 PM, Pierre-Luc Dion 
> > > wrote:
> > >
> > > > S3 seams the have different behavior, ex:  download PCT status is
> > > display.
> > > > I haven't extensively test but seams to work well,
> > > >
> > > >
> > > > On Tue, May 26, 2015 at 9:05 AM, Andrija Panic <
> > andrija.pa...@gmail.com>
> > > > wrote:
> > > >
> > > > > Guys, is using S3 for Secondary Storage any better supported in ACS
> > in
> > > > your
> > > > > opinion? We plan to also try talking S3 to Swift, to see how that
> > > > works...
> > > > >
> > > > > Thx
> > > > >
> > > > > On 26 May 2015 at 15:03, Erik Weber  wrote:
> > > > >
> > > > > > On Tue, May 26, 2015 at 2:51 PM, Pierre-Luc Dion <
> > pd...@cloudops.com
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hi Andrija,
> > > > > > >
> > > > > > > Swift integration in cloudstack + XenServer require interaction
> > > from
> > > > > > > Xenserver to initiate connection to Swift proxies,  this is
> made
> > > > using
> > > > > > > /etc/xapi.d/plugins/swiftxen which is a fairly old python
> script
> > > that
> > > > > > only
> > > > > > > support Swift api V1.  I've tried to upgrade that script which
> > > seams
> > > > to
> > > > > > be
> > > > > > > a generic one from OpenStack, but the Python version running on
> > > > > XenServer
> > > > > > > Dom0 (XS 6.2) is too old to make the new script work :-S.
> Maybe
> > it
> > > > > would
> > > > > > > on XS 6.5 ?  I don't know if this would be easily fixed on KVM.
> > > > > > >
> > > > > > >
> > > > > > XS 6.5 is still running CentOS 5 in Dom0, so I doubt it.
> > > > > > Wait for the next release which is said to be based on CentOS 7.
> > > > > >
> > > > > > --
> > > > > > Erik
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Andrija Panić
> > > > >
> > > >
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>



-- 

Andrija Panić


Re: Swift 2.x as Secondary Storage - auth v2 ?

2015-05-26 Thread Erik Weber
If it's within your budget, we've had good results with NetApp and are
happy to recommend it.
I'm not responsible for configuring it, so I cannot say anything about how
we do that, but we're using it's clustering abilities and haven't had any
downtime on it.

I believe the guys at Shuberg Philis also use NetApp(?)

-- 
Erik

On Tue, May 26, 2015 at 3:18 PM, Andrija Panic 
wrote:

> Thx Erik, Interesting stuff :)
>
> We will test for now how Swift emulates S3 :)
>
> In general, we try to avoid single/multiply NFS boxes for SPOF and scaling
> reasons, as Secondary Storage, so we are yet to come with good solution,
> that works in ACS in nice fashion...
>
>
> On 26 May 2015 at 15:13, Erik Weber  wrote:
>
> > These are probably a bit early to use anywhere production, but they do
> look
> > interesting:
> > https://github.com/bouncestorage/swiftproxy
> > https://github.com/bouncestorage/s3proxy
> >
> > --
> > Erik
> >
> > On Tue, May 26, 2015 at 3:09 PM, Pierre-Luc Dion 
> > wrote:
> >
> > > S3 seams the have different behavior, ex:  download PCT status is
> > display.
> > > I haven't extensively test but seams to work well,
> > >
> > >
> > > On Tue, May 26, 2015 at 9:05 AM, Andrija Panic <
> andrija.pa...@gmail.com>
> > > wrote:
> > >
> > > > Guys, is using S3 for Secondary Storage any better supported in ACS
> in
> > > your
> > > > opinion? We plan to also try talking S3 to Swift, to see how that
> > > works...
> > > >
> > > > Thx
> > > >
> > > > On 26 May 2015 at 15:03, Erik Weber  wrote:
> > > >
> > > > > On Tue, May 26, 2015 at 2:51 PM, Pierre-Luc Dion <
> pd...@cloudops.com
> > >
> > > > > wrote:
> > > > >
> > > > > > Hi Andrija,
> > > > > >
> > > > > > Swift integration in cloudstack + XenServer require interaction
> > from
> > > > > > Xenserver to initiate connection to Swift proxies,  this is made
> > > using
> > > > > > /etc/xapi.d/plugins/swiftxen which is a fairly old python script
> > that
> > > > > only
> > > > > > support Swift api V1.  I've tried to upgrade that script which
> > seams
> > > to
> > > > > be
> > > > > > a generic one from OpenStack, but the Python version running on
> > > > XenServer
> > > > > > Dom0 (XS 6.2) is too old to make the new script work :-S.  Maybe
> it
> > > > would
> > > > > > on XS 6.5 ?  I don't know if this would be easily fixed on KVM.
> > > > > >
> > > > > >
> > > > > XS 6.5 is still running CentOS 5 in Dom0, so I doubt it.
> > > > > Wait for the next release which is said to be based on CentOS 7.
> > > > >
> > > > > --
> > > > > Erik
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Andrija Panić
> > > >
> > >
> >
>
>
>
> --
>
> Andrija Panić
>


Re: Swift 2.x as Secondary Storage - auth v2 ?

2015-05-26 Thread Andrija Panic
Thx Erik, Interesting stuff :)

We will test for now how Swift emulates S3 :)

In general, we try to avoid single/multiply NFS boxes for SPOF and scaling
reasons, as Secondary Storage, so we are yet to come with good solution,
that works in ACS in nice fashion...


On 26 May 2015 at 15:13, Erik Weber  wrote:

> These are probably a bit early to use anywhere production, but they do look
> interesting:
> https://github.com/bouncestorage/swiftproxy
> https://github.com/bouncestorage/s3proxy
>
> --
> Erik
>
> On Tue, May 26, 2015 at 3:09 PM, Pierre-Luc Dion 
> wrote:
>
> > S3 seams the have different behavior, ex:  download PCT status is
> display.
> > I haven't extensively test but seams to work well,
> >
> >
> > On Tue, May 26, 2015 at 9:05 AM, Andrija Panic 
> > wrote:
> >
> > > Guys, is using S3 for Secondary Storage any better supported in ACS in
> > your
> > > opinion? We plan to also try talking S3 to Swift, to see how that
> > works...
> > >
> > > Thx
> > >
> > > On 26 May 2015 at 15:03, Erik Weber  wrote:
> > >
> > > > On Tue, May 26, 2015 at 2:51 PM, Pierre-Luc Dion  >
> > > > wrote:
> > > >
> > > > > Hi Andrija,
> > > > >
> > > > > Swift integration in cloudstack + XenServer require interaction
> from
> > > > > Xenserver to initiate connection to Swift proxies,  this is made
> > using
> > > > > /etc/xapi.d/plugins/swiftxen which is a fairly old python script
> that
> > > > only
> > > > > support Swift api V1.  I've tried to upgrade that script which
> seams
> > to
> > > > be
> > > > > a generic one from OpenStack, but the Python version running on
> > > XenServer
> > > > > Dom0 (XS 6.2) is too old to make the new script work :-S.  Maybe it
> > > would
> > > > > on XS 6.5 ?  I don't know if this would be easily fixed on KVM.
> > > > >
> > > > >
> > > > XS 6.5 is still running CentOS 5 in Dom0, so I doubt it.
> > > > Wait for the next release which is said to be based on CentOS 7.
> > > >
> > > > --
> > > > Erik
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > >
> >
>



-- 

Andrija Panić


Re: Swift 2.x as Secondary Storage - auth v2 ?

2015-05-26 Thread Erik Weber
These are probably a bit early to use anywhere production, but they do look
interesting:
https://github.com/bouncestorage/swiftproxy
https://github.com/bouncestorage/s3proxy

-- 
Erik

On Tue, May 26, 2015 at 3:09 PM, Pierre-Luc Dion  wrote:

> S3 seams the have different behavior, ex:  download PCT status is display.
> I haven't extensively test but seams to work well,
>
>
> On Tue, May 26, 2015 at 9:05 AM, Andrija Panic 
> wrote:
>
> > Guys, is using S3 for Secondary Storage any better supported in ACS in
> your
> > opinion? We plan to also try talking S3 to Swift, to see how that
> works...
> >
> > Thx
> >
> > On 26 May 2015 at 15:03, Erik Weber  wrote:
> >
> > > On Tue, May 26, 2015 at 2:51 PM, Pierre-Luc Dion 
> > > wrote:
> > >
> > > > Hi Andrija,
> > > >
> > > > Swift integration in cloudstack + XenServer require interaction from
> > > > Xenserver to initiate connection to Swift proxies,  this is made
> using
> > > > /etc/xapi.d/plugins/swiftxen which is a fairly old python script that
> > > only
> > > > support Swift api V1.  I've tried to upgrade that script which seams
> to
> > > be
> > > > a generic one from OpenStack, but the Python version running on
> > XenServer
> > > > Dom0 (XS 6.2) is too old to make the new script work :-S.  Maybe it
> > would
> > > > on XS 6.5 ?  I don't know if this would be easily fixed on KVM.
> > > >
> > > >
> > > XS 6.5 is still running CentOS 5 in Dom0, so I doubt it.
> > > Wait for the next release which is said to be based on CentOS 7.
> > >
> > > --
> > > Erik
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>


Re: Swift 2.x as Secondary Storage - auth v2 ?

2015-05-26 Thread Pierre-Luc Dion
S3 seams the have different behavior, ex:  download PCT status is display.
I haven't extensively test but seams to work well,


On Tue, May 26, 2015 at 9:05 AM, Andrija Panic 
wrote:

> Guys, is using S3 for Secondary Storage any better supported in ACS in your
> opinion? We plan to also try talking S3 to Swift, to see how that works...
>
> Thx
>
> On 26 May 2015 at 15:03, Erik Weber  wrote:
>
> > On Tue, May 26, 2015 at 2:51 PM, Pierre-Luc Dion 
> > wrote:
> >
> > > Hi Andrija,
> > >
> > > Swift integration in cloudstack + XenServer require interaction from
> > > Xenserver to initiate connection to Swift proxies,  this is made using
> > > /etc/xapi.d/plugins/swiftxen which is a fairly old python script that
> > only
> > > support Swift api V1.  I've tried to upgrade that script which seams to
> > be
> > > a generic one from OpenStack, but the Python version running on
> XenServer
> > > Dom0 (XS 6.2) is too old to make the new script work :-S.  Maybe it
> would
> > > on XS 6.5 ?  I don't know if this would be easily fixed on KVM.
> > >
> > >
> > XS 6.5 is still running CentOS 5 in Dom0, so I doubt it.
> > Wait for the next release which is said to be based on CentOS 7.
> >
> > --
> > Erik
> >
>
>
>
> --
>
> Andrija Panić
>


Re: Swift 2.x as Secondary Storage - auth v2 ?

2015-05-26 Thread Andrija Panic
Guys, is using S3 for Secondary Storage any better supported in ACS in your
opinion? We plan to also try talking S3 to Swift, to see how that works...

Thx

On 26 May 2015 at 15:03, Erik Weber  wrote:

> On Tue, May 26, 2015 at 2:51 PM, Pierre-Luc Dion 
> wrote:
>
> > Hi Andrija,
> >
> > Swift integration in cloudstack + XenServer require interaction from
> > Xenserver to initiate connection to Swift proxies,  this is made using
> > /etc/xapi.d/plugins/swiftxen which is a fairly old python script that
> only
> > support Swift api V1.  I've tried to upgrade that script which seams to
> be
> > a generic one from OpenStack, but the Python version running on XenServer
> > Dom0 (XS 6.2) is too old to make the new script work :-S.  Maybe it would
> > on XS 6.5 ?  I don't know if this would be easily fixed on KVM.
> >
> >
> XS 6.5 is still running CentOS 5 in Dom0, so I doubt it.
> Wait for the next release which is said to be based on CentOS 7.
>
> --
> Erik
>



-- 

Andrija Panić


Re: Swift 2.x as Secondary Storage - auth v2 ?

2015-05-26 Thread Erik Weber
On Tue, May 26, 2015 at 2:51 PM, Pierre-Luc Dion  wrote:

> Hi Andrija,
>
> Swift integration in cloudstack + XenServer require interaction from
> Xenserver to initiate connection to Swift proxies,  this is made using
> /etc/xapi.d/plugins/swiftxen which is a fairly old python script that only
> support Swift api V1.  I've tried to upgrade that script which seams to be
> a generic one from OpenStack, but the Python version running on XenServer
> Dom0 (XS 6.2) is too old to make the new script work :-S.  Maybe it would
> on XS 6.5 ?  I don't know if this would be easily fixed on KVM.
>
>
XS 6.5 is still running CentOS 5 in Dom0, so I doubt it.
Wait for the next release which is said to be based on CentOS 7.

-- 
Erik


Re: Swift 2.x as Secondary Storage - auth v2 ?

2015-05-26 Thread Andrija Panic
Hi Pierre,

I understand the Xen limitations, we are here with KVM, and it seems most
of the problems I described, are actually results of our modification to
support v2 auth...

My comments/answer down below :)

On 26 May 2015 at 14:51, Pierre-Luc Dion  wrote:

> Hi Andrija,
>
> Swift integration in cloudstack + XenServer require interaction from
> Xenserver to initiate connection to Swift proxies,  this is made using
> /etc/xapi.d/plugins/swiftxen which is a fairly old python script that only
> support Swift api V1.  I've tried to upgrade that script which seams to be
> a generic one from OpenStack, but the Python version running on XenServer
> Dom0 (XS 6.2) is too old to make the new script work :-S.  Maybe it would
> on XS 6.5 ?  I don't know if this would be easily fixed on KVM.
>
>
> and some correction inline...
>
>
>>>
>>> > Hi people,
>>> >
>>> > anyone using Swift as Region wide Secondary Storage with Swift 2.x,
>>> auth v
>>> > 2.0?
>>> >
>>> > We are rewriting auth scripts/making wraper, and changing systemVM
>>> template
>>> > to support v2 auth, and main download/register tempalte/iso works, but
>>> we
>>> > are hitting many other bugs, that we try to iron out as we speak, some
>>> of
>>> > them  as Pierre alreadyshared:
>>> > - Percentage indiction not working while register/download new
>>> ISO/Template
>>>
>> > - Cant download/extract template/ISO from ACS - by design
>>> > - Can't delete template/ISO (why are checking why...)
>>>
>>
> true only from UI, using the API  the zoneid must *not* be define and the
> UI query using the zoneid.
>
>
>> > - Cant create volume snapshots (we are checking why...)
>>>
>>
> it work, but it's slower then pure NFS, as the snapshot goes on the
> staging NFS then is upload into swift.
>

For us its broken, probably because we messed up with systemVM tempate and
v2 auth...

>
>
>> > - Cant download volume from Primary (we are checking why...)
>>>
>>
> you mean download button on the UI for a Data disk ?
>

Yes, download volume from UI... doesnt work.

>
>
>> > - Upload VOLUME doesn't work (we are checking why...)
>>>
>>
> Upload templates and iso into cloudstack does work, I suspect you are not
> refering to this.
>

Correct, templates and ISOs can be uploaded o ACS, but volumes not -
probably we broke this :)

>
>
>> >
>>> >
>>> > Any opinions/suggestions are most welcome :)
>>> >
>>> >
>>> > I know
>>> >
>>> > --
>>> >
>>> > Andrija Panić
>>> >
>>>
>>
>>
>>
>> --
>>
>> Andrija Panić
>>
>
>


-- 

Andrija Panić


Re: Swift 2.x as Secondary Storage - auth v2 ?

2015-05-26 Thread Pierre-Luc Dion
Hi Andrija,

Swift integration in cloudstack + XenServer require interaction from
Xenserver to initiate connection to Swift proxies,  this is made using
/etc/xapi.d/plugins/swiftxen which is a fairly old python script that only
support Swift api V1.  I've tried to upgrade that script which seams to be
a generic one from OpenStack, but the Python version running on XenServer
Dom0 (XS 6.2) is too old to make the new script work :-S.  Maybe it would
on XS 6.5 ?  I don't know if this would be easily fixed on KVM.


and some correction inline...


>>
>> > Hi people,
>> >
>> > anyone using Swift as Region wide Secondary Storage with Swift 2.x,
>> auth v
>> > 2.0?
>> >
>> > We are rewriting auth scripts/making wraper, and changing systemVM
>> template
>> > to support v2 auth, and main download/register tempalte/iso works, but
>> we
>> > are hitting many other bugs, that we try to iron out as we speak, some
>> of
>> > them  as Pierre alreadyshared:
>> > - Percentage indiction not working while register/download new
>> ISO/Template
>>
> > - Cant download/extract template/ISO from ACS - by design
>> > - Can't delete template/ISO (why are checking why...)
>>
>
true only from UI, using the API  the zoneid must *not* be define and the
UI query using the zoneid.


> > - Cant create volume snapshots (we are checking why...)
>>
>
it work, but it's slower then pure NFS, as the snapshot goes on the staging
NFS then is upload into swift.


> > - Cant download volume from Primary (we are checking why...)
>>
>
you mean download button on the UI for a Data disk ?


> > - Upload VOLUME doesn't work (we are checking why...)
>>
>
Upload templates and iso into cloudstack does work, I suspect you are not
refering to this.


> >
>> >
>> > Any opinions/suggestions are most welcome :)
>> >
>> >
>> > I know
>> >
>> > --
>> >
>> > Andrija Panić
>> >
>>
>
>
>
> --
>
> Andrija Panić
>


[GitHub] cloudstack pull request:

2015-05-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11362664
  
Cool, @rsafonseca !

I will post the results here.

Thanks for the help.

Cheers,
Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11362623
  
Yep... I got the line (code) on it here.

But It's a weird situation and I want to make sure that the agent built by 
Jenkins is not different from the we built ourselves.

I'm cleaning my environment and will test the new agent with the same code, 
to double-check its behaviour.

1. Code from 8th May works with Agent from 11th May - built by Jenkins
2. Code from 8th May does not work with Agent built locally
3. Will test if code from 8th May works with Agent built on 26th May - by 
Jenkins

Will keep you in the loop.

Cheers,
Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11362581
  
I can't test ATM, but i will do so later when i get home :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11362538
  
Well.. it's actually this line, perhaps i was mistaken about line 72.. just 
got that from my fuzzy memory :)

conn = 
libvirtUtilitiesHelper.getConnectionByType(vm.getHvsType());



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11362482
  
Build is done: 
http://jenkins.buildacloud.org/job/package-centos7-master/171/

I will try with that agent now.

Could you please try as well?

Cheers,
Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Pep8 changes that got lost with the stran...

2015-05-26 Thread isoutham
Github user isoutham commented on the pull request:

https://github.com/apache/cloudstack/pull/304#issuecomment-105500276
  
Jenkins fails on


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11362169
  
Hi @rsafonseca 

Thanks for the logs... we are now on the same page: I also built the agent 
and tried (with Marvin) to get a datacenter running. In the vmops.log I see 
errors concerning the commands being sent to the agent.

I talked to @DaanHoogland and a new centos7 agent is being built on 
jenkins.buildacloud as we speak. Why that? Because looking at the history the 
Libvirt refactor was pushed towards master 3 weeks ago, on the 8th May. That 
means that the Agent I was using, from 11th, was compatible with my changes.

Line 72 is actually bout the utilities, which is not injected then.

Are we missing something when building the agent? The same code is executed 
okay when using the jenkins.buildacloud agent.

Let's see what happens when the agent build is done.

Cheers,
Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11362046
  
Just to be clear... NO error is logged in the agent logs when this occurs 
(with the current code). It just keeps trying to create and delete the new vm's 
disk and shows no error when it fails to start. The only error is shown in the 
management server logs.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11361983
  
java.lang.NullPointerException
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:73

This is actually thrown in LibvirtStartCommandWrapper.java:72 , not 73.. 
the increment was due to some other debugging code i had put in there :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11361958
  
It's actually sending an UnsupportedAnswer.class object, that is why it's 
not StartAnswer.class.

Putting some debug in the LibvirtComputingResource.java i get this in the 
agent log:

java.lang.NullPointerException
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:73)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:46)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:75)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1263)
at com.cloud.agent.Agent.processRequest(Agent.java:503)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:809)
at com.cloud.utils.nio.Task.run(Task.java:84)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStopCommandWrapper.execute(LibvirtStopCommandWrapper.java:64)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStopCommandWrapper.execute(LibvirtStopCommandWrapper.java:40)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:75)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1263)
at com.cloud.agent.Agent.processRequest(Agent.java:503)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:809)
at com.cloud.utils.nio.Task.run(Task.java:84)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11361925
  
@wilderrodrigues 
Yes, i mean creating datacenter manually, since creating it in simulator 
with marvin shows no errors.

Here's what's logged in the management server log:

com.cloud.utils.exception.CloudRuntimeException: Unable to get answer that 
is of class com.cloud.agent.api.StartAnswer
at com.cloud.agent.manager.Commands.getAnswer(Commands.java:80)
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1023)
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4524)
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:606)
at 
com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
at 
com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4680)
at 
com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:103)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:537)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:494)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)







---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8445: Keep only dvs tag for te...

2015-05-26 Thread gauravaradhye
Github user gauravaradhye closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Pep8 changes that got lost with the stran...

2015-05-26 Thread isoutham
GitHub user isoutham opened a pull request:

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

Pep8 changes that got lost with the strange double push request probl…

pep8 changes and a couple of minor fixes to the test/systemvm/python unit 
tests.

The unit tests are just a placeholder and setup some basic mocks.  I will 
be putting some meat on these bones over the next few weeks.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/isoutham/cloudstack feature_fix_pep8_2

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/304.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #304


commit 56483436f028aaf0821ce3c1fad144d6cbd9f47c
Author: Ian Southam 
Date:   2015-05-26T11:07:43Z

Pep8 changes that got lost with the strange double push request problem 
last time




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11360697
  
@rsafonseca 

I'm building the agent for centos7 now, it will take a while. In meantime, 
could you please send me your agents logs?

One last question: by "basic startup wizard" do you mean creating a 
datacenter manually?

Cheers,
Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [bug]Preshared key not created when enable remote VPN

2015-05-26 Thread Andrija Panic
Ah, ok. Sorry for confision.

Thanks Jayapal

On 26 May 2015 at 11:43, Jayapal Reddy Uradi 
wrote:

> Andrija,
>
> This commit is already there in master.
> d81e831214cafc2c9f1e4f8e7de56fca65c2215f
>
> Thanks,
> Jayapal
>
> On 26-May-2015, at 3:03 PM, Andrija Panic 
>  wrote:
>
> > Jayapal,
> >
> > did I understood correctly, that you just reverted it back so we can get
> > PSK in APU/UI?
> >
> > Thanks,
> > Andrija
> >
> > On 26 May 2015 at 11:20, Jayapal Reddy Uradi <
> jayapalreddy.ur...@citrix.com>
> > wrote:
> >
> >> Hi Andrija,
> >>
> >> Listing PSK in API is removed for security reason and it got reverted
> >> again.
> >> This is commit revert id d81e831214cafc2c9f1e4f8e7de56fca65c2215f
> >>
> >> Thanks,
> >> Jayapal
> >>
> >>
> >>
> >> On 26-May-2015, at 2:45 PM, Andrija Panic 
> >> wrote:
> >>
> >>> Hi Jayapal,
> >>>
> >>> "vpn_server_addr_id" "account_id" "network_id" "domain_id" "local_ip"
> >>> "ip_range" "ipsec_psk" "state" "id" "uuid" "vpc_id" "display"
> >>> "16" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> >>> "5bqKeKhqqWvHx8Re2hZVK7AC" "Running" "1"
> >>> "b037d8b2-1ebf-4450-8c76-7bd9c73f0745" "7" "1"
> >>> "13" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> >>> "bvTSjdtHuSdKbQh4av6VSKDT" "Running" "4"
> >>> "c5e5bcda-668e-4836-9388-9dd857620bd5" "4" "1"
> >>> "22" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> >>> "GPnNeO54WerfBmOsP4RbBr9p" "Running" "13"
> >>> "1c84385f-4c51-48ef-9b30-a85e530795ef" "10" "1"
> >>> "7" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> >>> "e3vdYtAEbprNza2SAFqHKa9F" "Running" "22"
> >>> "8f358c3b-bde0-45c6-8a36-1f07821243bc" "1" "1"
> >>>
> >>> meaning it seems fine in DB (this is only test env at the moment).
> >>>
> >>> Regards,
> >>> Andrija
> >>>
> >>> On 26 May 2015 at 11:09, Jayapal Reddy Uradi <
> >> jayapalreddy.ur...@citrix.com>
> >>> wrote:
> >>>
>  Hi Andrija,
> 
>  Is it not listing in the API or the PSK itself is not there DB ?
>  Can you check the table once.
>  SELECT * FROM cloud.remote_access_vpn;
> 
>  Thanks,
>  Jayapal
>  On 26-May-2015, at 2:35 PM, Andrija Panic 
> >> wrote:
> 
> > Hi,
> >
> > anybody familiar with some workarround/fix for this one:
> > https://issues.apache.org/jira/browse/CLOUDSTACK-8407 ?
> >
> > Thanks,
> >
> > --
> >
> > Andrija Panić
> 
> 
> >>>
> >>>
> >>> --
> >>>
> >>> Andrija Panić
> >>
> >>
> >
> >
> > --
> >
> > Andrija Panić
>
>


-- 

Andrija Panić


[GitHub] cloudstack pull request: CLOUDSTACK-8506

2015-05-26 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/303#issuecomment-105469798
  
lgtm, the pull request builder is failing with a known issue. testing 
locally


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11360322
  
Hi @rsafonseca

So you built the Agent. I will do the same and give it a try.

 Concerning the version from jenkins.buildacloud, I will check with 
@DaanHoogland why it's not building the latest code. We should be able to get 
latest snapshot from there, but looking at the date I realised last one was 
built on 11th May, which is pretty old.

The try/catch can be dealt with afterwards. Let's try to reproduce this 
problem first and get it fixed.

Cheers,
Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [bug]Preshared key not created when enable remote VPN

2015-05-26 Thread Jayapal Reddy Uradi
Andrija,

This commit is already there in master.
d81e831214cafc2c9f1e4f8e7de56fca65c2215f

Thanks,
Jayapal

On 26-May-2015, at 3:03 PM, Andrija Panic 
 wrote:

> Jayapal,
> 
> did I understood correctly, that you just reverted it back so we can get
> PSK in APU/UI?
> 
> Thanks,
> Andrija
> 
> On 26 May 2015 at 11:20, Jayapal Reddy Uradi 
> wrote:
> 
>> Hi Andrija,
>> 
>> Listing PSK in API is removed for security reason and it got reverted
>> again.
>> This is commit revert id d81e831214cafc2c9f1e4f8e7de56fca65c2215f
>> 
>> Thanks,
>> Jayapal
>> 
>> 
>> 
>> On 26-May-2015, at 2:45 PM, Andrija Panic 
>> wrote:
>> 
>>> Hi Jayapal,
>>> 
>>> "vpn_server_addr_id" "account_id" "network_id" "domain_id" "local_ip"
>>> "ip_range" "ipsec_psk" "state" "id" "uuid" "vpc_id" "display"
>>> "16" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
>>> "5bqKeKhqqWvHx8Re2hZVK7AC" "Running" "1"
>>> "b037d8b2-1ebf-4450-8c76-7bd9c73f0745" "7" "1"
>>> "13" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
>>> "bvTSjdtHuSdKbQh4av6VSKDT" "Running" "4"
>>> "c5e5bcda-668e-4836-9388-9dd857620bd5" "4" "1"
>>> "22" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
>>> "GPnNeO54WerfBmOsP4RbBr9p" "Running" "13"
>>> "1c84385f-4c51-48ef-9b30-a85e530795ef" "10" "1"
>>> "7" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
>>> "e3vdYtAEbprNza2SAFqHKa9F" "Running" "22"
>>> "8f358c3b-bde0-45c6-8a36-1f07821243bc" "1" "1"
>>> 
>>> meaning it seems fine in DB (this is only test env at the moment).
>>> 
>>> Regards,
>>> Andrija
>>> 
>>> On 26 May 2015 at 11:09, Jayapal Reddy Uradi <
>> jayapalreddy.ur...@citrix.com>
>>> wrote:
>>> 
 Hi Andrija,
 
 Is it not listing in the API or the PSK itself is not there DB ?
 Can you check the table once.
 SELECT * FROM cloud.remote_access_vpn;
 
 Thanks,
 Jayapal
 On 26-May-2015, at 2:35 PM, Andrija Panic 
>> wrote:
 
> Hi,
> 
> anybody familiar with some workarround/fix for this one:
> https://issues.apache.org/jira/browse/CLOUDSTACK-8407 ?
> 
> Thanks,
> 
> --
> 
> Andrija Panić
 
 
>>> 
>>> 
>>> --
>>> 
>>> Andrija Panić
>> 
>> 
> 
> 
> -- 
> 
> Andrija Panić



[GitHub] cloudstack pull request:

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11360242
  
Hi @wilderrodrigues 
Everything is built on the latest code in my testing, so agent is 
4.6.0-SNAPSHOT as well.

The issue happens going through the basic startup wizard and deploying 
system vms (ssvm and console proxy), try to reproduce using that :)

I just mentioned that uncool try/catch because it was preventing proper 
debugging whenever the issue occurs, this was just a heads up to help you debug 
the issue once you are able to reproduce it, not an indication of the root 
cause :)

I can also give it a try with the version you're referring to (not the 
lastest) to see if the issue was already present when that package got built, 
anyway, i can only do it later tonight, as my dayjob is gonna keep me busy the 
whole day today :)

Cheers,

RF





---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [bug]Preshared key not created when enable remote VPN

2015-05-26 Thread Andrija Panic
Jayapal,

did I understood correctly, that you just reverted it back so we can get
PSK in APU/UI?

Thanks,
Andrija

On 26 May 2015 at 11:20, Jayapal Reddy Uradi 
wrote:

> Hi Andrija,
>
> Listing PSK in API is removed for security reason and it got reverted
> again.
> This is commit revert id d81e831214cafc2c9f1e4f8e7de56fca65c2215f
>
> Thanks,
> Jayapal
>
>
>
> On 26-May-2015, at 2:45 PM, Andrija Panic 
>  wrote:
>
> > Hi Jayapal,
> >
> > "vpn_server_addr_id" "account_id" "network_id" "domain_id" "local_ip"
> > "ip_range" "ipsec_psk" "state" "id" "uuid" "vpc_id" "display"
> > "16" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> > "5bqKeKhqqWvHx8Re2hZVK7AC" "Running" "1"
> > "b037d8b2-1ebf-4450-8c76-7bd9c73f0745" "7" "1"
> > "13" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> > "bvTSjdtHuSdKbQh4av6VSKDT" "Running" "4"
> > "c5e5bcda-668e-4836-9388-9dd857620bd5" "4" "1"
> > "22" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> > "GPnNeO54WerfBmOsP4RbBr9p" "Running" "13"
> > "1c84385f-4c51-48ef-9b30-a85e530795ef" "10" "1"
> > "7" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> > "e3vdYtAEbprNza2SAFqHKa9F" "Running" "22"
> > "8f358c3b-bde0-45c6-8a36-1f07821243bc" "1" "1"
> >
> > meaning it seems fine in DB (this is only test env at the moment).
> >
> > Regards,
> > Andrija
> >
> > On 26 May 2015 at 11:09, Jayapal Reddy Uradi <
> jayapalreddy.ur...@citrix.com>
> > wrote:
> >
> >> Hi Andrija,
> >>
> >> Is it not listing in the API or the PSK itself is not there DB ?
> >> Can you check the table once.
> >> SELECT * FROM cloud.remote_access_vpn;
> >>
> >> Thanks,
> >> Jayapal
> >> On 26-May-2015, at 2:35 PM, Andrija Panic 
> wrote:
> >>
> >>> Hi,
> >>>
> >>> anybody familiar with some workarround/fix for this one:
> >>> https://issues.apache.org/jira/browse/CLOUDSTACK-8407 ?
> >>>
> >>> Thanks,
> >>>
> >>> --
> >>>
> >>> Andrija Panić
> >>
> >>
> >
> >
> > --
> >
> > Andrija Panić
>
>


-- 

Andrija Panić


[GitHub] cloudstack pull request:

2015-05-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11360136
  
Hi @rsafonseca 

The snippet you pointed in the previous comment (i.e. try/catch) with the 
Exception being caught is not cool, right. However, did part of the code was 
not changed during the refactor. If you look at the history you will see that 
it has been catching Exception since the beginning. I'm not saying that it's 
right, but it cannot be pointed at as the root cause.

In my previous comment I showed that VMs can also been created manually 
(via the wizard). Could you please try to update your agent on the KVM host? 
You can download it from here: 
http://jenkins.buildacloud.org/job/package-centos7-master/ - that's the one I'm 
using.

Did you built the agent based on the latest code? If so, I will do the same 
and see how it goes.

Cheers,
Wilder

  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11359931
  
I did manual tests as well.

Doing again now...


![image](https://cloud.githubusercontent.com/assets/5129209/7809305/75f5e738-0399-11e5-9a84-1505f5d13da2.png)


What is the version of you ACS agent on the KVM host?

Cheers,
Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [bug]Preshared key not created when enable remote VPN

2015-05-26 Thread Jayapal Reddy Uradi
Hi Andrija,

Listing PSK in API is removed for security reason and it got reverted again.
This is commit revert id d81e831214cafc2c9f1e4f8e7de56fca65c2215f

Thanks,
Jayapal



On 26-May-2015, at 2:45 PM, Andrija Panic 
 wrote:

> Hi Jayapal,
> 
> "vpn_server_addr_id" "account_id" "network_id" "domain_id" "local_ip"
> "ip_range" "ipsec_psk" "state" "id" "uuid" "vpc_id" "display"
> "16" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> "5bqKeKhqqWvHx8Re2hZVK7AC" "Running" "1"
> "b037d8b2-1ebf-4450-8c76-7bd9c73f0745" "7" "1"
> "13" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> "bvTSjdtHuSdKbQh4av6VSKDT" "Running" "4"
> "c5e5bcda-668e-4836-9388-9dd857620bd5" "4" "1"
> "22" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> "GPnNeO54WerfBmOsP4RbBr9p" "Running" "13"
> "1c84385f-4c51-48ef-9b30-a85e530795ef" "10" "1"
> "7" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
> "e3vdYtAEbprNza2SAFqHKa9F" "Running" "22"
> "8f358c3b-bde0-45c6-8a36-1f07821243bc" "1" "1"
> 
> meaning it seems fine in DB (this is only test env at the moment).
> 
> Regards,
> Andrija
> 
> On 26 May 2015 at 11:09, Jayapal Reddy Uradi 
> wrote:
> 
>> Hi Andrija,
>> 
>> Is it not listing in the API or the PSK itself is not there DB ?
>> Can you check the table once.
>> SELECT * FROM cloud.remote_access_vpn;
>> 
>> Thanks,
>> Jayapal
>> On 26-May-2015, at 2:35 PM, Andrija Panic  wrote:
>> 
>>> Hi,
>>> 
>>> anybody familiar with some workarround/fix for this one:
>>> https://issues.apache.org/jira/browse/CLOUDSTACK-8407 ?
>>> 
>>> Thanks,
>>> 
>>> --
>>> 
>>> Andrija Panić
>> 
>> 
> 
> 
> -- 
> 
> Andrija Panić



RE: [GitHub] cloudstack pull request: CLOUDSTACK-8231: fixed merge conflicts wi...

2015-05-26 Thread Vadim Kimlaychuk
Rohit,

I have merged my local branch with master and resolved conflicts.  Pull 
request showed modifications that I have made precisely. But when I created the 
request it contains multiple files (not just those I have changed). Please 
review this. I think I have done something wrong again.

Vadim.

-Original Message-
From: vadimkim [mailto:g...@git.apache.org] 
Sent: Tuesday, May 26, 2015 12:10 PM
To: dev@cloudstack.apache.org
Subject: [GitHub] cloudstack pull request: CLOUDSTACK-8231: fixed merge 
conflicts wi...

GitHub user vadimkim opened a pull request:

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

CLOUDSTACK-8231: fixed merge conflicts with previous patch

We need to port this update to 4.5 branch as well.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/vadimkim/cloudstack master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/302.patch

To close this pull request, make a commit to your master/trunk branch with (at 
least) the following in the commit message:

This closes #302


commit 7ee9b1042f35a2998217d973b5ee447ca68497fb
Author: Vadim Kimlaychuk 
Date:   2015-05-20T19:08:29Z

CLOUDSTACK-8231: Fixed UI empty drop-down list for LB rules

commit a064911d440170185b69001deb28b8b2173b4d05
Author: Vadim Kimlaychuk 
Date:   2015-05-21T07:18:41Z

CLOUDSTACK-8231: fixed call to getLbAlgorithms() function in order to merge 
results from static and dynamic data

commit 7abf21f9c8a80dd9bf42c564f9eb56f0a6f9d7cf
Author: Vadim Kimlaychuk 
Date:   2015-05-21T07:44:20Z

CLOUDSTACK-8231: reverted 7ee9b1042 commit logic

commit ff31d1f20bc2ef05c82ab10556ee8cf274a39a84
Author: Vadim Kimlaychuk 
Date:   2015-05-26T09:06:27Z

Merge remote-tracking branch 'upstream/master'

Conflicts:
ui/scripts/network.js




---
If your project is set up for it, you can reply to this email and have your 
reply appear on GitHub as well. If your project does not have this feature 
enabled and wishes so, or if the feature is enabled but not working, please 
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with 
INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8506

2015-05-26 Thread wilderrodrigues
GitHub user wilderrodrigues opened a pull request:

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

CLOUDSTACK-8506

Removing the previous logic and adding a method to check if the CIDR is 31 
bit prefixed
Adding tests for the new method

@DaanHoogland, could you have a look?

Tests:

Test advanced zone virtual router ... === TestName: 
test_advZoneVirtualRouter | Status : SUCCESS ===
ok
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : 
SUCCESS ===
ok
Test Multiple Deploy Virtual Machine ... === TestName: 
test_deploy_vm_multiple | Status : SUCCESS ===
ok
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : 
SUCCESS ===
ok
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : 
SUCCESS ===
ok
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : 
SUCCESS ===
ok
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status 
: SUCCESS ===
ok
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status 
: SUCCESS ===
ok
Test migrate VM ... SKIP: At least two hosts should be present in the zone 
for migration
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm 
| Status : SUCCESS ===
ok

--
Ran 10 tests in 2662.908s

OK (SKIP=1)
/tmp//MarvinLogs/test_vm_life_cycle_R8HIX4/results.txt (END

Manual tests:

Added 2 pub networks on my KVM based  DC


![image](https://cloud.githubusercontent.com/assets/5129209/7809140/791823c8-0398-11e5-863d-279477cadd18.png)

Smae was done for  XenServer 6.32

Cheers,
Wilder

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/schubergphilis/cloudstack 
fix/RFC_3021_31_Bit_Prefixes

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/303.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #303


commit 62736abeb29f1250e3078ec474fc246f7960d80d
Author: wilderrodrigues 
Date:   2015-05-26T06:48:43Z

CLOUDSTACK-8506

Removing the previous logic and adding a method to check if the CIDR is 31 
bit prefixed
Adding tests for the new method




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [bug]Preshared key not created when enable remote VPN

2015-05-26 Thread Andrija Panic
Hi Jayapal,

"vpn_server_addr_id" "account_id" "network_id" "domain_id" "local_ip"
"ip_range" "ipsec_psk" "state" "id" "uuid" "vpc_id" "display"
"16" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
"5bqKeKhqqWvHx8Re2hZVK7AC" "Running" "1"
"b037d8b2-1ebf-4450-8c76-7bd9c73f0745" "7" "1"
"13" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
"bvTSjdtHuSdKbQh4av6VSKDT" "Running" "4"
"c5e5bcda-668e-4836-9388-9dd857620bd5" "4" "1"
"22" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
"GPnNeO54WerfBmOsP4RbBr9p" "Running" "13"
"1c84385f-4c51-48ef-9b30-a85e530795ef" "10" "1"
"7" "2" \N "1" "192.168.156.1" "192.168.156.2-192.168.156.50"
"e3vdYtAEbprNza2SAFqHKa9F" "Running" "22"
"8f358c3b-bde0-45c6-8a36-1f07821243bc" "1" "1"

meaning it seems fine in DB (this is only test env at the moment).

Regards,
Andrija

On 26 May 2015 at 11:09, Jayapal Reddy Uradi 
wrote:

> Hi Andrija,
>
> Is it not listing in the API or the PSK itself is not there DB ?
> Can you check the table once.
> SELECT * FROM cloud.remote_access_vpn;
>
> Thanks,
> Jayapal
> On 26-May-2015, at 2:35 PM, Andrija Panic  wrote:
>
> > Hi,
> >
> > anybody familiar with some workarround/fix for this one:
> > https://issues.apache.org/jira/browse/CLOUDSTACK-8407 ?
> >
> > Thanks,
> >
> > --
> >
> > Andrija Panić
>
>


-- 

Andrija Panić


Re: [bug]Preshared key not created when enable remote VPN

2015-05-26 Thread Jayapal Reddy Uradi
Hi Andrija,

Is it not listing in the API or the PSK itself is not there DB ?
Can you check the table once.
SELECT * FROM cloud.remote_access_vpn;

Thanks,
Jayapal
On 26-May-2015, at 2:35 PM, Andrija Panic  wrote:

> Hi,
> 
> anybody familiar with some workarround/fix for this one:
> https://issues.apache.org/jira/browse/CLOUDSTACK-8407 ?
> 
> Thanks,
> 
> -- 
> 
> Andrija Panić



[GitHub] cloudstack pull request: CLOUDSTACK-8231: fixed merge conflicts wi...

2015-05-26 Thread vadimkim
GitHub user vadimkim opened a pull request:

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

CLOUDSTACK-8231: fixed merge conflicts with previous patch

We need to port this update to 4.5 branch as well.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/vadimkim/cloudstack master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/302.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #302


commit 7ee9b1042f35a2998217d973b5ee447ca68497fb
Author: Vadim Kimlaychuk 
Date:   2015-05-20T19:08:29Z

CLOUDSTACK-8231: Fixed UI empty drop-down list for LB rules

commit a064911d440170185b69001deb28b8b2173b4d05
Author: Vadim Kimlaychuk 
Date:   2015-05-21T07:18:41Z

CLOUDSTACK-8231: fixed call to getLbAlgorithms() function in order to merge 
results from static and dynamic data

commit 7abf21f9c8a80dd9bf42c564f9eb56f0a6f9d7cf
Author: Vadim Kimlaychuk 
Date:   2015-05-21T07:44:20Z

CLOUDSTACK-8231: reverted 7ee9b1042 commit logic

commit ff31d1f20bc2ef05c82ab10556ee8cf274a39a84
Author: Vadim Kimlaychuk 
Date:   2015-05-26T09:06:27Z

Merge remote-tracking branch 'upstream/master'

Conflicts:
ui/scripts/network.js




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11359702
  
This is where ANY exception gets thrown into an UnsupportedCommandAnswer, 
with no information about the actual exception being sent back to the agent:


LibvirtComputingResource.java:

@Override
public Answer executeRequest(final Command cmd) {

final LibvirtRequestWrapper wrapper = 
LibvirtRequestWrapper.getInstance();
try {
return wrapper.execute(cmd, this);
} catch (final Exception e) {
return Answer.createUnsupportedCommandAnswer(cmd);
}
}


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11359669
  
This happens in all my environments (Ubuntu, Fedora21, Centos6, Centos7)
All marvin tests run fine in all environments.
Upon doing an actual install and going through the setup wizard, issue 
occurs after initializing host and attempting to deploy systemvms.
The only failure that gets logged is in management server logs stating that 
response is not of type StartAnswer or something like that. It's actually of 
time UnsupportedAnswer, because it gets created as such due to any exception 
ocurring in the Wrapper's execution.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[bug]Preshared key not created when enable remote VPN

2015-05-26 Thread Andrija Panic
Hi,

anybody familiar with some workarround/fix for this one:
https://issues.apache.org/jira/browse/CLOUDSTACK-8407 ?

Thanks,

-- 

Andrija Panić


[GitHub] cloudstack pull request:

2015-05-26 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11359616
  
@rsafonseca 

We running several Marvin tests (component/smoke) with KVm before sending 
PRs. We execute test_routers, test_vm_life_cycle, test_private_gw, 
test_service_offerings, test_vpc_routers, etc. It working fine,

Someone made the same comment before, but unfortunately we cannot reproduce 
it as it's just working. Below screenshot from VM that is under tests now:


![image](https://cloud.githubusercontent.com/assets/5129209/7808846/5e69c7f4-0396-11e5-8855-291bb4855d3c.png)

Could you please tell me what test environment you have and the steps you 
used to reproduce it?

Cheers,
Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8231: reverted 7ee9b10 commit ...

2015-05-26 Thread vadimkim
Github user vadimkim closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request:

2015-05-26 Thread rsafonseca
Github user rsafonseca commented on the pull request:


https://github.com/apache/cloudstack/commit/0cdb4b610865fa5493cc79e9c9ef310bdf09ccaf#commitcomment-11359437
  
Hi @wilderrodrigues 
The refactoring of the Libvirt broke Libvirt functionality in runtime.
Whenever spinning up a new instance in master, deploying VMs with kvm fails 
with no useful info in the logs.
Upon getting some debugging in, it seems that the injected 
LibvirtUtilitiesHelper is returning null at runtime:

LibvirtComputingResource.java:

@Inject
private LibvirtUtilitiesHelper libvirtUtilitiesHelper;


LibvirtCommandWrapper.java

...
final LibvirtUtilitiesHelper libvirtUtilitiesHelper = 
libvirtComputingResource.getLibvirtUtilitiesHelper();
...
conn = libvirtUtilitiesHelper.getConnectionByType(vm.getHvsType());
...

Throws NullPointerException on libvirtUtilitiesHelper

Can you have a look?

:)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Cloudstack 4.3.2 with KVM system template from shapeblue not supported by qemu version

2015-05-26 Thread Andrija Panic
Just convert the template (use some newer ubuntu version of qemu-img) to
qcow2 version 2...
They provide qcow2 version 3, you need version 2 for centos

something like (but please google and confirm):

qemu-img convert -f qcow2 /var/lib/libvirt/images/qcow2v3.img -O qcow2
-o compat=0.10 /var/lib/libvirt/images/qcow2v2.img


On 26 May 2015 at 05:09, Amin Samir  wrote:

> Hello,
>
>
>
> We are using Cloudstack 4.3.2 from shapeblue repo, along with KVM template
> dated 2015-01-28, our environment is as follows:
>
>
>
> 1)  Cloud stack management server Centos 6.6, with Cloudstack 4.3.2
>
> 2)  Centos 6.6 KVM with the cloudstack-agent installed from shapeblue
> repo
>
> 3)  FreeNAS 9.3 for NFS primary & secondary storage.
>
> 4)  Advanced zone
>
>
>
> We have configured cloubr0 on eth0 in a single physical network, modified
> the labels during the zone launch to match the bridge names on the host.
>
>
>
> However System vm cannot launch due the following error in the agent:
>
>
>
> uses a qcow2 feature which is not supported by this qemu version: QCOW
> version 3
>
>
>
> Anyone please help with this issue, shall we use another system template.
>
>
>
> Thanks in advance.
>
>


-- 

Andrija Panić


[GitHub] cloudstack pull request: Disable enable zone pod cluster and host

2015-05-26 Thread pritisarap12
Github user pritisarap12 commented on the pull request:

https://github.com/apache/cloudstack/pull/285#issuecomment-105429711
  
Done with review changes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8308-Adding-automation-test-ca...

2015-05-26 Thread pritisarap12
GitHub user pritisarap12 opened a pull request:

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

CLOUDSTACK-8308-Adding-automation-test-cases-for-VM/Volume-snapshot-h…

…ardning:

--Automating testcases for volume snapshot hardning testpath

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pritisarap12/cloudstack 
CLOUDSTACK-8308-Adding-automation-test-cases-for-VM/Volume-snapshot-hardning

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/301.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #301


commit 93a59f52a7197316551c3ddcfa93fff7825d3037
Author: pritisarap12 
Date:   2015-05-26T07:28:18Z


CLOUDSTACK-8308-Adding-automation-test-cases-for-VM/Volume-snapshot-hardning:
--Automating testcases for volume snapshot hardning testpath




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-6181: Allow RBD volumes to be ...

2015-05-26 Thread mlsorensen
Github user mlsorensen commented on the pull request:

https://github.com/apache/cloudstack/pull/281#issuecomment-105419893
  
Just make sure someone has actually used it to resize a volume with data.

On Mon, May 25, 2015 at 5:47 AM, Remi Bergsma 
wrote:

> What do we want to do with this PR? As far as I can tell it is included in
> 4.5.1 and master. Just checked master and it has not been reverted. Let me
> know what we want to do. @andrijapanic 
> requested a backport here http://markmail.org/thread/gau2xngqjpq5cza7.
>
> —
> Reply to this email directly or view it on GitHub
> .
>



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---