8000 docker_file_parser() throws exception because of invalid workload file name · Issue #440 · ibmcb/cbtool · GitHub
[go: up one dir, main page]

Skip to content

docker_file_parser() throws exception because of invalid workload file name #440

Open

Description

@rayx
Issue body actions

docker/workload/Dockerfile-ubuntu-cb_stress file name is invalid. It should be Dockerfile-ubuntu_cb_stress instead. Otherwise it causes the following code in docker_file_parser() to throw exception:

                _x_fnam = _fnam.replace("Dockerfile-",'').split('_')
                print(_x_fnam)
                _key_prefix = _x_fnam[0]
                _f_workload = _x_fnam[2]

                if len(_x_fnam) > 3 :
                    _f_workload += '_' + _x_fnam[3]

BTW, while investigating the issue, I notice that all workload files except null workload are based on ubuntu. Does that mean CBTOOL doesn't support using centos as workload vm? I ask because I don't see this is mentioned in the docs. Also, why is the nullworkload based on centos?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0