BookmarkSubscribeRSS Feed
afa1
Calcite | Level 5

Hi,

 

Ran into this when updating SAS viya 3.5. Seems like it´s not possible to upgrade to rabbitmq 3.13 unless you have 3.12 installed. 

 

We have an old version 3.8. Does anyone know how to proceed it this case?

 

"Dependencies resolved.",
"=========================================================================================================",
" Package Arch Version Repository Size",
"=========================================================================================================",
"Upgrading:",
" sas-rabbitmq-server x86_64 3.13.30002-20240716.1721153305180 sas-va-137-x64_redhat_linux_6-yum 16 M",
"",
"Transaction Summary",
"=========================================================================================================",
"Upgrade 1 Package",
"",
"Total size: 16 M",
"Downloading Packages:",
"Running transaction check",
"Transaction check succeeded.",
"Running transaction test",
"Transaction test succeeded.",
"Running transaction",
" Running scriptlet: sas-rabbitmq-server-3.13.30002-20240716.172115330518 1/1 ",
"Checking current version of sas-rabbitmq-server",
"Current sas-rabbitmq-server version 3.8.15",
"Cannot proceed with install, cannot upgrade from below sas-rabbitmq-server 3.12.x to 3.13.30002",
"error: %pretrans(sas-rabbitmq-server-3.13.30002-20240716.1721153305180.x86_64) scriptlet failed, exit status 1",
"",
" Preparing : 1/1 ",
" Verifying : sas-rabbitmq-server-3.13.30002-20240716.172115330518 1/2 ",
" Verifying : sas-rabbitmq-server-3.8.15-20210914.1631663503398.x8 2/2 ",
"Installed products updated.",
"",
"Failed:",
" sas-rabbitmq-server-3.8.15-20210914.1631663503398.x86_64 ",
" sas-rabbitmq-server-3.13.30002-20240716.1721153305180.x86_64 "
]

4 REPLIES 4
michele_sas
SAS Employee

Hi @afa1 

From the rabbitmq 3.13 it looks like you are using a new Viya 3.5 24w44 order. With a new Viya 3.5 order make sure to run site.yml instead of update-only.yml.  It can be confusing so I'm sharing some information that I hope you find helpful. 

 

For the case where you have SAS Viya 3.5 deployed then get a new Viya 3.5 order, you want to use the instructions here which use site.yml: SAS Help Center: Adding SAS Viya Software to a Deployment and Upgrading Products in SAS Viya 3.5

 

You will only use update-only.yml for the case where you want to install updates/hot fixes with your existing order. 
SAS Help Center: Updating Your SAS Viya Software

You might also find this new section of the deployment documentation helpful. 
SAS Help Center: Planning for Extended Standard Support

 

 

 

 

 

 

 

afa1
Calcite | Level 5

thank you for the reply Michelle.

 

I've ran the site.yml now but I get the same ERROR.

 

"=========================================================================================================", " Package Arch Version Repository Size", "=========================================================================================================", "Upgrading:", " sas-rabbitmq-server x86_64 3.13.30002-20240716.1721153305180 sas-va-137-x64_redhat_linux_6-yum 16 M", "", "Transaction Summary", "=========================================================================================================", "Upgrade 1 Package", "", "Total size: 16 M", "Downloading Packages:", "Running transaction check", "Transaction check succeeded.", "Running transaction test", "Transaction test succeeded.", "Running transaction", " Running scriptlet: sas-rabbitmq-server-3.13.30002-20240716.172115330518 1/1 ", "Checking current version of sas-rabbitmq-server", "Current sas-rabbitmq-server version 3.8.15", "Cannot proceed with install, cannot upgrade from below sas-rabbitmq-server 3.12.x to 3.13.30002", "error: %pretrans(sas-rabbitmq-server-3.13.30002-20240716.1721153305180.x86_64) scriptlet failed, exit status 1", "", " Preparing : 1/1 ", " Verifying : sas-rabbitmq-server-3.13.30002-20240716.172115330518 1/2 ", " Verifying : sas-rabbitmq-server-3.8.15-20210914.1631663503398.x8 2/2 ", "Installed products updated.", "", "Failed:", " sas-rabbitmq-server-3.8.15-20210914.1631663503398.x86_64 ", " sas-rabbitmq-server-3.13.30002-20240716.1721153305180.x86_64 "]}
2024-11-13 09:15:38,114 p=2471495 u=la_kach02 n=ansible | NO MORE HOSTS LEFT ************************************************************************************************************************************************************************************
2024-11-13 09:15:38,115 p=2471495 u=la_kach02 n=ansible | PLAY RECAP ********************************************************************************************************************************************************************************************
2024-11-13 09:15:38,115 p=2471495 u=la_kach02 n=ansible | deployTarget : ok=197 changed=29 unreachable=0 failed=1 skipped=442 rescued=0 ignored=0
2024-11-13 09:15:38,115 p=2471495 u=la_kach02 n=ansible | localhost : ok=11 changed=1 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0

michele_sas
SAS Employee

Hi @afa1 

Was your playbook created using the current sas-orchestration?  The current version of sas-orchestration is 1.21.9.
See steps 5 and 6 of SAS Help Center: Adding SAS Viya Software to a Deployment and Upgrading Products in SAS Viya 3.5 

 

afa1
Calcite | Level 5

Was using an old version.

 

Created new playbook now with latest version 1.21.9.

 

When running site.yml now I get following.

 

TASK [rabbitmq-upgrade-x64_redhat_linux_6-yum : Install sas-rabbitmq-server 3.9 and/or sas-erlang 25.2] ***************************************************

fatal: [deployTarget]: FAILED! => {"changed": false, "failures": [], "msg": "Unknown Error occurred: Transaction test error:\n  file /opt/sas/viya/home/lib64/erlang/bin/epmd from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/erl from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/erlc from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/escript from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/no_dot_erlang.boot from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/run_erl from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/start from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/start.boot from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/start.script from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/start_clean.boot from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/start_sasl.boot from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/bin/to_erl from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/releases/RELEASES from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/releases/RELEASES.src from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/releases/start_erl.data from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/usr/include/erl_nif.h from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/usr/include/erl_nif_api_funcs.h from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/usr/lib/libei.a from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n  file /opt/sas/viya/home/lib64/erlang/usr/lib/libei_st.a from install of sas-erlang-25-2-25.2.300004-20240801.1722521471527.x86_64 conflicts with file from package sas-erlang-26.2.400002-20240731.1722434653459.x86_64\n", "rc": 1, "results": []}

 

Looks like it´s trying to install rabbitmq 3.9 but there is a conflict with dependency erlang.

 

Version 26 is installed but it´s trying to install version 25.

 

[la_kach02@dlsasviya02 update2]$ yum list installed | grep erlang

sas-erlang.x86_64                                   26.2.400002-20240731.1722434653459           @Sas-va-137-x64_redhat_linux_6-yum

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 740 views
  • 2 likes
  • 2 in conversation