Page MenuHomePhabricator

Any design recommendation for below problem ??
Open, NormalPublic

Description

Goal:

I have a set of scripts/codes which is working perfectly fine with local testing (in an Open stack instance ) but Fails/stuck in Pod which hard to debug

  • Suppose : User is login to Kaapana from User site, then user submits a workflow by choosing a dataset and algorithm
  • Then
  • Parse user request and extract bucket information and algorithm
  • create an isolated instance with Kaapana at DATA site
  • mount the data from data site to isolate instance
  • pull the chart based on user choice
  • run it on isolated container
  • send the results back to user site from Isolated instance

Issue
Invoking an ansible script from pod fails and stuck on multiple ansible tasks including platform installation (but same scripts works perfectly fine when called from local instance )

Example: The below ansible tasks in working fine in local testing, but stuck on pod with No REASON and NO Logs

2022-01-20T09:24:08.357678207+01:00  STARTING PLAYBOOK: /app/app/api/v1/tfda-mvp1-iso-env-pipeline/CI/ansible_playbooks/02_deploy_platform.yaml
2022-01-20T09:24:08.357681420+01:00  
2022-01-20T09:24:08.357684758+01:00  HOSTS: ['10.128.128.232']
2022-01-20T09:24:08.357690580+01:00  SUITE: Test Platform
2022-01-20T09:24:08.357711129+01:00  TEST:  Kaapana platform: Deploy platform
2022-01-20T09:24:08.357714730+01:00  
2022-01-20T09:24:08.357718749+01:00  ##################################################################################################################
2022-01-20T09:24:09.706602319+01:00  10.128.128.232  - OK: Gathering Facts
2022-01-20T09:24:09.770096905+01:00  10.128.128.232  - OK: Set platform installation script path
2022-01-20T09:24:09.841794803+01:00  10.128.128.232  - OK: Boolean which describes if script is locally available or not

Current Design

  • The codes and scripts are running on a container..
  • from the frond end based on user choice an API is triggering the scripts, but they are hard to debug and stuck on ansible tasks in pod

Event Timeline

s669m triaged this task as Normal priority.Jan 13 2022, 9:35 AM
s669m created this task.
s669m moved this task from Community-Day Tasks to Discussion on the Kaapana (internal) board.
s669m renamed this task from Ancible folder check task fails though the folder exists to Invoking an Ansible Script from pods fails/stuck on tasks where as invoking from Local(an instance) succeeds.Jan 20 2022, 9:20 AM
s669m updated the task description. (Show Details)
s669m renamed this task from Invoking an Ansible Script from pods fails/stuck on tasks where as invoking from Local(an instance) succeeds to Any design recommendation for below problem ??.Jan 20 2022, 9:31 AM
s669m updated the task description. (Show Details)