Re: _configDao.isPremium() please help where this information comes from.

2018-07-11 Thread Dingane Hlaluku
Hi Stephan


The Noredist CloudStack build has additional dependencies that you need to 
download and install yourself. The instruction on how to get and install this 
jars is detailed under the section 'Dependencies' here: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack


After installing these jars, build using:


mvn clean install -Dnoredist -P developer,systemvm



You can also download prebuilt System VM templates for your specific hypervisor 
here: http://packages.shapeblue.com/systemvmtemplate/4.11/


These templates need to be extracted and installed in your secondary storage, 
and this can be done using this script:


scripts/storage/secondary/cloud-install-sys-tmplt


Here is an example below of how to download, extract and install system vm 
template. The NFS server is configured in the localhost.


wget 
http://packages.shapeblue.com/systemvmtemplate/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2

./scripts/storage/secondary/cloud-install-sys-tmplt \

   -m / -f systemvmtemplate-4.11.1-kvm.qcow2.bz2

   -h kvm -o localhost -r cloud -d cloud



I hope this helps.


Regards

Dingane



From: Stephan Seitz 
Sent: Wednesday, July 11, 2018 9:44:38 AM
To: dev@cloudstack.apache.org; users
Subject: Re: _configDao.isPremium() please help where this information comes 
from.

Hey Boris!

This isn't the problem, just setting

mvn install -P deps -Dnoredist -Dnonoss; # this target doesn't work

export ACS_BUILD_OPTS="-Dnoredist -Dnonoss"; dpkg-buildpackage

I don't know what's the difference between noredist and nonoss.


Anyway if I do build the packages with noredist (which is mentioned way more 
often than nonoss in different documentations / Install.txt's),
I do not know how to include the respective *jar's getting baked into the 
systemvmtemplate. Otherwise the cloud service won't start and no further
configuration of the systemvm will take place. Say: it won't connect to the 
management.

I'm currently using tools/appliance -> build.sh systemvmtemplate, but afaik, 
these scripts doesn't honor noredist?




Am Mittwoch, den 11.07.2018, 07:03 + schrieb Boris Stoyanov:
> Hi Stephan,
>
> have you tried:
> mvn clean install -P developer,systemvm -D noredis
>
> here’s more info 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack
>
> Bobby.
>
>
> boris.stoya...@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>

dingane.hlal...@shapeblue.com 
www.shapeblue.com
,   
@shapeblue
  
 

> On 10 Jul 2018, at 18:19, Stephan Seitz 
> mailto:s.se...@heinlein-support.de>> wrote:
>
> Thanks for your feedback! Do you know how to build the systemvmtemplate w/ 
> noredist? I didn't find
> anything regarding that in tools/appliance, also cwiki keeps quiet about that.
>
> Thanks!
>
> Stepnan
>
> Am Dienstag, den 10.07.2018, 07:38 -0700 schrieb Frank Maximus:
> That setting is part of a property file of
> cloudstack-plugin-hypervisor-vmware.
> Most likely you are using a system build with noredist.
> In that case you also need a systemvm build that way.
>
> Kind Regards,
> Frank
>
> On Tue, Jul 10, 2018 at 12:16 PM Stephan Seitz 
> mailto:s.se...@heinlein-support.de>>
> wrote:
>
>
> Hi there,
>
> Upgrading 4.11.0 to 4.11.1 we found an interesting problem in our (well
> played) staging infrastructure.
>
> During SSVN provisioning, a somewhat "premium" configuration is detected
> (well we're using noredist since ... ever?).
> So the SSVM is configured with
>   resource=com.cloud.storage.resource.PremiumSecondaryStorageResource
> instead of
>
> resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
>
> In fact this particular setup always used (and should further use) simple
> NFS as Secondary Storage.
>
> Sorry, but I can't find the real source
> of com.cloud.configuration.dao.ConfigurationDao#isPremium() and how to set
> this to false.
>
> If anyone could shed some light?
>
>
> Thank You!
>
>
>
>
> Mit freundlichen Grüßen,
>
> Stephan Seitz
>
>
> --
> Heinlein Support GmbH
> Schwedter Str. 8/9b, 10119 Berlin
>
> https://www.heinlein-support.de
>
> Tel: 030 / 405051-44
> Fax: 030 / 405051-19
>
> Amtsgericht Berlin-Charlottenburg - HRB 93818 B
> Geschäftsführer: Peer Heinlein - Sitz: Berlin
>
>
> Mit freundlichen Grüßen,
>
> Stephan Seitz
>
>
> --
> Heinlein Support GmbH
> Schwedter Str. 8/9b, 10119 Berlin
>
> https://www.heinlein-support.de
>
> Tel: 030 / 405051-44
> Fax: 030 / 405051-19
>
> Amtsgericht Berlin-Charlottenburg - HRB 93818 B
> Geschäftsführer: Peer Heinlein - Sitz: Berlin
>
>
Mit freundlichen Grüßen,

Stephan Seitz


--
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-44
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin



Re: _configDao.isPremium() please help where this information comes from.

2018-07-11 Thread Stephan Seitz
Hey Boris!

This isn't the problem, just setting

mvn install -P deps -Dnoredist -Dnonoss; # this target doesn't work

export ACS_BUILD_OPTS="-Dnoredist -Dnonoss"; dpkg-buildpackage

I don't know what's the difference between noredist and nonoss.


Anyway if I do build the packages with noredist (which is mentioned way more 
often than nonoss in different documentations / Install.txt's), 
I do not know how to include the respective *jar's getting baked into the 
systemvmtemplate. Otherwise the cloud service won't start and no further
configuration of the systemvm will take place. Say: it won't connect to the 
management.

I'm currently using tools/appliance -> build.sh systemvmtemplate, but afaik, 
these scripts doesn't honor noredist?




Am Mittwoch, den 11.07.2018, 07:03 + schrieb Boris Stoyanov:
> Hi Stephan,
> 
> have you tried:
> mvn clean install -P developer,systemvm -D noredis
> 
> here’s more info 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack
> 
> Bobby.
> 
> 
> boris.stoya...@shapeblue.com 
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>   
>  
> 
> On 10 Jul 2018, at 18:19, Stephan Seitz 
> mailto:s.se...@heinlein-support.de>> wrote:
> 
> Thanks for your feedback! Do you know how to build the systemvmtemplate w/ 
> noredist? I didn't find
> anything regarding that in tools/appliance, also cwiki keeps quiet about that.
> 
> Thanks!
> 
> Stepnan
> 
> Am Dienstag, den 10.07.2018, 07:38 -0700 schrieb Frank Maximus:
> That setting is part of a property file of
> cloudstack-plugin-hypervisor-vmware.
> Most likely you are using a system build with noredist.
> In that case you also need a systemvm build that way.
> 
> Kind Regards,
> Frank
> 
> On Tue, Jul 10, 2018 at 12:16 PM Stephan Seitz 
> mailto:s.se...@heinlein-support.de>>
> wrote:
> 
> 
> Hi there,
> 
> Upgrading 4.11.0 to 4.11.1 we found an interesting problem in our (well
> played) staging infrastructure.
> 
> During SSVN provisioning, a somewhat "premium" configuration is detected
> (well we're using noredist since ... ever?).
> So the SSVM is configured with
>   resource=com.cloud.storage.resource.PremiumSecondaryStorageResource
> instead of
> 
> resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
> 
> In fact this particular setup always used (and should further use) simple
> NFS as Secondary Storage.
> 
> Sorry, but I can't find the real source
> of com.cloud.configuration.dao.ConfigurationDao#isPremium() and how to set
> this to false.
> 
> If anyone could shed some light?
> 
> 
> Thank You!
> 
> 
> 
> 
> Mit freundlichen Grüßen,
> 
> Stephan Seitz
> 
> 
> --
> Heinlein Support GmbH
> Schwedter Str. 8/9b, 10119 Berlin
> 
> https://www.heinlein-support.de
> 
> Tel: 030 / 405051-44
> Fax: 030 / 405051-19
> 
> Amtsgericht Berlin-Charlottenburg - HRB 93818 B
> Geschäftsführer: Peer Heinlein - Sitz: Berlin
> 
> 
> Mit freundlichen Grüßen,
> 
> Stephan Seitz
> 
> 
> --
> Heinlein Support GmbH
> Schwedter Str. 8/9b, 10119 Berlin
> 
> https://www.heinlein-support.de
> 
> Tel: 030 / 405051-44
> Fax: 030 / 405051-19
> 
> Amtsgericht Berlin-Charlottenburg - HRB 93818 B
> Geschäftsführer: Peer Heinlein - Sitz: Berlin
> 
> 
Mit freundlichen Grüßen,

Stephan Seitz


--
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-44
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin



signature.asc
Description: This is a digitally signed message part


Re: _configDao.isPremium() please help where this information comes from.

2018-07-11 Thread Boris Stoyanov
Hi Stephan,

have you tried:
mvn clean install -P developer,systemvm -D noredis

here’s more info 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack

Bobby.


boris.stoya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 

On 10 Jul 2018, at 18:19, Stephan Seitz 
mailto:s.se...@heinlein-support.de>> wrote:

Thanks for your feedback! Do you know how to build the systemvmtemplate w/ 
noredist? I didn't find
anything regarding that in tools/appliance, also cwiki keeps quiet about that.

Thanks!

Stepnan

Am Dienstag, den 10.07.2018, 07:38 -0700 schrieb Frank Maximus:
That setting is part of a property file of
cloudstack-plugin-hypervisor-vmware.
Most likely you are using a system build with noredist.
In that case you also need a systemvm build that way.

Kind Regards,
Frank

On Tue, Jul 10, 2018 at 12:16 PM Stephan Seitz 
mailto:s.se...@heinlein-support.de>>
wrote:


Hi there,

Upgrading 4.11.0 to 4.11.1 we found an interesting problem in our (well
played) staging infrastructure.

During SSVN provisioning, a somewhat "premium" configuration is detected
(well we're using noredist since ... ever?).
So the SSVM is configured with
  resource=com.cloud.storage.resource.PremiumSecondaryStorageResource
instead of

resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource

In fact this particular setup always used (and should further use) simple
NFS as Secondary Storage.

Sorry, but I can't find the real source
of com.cloud.configuration.dao.ConfigurationDao#isPremium() and how to set
this to false.

If anyone could shed some light?


Thank You!




Mit freundlichen Grüßen,

Stephan Seitz


--
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-44
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin


Mit freundlichen Grüßen,

Stephan Seitz


--
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-44
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin




Re: _configDao.isPremium() please help where this information comes from.

2018-07-10 Thread Stephan Seitz
Thanks for your feedback! Do you know how to build the systemvmtemplate w/ 
noredist? I didn't find
anything regarding that in tools/appliance, also cwiki keeps quiet about that.

Thanks!

Stepnan

Am Dienstag, den 10.07.2018, 07:38 -0700 schrieb Frank Maximus:
> That setting is part of a property file of
> cloudstack-plugin-hypervisor-vmware.
> Most likely you are using a system build with noredist.
> In that case you also need a systemvm build that way.
> 
> Kind Regards,
> Frank
> 
> On Tue, Jul 10, 2018 at 12:16 PM Stephan Seitz 
> wrote:
> 
> > 
> > Hi there,
> > 
> > Upgrading 4.11.0 to 4.11.1 we found an interesting problem in our (well
> > played) staging infrastructure.
> > 
> > During SSVN provisioning, a somewhat "premium" configuration is detected
> > (well we're using noredist since ... ever?).
> > So the SSVM is configured with
> >   resource=com.cloud.storage.resource.PremiumSecondaryStorageResource
> > instead of
> > 
> > resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
> > 
> > In fact this particular setup always used (and should further use) simple
> > NFS as Secondary Storage.
> > 
> > Sorry, but I can't find the real source
> > of com.cloud.configuration.dao.ConfigurationDao#isPremium() and how to set
> > this to false.
> > 
> > If anyone could shed some light?
> > 
> > 
> > Thank You!
> > 
> > 
> > 
> > 
> > Mit freundlichen Grüßen,
> > 
> > Stephan Seitz
> > 
> > 
> > --
> > Heinlein Support GmbH
> > Schwedter Str. 8/9b, 10119 Berlin
> > 
> > https://www.heinlein-support.de
> > 
> > Tel: 030 / 405051-44
> > Fax: 030 / 405051-19
> > 
> > Amtsgericht Berlin-Charlottenburg - HRB 93818 B
> > Geschäftsführer: Peer Heinlein - Sitz: Berlin
> > 
> > 
Mit freundlichen Grüßen,

Stephan Seitz


--
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-44
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin



signature.asc
Description: This is a digitally signed message part


Re: _configDao.isPremium() please help where this information comes from.

2018-07-10 Thread Frank Maximus
That setting is part of a property file of
cloudstack-plugin-hypervisor-vmware.
Most likely you are using a system build with noredist.
In that case you also need a systemvm build that way.

Kind Regards,
Frank

On Tue, Jul 10, 2018 at 12:16 PM Stephan Seitz 
wrote:

> Hi there,
>
> Upgrading 4.11.0 to 4.11.1 we found an interesting problem in our (well
> played) staging infrastructure.
>
> During SSVN provisioning, a somewhat "premium" configuration is detected
> (well we're using noredist since ... ever?).
> So the SSVM is configured with
>   resource=com.cloud.storage.resource.PremiumSecondaryStorageResource
> instead of
>
> resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
>
> In fact this particular setup always used (and should further use) simple
> NFS as Secondary Storage.
>
> Sorry, but I can't find the real source
> of com.cloud.configuration.dao.ConfigurationDao#isPremium() and how to set
> this to false.
>
> If anyone could shed some light?
>
>
> Thank You!
>
>
>
>
> Mit freundlichen Grüßen,
>
> Stephan Seitz
>
>
> --
> Heinlein Support GmbH
> Schwedter Str. 8/9b, 10119 Berlin
>
> https://www.heinlein-support.de
>
> Tel: 030 / 405051-44
> Fax: 030 / 405051-19
>
> Amtsgericht Berlin-Charlottenburg - HRB 93818 B
> Geschäftsführer: Peer Heinlein - Sitz: Berlin
>
>


_configDao.isPremium() please help where this information comes from.

2018-07-10 Thread Stephan Seitz
Hi there,

Upgrading 4.11.0 to 4.11.1 we found an interesting problem in our (well played) 
staging infrastructure.

During SSVN provisioning, a somewhat "premium" configuration is detected (well 
we're using noredist since ... ever?).
So the SSVM is configured with
  resource=com.cloud.storage.resource.PremiumSecondaryStorageResource
instead of
  resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource

In fact this particular setup always used (and should further use) simple NFS 
as Secondary Storage.

Sorry, but I can't find the real source of 
com.cloud.configuration.dao.ConfigurationDao#isPremium() and how to set this to 
false.

If anyone could shed some light?


Thank You!




Mit freundlichen Grüßen,

Stephan Seitz


--
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-44
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin



signature.asc
Description: This is a digitally signed message part