-
Bug
-
Resolution: Done
-
Critical
-
3.26.0.GA
-
False
-
-
False
-
Release Notes
-
Known Issue
-
Proposed
-
-
Description of problem:
Workaround
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Install Dev Spaces 3.26.0-RC.02.04.
- Go to User Dashboard > Create Workspace page.
- Select the JetBrains Desktop Editor.
- Create a workspace using Ansible sample.
Actual results:
Ansible workspace failed to start:
![]()
DevWorkspace failed to progress past step 'Waiting for editor to start' for longer than timeout (300s)
tooling-container log
Kubedock is enabled (env variable KUBEDOCK_ENABLED is set to true).
Kubeconfig doesn't exist yet. Waiting...
Kubeconfig doesn't exist yet. Waiting...
Kubeconfig doesn't exist yet. Waiting...
Kubeconfig doesn't exist yet. Waiting...
Kubeconfig doesn't exist yet. Waiting...
Kubeconfig doesn't exist yet. Waiting...
Kubeconfig doesn't exist yet. Waiting...
Kubeconfig doesn't exist yet. Waiting...
Kubeconfig doesn't exist yet. Waiting...
Kubeconfig doesn't exist yet. Waiting...
Kubeconfig doesn't exist yet. Waiting...
Could not find Kubeconfig at /home/user/.kube/config
Giving up...
- tools container image: ghcr.io/ansible/ansible-devspaces@sha256:ce1ecc3b3c350eab2a9a417ce14a33f4b222a6aafd663b5cf997ccc8c601fe2c
devfile
schemaVersion: 2.2.2
metadata:
name: ansible-demo
projects:
- name: ansible-devspaces-demo
zip:
location: http://devspaces-dashboard.openshift-devspaces.svc:8080/dashboard/api/airgap-sample/project/download?id=ansible
components:
- name: tooling-container
container:
image: ghcr.io/ansible/ansible-devspaces@sha256:ce1ecc3b3c350eab2a9a417ce14a33f4b222a6aafd663b5cf997ccc8c601fe2c
memoryRequest: 256M
memoryLimit: 6Gi
cpuRequest: 250m
cpuLimit: 2000m
args:
- tail
- '-f'
- /dev/null
env:
- name: ANSIBLE_COLLECTIONS_PATH
value: ~/.ansible/collections:/usr/share/ansible/collections:/projects/ansible-devspaces-demo/collections
- name: KUBEDOCK_ENABLED
value: 'true'
commands:
- id: molecule-create
exec:
label: '1.Molecule: start a test pod for the automation'
commandLine: source $HOME/.bashrc && molecule create
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions
group:
kind: run
isDefault: true
component: tooling-container
- id: molecule-list
exec:
label: '2.Molecule: view the test instance that was created'
commandLine: source $HOME/.bashrc && molecule list
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions
group:
kind: run
isDefault: true
component: tooling-container
- id: molecule-converge
exec:
label: '3.Molecule: apply the role to the pod'
commandLine: source $HOME/.bashrc && molecule converge
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions
group:
kind: run
isDefault: true
component: tooling-container
- id: molecule-verify
exec:
label: '4.Molecule: run the verification against the test pod'
commandLine: source $HOME/.bashrc && molecule verify
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions
group:
kind: run
isDefault: true
component: tooling-container
- id: molecule-destroy
exec:
label: '5.Molecule: reset the test pod back to a fresh instance'
commandLine: source $HOME/.bashrc && molecule destroy
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions
group:
kind: run
isDefault: true
component: tooling-container
- id: molecule-test
exec:
label: '6.Molecule: run the full molecule test'
commandLine: source $HOME/.bashrc && molecule test
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions
group:
kind: run
isDefault: true
component: tooling-container
- id: ansible-navigator
exec:
label: 'Ansible-Navigator: Start ansible-navigator'
commandLine: |
if [ ! -d "$HOME/.cache/ansible-navigator" ]; then
mkdir -p "$HOME/.cache/ansible-navigator"
fi
cp /usr/local/lib/python3.11/site-packages/ansible_navigator/data/catalog_collections.py $HOME/.cache/ansible-navigator
ansible-navigator --ee false
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo
component: tooling-container
events:
preStop:
- molecule-destroy
Expected results:
Ansible workspace started successfully.
Reproducibility (Always/Intermittent/Only Once):
Always
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):