Re: [Doc] Developer Enviroment Wiki - Maven

2013-09-02 Thread Sebastien Goasguen

On Aug 30, 2013, at 12:51 PM, Marty Sweet  wrote:

> After more searching I have found:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
> which
> seems the most comprehensive.
> 
> Would it be possible to have this guide instead of
> http://cloudstack.apache.org/develop/environment.html
> as
> multiple near identical installation instructions are bound to cause
> confusion.
> 
> Marty
> 

Looking at this the webpage:
http://cloudstack.apache.org/develop/environment.html

Mixes 4.0 release instructions and 4.1+
It also mixes ubuntu/debian and rhel flavors.

I am not sure what's the best to clean this up. We can remove the 4.0 
instructions and we can pick one OS

Developers should look for info on the wiki while all info for users should be 
in the docs (in an ideal world).

We can't really duplicate all info on the website.

thoughts ?

-sebastien

> 
> On Fri, Aug 30, 2013 at 5:47 PM, Marty Sweet  wrote:
> 
>> Hi Sebastian,
>> 
>> I found the answer in the INSTALL.md file in the main repo, maven is 3.0.5.
>> 
>> I see Ian has created a more detailed guide in this bug
>> https://issues.apache.org/jira/browse/CLOUDSTACK-2877, but unfortunately
>> it is not on the Wiki Environment page.
>> 
>> Marty
>> 
>> 
>> On Fri, Aug 30, 2013 at 5:37 PM, sebgoa  wrote:
>> 
>>> 
>>> On Aug 30, 2013, at 6:22 PM, Marty Sweet  wrote:
>>> 
 Hi guys,
 
 On this wiki it does not cover the installation of Maven, while it does
>>> for
 Ant, Tomcat and MySQL. Should users install 'maven' or 'maven2'?
 
 http://cloudstack.apache.org/develop/environment.html#maven
 
 Would it be worth filing a bug? I am unsure how to contribute to this
 specific page myself?
>>> 
>>> I am pretty sure it's maven3, but it might work with maven2 as well.
>>> 
>>> If you find the answer :) you can file a bug and I will pick it up.
>>> 
>>> To edit the website you need to be a committer, the site is kept in a svn
>>> repo separate from the source code.
>>> 
>>> -sebastien
>>> 
 
 Thanks,
 Marty
>>> 
>>> 
>> 



Re: [Doc] Developer Enviroment Wiki - Maven

2013-09-02 Thread Marty Sweet
Maybe have a link off the enviroment page which links to the Wiki.
I found the Wiki guides helpful for setting up, maybe just a 'Development
environment in rhel' and 'Development environment in Debian' section.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
is
messy but if you logically pick out the steps it works.

Maybe:
- Setup Debian
- Setup RHEL
- Pull Repo

Should we also be encouraging users to make a github clone and work from
there? I have seen that mentioned in one place, can't remember where now.

Marty


On Mon, Sep 2, 2013 at 8:04 AM, Sebastien Goasguen  wrote:

>
> On Aug 30, 2013, at 12:51 PM, Marty Sweet  wrote:
>
> > After more searching I have found:
> >
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
> > which
> > seems the most comprehensive.
> >
> > Would it be possible to have this guide instead of
> > http://cloudstack.apache.org/develop/environment.html<
> http://cloudstack.apache.org/develop/environment.html#maven>
> > as
> > multiple near identical installation instructions are bound to cause
> > confusion.
> >
> > Marty
> >
>
> Looking at this the webpage:
> http://cloudstack.apache.org/develop/environment.html
>
> Mixes 4.0 release instructions and 4.1+
> It also mixes ubuntu/debian and rhel flavors.
>
> I am not sure what's the best to clean this up. We can remove the 4.0
> instructions and we can pick one OS
>
> Developers should look for info on the wiki while all info for users
> should be in the docs (in an ideal world).
>
> We can't really duplicate all info on the website.
>
> thoughts ?
>
> -sebastien
>
> >
> > On Fri, Aug 30, 2013 at 5:47 PM, Marty Sweet 
> wrote:
> >
> >> Hi Sebastian,
> >>
> >> I found the answer in the INSTALL.md file in the main repo, maven is
> 3.0.5.
> >>
> >> I see Ian has created a more detailed guide in this bug
> >> https://issues.apache.org/jira/browse/CLOUDSTACK-2877, but
> unfortunately
> >> it is not on the Wiki Environment page.
> >>
> >> Marty
> >>
> >>
> >> On Fri, Aug 30, 2013 at 5:37 PM, sebgoa  wrote:
> >>
> >>>
> >>> On Aug 30, 2013, at 6:22 PM, Marty Sweet  wrote:
> >>>
>  Hi guys,
> 
>  On this wiki it does not cover the installation of Maven, while it
> does
> >>> for
>  Ant, Tomcat and MySQL. Should users install 'maven' or 'maven2'?
> 
>  http://cloudstack.apache.org/develop/environment.html#maven
> 
>  Would it be worth filing a bug? I am unsure how to contribute to this
>  specific page myself?
> >>>
> >>> I am pretty sure it's maven3, but it might work with maven2 as well.
> >>>
> >>> If you find the answer :) you can file a bug and I will pick it up.
> >>>
> >>> To edit the website you need to be a committer, the site is kept in a
> svn
> >>> repo separate from the source code.
> >>>
> >>> -sebastien
> >>>
> 
>  Thanks,
>  Marty
> >>>
> >>>
> >>
>
>


Re: DEVCLOUD 2 KEEPS FAILING, is DC2.ova corrupted???

2013-09-02 Thread Punith s
problem solved , we have to enable Virtualization Technology(VT) in the
BIOS(not mentioned in as presetup in the new docs)  , DevCloud2 is
perfectly running .

thanks,

regards,
punith s
cloudbyte.inc



On Mon, Sep 2, 2013 at 11:51 AM, Prasanna Santhanam  wrote:

> On Mon, Sep 02, 2013 at 11:44:40AM +0530, Punith s wrote:
> > hi folks,
> >
> > i'm using a devcloud2.ova , it is perfectly getting imported into oracle
> > VirtualBox, but after starting the Xen server , the debian vm immediately
> > crashes popping up two error windows showing,
> >
> > A critical error has occurred while running the virtual machine and the
> > machine execution has been stopped.
> >
> > A fatal error has occurred during virtual machine execution! The virtual
> > machine will be powered off. Please copy the following error message
> using
> > the clipboard to help diagnose the problem:
> >
> > The guest is trying to switch to the PAE mode which is currently disabled
> > by default in VirtualBox. PAE support can be enabled using the VM
> settings
> > (General/Advanced).
> >
> > i also checked my vlogs, found one error
> >
> > *Console: VM runtime error: fatal=false, errorID=Ext4PartitionDetected
> > message="The host I/O cache for at least one controller is disabled and
> the
> > medium '/home/punith/VirtualBox VMs/DevCloud2/devcloud2-newww-disk1.vmdk'
> > for this VM is located on an ext4 partition. There is a known Linux
> kernel
> > bug which can lead to the corruption of the virtual disk image under
> these
> > conditions.*
> >
> >
> > pre-setup , i have also disabled the DHCP ,
> >
> >
> > is the devcloud2.ova broken ??
> >
>
> Not quite. I ran it a couple of days ago without issues. here's my vm
> info after it was imported into virtualbox
>
> https://gist.github.com/vogxn/5671659
>
> Can you try upgrading to the latest virtualbox? I'm on 4.2.16
>
> >
> > thanks,
> >
> >
> > regards
> >
> > punith s
> >
> > cloudbyte.inc
>
> --
> Prasanna.,
>
> 
> Powered by BigRock.com
>
>


RE: [Merge] Minimal Hyper-V Plugin

2013-09-02 Thread Rajesh Battala
Hi Donal, 
One more issue is, currently local storage is discovered when host is added.
But when mgmt. server got restarted,  there is an exception happening while 
add/discovering already existing local storage pool.


Root cause:
== 
I had debugged and figured out the root cause,  CS not able to find the storage 
pool and tries to created it but it fails to add to DB as the entry is already 
persisted.
The reason why CS not able to get the existing localstorage is , when executing 
the query to get the storage pool, it's getting empty set . It's because of the 
storage path issue.
In the db the local storage path is stored as 
"C:\Users\Public\Documents\Hyper-V\Virtual+Hard+Disks",  ('+' symbol in place 
of space)
In the db query its searching without "+" and with space which is causing the 
query to have empty set and hence the issue.

I can fix the issue by removing the "+" when we are persisting the local 
storage pool from hyperv



Exception:
= 
WARN  [c.c.r.ResourceManagerImpl] (AgentTaskPool-14:ctx-ddbbf089) Unable to 
connect due to
com.cloud.exception.ConnectionException: Unable to setup the local storage pool 
for Host[-1-Routing]
at 
com.cloud.storage.StorageManagerImpl.createLocalStorage(StorageManagerImpl.java:598)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
com.cloud.storage.LocalStoragePoolListener.processConnect(LocalStoragePoolListener.java:86)
at 
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:519)
at 
com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1414)
at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1760)
at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1922)
at 
com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1063)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.cloud.utils.exception.CloudRuntimeException: duplicate uuid: 
35aa91ba-c95b-3fc4-91df-9c95dc31b350-HypervResource
at 
org.apache.cloudstack.storage.volume.datastore.PrimaryDataStoreHelper.createPrimaryDataStore(PrimaryDataStoreHelper.java:66)
at 
org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.initialize(CloudStackPrimaryDataStoreLifeCycleImpl.java:349)
at 
com.cloud.storage.StorageManagerImpl.createLocalStorage(StorageManagerImpl.java:589)
... 14 more
 


-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com] 
Sent: Saturday, August 31, 2013 5:19 AM
To: dev@cloudstack.apache.org
Subject: [Merge] Minimal Hyper-V Plugin

A plugin for Hyper-V control is available for CloudStack.  The plugin 
implements basic VM control;  however, its architecture allows additional 
functionality to be easily added.  Incorporating the plugin in CloudStack will 
allow the community to participate in improving the features available with 
Hyper-V.

The plugin uses a Director Connect Agent architecture described here: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Progress

This links provides details of third party libraries used by the plugin 
including their licenses.  No source for these libraries is used, and the 
binaries are downloaded from their distributors at build time.

No proprietary tools are required for the build.  For instance, C# compiled 
with Mono has been tested.  Therefore, the plugin has been added to the default 
build and the default deployment.

The plugin includes unit and functional tests that can be triggered at build 
time.  See the link above for details.

The Apache header is applied to source and where feasible to build config files.

The source is the https://github.com/lafferty/cloudstack/tree/hyperv_plugin

Finally, the review request is at https://reviews.apache.org/r/13922/

Testing?

Integration test:  created zone with CIFS secondary storage, added Hyper-V 
host, registered templates, create/stop/start/destroy VM.  Scripts for zone 
setup are available on request.

Functional & unit tests:  the Java versions are part of the build.  The C# 
versions were run inside Visual Studio's Test Explorer.


Re: Review Request 10882: CLOUDSTACK-2178 : "Add guest network" button is not responding

2013-09-02 Thread Saksham Srivastava


> On May 4, 2013, 8:48 p.m., Pranav Saxena wrote:
> > Review comment on the corresponding JIRA ticket to verify if its actually a 
> > valid bug . If yes , then we'll definitely proceed with validating the fix 
> > . Thanks !

Hi Issac, CLOUDSTACK-2178  is marked closed as invalid.
Do we still need this fix ? If no then you can discard this review request.


- Saksham


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


On May 10, 2013, 7:37 a.m., Isaac Chiang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10882/
> ---
> 
> (Updated May 10, 2013, 7:37 a.m.)
> 
> 
> Review request for cloudstack and Pranav Saxena.
> 
> 
> Bugs: CLOUDSTACK-2178
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> The root cause of the issue is that the makeForm function in dialog.js cannot 
> work with dependsOn field correctly.
> 
> Changed :
> 1. Dialog.js : Modify makeForm function in Dialog.js to work correctly 
> with "dependsOn" field.
> 2. Network.js : Add checking for response in the call back function.
> 
> 
> Diffs
> -
> 
>   ui/scripts/network.js 6b310ce 
>   ui/scripts/ui/dialog.js bb372fb 
> 
> Diff: https://reviews.apache.org/r/10882/diff/
> 
> 
> Testing
> ---
> 
> Test from ui ans work well
> 
> 
> Thanks,
> 
> Isaac Chiang
> 
>



Re: [Doc] Developer Enviroment Wiki - Maven

2013-09-02 Thread Sebastien Goasguen

On Sep 2, 2013, at 3:12 AM, Marty Sweet  wrote:

> Maybe have a link off the enviroment page which links to the Wiki.

Ok I did that, we just need to think about how to clean this up.

> I found the Wiki guides helpful for setting up, maybe just a 'Development
> environment in rhel' and 'Development environment in Debian' section.
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
> is
> messy but if you logically pick out the steps it works.
> 
> Maybe:
> - Setup Debian
> - Setup RHEL
> - Pull Repo
> 
> Should we also be encouraging users to make a github clone and work from
> there? I have seen that mentioned in one place, can't remember where now.
> 

We have talked about moving the docs to a separate repo. I think we need to do 
that, then accept pull requests for the docs.
that would allow folks to correct/help with docs.


> Marty
> 
> 
> On Mon, Sep 2, 2013 at 8:04 AM, Sebastien Goasguen  wrote:
> 
>> 
>> On Aug 30, 2013, at 12:51 PM, Marty Sweet  wrote:
>> 
>>> After more searching I have found:
>>> 
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
>>> which
>>> seems the most comprehensive.
>>> 
>>> Would it be possible to have this guide instead of
>>> http://cloudstack.apache.org/develop/environment.html<
>> http://cloudstack.apache.org/develop/environment.html#maven>
>>> as
>>> multiple near identical installation instructions are bound to cause
>>> confusion.
>>> 
>>> Marty
>>> 
>> 
>> Looking at this the webpage:
>> http://cloudstack.apache.org/develop/environment.html
>> 
>> Mixes 4.0 release instructions and 4.1+
>> It also mixes ubuntu/debian and rhel flavors.
>> 
>> I am not sure what's the best to clean this up. We can remove the 4.0
>> instructions and we can pick one OS
>> 
>> Developers should look for info on the wiki while all info for users
>> should be in the docs (in an ideal world).
>> 
>> We can't really duplicate all info on the website.
>> 
>> thoughts ?
>> 
>> -sebastien
>> 
>>> 
>>> On Fri, Aug 30, 2013 at 5:47 PM, Marty Sweet 
>> wrote:
>>> 
 Hi Sebastian,
 
 I found the answer in the INSTALL.md file in the main repo, maven is
>> 3.0.5.
 
 I see Ian has created a more detailed guide in this bug
 https://issues.apache.org/jira/browse/CLOUDSTACK-2877, but
>> unfortunately
 it is not on the Wiki Environment page.
 
 Marty
 
 
 On Fri, Aug 30, 2013 at 5:37 PM, sebgoa  wrote:
 
> 
> On Aug 30, 2013, at 6:22 PM, Marty Sweet  wrote:
> 
>> Hi guys,
>> 
>> On this wiki it does not cover the installation of Maven, while it
>> does
> for
>> Ant, Tomcat and MySQL. Should users install 'maven' or 'maven2'?
>> 
>> http://cloudstack.apache.org/develop/environment.html#maven
>> 
>> Would it be worth filing a bug? I am unsure how to contribute to this
>> specific page myself?
> 
> I am pretty sure it's maven3, but it might work with maven2 as well.
> 
> If you find the answer :) you can file a bug and I will pick it up.
> 
> To edit the website you need to be a committer, the site is kept in a
>> svn
> repo separate from the source code.
> 
> -sebastien
> 
>> 
>> Thanks,
>> Marty
> 
> 
 
>> 
>> 



Re: [Doc] Developer Enviroment Wiki - Maven

2013-09-02 Thread Alexander Hitchins
Would there be any milage in creating template vm's set up with a 
working dev environment? Then we could download the image, run and just 
then update source via Git. This is what I was planning to do within my 
organisation. If other may find it useful then I'll try to ensure it's 
available for all.


Alex

On 9/2/2013 9:09 AM, Sebastien Goasguen wrote:

On Sep 2, 2013, at 3:12 AM, Marty Sweet  wrote:


Maybe have a link off the enviroment page which links to the Wiki.

Ok I did that, we just need to think about how to clean this up.


I found the Wiki guides helpful for setting up, maybe just a 'Development
environment in rhel' and 'Development environment in Debian' section.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
is
messy but if you logically pick out the steps it works.

Maybe:
- Setup Debian
- Setup RHEL
- Pull Repo

Should we also be encouraging users to make a github clone and work from
there? I have seen that mentioned in one place, can't remember where now.


We have talked about moving the docs to a separate repo. I think we need to do 
that, then accept pull requests for the docs.
that would allow folks to correct/help with docs.



Marty


On Mon, Sep 2, 2013 at 8:04 AM, Sebastien Goasguen  wrote:


On Aug 30, 2013, at 12:51 PM, Marty Sweet  wrote:


After more searching I have found:


https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux

which
seems the most comprehensive.

Would it be possible to have this guide instead of
http://cloudstack.apache.org/develop/environment.html<

http://cloudstack.apache.org/develop/environment.html#maven>

as
multiple near identical installation instructions are bound to cause
confusion.

Marty


Looking at this the webpage:
http://cloudstack.apache.org/develop/environment.html

Mixes 4.0 release instructions and 4.1+
It also mixes ubuntu/debian and rhel flavors.

I am not sure what's the best to clean this up. We can remove the 4.0
instructions and we can pick one OS

Developers should look for info on the wiki while all info for users
should be in the docs (in an ideal world).

We can't really duplicate all info on the website.

thoughts ?

-sebastien


On Fri, Aug 30, 2013 at 5:47 PM, Marty Sweet 

wrote:

Hi Sebastian,

I found the answer in the INSTALL.md file in the main repo, maven is

3.0.5.

I see Ian has created a more detailed guide in this bug
https://issues.apache.org/jira/browse/CLOUDSTACK-2877, but

unfortunately

it is not on the Wiki Environment page.

Marty


On Fri, Aug 30, 2013 at 5:37 PM, sebgoa  wrote:


On Aug 30, 2013, at 6:22 PM, Marty Sweet  wrote:


Hi guys,

On this wiki it does not cover the installation of Maven, while it

does

for

Ant, Tomcat and MySQL. Should users install 'maven' or 'maven2'?

http://cloudstack.apache.org/develop/environment.html#maven

Would it be worth filing a bug? I am unsure how to contribute to this
specific page myself?

I am pretty sure it's maven3, but it might work with maven2 as well.

If you find the answer :) you can file a bug and I will pick it up.

To edit the website you need to be a committer, the site is kept in a

svn

repo separate from the source code.

-sebastien


Thanks,
Marty






--

Alexander Hitchins
-
e: a...@alexhitchins.com
w: alexhitchins.com
m: 07788 423 969



Re: [Doc] Developer Enviroment Wiki - Maven

2013-09-02 Thread Daan Hoogland
H Alex,

Would sound like a good thing in taking away hurdles for starting
contributers. Make sure all the bookmarks are on the desktop:)

So go do it, the community will be greatful.

Greetings,
Daan

On Mon, Sep 2, 2013 at 10:22 AM, Alexander Hitchins
 wrote:
> Would there be any milage in creating template vm's set up with a working
> dev environment? Then we could download the image, run and just then update
> source via Git. This is what I was planning to do within my organisation. If
> other may find it useful then I'll try to ensure it's available for all.
>
> Alex
>
>
> On 9/2/2013 9:09 AM, Sebastien Goasguen wrote:
>>
>> On Sep 2, 2013, at 3:12 AM, Marty Sweet  wrote:
>>
>>> Maybe have a link off the enviroment page which links to the Wiki.
>>
>> Ok I did that, we just need to think about how to clean this up.
>>
>>> I found the Wiki guides helpful for setting up, maybe just a 'Development
>>> environment in rhel' and 'Development environment in Debian' section.
>>>
>>>
>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
>>> is
>>> messy but if you logically pick out the steps it works.
>>>
>>> Maybe:
>>> - Setup Debian
>>> - Setup RHEL
>>> - Pull Repo
>>>
>>> Should we also be encouraging users to make a github clone and work from
>>> there? I have seen that mentioned in one place, can't remember where now.
>>>
>> We have talked about moving the docs to a separate repo. I think we need
>> to do that, then accept pull requests for the docs.
>> that would allow folks to correct/help with docs.
>>
>>
>>> Marty
>>>
>>>
>>> On Mon, Sep 2, 2013 at 8:04 AM, Sebastien Goasguen 
>>> wrote:
>>>
 On Aug 30, 2013, at 12:51 PM, Marty Sweet  wrote:

> After more searching I have found:
>

 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
>
> which
> seems the most comprehensive.
>
> Would it be possible to have this guide instead of
> http://cloudstack.apache.org/develop/environment.html<

 http://cloudstack.apache.org/develop/environment.html#maven>
>
> as
> multiple near identical installation instructions are bound to cause
> confusion.
>
> Marty
>
 Looking at this the webpage:
 http://cloudstack.apache.org/develop/environment.html

 Mixes 4.0 release instructions and 4.1+
 It also mixes ubuntu/debian and rhel flavors.

 I am not sure what's the best to clean this up. We can remove the 4.0
 instructions and we can pick one OS

 Developers should look for info on the wiki while all info for users
 should be in the docs (in an ideal world).

 We can't really duplicate all info on the website.

 thoughts ?

 -sebastien

> On Fri, Aug 30, 2013 at 5:47 PM, Marty Sweet 

 wrote:
>>
>> Hi Sebastian,
>>
>> I found the answer in the INSTALL.md file in the main repo, maven is

 3.0.5.
>>
>> I see Ian has created a more detailed guide in this bug
>> https://issues.apache.org/jira/browse/CLOUDSTACK-2877, but

 unfortunately
>>
>> it is not on the Wiki Environment page.
>>
>> Marty
>>
>>
>> On Fri, Aug 30, 2013 at 5:37 PM, sebgoa  wrote:
>>
>>> On Aug 30, 2013, at 6:22 PM, Marty Sweet 
>>> wrote:
>>>
 Hi guys,

 On this wiki it does not cover the installation of Maven, while it

 does
>>>
>>> for

 Ant, Tomcat and MySQL. Should users install 'maven' or 'maven2'?

 http://cloudstack.apache.org/develop/environment.html#maven

 Would it be worth filing a bug? I am unsure how to contribute to
 this
 specific page myself?
>>>
>>> I am pretty sure it's maven3, but it might work with maven2 as well.
>>>
>>> If you find the answer :) you can file a bug and I will pick it up.
>>>
>>> To edit the website you need to be a committer, the site is kept in a

 svn
>>>
>>> repo separate from the source code.
>>>
>>> -sebastien
>>>
 Thanks,
 Marty
>>>
>>>

>
> --
>
> Alexander Hitchins
> -
> e: a...@alexhitchins.com
> w: alexhitchins.com
> m: 07788 423 969
>


Re: [Doc] Developer Enviroment Wiki - Maven

2013-09-02 Thread Alexander Hitchins
Excellent, when I'm at that stage I will certianly pass it on. Be great 
to be able to give something back to the community.


On 9/2/2013 9:27 AM, Daan Hoogland wrote:

H Alex,

Would sound like a good thing in taking away hurdles for starting
contributers. Make sure all the bookmarks are on the desktop:)

So go do it, the community will be greatful.

Greetings,
Daan

On Mon, Sep 2, 2013 at 10:22 AM, Alexander Hitchins
 wrote:

Would there be any milage in creating template vm's set up with a working
dev environment? Then we could download the image, run and just then update
source via Git. This is what I was planning to do within my organisation. If
other may find it useful then I'll try to ensure it's available for all.

Alex


On 9/2/2013 9:09 AM, Sebastien Goasguen wrote:

On Sep 2, 2013, at 3:12 AM, Marty Sweet  wrote:


Maybe have a link off the enviroment page which links to the Wiki.

Ok I did that, we just need to think about how to clean this up.


I found the Wiki guides helpful for setting up, maybe just a 'Development
environment in rhel' and 'Development environment in Debian' section.


https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
is
messy but if you logically pick out the steps it works.

Maybe:
- Setup Debian
- Setup RHEL
- Pull Repo

Should we also be encouraging users to make a github clone and work from
there? I have seen that mentioned in one place, can't remember where now.


We have talked about moving the docs to a separate repo. I think we need
to do that, then accept pull requests for the docs.
that would allow folks to correct/help with docs.



Marty


On Mon, Sep 2, 2013 at 8:04 AM, Sebastien Goasguen 
wrote:


On Aug 30, 2013, at 12:51 PM, Marty Sweet  wrote:


After more searching I have found:


https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux

which
seems the most comprehensive.

Would it be possible to have this guide instead of
http://cloudstack.apache.org/develop/environment.html<

http://cloudstack.apache.org/develop/environment.html#maven>

as
multiple near identical installation instructions are bound to cause
confusion.

Marty


Looking at this the webpage:
http://cloudstack.apache.org/develop/environment.html

Mixes 4.0 release instructions and 4.1+
It also mixes ubuntu/debian and rhel flavors.

I am not sure what's the best to clean this up. We can remove the 4.0
instructions and we can pick one OS

Developers should look for info on the wiki while all info for users
should be in the docs (in an ideal world).

We can't really duplicate all info on the website.

thoughts ?

-sebastien


On Fri, Aug 30, 2013 at 5:47 PM, Marty Sweet 

wrote:

Hi Sebastian,

I found the answer in the INSTALL.md file in the main repo, maven is

3.0.5.

I see Ian has created a more detailed guide in this bug
https://issues.apache.org/jira/browse/CLOUDSTACK-2877, but

unfortunately

it is not on the Wiki Environment page.

Marty


On Fri, Aug 30, 2013 at 5:37 PM, sebgoa  wrote:


On Aug 30, 2013, at 6:22 PM, Marty Sweet 
wrote:


Hi guys,

On this wiki it does not cover the installation of Maven, while it

does

for

Ant, Tomcat and MySQL. Should users install 'maven' or 'maven2'?

http://cloudstack.apache.org/develop/environment.html#maven

Would it be worth filing a bug? I am unsure how to contribute to
this
specific page myself?

I am pretty sure it's maven3, but it might work with maven2 as well.

If you find the answer :) you can file a bug and I will pick it up.

To edit the website you need to be a committer, the site is kept in a

svn

repo separate from the source code.

-sebastien


Thanks,
Marty



--

Alexander Hitchins
-
e: a...@alexhitchins.com
w: alexhitchins.com
m: 07788 423 969



--
​
Alexander Hitchins
-
e: a...@alexhitchins.com
w: alexhitchins.com
m: 07788 423 969



RE: [Merge] Minimal Hyper-V Plugin

2013-09-02 Thread Donal Lafferty
Hi Mike,

Target is 4.3.

Do you have a link to the storage feature spec & design?  I'll have a quick 
reread.

DL


> -Original Message-
> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> Sent: 31 August 2013 06:37
> To: dev@cloudstack.apache.org
> Subject: Re: [Merge] Minimal Hyper-V Plugin
> 
> Hey Donal,
> 
> Nice job here!
> 
> I didn't see a targeted release. I assume you plan on this going out with 4.3?
> 
> I am curious because I will - at some point - need to do for Hyper-V what I'm
> doing for KVM and what I already did for XenServer and VMware: Make this
> hypervisor understand CloudStack-managed storage (like what I talked about
> in London at that CS Meetup).
> 
> Thanks!
> 
> 
> On Fri, Aug 30, 2013 at 7:35 PM, Rajesh Battala
> wrote:
> 
> > Hi Donal,
> >
> > Can you please share me the scripts for zone setup!.
> > I had tried your branch, while setting up sec storage currently there
> > is no CIFS type.
> > Another issue is, after adding the host and localstorage is enabled
> > restarting the management server is causing again the localstroage to
> > be get created and it fails to create it and host moves to Alert state.
> > Just want to know, Implement network is supported? Creating the
> > virtual switch and configuring vlan, and internal network?
> > Curious to know how the boot args will be passed to the system vm. As
> > they are Linux based, and KVP component will be able to determine the
> > guest os type info only when integration services are installed.
> >  But I was not able to figure out how to push the data from Host to
> > Guest in case of Linux guest with Integration services installed.
> >
> > Thanks
> > Rajesh Battala
> >
> > -Original Message-
> > From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
> > Sent: Saturday, August 31, 2013 5:19 AM
> > To: dev@cloudstack.apache.org
> > Subject: [Merge] Minimal Hyper-V Plugin
> >
> > A plugin for Hyper-V control is available for CloudStack.  The plugin
> > implements basic VM control;  however, its architecture allows
> > additional functionality to be easily added.  Incorporating the plugin
> > in CloudStack will allow the community to participate in improving the
> > features available with Hyper-V.
> >
> > The plugin uses a Director Connect Agent architecture described here:
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Progress
> >
> > This links provides details of third party libraries used by the
> > plugin including their licenses.  No source for these libraries is
> > used, and the binaries are downloaded from their distributors at build time.
> >
> > No proprietary tools are required for the build.  For instance, C#
> > compiled with Mono has been tested.  Therefore, the plugin has been
> > added to the default build and the default deployment.
> >
> > The plugin includes unit and functional tests that can be triggered at
> > build time.  See the link above for details.
> >
> > The Apache header is applied to source and where feasible to build
> > config files.
> >
> > The source is the
> > https://github.com/lafferty/cloudstack/tree/hyperv_plugin
> >
> > Finally, the review request is at https://reviews.apache.org/r/13922/
> >
> > Testing?
> >
> > Integration test:  created zone with CIFS secondary storage, added
> > Hyper-V host, registered templates, create/stop/start/destroy VM.
> > Scripts for zone setup are available on request.
> >
> > Functional & unit tests:  the Java versions are part of the build.
> > The C# versions were run inside Visual Studio's Test Explorer.
> >
> 
> 
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud
> *(tm)*


Error - duplicate entry for public ip address

2013-09-02 Thread Gaurav Aradhye
Hi all,

While associating a portable public ip, I'm getting following error:

errorText:Entity already exists:

Log says:
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:
Duplicate entry 'x.x.x.x - x' for key 'public_ip_address'.

While the ip address has not been associated before, and I can see it
marked as free, Can anyone point to possible reason why is this happening?
If the IP address lists as free, how does it have entry in associated ips
already?

A "non-portable" ip address get assiciated properly, but error is for
portable one.

Regards,
Gaurav


RE: [Merge] Minimal Hyper-V Plugin

2013-09-02 Thread Donal Lafferty
Hi Rajesh,

I'll PM the scripts.

WRT problem below, it looks like a CS persists paths with spaces as URL encoded 
strings.  Is it the Hyper-V code storing the path in the wrong formant?  I can 
fix that if it's an issue.

I would be very reluctant to change the the format of columns in the database. 
There will be other code reliant on URL encoding.

DL


> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: 02 September 2013 08:37
> To: dev@cloudstack.apache.org
> Subject: RE: [Merge] Minimal Hyper-V Plugin
> 
> Hi Donal,
> One more issue is, currently local storage is discovered when host is added.
> But when mgmt. server got restarted,  there is an exception happening while
> add/discovering already existing local storage pool.
> 
> 
> Root cause:
> ==
> I had debugged and figured out the root cause,  CS not able to find the
> storage pool and tries to created it but it fails to add to DB as the entry is
> already persisted.
> The reason why CS not able to get the existing localstorage is , when
> executing the query to get the storage pool, it's getting empty set . It's
> because of the storage path issue.
> In the db the local storage path is stored as
> "C:\Users\Public\Documents\Hyper-V\Virtual+Hard+Disks",  ('+' symbol in
> place of space)
> In the db query its searching without "+" and with space which is causing the
> query to have empty set and hence the issue.
> 
> I can fix the issue by removing the "+" when we are persisting the local
> storage pool from hyperv
> 
> 
> 
> Exception:
> =
> WARN  [c.c.r.ResourceManagerImpl] (AgentTaskPool-14:ctx-ddbbf089)
> Unable to connect due to
> com.cloud.exception.ConnectionException: Unable to setup the local storage
> pool for Host[-1-Routing]
> at
> com.cloud.storage.StorageManagerImpl.createLocalStorage(StorageManage
> rImpl.java:598)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$Intercep
> torDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> com.cloud.storage.LocalStoragePoolListener.processConnect(LocalStoragePo
> olListener.java:86)
> at
> com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(
> AgentManagerImpl.java:519)
> at
> com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(A
> gentManagerImpl.java:1414)
> at
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(Resource
> ManagerImpl.java:1760)
> at
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(Resource
> ManagerImpl.java:1922)
> at
> com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(Agent
> ManagerImpl.java:1063)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> a:1110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:603)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: duplicate
> uuid: 35aa91ba-c95b-3fc4-91df-9c95dc31b350-HypervResource
> at
> org.apache.cloudstack.storage.volume.datastore.PrimaryDataStoreHelper.cr
> eatePrimaryDataStore(PrimaryDataStoreHelper.java:66)
> at
> org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataSto
> reLifeCycleImpl.initialize(CloudStackPrimaryDataStoreLifeCycleImpl.java:349)
> at
> com.cloud.storage.StorageManagerImpl.createLocalStorage(StorageManage
> rImpl.java:589)
> ... 14 more
> 
> 
> 
> -Original Message-
> From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
> Sent: Saturday, August 31, 2013 5:19 AM
> To: dev@cloudstack.apache.org
> Subject: [Merge] Minimal Hyper-V Plugin
> 
> A plugin for Hyper-V control is available for CloudStack.  The plugin
> implements basic VM control;  however, its architecture allows additional
> functionality to be easily added.  Incorporating the plugin in CloudStack will
> allow the community to participate in improving the features available with
> Hyper-V.
> 
> The plugin uses a Director Connect Agent architecture described here:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Progress
> 
> This links provides details of third party libraries used by the plugin 
> including
> their licenses.  No source for these libraries is used, and the binaries are
> downloaded from their distributors at build time.
> 
> No proprietary tools are required for the build.  For instance, C# compiled
> with Mono has been tested.  Therefore, the plugin has been added to the
> default build and the default deployment.
> 
> The plugin includes unit and functional tests that can be triggered at build
> time.  See the link above for details.
> 
> The Apache header is applied to source and where feasible to build config
> files.
> 
> The source is the https://github.com/lafferty/cloudstack/tree/hyperv_plugin
> 
> Finally, the review request is at https://reviews.apache.org/r/13922/
> 
> Testing?
> 
> 

RE: VM deployment fails when using a tagged host offering with InsufficientServerCapacityException

2013-09-02 Thread Sanjay Tripathi
Looks like there is no storage pool in the cluster which has this tagged host.

Can you navigate to the cluster details (which has this tagged host) and verify 
that if any storage pool is present or not.

--Sanjay

From: Ashutosh Kelkar [mailto:ashut...@clogeny.com]
Sent: Monday, September 02, 2013 10:58 AM
To: dev@cloudstack.apache.org
Cc: Girish Shilamkar
Subject: VM deployment fails when using a tagged host offering with 
InsufficientServerCapacityException

Hi,

I'm trying to create VMs based on Service offerings that are tagged to certain 
hosts.
While trying to create VMs from the tagged offerings I get an Insufficient 
Capacity error. Looking at the logs they say there are no suitable storage 
pools for the VM


I've tried this manually too and it fails. A normal untagged service offering 
VM creation is successful though.

Both were deployed in to a Isolated network.

Attached are the logs from the management server for the deployment job

Executor - Job-Executor-81:job-2643
Id   - 94a91c6a-919f-4250-aff5-b7dd6ed81fcb

Regards
Ashutosk


Not able to get the latest systemvm templates

2013-09-02 Thread Nadif, Rashid
 
http://jenkins.cloudstack.org/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/

Above link is not working.

Please help me out with pointing to a location, where I can get the latest 
system-vm templates?


Thanks
Rashid 


[DISCUSS] rename nonoss to noredist

2013-09-02 Thread Hugo Trippaers
Hey,

Does anybody mind if I rename all mentions (that I can find) of "nonoss" to 
"noredist". This will actually reflect what is in the "nonoss" build, it has 
nothing to do with opensource, but all with redistribution of binary jar 
packages. Also i noticed that it is currently being "abused" to enable certain 
features in the maven build, which is something we should not do at all. It 
should just be a convenience setting to enable all profiles that depend on 
non-redistributable binary jar files.

Cheers,

Hugo


Fwd: [xs-devel] Introducing Open Source XenRT

2013-09-02 Thread Prasanna Santhanam
Perhaps of interest to those doing testing with CloudStack and Xen
-- 
Prasanna.,


Powered by BigRock.com

--- Begin Message ---
As a follow up activity to the open sourcing of XenServer, Citrix is pleased to 
announce the open sourcing of its automated test platform, XenRT.

XenRT ("Xen Regression Test") is a test automation framework, written in 
Python, providing abstractions for the various components under test (pool, 
host, VM, storage, network etc). The library code which makes up these 
abstractions simplifies the process of writing tests, allowing quite complex 
operations to be performed in a single method call.

In a full deployment, XenRT handles all aspects of the testing process - it 
will schedule a test job onto a host, bootstrap it (via DHCP/PXE), install the 
build to be tested, carry out the testing, and collect all necessary logs for 
troubleshooting, without any user interaction required.

In addition to basic functional, regression, and stress testing, XenRT has 
suites of tests that are used for testing performance, scalability, and 
interoperability.

Within Citrix, XenRT is used with a distributed lab comprised of an extremely 
wide range of hardware, and is developed and maintained by a team of some 25 
developers. Tests are also written and executed directly by the wider XenServer 
engineering team, in a true "Test-as-a-Service" platform - see 
http://blogs.citrix.com/2013/08/30/xenserver-automated-testing-and-lab-orchestration-introducing-xenrt/
 for more information.

XenRT has been open sourced to leverage Citrix's experience and resources in 
test automation to help improve the quality of open source Xen and XenServer 
releases, to benefit the entire community.

To get started with XenRT, follow the links below to the code and a README 
document (which contains getting started instructions - further documentation 
will follow in the near future). For discussion a mailing list has been created 
- information about this can be found at 
https://lists.xenserver.org/sympa/info/xenrt-users


README document:
http://downloadns.citrix.com.edgesuite.net/akdlm/8169/README

Main XenRT tarball:
http://downloadns.citrix.com.edgesuite.net/akdlm/8168/xenrt.tgz

Third party test resource tarball:
http://downloadns.citrix.com.edgesuite.net/akdlm/8169/tests.tgz

Source for third party resources (not required for normal operation):
http://downloadns.citrix.com.edgesuite.net/akdlm/8169/tests-source.tgz

Kind Regards,
Alex Brett

--- End Message ---


Re: Not able to get the latest systemvm templates

2013-09-02 Thread Prasanna Santhanam
Check this thread:
http://markmail.org/message/ncmpfvox7yet7gv2

On Mon, Sep 02, 2013 at 12:25:13PM +, Nadif, Rashid wrote:
> ??http://jenkins.cloudstack.org/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/
> 
> Above link is not working.
> 
> Please help me out with pointing to a location, where I can get the latest 
> system-vm templates?
> 
> 
> Thanks
> Rashid 

-- 
Prasanna.,


Powered by BigRock.com



RE: [WEBSITE] Question on adding ACS appliances to FAQ & Downloads

2013-09-02 Thread Musayev, Ilya
Sebastian,

I did not want to release CloudStack Appliance as under CloudSand, the intent 
was for this to be Apache CloudStack official, but after consulting with Chip, 
he suggested I should keep this as CloudSand (I guess for some legal reasons).

The only mention of CloudSand is in 2 places.

1) Disclaimer has CloudSand representation, as I'm the one who packaged it and 
don't want to be liable for mis-use.
2) If you need help "with appliance" use, you visit cloudsand's website, but 
other than that - for help and docs you goto www.cloudstack.org

Its purely open source, as of now, cloudsand is not a company that generates a 
profit. We did some dev work for ISWest, but rate was heavily discounted and it 
only supported development efforts.  The way things are going, it will remain a 
site dedicated to promoting CloudStack and its usage within enterprise. If 
anything changes, I will let everyone know.

Regards
ilya

-Original Message-
From: Sebastien Goasguen [mailto:run...@gmail.com] 
Sent: Sunday, September 01, 2013 3:39 PM
To: dev@cloudstack.apache.org
Subject: Re: [WEBSITE] Question on adding ACS appliances to FAQ & Downloads


On Aug 31, 2013, at 2:46 AM, "Musayev, Ilya"  wrote:

> What is your thought on adding link to CloudStack Virtual Appliances on 
> CloudStack.org FAQ and Download page?
> 
> In my opinion, it will simplify with POC (as they usually all begin) and 
> therefore adoption process.

I am +1 on this, 

It's purely open source and CloudSand is not a company ?

-Sebastien





Review Request 13934: CLOUDSTACK-4347 provisioning of a nicira based vpc router

2013-09-02 Thread daan Hoogland

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

Review request for cloudstack, Chiradeep Vittal, Hugo Trippaers, and Sheng Yang.


Bugs: 4347


Repository: cloudstack-git


Description
---

provisioning of a nicira based vpc router


Diffs
-

  api/src/com/cloud/agent/api/to/IpAddressTO.java 82c7d99 
  api/src/com/cloud/agent/api/to/NetworkTO.java 3edd4c0 
  api/src/com/cloud/network/NetworkService.java 87fecb0 
  api/src/com/cloud/network/Networks.java f8166c6 
  api/src/com/cloud/network/vpc/PrivateIp.java eb68433 
  api/src/com/cloud/network/vpc/StaticRouteProfile.java 54aa6e4 
  api/src/com/cloud/network/vpc/VpcGateway.java 9652b4b 
  api/src/com/cloud/network/vpc/VpcService.java 7a444c0 
  
api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
 0bc905c 
  api/src/org/apache/cloudstack/api/response/PrivateGatewayResponse.java 
c5c7df5 
  api/test/com/cloud/network/NetworksTest.java 07b55d2 
  core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java 
1fb86e0 
  engine/schema/src/com/cloud/network/vpc/VpcGatewayVO.java 2c592cd 
  engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java eb987ea 
  
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetaNetworkGuru.java
 f5e0897 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
 c94856d 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 b56f3ca 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/OvsVifDriver.java 
119f117 
  plugins/hypervisors/ovm/src/com/cloud/ovm/hypervisor/OvmResourceBase.java 
8f21c13 
  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 8853b88 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
 35f30e4 
  
plugins/network-elements/bigswitch-vns/src/com/cloud/network/guru/BigSwitchVnsGuestNetworkGuru.java
 52303a4 
  
plugins/network-elements/cisco-vnmc/src/com/cloud/network/element/CiscoVnmcElement.java
 a9f3256 
  
plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java 
ffddd30 
  
plugins/network-elements/juniper-srx/src/com/cloud/network/resource/JuniperSrxResource.java
 f9dd5e3 
  
plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
 58541c6 
  
plugins/network-elements/nicira-nvp/src/com/cloud/network/element/NiciraNvpElement.java
 a5f1b92 
  
plugins/network-elements/nicira-nvp/src/com/cloud/network/guru/NiciraNvpGuestNetworkGuru.java
 9451441 
  
plugins/network-elements/ovs/src/com/cloud/network/ovs/OvsTunnelManagerImpl.java
 e8ff1a0 
  server/src/com/cloud/api/ApiResponseHelper.java 8d01274 
  server/src/com/cloud/configuration/ConfigurationManagerImpl.java 2fdc9f2 
  server/src/com/cloud/network/ExternalDeviceUsageManagerImpl.java 3db5111 
  server/src/com/cloud/network/ExternalFirewallDeviceManagerImpl.java ec48d13 
  server/src/com/cloud/network/ExternalLoadBalancerDeviceManagerImpl.java 
f594c8c 
  server/src/com/cloud/network/NetworkManagerImpl.java 7feeb14 
  server/src/com/cloud/network/NetworkServiceImpl.java 7d0f9c7 
  server/src/com/cloud/network/guru/DirectPodBasedNetworkGuru.java 9ae636e 
  server/src/com/cloud/network/guru/ExternalGuestNetworkGuru.java bed61ea 
  server/src/com/cloud/network/guru/GuestNetworkGuru.java e980df9 
  server/src/com/cloud/network/guru/PrivateNetworkGuru.java 9f02175 
  
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java 
abe0746 
  server/src/com/cloud/network/vpc/PrivateGatewayProfile.java 74ce002 
  server/src/com/cloud/network/vpc/PrivateIpAddress.java 2f3cf53 
  server/src/com/cloud/network/vpc/VpcManagerImpl.java bce2d72 
  server/test/com/cloud/network/CreatePrivateNetworkTest.java dbb2b1f 
  server/test/com/cloud/vpc/MockNetworkManagerImpl.java 7df4c9c 
  server/test/com/cloud/vpc/MockVpcManagerImpl.java 7e40083 
  utils/src/com/cloud/utils/net/NetUtils.java 7a89103 

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


Testing
---

This is a rebase/port of code that has been tested intensively. It is here for 
review only at this time. re-tests are needed.


Thanks,

daan Hoogland



Re: Review Request 10957: (CLOUDSTACK-2319) fix "unable to add egress rules" in SecurityGroup

2013-09-02 Thread ASF Subversion and Git Services

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


Commit 62b09c9253a4a942f0e0b6649b87e18d4bc70464 in branch refs/heads/master 
from Wei Zhou
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=62b09c9 ]

CLOUDSTACK-2319: fix incorrect account_id in event table for Revoke 
SecurityGroupRule commands
(cherry picked from commit d9ba234d6c032aeb2ba04d4e6be0502de8a4efd9)


- ASF Subversion and Git Services


On May 6, 2013, 6:44 p.m., Wei Zhou wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10957/
> ---
> 
> (Updated May 6, 2013, 6:44 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Bugs: CLOUDSTACK-2319
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> This patch changes:
> (1) CloudStack UI (egress rule in Security Group)
> (2) findByUuidIncludingRemoved(uuid) return security_group_rule.id (find by 
> security_group_rule.uuid) instead of security_group.id (find by 
> security_group.uuid)
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/network/security/SecurityGroupRules.java d255e46 
>   core/src/com/cloud/network/security/SecurityGroupRulesVO.java 82060ef 
>   server/src/com/cloud/network/security/dao/SecurityGroupRulesDaoImpl.java 
> f08ca05 
>   ui/scripts/network.js 1bc4eba 
> 
> Diff: https://reviews.apache.org/r/10957/diff/
> 
> 
> Testing
> ---
> 
> Testing ok.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>



Issues with 4.2

2013-09-02 Thread sebgoa
Hi,

I spent some time testing 4.2 today:

* Aside from the SNMP Tests errors during build time,

* I got Devcloud up, configured the infrastructure with Marvin, logged in on 
the UI all was well.
And then impossible to get the systemvm to start.

Using DevCloud is our listed test procedure in the VOTE threads so it has to 
work. 

*Got a fresh install of 4.2 on a ubuntu 12.04, got the server up and running 
and then authentication failed with:

WARN  [server.auth.SHA256SaltedUserAuthenticator] (934430470@qtp-324730209-0:) 
The stored password for admin isn't in the right format for this authenticator
INFO  [cloud.user.AccountManagerImpl] (934430470@qtp-324730209-0:) User admin 
in domain ROOT is disabled/locked (or account is disabled/locked)

Anyone seeing this ?
thanks,

-Sebastien

[DOCS] feedback

2013-09-02 Thread sebgoa
Hi,

After seeing lots of frustrated people with folks I decided to try something 
out with markdown.

I used pandoc to convert some docbook files to markdown and I used a structure 
for a book based on 'The little mongodb' book.
We can generate epub and pdf using latex.

See:

https://github.com/runseb/cloudstack-books

There are two "books" aimed at being step by step recipes. Not long, not 
convoluted, single OS, etc…simple step by step.

https://github.com/runseb/cloudstack-books/blob/master/en/clients.markdown
https://github.com/runseb/cloudstack-books/blob/master/en/installation.markdown

I am still sanitizing the installation one based on 4.2 .

Comments, flames ?

-Sebastien



Re: Review Request 10957: (CLOUDSTACK-2319) fix "unable to add egress rules" in SecurityGroup

2013-09-02 Thread ASF Subversion and Git Services

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


Commit 15b03a2d246a6c19eed9f6c3e5bbf4a228800426 in branch refs/heads/4.1 from 
Wei Zhou
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=15b03a2 ]

CLOUDSTACK-2319: fix incorrect account_id in event table for Revoke 
SecurityGroupRule commands
(cherry picked from commit d9ba234d6c032aeb2ba04d4e6be0502de8a4efd9)


- ASF Subversion and Git Services


On May 6, 2013, 6:44 p.m., Wei Zhou wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10957/
> ---
> 
> (Updated May 6, 2013, 6:44 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Bugs: CLOUDSTACK-2319
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> This patch changes:
> (1) CloudStack UI (egress rule in Security Group)
> (2) findByUuidIncludingRemoved(uuid) return security_group_rule.id (find by 
> security_group_rule.uuid) instead of security_group.id (find by 
> security_group.uuid)
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/network/security/SecurityGroupRules.java d255e46 
>   core/src/com/cloud/network/security/SecurityGroupRulesVO.java 82060ef 
>   server/src/com/cloud/network/security/dao/SecurityGroupRulesDaoImpl.java 
> f08ca05 
>   ui/scripts/network.js 1bc4eba 
> 
> Diff: https://reviews.apache.org/r/10957/diff/
> 
> 
> Testing
> ---
> 
> Testing ok.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>



Re: [DOCS] feedback

2013-09-02 Thread Alexander Hitchins
Thanks Sebastien, I will read these tonight. I'm a big fan of Markdown 
and am using it for all my notes and docs.


Alex


On 9/2/2013 4:19 PM, sebgoa wrote:

Hi,

After seeing lots of frustrated people with folks I decided to try something 
out with markdown.

I used pandoc to convert some docbook files to markdown and I used a structure 
for a book based on 'The little mongodb' book.
We can generate epub and pdf using latex.

See:

https://github.com/runseb/cloudstack-books

There are two "books" aimed at being step by step recipes. Not long, not 
convoluted, single OS, etc…simple step by step.

https://github.com/runseb/cloudstack-books/blob/master/en/clients.markdown
https://github.com/runseb/cloudstack-books/blob/master/en/installation.markdown

I am still sanitizing the installation one based on 4.2 .

Comments, flames ?

-Sebastien



--

Alexander Hitchins
-
e: a...@alexhitchins.com
w: alexhitchins.com
m: 07788 423 969



Re: [WEBSITE] Question on adding ACS appliances to FAQ & Downloads

2013-09-02 Thread David Nalley
On Mon, Sep 2, 2013 at 10:14 AM, Musayev, Ilya  wrote:
> Sebastian,
>
> I did not want to release CloudStack Appliance as under CloudSand, the intent 
> was for this to be Apache CloudStack official, but after consulting with 
> Chip, he suggested I should keep this as CloudSand (I guess for some legal 
> reasons).
>

There are several issues. First Apache projects only 'release' source
code. We could provide something as a convenience binary, noting that
it is unofficial. However since this is linux-based there are plenty
of Cat-X licensed software, which is forbidden for us to redistribute.

Regardless, I am thrilled to see this work, thanks for doing it.

--David


Re: [DOCS] feedback

2013-09-02 Thread sebgoa

On Sep 2, 2013, at 5:19 PM, sebgoa  wrote:

> Hi,
> 
> After seeing lots of frustrated people with folks I decided to try something 
> out with markdown.
> 

s/folks/docs

> I used pandoc to convert some docbook files to markdown and I used a 
> structure for a book based on 'The little mongodb' book.
> We can generate epub and pdf using latex.
> 
> See:
> 
> https://github.com/runseb/cloudstack-books
> 
> There are two "books" aimed at being step by step recipes. Not long, not 
> convoluted, single OS, etc…simple step by step.
> 
> https://github.com/runseb/cloudstack-books/blob/master/en/clients.markdown
> https://github.com/runseb/cloudstack-books/blob/master/en/installation.markdown
> 
> I am still sanitizing the installation one based on 4.2 .
> 
> Comments, flames ?
> 
> -Sebastien
> 



RE: Issues with 4.2

2013-09-02 Thread Animesh Chaturvedi
Sebastien

DevCloud2 works with fix 1a333f36 for CLOUDSTACK-4559. The fix was put in 
4.2-forward branch by Edison. I need to cherry pick this and few other critical 
issues to 4.2 branch for the next VOTE on Tuesday

Animesh



> -Original Message-
> From: sebgoa [mailto:run...@gmail.com]
> Sent: Monday, September 02, 2013 8:15 AM
> To: dev@cloudstack.apache.org
> Subject: Issues with 4.2
> 
> Hi,
> 
> I spent some time testing 4.2 today:
> 
> * Aside from the SNMP Tests errors during build time,
> 
> * I got Devcloud up, configured the infrastructure with Marvin, logged
> in on the UI all was well.
> And then impossible to get the systemvm to start.
> 
> Using DevCloud is our listed test procedure in the VOTE threads so it
> has to work.
> 
> *Got a fresh install of 4.2 on a ubuntu 12.04, got the server up and
> running and then authentication failed with:
> 
> WARN  [server.auth.SHA256SaltedUserAuthenticator] (934430470@qtp-
> 324730209-0:) The stored password for admin isn't in the right format
> for this authenticator INFO  [cloud.user.AccountManagerImpl]
> (934430470@qtp-324730209-0:) User admin in domain ROOT is
> disabled/locked (or account is disabled/locked)
> 
> Anyone seeing this ?
> thanks,
> 
> -Sebastien


Re: Issues with 4.2

2013-09-02 Thread Sebastien Goasguen

On 2 Sep 2013, at 19:27, Animesh Chaturvedi  
wrote:

> Sebastien
> 
> DevCloud2 works with fix 1a333f36 for CLOUDSTACK-4559. The fix was put in 
> 4.2-forward branch by Edison. I need to cherry pick this and few other 
> critical issues to 4.2 branch for the next VOTE on Tuesday
> 

Ok i will try to cherry pick myself and test before you cut a new RC.


> Animesh
> 
> 
> 
>> -Original Message-
>> From: sebgoa [mailto:run...@gmail.com]
>> Sent: Monday, September 02, 2013 8:15 AM
>> To: dev@cloudstack.apache.org
>> Subject: Issues with 4.2
>> 
>> Hi,
>> 
>> I spent some time testing 4.2 today:
>> 
>> * Aside from the SNMP Tests errors during build time,
>> 
>> * I got Devcloud up, configured the infrastructure with Marvin, logged
>> in on the UI all was well.
>> And then impossible to get the systemvm to start.
>> 
>> Using DevCloud is our listed test procedure in the VOTE threads so it
>> has to work.
>> 
>> *Got a fresh install of 4.2 on a ubuntu 12.04, got the server up and
>> running and then authentication failed with:
>> 
>> WARN  [server.auth.SHA256SaltedUserAuthenticator] (934430470@qtp-
>> 324730209-0:) The stored password for admin isn't in the right format
>> for this authenticator INFO  [cloud.user.AccountManagerImpl]
>> (934430470@qtp-324730209-0:) User admin in domain ROOT is
>> disabled/locked (or account is disabled/locked)
>> 
>> Anyone seeing this ?
>> thanks,
>> 
>> -Sebastien


Re: [DOCS] feedback

2013-09-02 Thread Ian Duffy
Love the idea of using markdown! Much easier to write then docbook.

Any idea if it supports the syntax highlighting markdown features github
offer?

e.g.

```shell
#!/bin/bash
echo "hello world"
```

Had some slight issues building on OSX due to me missing the font used and
certain laTeX plugins.
I noticed when I built it some of the code didn't wrap correctly and went
outside of its codeblock, can
this be fixed or is it something we just live with?

On 2 September 2013 17:53, sebgoa  wrote:

>
> On Sep 2, 2013, at 5:19 PM, sebgoa  wrote:
>
> > Hi,
> >
> > After seeing lots of frustrated people with folks I decided to try
> something out with markdown.
> >
>
> s/folks/docs
>
> > I used pandoc to convert some docbook files to markdown and I used a
> structure for a book based on 'The little mongodb' book.
> > We can generate epub and pdf using latex.
> >
> > See:
> >
> > https://github.com/runseb/cloudstack-books
> >
> > There are two "books" aimed at being step by step recipes. Not long, not
> convoluted, single OS, etc…simple step by step.
> >
> >
> https://github.com/runseb/cloudstack-books/blob/master/en/clients.markdown
> >
> https://github.com/runseb/cloudstack-books/blob/master/en/installation.markdown
> >
> > I am still sanitizing the installation one based on 4.2 .
> >
> > Comments, flames ?
> >
> > -Sebastien
> >
>
>


Re: [DOCS] feedback

2013-09-02 Thread Alexander Hitchins
By syntax highlighting do you mean marking 'code sections'? If so then 
yes you can...


http://daringfireball.net/projects/markdown/syntax#precode

Alex Hitchins

On 9/2/2013 8:31 PM, Ian Duffy wrote:

Love the idea of using markdown! Much easier to write then docbook.

Any idea if it supports the syntax highlighting markdown features github
offer?

e.g.

```shell
#!/bin/bash
echo "hello world"
```

Had some slight issues building on OSX due to me missing the font used and
certain laTeX plugins.
I noticed when I built it some of the code didn't wrap correctly and went
outside of its codeblock, can
this be fixed or is it something we just live with?

On 2 September 2013 17:53, sebgoa  wrote:


On Sep 2, 2013, at 5:19 PM, sebgoa  wrote:


Hi,

After seeing lots of frustrated people with folks I decided to try

something out with markdown.
s/folks/docs


I used pandoc to convert some docbook files to markdown and I used a

structure for a book based on 'The little mongodb' book.

We can generate epub and pdf using latex.

See:

https://github.com/runseb/cloudstack-books

There are two "books" aimed at being step by step recipes. Not long, not

convoluted, single OS, etc…simple step by step.



https://github.com/runseb/cloudstack-books/blob/master/en/clients.markdown
https://github.com/runseb/cloudstack-books/blob/master/en/installation.markdown

I am still sanitizing the installation one based on 4.2 .

Comments, flames ?

-Sebastien





--
​
Alexander Hitchins
-
e: a...@alexhitchins.com
w: alexhitchins.com
m: 07788 423 969



Re: [DOCS] feedback

2013-09-02 Thread Sebastien Goasguen

On Sep 2, 2013, at 3:31 PM, Ian Duffy  wrote:

> Love the idea of using markdown! Much easier to write then docbook.
> 
> Any idea if it supports the syntax highlighting markdown features github
> offer?
> 
> e.g.
> 
> ```shell
> #!/bin/bash
> echo "hello world"
> ```
> 
> Had some slight issues building on OSX due to me missing the font used and
> certain laTeX plugins.
> I noticed when I built it some of the code didn't wrap correctly and went
> outside of its codeblock, can
> this be fixed or is it something we just live with?
> 

latex on OSX is a bit of a pain, I have an issue with it too, will look at it 
in the coming days.

If you open the markdown file in github you will see the rendering right 
there...

> On 2 September 2013 17:53, sebgoa  wrote:
> 
>> 
>> On Sep 2, 2013, at 5:19 PM, sebgoa  wrote:
>> 
>>> Hi,
>>> 
>>> After seeing lots of frustrated people with folks I decided to try
>> something out with markdown.
>>> 
>> 
>> s/folks/docs
>> 
>>> I used pandoc to convert some docbook files to markdown and I used a
>> structure for a book based on 'The little mongodb' book.
>>> We can generate epub and pdf using latex.
>>> 
>>> See:
>>> 
>>> https://github.com/runseb/cloudstack-books
>>> 
>>> There are two "books" aimed at being step by step recipes. Not long, not
>> convoluted, single OS, etc…simple step by step.
>>> 
>>> 
>> https://github.com/runseb/cloudstack-books/blob/master/en/clients.markdown
>>> 
>> https://github.com/runseb/cloudstack-books/blob/master/en/installation.markdown
>>> 
>>> I am still sanitizing the installation one based on 4.2 .
>>> 
>>> Comments, flames ?
>>> 
>>> -Sebastien
>>> 
>> 
>> 



Re: [DOCS] feedback

2013-09-02 Thread Ian Duffy
> By syntax highlighting do you mean marking 'code sections'? If so then
yes you can...

http://daringfireball.net/**projects/markdown/syntax#**precode

No, syntax highlighting isn't part of the markdown spec, which is why I
asked. Its something github added to their own flavor of it.

> latex on OSX is a bit of a pain, I have an issue with it too, will look
at it in the coming days.
I got around it eventually. If you want me to post details I can go back on
my bash history.


On 2 September 2013 20:46, Sebastien Goasguen  wrote:

>
> On Sep 2, 2013, at 3:31 PM, Ian Duffy  wrote:
>
> > Love the idea of using markdown! Much easier to write then docbook.
> >
> > Any idea if it supports the syntax highlighting markdown features github
> > offer?
> >
> > e.g.
> >
> > ```shell
> > #!/bin/bash
> > echo "hello world"
> > ```
> >
> > Had some slight issues building on OSX due to me missing the font used
> and
> > certain laTeX plugins.
> > I noticed when I built it some of the code didn't wrap correctly and went
> > outside of its codeblock, can
> > this be fixed or is it something we just live with?
> >
>
> latex on OSX is a bit of a pain, I have an issue with it too, will look at
> it in the coming days.
>
> If you open the markdown file in github you will see the rendering right
> there...
>
> > On 2 September 2013 17:53, sebgoa  wrote:
> >
> >>
> >> On Sep 2, 2013, at 5:19 PM, sebgoa  wrote:
> >>
> >>> Hi,
> >>>
> >>> After seeing lots of frustrated people with folks I decided to try
> >> something out with markdown.
> >>>
> >>
> >> s/folks/docs
> >>
> >>> I used pandoc to convert some docbook files to markdown and I used a
> >> structure for a book based on 'The little mongodb' book.
> >>> We can generate epub and pdf using latex.
> >>>
> >>> See:
> >>>
> >>> https://github.com/runseb/cloudstack-books
> >>>
> >>> There are two "books" aimed at being step by step recipes. Not long,
> not
> >> convoluted, single OS, etc…simple step by step.
> >>>
> >>>
> >>
> https://github.com/runseb/cloudstack-books/blob/master/en/clients.markdown
> >>>
> >>
> https://github.com/runseb/cloudstack-books/blob/master/en/installation.markdown
> >>>
> >>> I am still sanitizing the installation one based on 4.2 .
> >>>
> >>> Comments, flames ?
> >>>
> >>> -Sebastien
> >>>
> >>
> >>
>
>


Re: [DOCS] feedback

2013-09-02 Thread Sebastien Goasguen

On Sep 2, 2013, at 3:53 PM, Ian Duffy  wrote:

>> By syntax highlighting do you mean marking 'code sections'? If so then
> yes you can...
> 
> http://daringfireball.net/**projects/markdown/syntax#**precode
> 
> No, syntax highlighting isn't part of the markdown spec, which is why I
> asked. Its something github added to their own flavor of it.
> 
>> latex on OSX is a bit of a pain, I have an issue with it too, will look
> at it in the coming days.
> I got around it eventually. If you want me to post details I can go back on
> my bash history.
> 

yes please, I had issues with missing fonts...

> 
> On 2 September 2013 20:46, Sebastien Goasguen  wrote:
> 
>> 
>> On Sep 2, 2013, at 3:31 PM, Ian Duffy  wrote:
>> 
>>> Love the idea of using markdown! Much easier to write then docbook.
>>> 
>>> Any idea if it supports the syntax highlighting markdown features github
>>> offer?
>>> 
>>> e.g.
>>> 
>>> ```shell
>>> #!/bin/bash
>>> echo "hello world"
>>> ```
>>> 
>>> Had some slight issues building on OSX due to me missing the font used
>> and
>>> certain laTeX plugins.
>>> I noticed when I built it some of the code didn't wrap correctly and went
>>> outside of its codeblock, can
>>> this be fixed or is it something we just live with?
>>> 
>> 
>> latex on OSX is a bit of a pain, I have an issue with it too, will look at
>> it in the coming days.
>> 
>> If you open the markdown file in github you will see the rendering right
>> there...
>> 
>>> On 2 September 2013 17:53, sebgoa  wrote:
>>> 
 
 On Sep 2, 2013, at 5:19 PM, sebgoa  wrote:
 
> Hi,
> 
> After seeing lots of frustrated people with folks I decided to try
 something out with markdown.
> 
 
 s/folks/docs
 
> I used pandoc to convert some docbook files to markdown and I used a
 structure for a book based on 'The little mongodb' book.
> We can generate epub and pdf using latex.
> 
> See:
> 
> https://github.com/runseb/cloudstack-books
> 
> There are two "books" aimed at being step by step recipes. Not long,
>> not
 convoluted, single OS, etc…simple step by step.
> 
> 
 
>> https://github.com/runseb/cloudstack-books/blob/master/en/clients.markdown
> 
 
>> https://github.com/runseb/cloudstack-books/blob/master/en/installation.markdown
> 
> I am still sanitizing the installation one based on 4.2 .
> 
> Comments, flames ?
> 
> -Sebastien
> 
 
 
>> 
>> 



Re: [DOCS] feedback

2013-09-02 Thread Ian Duffy
> yes please, I had issues with missing fonts...

First issue was font, I was missing Consolas. Grabbed it from here
http://www.fontpalace.com/font-details/Consolas/ and just installed using
the fonts manager in OSX.

Then I hit an issue with sectsty.sty not being found. Thankfully the tex
package manager took care of this.
$ sudo tlmgr update --all
$ sudo tlmgr install sectsty

and then same again with paralist.sty
$ sudo tlmgr install paralist

After that it was building just fine.


On 2 September 2013 20:56, Sebastien Goasguen  wrote:

>
> On Sep 2, 2013, at 3:53 PM, Ian Duffy  wrote:
>
> >> By syntax highlighting do you mean marking 'code sections'? If so then
> > yes you can...
> >
> > http://daringfireball.net/**projects/markdown/syntax#**precode<
> http://daringfireball.net/projects/markdown/syntax#precode>
> >
> > No, syntax highlighting isn't part of the markdown spec, which is why I
> > asked. Its something github added to their own flavor of it.
> >
> >> latex on OSX is a bit of a pain, I have an issue with it too, will look
> > at it in the coming days.
> > I got around it eventually. If you want me to post details I can go back
> on
> > my bash history.
> >
>
> yes please, I had issues with missing fonts...
>
> >
> > On 2 September 2013 20:46, Sebastien Goasguen  wrote:
> >
> >>
> >> On Sep 2, 2013, at 3:31 PM, Ian Duffy  wrote:
> >>
> >>> Love the idea of using markdown! Much easier to write then docbook.
> >>>
> >>> Any idea if it supports the syntax highlighting markdown features
> github
> >>> offer?
> >>>
> >>> e.g.
> >>>
> >>> ```shell
> >>> #!/bin/bash
> >>> echo "hello world"
> >>> ```
> >>>
> >>> Had some slight issues building on OSX due to me missing the font used
> >> and
> >>> certain laTeX plugins.
> >>> I noticed when I built it some of the code didn't wrap correctly and
> went
> >>> outside of its codeblock, can
> >>> this be fixed or is it something we just live with?
> >>>
> >>
> >> latex on OSX is a bit of a pain, I have an issue with it too, will look
> at
> >> it in the coming days.
> >>
> >> If you open the markdown file in github you will see the rendering right
> >> there...
> >>
> >>> On 2 September 2013 17:53, sebgoa  wrote:
> >>>
> 
>  On Sep 2, 2013, at 5:19 PM, sebgoa  wrote:
> 
> > Hi,
> >
> > After seeing lots of frustrated people with folks I decided to try
>  something out with markdown.
> >
> 
>  s/folks/docs
> 
> > I used pandoc to convert some docbook files to markdown and I used a
>  structure for a book based on 'The little mongodb' book.
> > We can generate epub and pdf using latex.
> >
> > See:
> >
> > https://github.com/runseb/cloudstack-books
> >
> > There are two "books" aimed at being step by step recipes. Not long,
> >> not
>  convoluted, single OS, etc…simple step by step.
> >
> >
> 
> >>
> https://github.com/runseb/cloudstack-books/blob/master/en/clients.markdown
> >
> 
> >>
> https://github.com/runseb/cloudstack-books/blob/master/en/installation.markdown
> >
> > I am still sanitizing the installation one based on 4.2 .
> >
> > Comments, flames ?
> >
> > -Sebastien
> >
> 
> 
> >>
> >>
>
>


Re: [DOCS] feedback

2013-09-02 Thread Sebastien Goasguen

On Sep 2, 2013, at 4:06 PM, Ian Duffy  wrote:

>> yes please, I had issues with missing fonts...
> 
> First issue was font, I was missing Consolas. Grabbed it from here
> http://www.fontpalace.com/font-details/Consolas/ and just installed using
> the fonts manager in OSX.
> 
> Then I hit an issue with sectsty.sty not being found. Thankfully the tex
> package manager took care of this.
> $ sudo tlmgr update --all
> $ sudo tlmgr install sectsty
> 
> and then same again with paralist.sty
> $ sudo tlmgr install paralist

Ok had to add :

$sudo tlmgr install preprint

the pdf looks clean, simple but clean

thanks

> 
> After that it was building just fine.
> 
> 
> On 2 September 2013 20:56, Sebastien Goasguen  wrote:
> 
>> 
>> On Sep 2, 2013, at 3:53 PM, Ian Duffy  wrote:
>> 
 By syntax highlighting do you mean marking 'code sections'? If so then
>>> yes you can...
>>> 
>>> http://daringfireball.net/**projects/markdown/syntax#**precode<
>> http://daringfireball.net/projects/markdown/syntax#precode>
>>> 
>>> No, syntax highlighting isn't part of the markdown spec, which is why I
>>> asked. Its something github added to their own flavor of it.
>>> 
 latex on OSX is a bit of a pain, I have an issue with it too, will look
>>> at it in the coming days.
>>> I got around it eventually. If you want me to post details I can go back
>> on
>>> my bash history.
>>> 
>> 
>> yes please, I had issues with missing fonts...
>> 
>>> 
>>> On 2 September 2013 20:46, Sebastien Goasguen  wrote:
>>> 
 
 On Sep 2, 2013, at 3:31 PM, Ian Duffy  wrote:
 
> Love the idea of using markdown! Much easier to write then docbook.
> 
> Any idea if it supports the syntax highlighting markdown features
>> github
> offer?
> 
> e.g.
> 
> ```shell
> #!/bin/bash
> echo "hello world"
> ```
> 
> Had some slight issues building on OSX due to me missing the font used
 and
> certain laTeX plugins.
> I noticed when I built it some of the code didn't wrap correctly and
>> went
> outside of its codeblock, can
> this be fixed or is it something we just live with?
> 
 
 latex on OSX is a bit of a pain, I have an issue with it too, will look
>> at
 it in the coming days.
 
 If you open the markdown file in github you will see the rendering right
 there...
 
> On 2 September 2013 17:53, sebgoa  wrote:
> 
>> 
>> On Sep 2, 2013, at 5:19 PM, sebgoa  wrote:
>> 
>>> Hi,
>>> 
>>> After seeing lots of frustrated people with folks I decided to try
>> something out with markdown.
>>> 
>> 
>> s/folks/docs
>> 
>>> I used pandoc to convert some docbook files to markdown and I used a
>> structure for a book based on 'The little mongodb' book.
>>> We can generate epub and pdf using latex.
>>> 
>>> See:
>>> 
>>> https://github.com/runseb/cloudstack-books
>>> 
>>> There are two "books" aimed at being step by step recipes. Not long,
 not
>> convoluted, single OS, etc…simple step by step.
>>> 
>>> 
>> 
 
>> https://github.com/runseb/cloudstack-books/blob/master/en/clients.markdown
>>> 
>> 
 
>> https://github.com/runseb/cloudstack-books/blob/master/en/installation.markdown
>>> 
>>> I am still sanitizing the installation one based on 4.2 .
>>> 
>>> Comments, flames ?
>>> 
>>> -Sebastien
>>> 
>> 
>> 
 
 
>> 
>> 



Review Request 13938: StringUtils csv methods simplified

2013-09-02 Thread Laszlo Hornyak

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

Review request for cloudstack and Prachi Damle.


Repository: cloudstack-git


Description
---

- longer method bodies replaced with oneliners
- tests added to ensure compatibility


Diffs
-

  utils/src/com/cloud/utils/StringUtils.java 948c0ac 
  utils/test/com/cloud/utils/StringUtilsTest.java ae37c24 

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


Testing
---


Thanks,

Laszlo Hornyak



Review Request 13939: String join simplification

2013-09-02 Thread Laszlo Hornyak

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

Review request for cloudstack and David Nalley.


Repository: cloudstack-git


Description
---

- use commons-lang stringutils
- added test to check compatibility


Diffs
-

  utils/src/com/cloud/utils/StringUtils.java 948c0ac 
  utils/test/com/cloud/utils/StringUtilsTest.java ae37c24 

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


Testing
---


Thanks,

Laszlo Hornyak



Could not find corresponding resource manager for VMware

2013-09-02 Thread Michael Phillips
All,
   I have been trying for the last week to build CS 4.1 with the nonoss 
packages. I have followed the instructions for the nonoss build perfectly, it 
installs the nonoss jars with 100% success, I then build the rpms, which all 
build with 100% success. I then install cloudstack using the RPMS, but when I 
go to add a vcenter cluster I get the following message "Could not find 
corresponding resource manager for VMware". Googling this message makes me 
believe that my RPMS were not built with the nonoss options but I know for a 
fact they are. I have tried the vmware jars downloaded from the "how to build 
on master branch" wiki, and also from the vmware 4.1 and 5.1 SDK's...all result 
with the same resource manager errorWhat am I missing?  
   

RE: Could not find corresponding resource manager for VMware

2013-09-02 Thread Musayev, Ilya
Did you use package.sh -p nonoss ?


- All mistakes in this message are not mine but Android's.


 Original message 
From: Michael Phillips 
Date: 09/02/2013 8:01 PM (GMT-05:00)
To: dev@cloudstack.apache.org
Subject: Could not find corresponding resource manager for VMware


All,
   I have been trying for the last week to build CS 4.1 with the nonoss 
packages. I have followed the instructions for the nonoss build perfectly, it 
installs the nonoss jars with 100% success, I then build the rpms, which all 
build with 100% success. I then install cloudstack using the RPMS, but when I 
go to add a vcenter cluster I get the following message "Could not find 
corresponding resource manager for VMware". Googling this message makes me 
believe that my RPMS were not built with the nonoss options but I know for a 
fact they are. I have tried the vmware jars downloaded from the "how to build 
on master branch" wiki, and also from the vmware 4.1 and 5.1 SDK's...all result 
with the same resource manager errorWhat am I missing?


RE: Could not find corresponding resource manager for VMware

2013-09-02 Thread Michael Phillips
I did not..
I added the jars to cloudstack using the "mvn install -Dnonoss" command then 
packaged it just using "package.sh"
Guessing I was supposed to add the "-p nonoss" to that? Is that documented 
anywhere?

> From: imusa...@webmd.net
> To: dev@cloudstack.apache.org
> Subject: RE: Could not find corresponding resource manager for VMware
> Date: Tue, 3 Sep 2013 02:11:21 +
> 
> Did you use package.sh -p nonoss ?
> 
> 
> - All mistakes in this message are not mine but Android's.
> 
> 
>  Original message 
> From: Michael Phillips 
> Date: 09/02/2013 8:01 PM (GMT-05:00)
> To: dev@cloudstack.apache.org
> Subject: Could not find corresponding resource manager for VMware
> 
> 
> All,
>I have been trying for the last week to build CS 4.1 with the nonoss 
> packages. I have followed the instructions for the nonoss build perfectly, it 
> installs the nonoss jars with 100% success, I then build the rpms, which all 
> build with 100% success. I then install cloudstack using the RPMS, but when I 
> go to add a vcenter cluster I get the following message "Could not find 
> corresponding resource manager for VMware". Googling this message makes me 
> believe that my RPMS were not built with the nonoss options but I know for a 
> fact they are. I have tried the vmware jars downloaded from the "how to build 
> on master branch" wiki, and also from the vmware 4.1 and 5.1 SDK's...all 
> result with the same resource manager errorWhat am I missing?
  

Re: Could not find corresponding resource manager for VMware

2013-09-02 Thread Prasanna Santhanam
Sorry, it isn't. Please file a doc bug. I'll fix this in our docs
today.

On Mon, Sep 02, 2013 at 09:32:51PM -0500, Michael Phillips wrote:
> I did not..
> I added the jars to cloudstack using the "mvn install -Dnonoss" command then 
> packaged it just using "package.sh"
> Guessing I was supposed to add the "-p nonoss" to that? Is that documented 
> anywhere?
> 
> > From: imusa...@webmd.net
> > To: dev@cloudstack.apache.org
> > Subject: RE: Could not find corresponding resource manager for VMware
> > Date: Tue, 3 Sep 2013 02:11:21 +
> > 
> > Did you use package.sh -p nonoss ?
> > 
> > 
> > - All mistakes in this message are not mine but Android's.
> > 
> > 
> >  Original message 
> > From: Michael Phillips 
> > Date: 09/02/2013 8:01 PM (GMT-05:00)
> > To: dev@cloudstack.apache.org
> > Subject: Could not find corresponding resource manager for VMware
> > 
> > 
> > All,
> >I have been trying for the last week to build CS 4.1 with the nonoss 
> > packages. I have followed the instructions for the nonoss build perfectly, 
> > it installs the nonoss jars with 100% success, I then build the rpms, which 
> > all build with 100% success. I then install cloudstack using the RPMS, but 
> > when I go to add a vcenter cluster I get the following message "Could not 
> > find corresponding resource manager for VMware". Googling this message 
> > makes me believe that my RPMS were not built with the nonoss options but I 
> > know for a fact they are. I have tried the vmware jars downloaded from the 
> > "how to build on master branch" wiki, and also from the vmware 4.1 and 5.1 
> > SDK's...all result with the same resource manager errorWhat am I 
> > missing?
> 

-- 
Prasanna.,


Powered by BigRock.com



RE: Could not find corresponding resource manager for VMware

2013-09-02 Thread Musayev, Ilya
I think its documented (but I can't recall for certain). You need to use "-p 
nonoss" to package nonoss packages.

Also you don't need to do "mvn install -Dnonoss". Its good to do it initially 
to confirm all builds well, but going forward the packaging process will take 
care of It.

Regards
Ilya


- All mistakes in this message are not mine but Android's.


 Original message 
From: Michael Phillips 
Date: 09/02/2013 10:33 PM (GMT-05:00)
To: dev@cloudstack.apache.org
Subject: RE: Could not find corresponding resource manager for VMware


I did not..
I added the jars to cloudstack using the "mvn install -Dnonoss" command then 
packaged it just using "package.sh"
Guessing I was supposed to add the "-p nonoss" to that? Is that documented 
anywhere?

> From: imusa...@webmd.net
> To: dev@cloudstack.apache.org
> Subject: RE: Could not find corresponding resource manager for VMware
> Date: Tue, 3 Sep 2013 02:11:21 +
>
> Did you use package.sh -p nonoss ?
>
>
> - All mistakes in this message are not mine but Android's.
>
>
>  Original message 
> From: Michael Phillips 
> Date: 09/02/2013 8:01 PM (GMT-05:00)
> To: dev@cloudstack.apache.org
> Subject: Could not find corresponding resource manager for VMware
>
>
> All,
>I have been trying for the last week to build CS 4.1 with the nonoss 
> packages. I have followed the instructions for the nonoss build perfectly, it 
> installs the nonoss jars with 100% success, I then build the rpms, which all 
> build with 100% success. I then install cloudstack using the RPMS, but when I 
> go to add a vcenter cluster I get the following message "Could not find 
> corresponding resource manager for VMware". Googling this message makes me 
> believe that my RPMS were not built with the nonoss options but I know for a 
> fact they are. I have tried the vmware jars downloaded from the "how to build 
> on master branch" wiki, and also from the vmware 4.1 and 5.1 SDK's...all 
> result with the same resource manager errorWhat am I missing?



RE: Could not find corresponding resource manager for VMware

2013-09-02 Thread Michael Phillips
Let me try that, I will report back my findings.
How do I file a report bug if it fixes the issue?

> From: imusa...@webmd.net
> To: dev@cloudstack.apache.org
> Subject: RE: Could not find corresponding resource manager for VMware
> Date: Tue, 3 Sep 2013 02:46:35 +
> 
> I think its documented (but I can't recall for certain). You need to use "-p 
> nonoss" to package nonoss packages.
> 
> Also you don't need to do "mvn install -Dnonoss". Its good to do it initially 
> to confirm all builds well, but going forward the packaging process will take 
> care of It.
> 
> Regards
> Ilya
> 
> 
> - All mistakes in this message are not mine but Android's.
> 
> 
>  Original message 
> From: Michael Phillips 
> Date: 09/02/2013 10:33 PM (GMT-05:00)
> To: dev@cloudstack.apache.org
> Subject: RE: Could not find corresponding resource manager for VMware
> 
> 
> I did not..
> I added the jars to cloudstack using the "mvn install -Dnonoss" command then 
> packaged it just using "package.sh"
> Guessing I was supposed to add the "-p nonoss" to that? Is that documented 
> anywhere?
> 
> > From: imusa...@webmd.net
> > To: dev@cloudstack.apache.org
> > Subject: RE: Could not find corresponding resource manager for VMware
> > Date: Tue, 3 Sep 2013 02:11:21 +
> >
> > Did you use package.sh -p nonoss ?
> >
> >
> > - All mistakes in this message are not mine but Android's.
> >
> >
> >  Original message 
> > From: Michael Phillips 
> > Date: 09/02/2013 8:01 PM (GMT-05:00)
> > To: dev@cloudstack.apache.org
> > Subject: Could not find corresponding resource manager for VMware
> >
> >
> > All,
> >I have been trying for the last week to build CS 4.1 with the nonoss 
> > packages. I have followed the instructions for the nonoss build perfectly, 
> > it installs the nonoss jars with 100% success, I then build the rpms, which 
> > all build with 100% success. I then install cloudstack using the RPMS, but 
> > when I go to add a vcenter cluster I get the following message "Could not 
> > find corresponding resource manager for VMware". Googling this message 
> > makes me believe that my RPMS were not built with the nonoss options but I 
> > know for a fact they are. I have tried the vmware jars downloaded from the 
> > "how to build on master branch" wiki, and also from the vmware 4.1 and 5.1 
> > SDK's...all result with the same resource manager errorWhat am I 
> > missing?
> 
  

Re: SSVM request handling in VMWare

2013-09-02 Thread Min Chen
By default, in 4.2, CopyCommand are executed in sequence, maybe that is the 
reason. You can change global settings to make them run in parallel.

-min

Sent from my iPhone

On Sep 1, 2013, at 10:54 PM, "Sanjeev Neelarapu"  
wrote:

> Thaks for the response Kelvin.
> 
> I was checking SSVM logs when performed these operations. As per my 
> observation when snapshot operation was going on, 
> Initiating template creation from another existing snapshot waited for the 
> first snapshot to finish and then template was created.
> So the question here is are all the operation on SSVM sequential? Aren't they 
> executed in parallel?
> 
> Thanks,
> Sanjeev
> 
> 
> -Original Message-
> From: Kelven Yang [mailto:kelven.y...@citrix.com] 
> Sent: Wednesday, August 28, 2013 9:37 PM
> To: dev@cloudstack.apache.org; cloudstack-...@incubator.apache.org
> Subject: Re: SSVM request handling in VMWare
> 
> Template creation is handled in SSVM, you need to check the SSVM log
> 
> Kelven
> 
> On 8/27/13 5:49 AM, "Sanjeev Neelarapu" 
> wrote:
> 
>> Hi All,
>> 
>> I was performing some operations related to snapshots and templates on 
>> VMWare with CS 4.2.
>> Initiated create snapshot and while that was in processing tried to 
>> create template from another existing snapshot.
>> In /var/log/cloud.log I could see logs related to snapshot creation 
>> process but din't see  any messages related to template creation from 
>> snapshot.
>> So the question is SSVM request handling is sequential in 4.2 ?
>> 
>> Thanks,
>> Sanjeev
> 


Re: Review Request 13939: String join simplification

2013-09-02 Thread Rajesh Battala

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

Ship it!


API used will handle NULL iterator also..

Joins the elements of the provided Collection into a single String containing 
the provided elements.
No delimiter is added before or after the list. Null objects or empty strings 
within the iteration are represented by empty strings.

- Rajesh Battala


On Sept. 2, 2013, 10 p.m., Laszlo Hornyak wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13939/
> ---
> 
> (Updated Sept. 2, 2013, 10 p.m.)
> 
> 
> Review request for cloudstack and David Nalley.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> - use commons-lang stringutils
> - added test to check compatibility
> 
> 
> Diffs
> -
> 
>   utils/src/com/cloud/utils/StringUtils.java 948c0ac 
>   utils/test/com/cloud/utils/StringUtilsTest.java ae37c24 
> 
> Diff: https://reviews.apache.org/r/13939/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Laszlo Hornyak
> 
>



Re: Review Request 13938: StringUtils csv methods simplified

2013-09-02 Thread Rajesh Battala

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


After from that whitespace character, Looks good to me.


utils/test/com/cloud/utils/StringUtilsTest.java


whitespace character


- Rajesh Battala


On Sept. 2, 2013, 9:37 p.m., Laszlo Hornyak wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13938/
> ---
> 
> (Updated Sept. 2, 2013, 9:37 p.m.)
> 
> 
> Review request for cloudstack and Prachi Damle.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> - longer method bodies replaced with oneliners
> - tests added to ensure compatibility
> 
> 
> Diffs
> -
> 
>   utils/src/com/cloud/utils/StringUtils.java 948c0ac 
>   utils/test/com/cloud/utils/StringUtilsTest.java ae37c24 
> 
> Diff: https://reviews.apache.org/r/13938/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Laszlo Hornyak
> 
>



RE: NetworkElements: configure the provider to enable the provider?

2013-09-02 Thread Soheil Eizadi
Hi Prasanna,
The limitation you have highlighted "enable network service providers without 
actually adding the device" is not enforced by the NetworkManager but by the 
design of the NetworkElement.

If you have not registered a device with the Netscaler NetworkElement it is 
rejecting the Enable. The NetworkManager calls the NetworkElement isReady() and 
that determines if it is ready to accept the call to Enable. I assume that 
NetScaler NetworkElement code can not handle subsequent calls to Prepare() etc. 
unless a device is configured.

I assume those other NetworkElements you have highlighted, have chosen to 
return True on that call, and handle the subsequent calls e.g. Prepare(), when 
there is not a device, my NetworkElement behaves this way so that it can be 
enabled early when there is no device.

There is a design pattern to enable some Network Elements that offer service to 
the Physical and Guest network in the call to createPhysicalNetwork() in 
NetworkServiceImpl:

...

  // add VirtualRouter as the default network service provider
addDefaultVirtualRouterToPhysicalNetwork(pNetwork.getId());

// add security group provider to the physical network
addDefaultSecurityGroupProviderToPhysicalNetwork(pNetwork.getId());

// add VPCVirtualRouter as the defualt network service provider
addDefaultVpcVirtualRouterToPhysicalNetwork(pNetwork.getId());

// add baremetal as the defualt network service provider
addDefaultBaremetalProvidersToPhysicalNetwork(pNetwork.getId());

//Add Internal Load Balancer element as a default network service 
provider
addDefaultInternalLbProviderToPhysicalNetwork(pNetwork.getId());

// add Infoblox as the default network service provider
addDefaultInfobloxProvidersToPhysicalNetwork(pNetwork.getId());

-Soheil

From: Prasanna Santhanam [t...@apache.org]
Sent: Saturday, August 31, 2013 1:36 AM
To: CloudStack Dev
Subject: NetworkElements: configure the provider to enable the provider?

I'm looking to enable network service providers without actually
adding the device but it appears as if the addition of the device is
coupled with the enabling of the provider. While this is not the case
with default providers like VR, VpcVR, security groups and the
InternalLbVm?

What is the reason for the restriction placed on External
NetworkElements? In marvin integration tests [1] we want to be able to
enable the provider whilst deployment and later add VPX Netscalers per
test but this is not possible since the Netscaler provider cannot be
enabled during the deployment of CloudStack. The problem exists with
the implementation of other providers as well like JuniperSRX,
F5BigIp.

Nicira and Midonet however are always ready to be enabled.

I tried the following via API:

$add networkserviceprovider name=Netscaler 
physicalnetworkid=0d1a18d5-837e-4973-8b06-ff1f3a8bdbfd

The netscaler element is registered successfully but disabled:
mysql> select id, state, provider_name, physical_network_id from
physical_network_service_providers;
++--+---+-+
| id | state| provider_name | physical_network_id |
++--+---+-+
|  1 | Enabled  | VirtualRouter | 200 |
|  2 | Disabled | SecurityGroupProvider | 200 |
|  3 | Enabled  | VpcVirtualRouter  | 200 |
|  4 | Enabled  | InternalLbVm  | 200 |
|  5 | Disabled | Netscaler | 200 |
|  6 | Disabled | JuniperSRX| 200 |
++--+---+-+
6 rows in set (0.00 sec)

So I enable it using:

$update networkserviceprovider id=1a266697-838a-4322-b894-235bdc158da1 
state=Enabled

Async job d830d7aa-2a1e-44a4-a736-4885a668e8a6 failed
Error 530, Provider is not ready, cannot Enable the provider, please configure 
the provider first
accountid = e31a616a-1212-11e3-8a03-ef159ac306d1
cmd = 
org.apache.cloudstack.api.command.admin.network.UpdateNetworkServiceProviderCmd
created = 2013-08-31T13:58:12+0530
jobid = d830d7aa-2a1e-44a4-a736-4885a668e8a6
jobprocstatus = 0
jobresult:
errorcode = 530
errortext = Provider is not ready, cannot Enable the provider, please
configure the provider first
jobresultcode = 530
jobresulttype = object
jobstatus = 2
userid = e31a7560-1212-11e3-8a03-ef159ac306d1

These steps feel counter-intuitive and the error message is a little confusing 
too.
It says I need to configure the provider to enable the provider?

[1] https://reviews.apache.org/r/13889/
--
Prasanna.,


Powered by BigRock.com