Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • N/A
    • None
    • None

    Description

      Since an AIX machine is available, this needs to be added to Buildbot. Docker is not available for AIX, so the buildbot process needs to run directly on the machine.

      This is a new addition compared to the old buildbot

      Attachments

        Issue Links

          Activity

            vladbogo Vlad Bogolin logged work - 2020-08-03 21:55
            • Time Spent:
              0.25d
               
              Tried to install the buildbot-worker python package but there is a problem with libssl for which I haven't found yet a solution.
            vladbogo Vlad Bogolin created issue -
            vladbogo Vlad Bogolin made changes -
            Field Original Value New Value
            vladbogo Vlad Bogolin made changes -
            Assignee Vlad Bogolin [ vladbogo ]
            vladbogo Vlad Bogolin made changes -
            Worklog Id 73025 [ 73025 ]
            Remaining Estimate 0d [ 0 ]
            Time Spent 0.25d [ 7200 ]
            danblack Daniel Black added a comment -

            or wpar

            danblack Daniel Black added a comment - or wpar
            cvicentiu Vicențiu Ciorbaru made changes -
            Priority Major [ 3 ] Minor [ 4 ]
            monty Michael Widenius made changes -
            Description Since an AIX machine is available, this needs to be added to Buildbot. Docker is not available for AIX, so the buildbot process needs to run directly on the machine. Since an AIX machine is available, this needs to be added to Buildbot. Docker is not available for AIX, so the buildbot process needs to run directly on the machine.

            This is a new addition compared to the old buildbot
            vladbogo Vlad Bogolin logged work - 2020-11-30 23:21
            • Time Spent:
              1h
               
              Successfully installed buildbot worker on the AIX machine and defined an AIX buildbot build. The MariaDB deps need to be installed next on the AIX machine, before turning on the builder.
            vladbogo Vlad Bogolin made changes -
            Worklog Id 77746 [ 77746 ]
            Time Spent 0.25d [ 7200 ] 3h [ 10800 ]
            danblack Daniel Black added a comment -

            Pulling up notes from emails:

            Dependencies (runtime at least) http://www-frec.bull.com/pkg?id=5875

            RPM build dependencies https://src.fedoraproject.org/rpms/mariadb/blob/master/f/mariadb.spec#_198
            so hopefully most of those map up.

            very obvious linux dependencies like systemd/systemtap can obviously be dropped. Not sure if libaio is cross platform

            latest ssl https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=aixbp
            We might have to run 'updtvpkg' after updating openssl.

            danblack Daniel Black added a comment - Pulling up notes from emails: Dependencies (runtime at least) http://www-frec.bull.com/pkg?id=5875 RPM build dependencies https://src.fedoraproject.org/rpms/mariadb/blob/master/f/mariadb.spec#_198 so hopefully most of those map up. very obvious linux dependencies like systemd/systemtap can obviously be dropped. Not sure if libaio is cross platform latest ssl https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=aixbp We might have to run 'updtvpkg' after updating openssl.
            danblack Daniel Black added a comment -

            So wpars are the AIX forms of docker. Two types, system, which is like VM, and application, which is like docker.

            Looked up wpars a bit more. wparexec is the main executable for application WPARS. Best documentation I've found so far is the man page.

            It requires root to execute (bottom of man page), /etc/security/privcmds has some privs than can be used if RBAC is used to grant bb addition admin privs on creating wpars, so having the aix.wpar.owner accessauth (https://www.ibm.com/support/knowledgecenter/ssw_aix_72/security/rbac_using.html).

            /etc/security/privcmds

            /usr/sbin/wparexec:
                    accessauths = aix.wpar.owner
                    innateprivs = PV_AZ_ROOT,PV_DAC_O,PV_DAC_R,PV_DAC_W,PV_DAC_X,PV_FS_CHOWN,PV_PROC_PRIV
                    inheritprivs = PV_AZ_CHECK,PV_AZ_ROOT,PV_DAC_O,PV_DAC_R,PV_DEV_CONFIG,PV_DEV_LOAD,PV_FS_CHOWN,PV_KER_ACCT,PV_KER_DR,PV_KER_WLM,PV_KER_WPAR,PV_NET_CNTL,PV_NET_PORT,PV_PROC_PRIV,P
            V_PROC_SIG,PV_SU_UID,PV_TCB
                    euid = 0
                    egid = 0
                    secflags = FSF_EPS
            

            Its filesystem is shared with the host. Its network and process are isolationed. Options exist to:

            • create templates
            • control mountpoints (-M)
            danblack Daniel Black added a comment - So wpars are the AIX forms of docker. Two types, system, which is like VM, and application, which is like docker. Looked up wpars a bit more. wparexec is the main executable for application WPARS. Best documentation I've found so far is the man page. It requires root to execute (bottom of man page), /etc/security/privcmds has some privs than can be used if RBAC is used to grant bb addition admin privs on creating wpars, so having the aix.wpar.owner accessauth ( https://www.ibm.com/support/knowledgecenter/ssw_aix_72/security/rbac_using.html ). /etc/security/privcmds /usr/sbin/wparexec: accessauths = aix.wpar.owner innateprivs = PV_AZ_ROOT,PV_DAC_O,PV_DAC_R,PV_DAC_W,PV_DAC_X,PV_FS_CHOWN,PV_PROC_PRIV inheritprivs = PV_AZ_CHECK,PV_AZ_ROOT,PV_DAC_O,PV_DAC_R,PV_DEV_CONFIG,PV_DEV_LOAD,PV_FS_CHOWN,PV_KER_ACCT,PV_KER_DR,PV_KER_WLM,PV_KER_WPAR,PV_NET_CNTL,PV_NET_PORT,PV_PROC_PRIV,P V_PROC_SIG,PV_SU_UID,PV_TCB euid = 0 egid = 0 secflags = FSF_EPS Its filesystem is shared with the host. Its network and process are isolationed. Options exist to: create templates control mountpoints (-M)
            danblack Daniel Black added a comment -

            More complete WPAR documentation.

            danblack Daniel Black added a comment - More complete WPAR documentation.
            danblack Daniel Black made changes -
            Status To Do [ 10003 ] Done [ 10001 ]
            serg Sergei Golubchik made changes -
            Workflow MFWA: Task Management Workflow [ 111932 ] MariaDB v4 [ 162116 ]
            Status Done [ 10001 ] Closed [ 6 ]
            vladbogo Vlad Bogolin made changes -
            Component/s None [ 18105 ]
            Fix Version/s N/A [ 27305 ]
            vladbogo Vlad Bogolin made changes -
            Status Closed [ 6 ] Stalled [ 10000 ]
            vladbogo Vlad Bogolin made changes -
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            julien.fritsch Julien Fritsch made changes -
            Workflow MariaDB v4 [ 162116 ] MariaDB Foundation v1 [ 188401 ]
            cvicentiu Vicențiu Ciorbaru made changes -
            Component/s None [ 18105 ]

            People

              vladbogo Vlad Bogolin
              vladbogo Vlad Bogolin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 3h
                  3h