Devstack cannot be created for yoga due to the git branch name changes

Bug #2052950 reported by Dominik Danelski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
New
Undecided
Unassigned

Bug Description

Since some repositories like nova changed name of the yoga branch (stable/yoga to unmaintained/yoga), stack.sh for this OpenStack version fails, because it cannot fetch the branch using the old name.

See the last 49 lines of stack.sh output:
Cloning into '/opt/stack/keystone'...
remote: Enumerating objects: 122213, done.
remote: Counting objects: 100% (71689/71689), done.
remote: Compressing objects: 100% (28680/28680), done.
remote: Total 122213 (delta 69129), reused 43009 (delta 43009), pack-reused 50524
Receiving objects: 100% (122213/122213), 28.24 MiB | 11.80 MiB/s, done.
Resolving deltas: 100% (90111/90111), done.
+functions-common:git_timed:738 time_stop git_timed
+functions-common:time_stop:2453 local name
+functions-common:time_stop:2454 local end_time
+functions-common:time_stop:2455 local elapsed_time
+functions-common:time_stop:2456 local total
+functions-common:time_stop:2457 local start_time
+functions-common:time_stop:2459 name=git_timed
+functions-common:time_stop:2460 start_time=1707747659120
+functions-common:time_stop:2462 [[ -z 1707747659120 ]]
++functions-common:time_stop:2465 date +%s%3N
+functions-common:time_stop:2465 end_time=1707747667083
+functions-common:time_stop:2466 elapsed_time=7963
+functions-common:time_stop:2467 total=5549
+functions-common:time_stop:2469 _TIME_START[$name]=
+functions-common:time_stop:2470 _TIME_TOTAL[$name]=13512
+functions-common:git_clone:650 cd /opt/stack/keystone
+functions-common:git_clone:651 git_timed fetch origin stable/yoga
+functions-common:git_timed:716 local count=0
+functions-common:git_timed:717 local timeout=0
+functions-common:git_timed:719 [[ -n 0 ]]
+functions-common:git_timed:720 timeout=0
+functions-common:git_timed:723 time_start git_timed
+functions-common:time_start:2439 local name=git_timed
+functions-common:time_start:2440 local start_time=
+functions-common:time_start:2441 [[ -n '' ]]
++functions-common:time_start:2444 date +%s%3N
+functions-common:time_start:2444 _TIME_START[$name]=1707747667162
+functions-common:git_timed:724 timeout -s SIGINT 0 git fetch origin stable/yoga
fatal: couldn't find remote ref stable/yoga
+functions-common:git_timed:727 [[ 128 -ne 124 ]]
+functions-common:git_timed:728 die 728 'git call failed: [git fetch' origin 'stable/yoga]'
+functions-common:die:264 local exitcode=0
+functions-common:die:265 set +o xtrace
[Call Trace]
./stack.sh:913:stack_install_service
/home/eouser/devstack/lib/stack:32:install_keystone
/home/eouser/devstack/lib/keystone:535:git_clone
/home/eouser/devstack/functions-common:651:git_timed
/home/eouser/devstack/functions-common:728:die
[ERROR] /home/eouser/devstack/functions-common:728 git call failed: [git fetch origin stable/yoga]
Error on exit
World dumping... see /opt/stack/logs/worlddump-2024-02-12-142110.txt for details

tags: added: in-stable-yoga
removed: yoga
Revision history for this message
Martin Kopec (mkopec) wrote :

Discussed today, tldr: it may take a while to setup yoga in unmaintained/ namespace:

https://meetings.opendev.org/meetings/qa/2024/qa.2024-02-14-17.00.log.html#l-83

Revision history for this message
Dominik Danelski (dominikdanelski) wrote :

As I've noticed, Devstack saw a change of the branch name from stable/yoga to unmaintained/yoga. Still, stack.sh fails for the same reason as stated originally: it still tries to fetch stable/yoga at some point.

tags: added: release unmaintained
tags: removed: release unmaintained
tags: added: unmaintained-release
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.