osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 +0000 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.stoyanov@xxxxxxxxxxxxx 
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>   
>  
> 
> On 10 Jul 2018, at 18:19, Stephan Seitz <s.seitz@xxxxxxxxxxxxxxxxxxx<mailto:s.seitz@xxxxxxxxxxxxxxxxxxx>> 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 <s.seitz@xxxxxxxxxxxxxxxxxxx<mailto:s.seitz@xxxxxxxxxxxxxxxxxxx>>
> 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

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