Compiling juju on openSUSE

Andrew Wilkins andrew.wilkins at canonical.com
Sun Sep 20 01:23:18 UTC 2015


On Sat, Sep 19, 2015 at 11:12 PM Herman Bergwerf <hermanbergwerf at gmail.com>
wrote:

> So I installed the Go code without make install-dependencies and it
> paniced because my os was not supported (these versions are supported:
> https://github.com/juju/juju/blob/master/juju/series/supportedseries.go)
> I thought Go code was pretty platform independent. So why is this OS check
> there... Because those OS's are tested?
>

The OS-detection code exists primarily to decide how the Juju
servers/agents should be installed, configured, and how they should behave
at runtime. We should stop being so pedantic on the client side.

Having said that, it would be simplest in the short term to extend the
OS/series-detection code to handle openSUSE as well: this would address
your immediate goal, and would also pave the way for running workloads on
openSUSE, should that ever be desirable. We would be happy to review and
merge patches to detect the openSUSE version.


> Does anyone know what exactly is in the ppa's added by `make
> install-dependencies`? It seems it's all about mongodb, but does the juju
> client even need mongodb? I mean, a juju cluster does not depend on the
> client, or does it? I thought the client was only used for bootstrapping
> and some management...
>

The PPAs are only there for developing and testing Juju. You do not need
them to build and run the client only.

Cheers,
Andrew

Op vr 18 sep. 2015 om 21:41 schreef Curtis Hovey-Canonical <
> curtis at canonical.com>:
>
>> On Fri, Sep 18, 2015 at 1:18 PM, Jorge O. Castro <jorge at ubuntu.com>
>> wrote:
>> > On Fri, Sep 18, 2015 at 1:35 PM, Herman Bergwerf
>> > <hermanbergwerf at gmail.com> wrote:
>> >> Anyone who has experience compiling juju on openSUSE?
>>
>> As the juju is staticly compiled for most archs, and series/os-version
>> is irrelevant, you can use any Juju that matched your os and
>> architecture. eg. you can download a linux amd64 client and expect it
>> to work.
>>
>> e.g. I downloaded the centos7 client from
>> https://launchpad.net/juju-core/+milestone/1.24.5  and ran it on
>> Ubuntu precise and Ubuntu wily.
>>
>> You probably do need to hack and compile your own client though.
>> Juju's client thinks it needs to know the version of linux which is
>> bogus for the common case of bootstrapping and maintaining a server in
>> a cloud.
>>     https://bugs.launchpad.net/juju-core/+bug/1465317
>>
>> See version/osversion.go and version/supportedseries.go
>>
>>
>>
>>
>>
>> --
>> Curtis Hovey
>> Canonical Cloud Development and Operations
>> http://launchpad.net/~sinzui
>>
>> --
>> Juju mailing list
>> Juju at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150920/53a7083f/attachment.html>


More information about the Juju mailing list