CSCfi / CSCfi/pebbles

Whitespace not handled correctly in OS driver environment variables

Open
#707 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8
Forks
7
PR merge metrics
No merged PRs in 30d

Description

This line and the one after it are the culprits https://github.com/CSCfi/pebbles/blob/master/pebbles/drivers/provisioning/openshift_driver.py#L342

Passing an environment variable like COMMAND="jupyter lab" will split at whitespace and make blueprint unstartable.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at pebbles/drivers/provisioning/openshift_driver.py around line 342 and inspect the two referenced lines that process environment variables. Reproduce the issue with an environment value such as COMMAND="jupyter lab" and verify that the blueprint starts successfully without splitting the value at whitespace.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.