Software deploy start fail when applying multiple patches are deployed

Bug #2074237 reported by Lindley Werner Soares Vieira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
In Progress
Undecided
Lindley Werner Soares Vieira

Bug Description

Brief Description

Software deploy start fails when multiple patches are deployed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/apt-ostree", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python3/dist-packages/apt_ostree/cmd/shell.py", line 47, in main
    cli(prog_name="apt-ostree")
  File "/usr/lib/python3/dist-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 73, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/apt_ostree/cmd/compose/install.py", line 42, in install
    Packages(state).install(packages, feed, component)
  File "/usr/lib/python3/dist-packages/apt_ostree/packages.py", line 68, in install
    self.apt.apt_install(cache, packages, rootfs)
  File "/usr/lib/python3/dist-packages/apt_ostree/apt.py", line 55, in apt_install
    r = run_sandbox_command(cmd, rootfs, env=env,
  File "/usr/lib/python3/dist-packages/apt_ostree/utils.py", line 80, in run_sandbox_command
    return run_command(

software list
sw-manager sw-deploy-strategy create starlingx-24.09.2
Strategy Software Deploy Strategy:
  strategy-uuid: c8535370-95fc-4b01-9009-e1e825093cc3
  controller-apply-type: serial
  storage-apply-type: serial
  worker-apply-type: serial
  default-instance-action: stop-start
  alarm-restrictions: strict
  current-phase: build
  current-phase-completion: 0%
  state: building
  inprogress: true

Stage (sw-upgrade-start) cleanup called
2024-07-19T20:06:30.948 controller-0 VIM_Thread[1992638] INFO _strategy_steps.py.2038 Step (query-alarms) apply.
2024-07-19T20:06:31.020 controller-0 VIM_Event-Log_Thread[1994210] INFO fm.py.543 Generated customer log, fm_uuid=56b7581b-e96d-420d-90c7-e4b58e7ac01b.
2024-07-19T20:06:31.029 controller-0 VIM_Thread[1992638] INFO _vim_sw_update_api_events.py.183 Apply sw-update strategy callback, uuid=c8535370-95fc-4b01-9009-e1e825093cc3, reason=.
2024-07-19T20:06:31.099 controller-0 VIM_Event-Log_Thread[1994210] INFO fm.py.543 Generated customer log, fm_uuid=00533f93-8303-41f1-9528-619409092b7c.
2024-07-19T20:06:31.212 controller-0 VIM_Thread[1992638] INFO _strategy_steps.py.1181 Step (start-upgrade) apply.
2024-07-19T20:06:34.612 controller-0 VIM_Alarm_Thread[1994211] INFO fm.py.276 Raised alarm, uuid=b9571abd-b218-4c15-9b74-ebc98ed1dae4, fm_uuid=9834fed6-f342-4c8a-818f-75768a2480b3.
2024-07-19T20:07:02.149 controller-0 VIM_Thread[1992638] INFO _sw_upgrade.py.167 Audit alarms, timer_id=36145.
2024-07-19T20:07:36.888 controller-0 VIM_Thread[1992638] INFO _sw_upgrade.py.167 Audit alarms, timer_id=36145.
2024-07-19T20:08:11.695 controller-0 VIM_Thread[1992638] INFO _sw_upgrade.py.167 Audit alarms, timer_id=36145.
2024-07-19T20:08:24.553 controller-0 VIM_Thread[1992638] INFO _strategy_stage.py.235 Stage (sw-upgrade-start) cleanup called
2024-07-19T20:08:24.558 controller-0 VIM_Thread[1992638] INFO _strategy_phase.py.259 Phase (apply) cleanup called
2024-07-19T20:08:24.569 controller-0 VIM_Thread[1992638] INFO _strategy.py.403 Apply Complete Callback, result=failed, reason=Software deployment start failed, check /var/log/software.log for more information..
2024-07-19T20:08:24.570 controller-0 VIM_Thread[1992638] INFO _strategy_step.py.177 Default strategy step abort for start-upgrade.
2024-07-19T20:08:24.571 controller-0 VIM_Thread[1992638] INFO _strategy_stage.py.267 Stage (sw-upgrade-start) abort step (start-upgrade).
Severity

Major: Unable to deploy more patches

Steps to Reproduce

1. Upload NRR latch and Create VIM patch strategy for NRR patch
2. Apply VIM patch strategy
3. Upload RR patch and Create Non RR patch patch strategy
4. Apply VIM patch strategy

Expected Behavior

software deploy start through VIM orchestration should work

Actual Behavior

VIM orchestration fail at software deploy start

Reproducibility

Reproducible

System Configuration

AIO-SX R750-001

cat /etc/build.info
SW_VERSION="24.09"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID="2024-07-16_19-00-08"
SRC_BUILD_ID="2141"

JOB="wrcp-master-debian"
BUILD_BY="jenkins"
BUILD_NUMBER="816"
BUILD_HOST="yow-wrcp-lx.wrs.com"
BUILD_DATE="2024-07-16 23:00:08 +0000"
Last Pass

Not Applicable New feature TCPG-2095

/folk/cgts_logs/logs/CGTS-65164/.

Timestamp/Logs

Alarms

Test Activity
Feature Testing (VIM Orchestration - TCPG-2095)

Workaround

Changed in starlingx:
assignee: nobody → Lindley Werner Soares Vieira (lindley-vieira)
Changed in starlingx:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.