Reduce size of software-configs in user-data

Bug #1680900 reported by Spyros Trigazis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
In Progress
High
Spyros Trigazis

Bug Description

In a default nova deployment user-data for software deployments
goes into nova's db. That field is 64KB, so we are contraint by
space and we need to pass only what is needed.

In our case at CERN, were we have some *small* custom software-configs
exceeded that limit. Upstream we are really close: at 63880 bytes.

We need to investigate further how to reduce that size. Even from a performance
perspective. Writing and Reading 60KB in nova's db is not a very good practice.

For starters we can remove the absolutely redundant kube-examples (3.3KB). We could add them somewhere in our docs.

Changed in magnum:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to magnum (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/454778

Changed in magnum:
assignee: nobody → Spyros Trigazis (strigazi)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/454778
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=58d1fc552377d9295e6200a2c9acd8cbf44cca43
Submitter: Jenkins
Branch: master

commit 58d1fc552377d9295e6200a2c9acd8cbf44cca43
Author: Spyros Trigazis <email address hidden>
Date: Fri Apr 7 17:50:53 2017 +0200

    Remove kube-examples software configs

    In a default nova deployment user-data for software deployments
    goes into nova's db. That field is 64KB, so we are contraint by
    space and we need to pass only what is needed.

    Change-Id: I84bb59dbedc6e97b3bb985db5621daf34b6e17ee
    Closes-Bug: #1680900
    Closes-Bug: #1650538

Changed in magnum:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to magnum (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/464618

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (master)

Change abandoned by Kevin Lefevre (<email address hidden>) on branch: master
Review: https://review.openstack.org/464618

Changed in magnum:
status: Fix Released → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 5.0.0

This issue was fixed in the openstack/magnum 5.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to magnum (master)

Reviewed: https://review.openstack.org/468816
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=273405cb5a8cdbcec816f646cfe82f13784b3bf1
Submitter: Zuul
Branch: master

commit 273405cb5a8cdbcec816f646cfe82f13784b3bf1
Author: Spyros Trigazis <email address hidden>
Date: Fri Dec 15 16:57:52 2017 +0000

    Leverage heat-container-agent for monitoring

    Use the heat-container-agent from a system container.
    It means that the docker daemon can be started later.

    Pass as a software deployment with the heat-agent the following
    software-configurations:
    * prometheus-monitoring
    ** pin prometheus to v1.8.2 since its config is not 2.0.0
       compatible

    Add heat-container-agent container image.

    Implements: blueprint heat-agent
    Related-Bug: #1680900
    Change-Id: I084b7fe51eddb7b36c74f9fe76cda37e8b48f646

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to magnum (stable/pike)

Related fix proposed to branch: stable/pike
Review: https://review.openstack.org/533092

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to magnum (stable/pike)

Reviewed: https://review.openstack.org/533092
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=9aacda8f8315e69fd67f173a6460259f847bad2c
Submitter: Zuul
Branch: stable/pike

commit 9aacda8f8315e69fd67f173a6460259f847bad2c
Author: Spyros Trigazis <email address hidden>
Date: Fri Dec 15 16:57:52 2017 +0000

    Leverage heat-container-agent for monitoring

    Use the heat-container-agent from a system container.
    It means that the docker daemon can be started later.

    Pass as a software deployment with the heat-agent the following
    software-configurations:
    * prometheus-monitoring
    ** pin prometheus to v1.8.2 since its config is not 2.0.0
       compatible

    Add heat-container-agent container image.

    Implements: blueprint heat-agent
    Related-Bug: #1680900
    Change-Id: I084b7fe51eddb7b36c74f9fe76cda37e8b48f646
    (cherry picked from commit 273405cb5a8cdbcec816f646cfe82f13784b3bf1)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to magnum (stable/queens)

Related fix proposed to branch: stable/queens
Review: https://review.openstack.org/547096

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to magnum (master)

Reviewed: https://review.openstack.org/507465
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=30785acd3cd90594cb5d9913ae3830d6faeee0b6
Submitter: Zuul
Branch: master

commit 30785acd3cd90594cb5d9913ae3830d6faeee0b6
Author: Spyros Trigazis <email address hidden>
Date: Tue Dec 19 10:20:15 2017 +0000

    Update kubernetes dashboard to v1.8.3

    Add the RBAC enabled kubernetes-dashboard with
    version v1.8.3.

    Related-Bug: #1680900
    Change-Id: I68a17d22dda9661c81f40bcc9db06f7456790958

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to magnum (stable/queens)

Reviewed: https://review.openstack.org/547096
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=49822b0b3d120a69052fedca26f47b467d881386
Submitter: Zuul
Branch: stable/queens

commit 49822b0b3d120a69052fedca26f47b467d881386
Author: Spyros Trigazis <email address hidden>
Date: Tue Dec 19 10:20:15 2017 +0000

    Update kubernetes dashboard to v1.8.3

    Add the RBAC enabled kubernetes-dashboard with
    version v1.8.3.

    Related-Bug: #1680900
    Change-Id: I68a17d22dda9661c81f40bcc9db06f7456790958

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.