osdir.com


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

[kolla] Support Octavia for ubuntu binary on stable/rocky?


On Tue, 17 Sep 2019 at 12:17, Eddie Yen <missile0407 at gmail.com> wrote:
>
> Hi Mark,
>
> Roger that.
> And I'm afraid I can't patch to master branch since I didn't find any Octavia package release for stein and further.
> Also it seems like the newer Octavia package will release on newer Ubuntu distro, may not release on Bionic for now.
>
> So I'll test and use locally if success.
>
> And I think it would be better that adding check mechanism into pre-check. Throw an error message if user want to deploy Octavia on ubuntu/binary.
> I may take times to do this patch.

Interesting suggestion. We haven't done that kind of thing before, but
I suppose it could be helpful in some circumstances. OTOH, we are
working on a support matrix [1] in our documentation which would make
this information easier to find, so maybe it's not necessary?

[1] https://review.opendev.org/677500

>
> Many thanks,
> Eddie.
>
> Mark Goddard <mark at stackhpc.com> æ?¼ 2019å¹´9æ??17æ?¥ é?±äº? ä¸?å??5:14寫é??ï¼?
>>
>> On Tue, 17 Sep 2019 at 06:36, Eddie Yen <missile0407 at gmail.com> wrote:
>> >
>> > Hi,
>> >
>> > I'm trying to install Octavia in Rocky release with Ubuntu binary distro. And found that there're no docker images for Ubuntu binary.
>> > Then I checked the Kolla dockerfile and found that it will not build the image since it's not support yet.
>> > But I found that the Ubuntu Cloud Archive Team has already putted Octavia packages into cloud repository [1]. Since some images built using from this PPA, I think it can support ubuntu binary in Rocky release.
>> >
>> > I tried put package code into Docker files and build, but it gave me an error message like below:
>> > ERROR:kolla.common.utils:octavia-api Failed with status: matched
>> > ERROR:kolla.common.utils:octavia-health-manager Failed with status: matched
>> > ERROR:kolla.common.utils:octavia-housekeeping Failed with status: matched
>> > ERROR:kolla.common.utils:octavia-worker Failed with status: matched
>> >
>> > So I think there's limit somewhere. How can I release it?
>> >
>> > Thanks,
>> > Eddie.
>> >
>> > [1] https://launchpad.net/~ubuntu-cloud-archive/+archive/ubuntu/rocky-staging
>>
>> Hi Eddie,
>>
>> We explicitly fail when building octavia images on ubuntu/binary, see
>> docker/octavia/octavia-base/Dockerfile.j2:
>>
>> RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
>>             && /bin/false
>>
>> If you think we can support octavia now, please propose a patch to
>> master branch. I'm afraid we can't accept new features to stable
>> branches though, so you'll have to carry this change locally.
>>
>> Mark