[uyuni-users] Uyuni 2020.09 is released!
Hello everyone! We are happy to announce the immediate availability of Uyuni 2020.09 At https://www.uyuni-project.org/pages/stable-version.html you will find all the resources you need to start working with Uyuni 2020.09, including the release notes, documentation, requirements and setup instructions. IMPORTANT: Keep in mind Uyuni 2020.07 changed the base OS to openSUSE Leap 15.2, so a special procedure is needed if you are not upgrading from 2020.07 but from a previous version! Check the release notes and the documentation for all the details This is the list of highlights for this release: * Uyuni Hub XML-RPC API is now supported * Formula for peripheral server management (Technology Preview) * Maintenance windows * Monitoring reverse proxies * Added new type of "Virtual Host Manager": Nutanix AHV * Grafana 7.1.5 * New products enabled Please check the release notes for full details. We will also have Uyuni Community Hours this Friday 25th at 16.00 CEST to present Uyuni 2020.09 [1] Remember that Uyuni will follow a rolling release planning, so the next version will contain bugfixes for this one and any new features. There will be no maintenance of 2020.09 As always, we hope you will enjoy Uyuni 2020.09 and we invite everyone of you to send us your feedback [2] and of course your patches, if you can contribute. Happy hacking! [1] https://teams.microsoft.com/l/meetup-join/ 19%3Ameeting_ZmZmNzY5MjAtZGI2Mi00MDY1LWJiMTMtYjU3N2U0YmQxMmQz%40thread.v2/0? context=%7B%22Tid%22%3A%22f7a17af6-1c5c-4a36-aa8b- f5be247aa4ba%22%2C%22Oid%22%3A%2283d1ce03-a2c8-4530-8955-02fbc59cb7d6%22%7D Conference ID: 169 720 66# Dial-in numbers: https://dialin.teams.microsoft.com/58c3986f-4c3a-4b77-b4e8-f431171ef66d? id=16972066 [2] https://www.uyuni-project.org/pages/contact.html -- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Hi,
After upgrade I am getting this error while upgrade postgress database .
08:37:25 Successfully initialized new postgresql 12 database.
08:37:25 Upgrade database to new version postgresql 12...
check for "/usr/lib/postgresql10/bin" failed: No such file or directory
Failure, exiting
08:37:25 Upgrading database to version 12 failed!
08:37:25 Trying to restore previous state...
mv: cannot move '/var/lib/pgsql/data' to '/var/lib/pgsql/data-new-failed/data': File exists
update-alternatives: error: alternative /usr/lib/postgresql10 for postgresql not registered; not setting
spacewalk:~ # spacewalk-service restart
Shutting down spacewalk services...
Done.
Starting spacewalk services...
● uyuni-check-database.service - Uyuni check database
Loaded: loaded (/usr/lib/systemd/system/uyuni-check-database.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-09-23 09:03:07 EEST; 109ms ago
Process: 4931 ExecStart=/usr/sbin/spacewalk-startup-helper check-database (code=exited, status=1/FAILURE)
Main PID: 4931 (code=exited, status=1/FAILURE)
Sep 23 09:03:07 spacewalk systemd[1]: Starting Uyuni check database...
Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: psql: error: could not connect to server: FATAL: role "uyuni" does not exist
Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: Database version '' is not supported for SUSE Manager/Uyuni on openSUSE Leap 15.2. Perform database migration.
Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Main process exited, code=exited, status=1/FAILURE
Sep 23 09:03:07 spacewalk systemd[1]: Failed to start Uyuni check database.
Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Unit entered failed state.
Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Failed with result 'exit-code'.
FAILED
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941
-----Original Message-----
From: Julio González Gil
What was your Uyuni version before the upgrade? Was it 2020.07 already? On miércoles, 23 de septiembre de 2020 8:05:21 (CEST) Suhail Siddiqui, HCL wrote:
Hi,
After upgrade I am getting this error while upgrade postgress database .
08:37:25 Successfully initialized new postgresql 12 database. 08:37:25 Upgrade database to new version postgresql 12...
check for "/usr/lib/postgresql10/bin" failed: No such file or directory
Failure, exiting 08:37:25 Upgrading database to version 12 failed! 08:37:25 Trying to restore previous state... mv: cannot move '/var/lib/pgsql/data' to '/var/lib/pgsql/data-new-failed/data': File exists update-alternatives: error: alternative /usr/lib/postgresql10 for postgresql not registered; not setting
spacewalk:~ # spacewalk-service restart Shutting down spacewalk services... Done. Starting spacewalk services... ● uyuni-check-database.service - Uyuni check database Loaded: loaded (/usr/lib/systemd/system/uyuni-check-database.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since Wed 2020-09-23 09:03:07 EEST; 109ms ago Process: 4931 ExecStart=/usr/sbin/spacewalk-startup-helper check-database (code=exited, status=1/FAILURE) Main PID: 4931 (code=exited, status=1/FAILURE)
Sep 23 09:03:07 spacewalk systemd[1]: Starting Uyuni check database... Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: psql: error: could not connect to server: FATAL: role "uyuni" does not exist Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: Database version '' is not supported for SUSE Manager/Uyuni on openSUSE Leap 15.2. Perform database migration. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Main process exited, code=exited, status=1/FAILURE Sep 23 09:03:07 spacewalk systemd[1]: Failed to start Uyuni check database. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Unit entered failed state. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Failed with result 'exit-code'. FAILED
Best Regards, Suhail Siddiqui Service Delivery – Datacenter Services HCL Technologies Ltd. – UPM Partner for IT Services Mob: +91-9717193941
-----Original Message----- From: Julio González Gil
Sent: 22 September 2020 17:37 To: uyuni-announce@opensuse.org; uyuni-users@opensuse.org; uyuni-devel@opensuse.org Subject: [uyuni-announce] Uyuni 2020.09 is released! Hello everyone!
We are happy to announce the immediate availability of Uyuni 2020.09
At https://www.uyuni-project.org/pages/stable-version.html you will find all the resources you need to start working with Uyuni 2020.09, including the release notes, documentation, requirements and setup instructions.
IMPORTANT: Keep in mind Uyuni 2020.07 changed the base OS to openSUSE Leap 15.2, so a special procedure is needed if you are not upgrading from 2020.07 but from a previous version! Check the release notes and the documentation for all the details
This is the list of highlights for this release:
* Uyuni Hub XML-RPC API is now supported * Formula for peripheral server management (Technology Preview) * Maintenance windows * Monitoring reverse proxies * Added new type of "Virtual Host Manager": Nutanix AHV * Grafana 7.1.5 * New products enabled
Please check the release notes for full details.
We will also have Uyuni Community Hours this Friday 25th at 16.00 CEST to present Uyuni 2020.09 [1]
Remember that Uyuni will follow a rolling release planning, so the next version will contain bugfixes for this one and any new features. There will be no maintenance of 2020.09
As always, we hope you will enjoy Uyuni 2020.09 and we invite everyone of you to send us your feedback [2] and of course your patches, if you can contribute.
Happy hacking!
[1] https://teams.microsoft.com/l/meetup-join/ 19%3Ameeting_ZmZmNzY5MjAtZGI2Mi00MDY1LWJiMTMtYjU3N2U0YmQxMmQz%40thread.v2/0?
context=%7B%22Tid%22%3A%22f7a17af6-1c5c-4a36-aa8b-
f5be247aa4ba%22%2C%22Oid%22%3A%2283d1ce03-a2c8-4530-8955-02fbc59cb7d6%22%7D Conference ID: 169 720 66# Dial-in numbers: https://dialin.teams.microsoft.com/58c3986f-4c3a-4b77-b4e8-f431171ef66d? id=16972066
[2] https://www.uyuni-project.org/pages/contact.html
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Yes it was on 2020.07 before upgrade.
Best Regards,
Suhail Siddiqui
Service Delivery �C Datacenter Services
HCL Technologies Ltd. �C UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________
From: Julio Gonz��lez Gil
Hi,
After upgrade I am getting this error while upgrade postgress database .
08:37:25 Successfully initialized new postgresql 12 database. 08:37:25 Upgrade database to new version postgresql 12...
check for "/usr/lib/postgresql10/bin" failed: No such file or directory
Failure, exiting 08:37:25 Upgrading database to version 12 failed! 08:37:25 Trying to restore previous state... mv: cannot move '/var/lib/pgsql/data' to '/var/lib/pgsql/data-new-failed/data': File exists update-alternatives: error: alternative /usr/lib/postgresql10 for postgresql not registered; not setting
spacewalk:~ # spacewalk-service restart Shutting down spacewalk services... Done. Starting spacewalk services... �� uyuni-check-database.service - Uyuni check database Loaded: loaded (/usr/lib/systemd/system/uyuni-check-database.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since Wed 2020-09-23 09:03:07 EEST; 109ms ago Process: 4931 ExecStart=/usr/sbin/spacewalk-startup-helper check-database (code=exited, status=1/FAILURE) Main PID: 4931 (code=exited, status=1/FAILURE)
Sep 23 09:03:07 spacewalk systemd[1]: Starting Uyuni check database... Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: psql: error: could not connect to server: FATAL: role "uyuni" does not exist Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: Database version '' is not supported for SUSE Manager/Uyuni on openSUSE Leap 15.2. Perform database migration. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Main process exited, code=exited, status=1/FAILURE Sep 23 09:03:07 spacewalk systemd[1]: Failed to start Uyuni check database. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Unit entered failed state. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Failed with result 'exit-code'. FAILED
Best Regards, Suhail Siddiqui Service Delivery �C Datacenter Services HCL Technologies Ltd. �C UPM Partner for IT Services Mob: +91-9717193941
-----Original Message----- From: Julio Gonz��lez Gil
Sent: 22 September 2020 17:37 To: uyuni-announce@opensuse.org; uyuni-users@opensuse.org; uyuni-devel@opensuse.org Subject: [uyuni-announce] Uyuni 2020.09 is released! Hello everyone!
We are happy to announce the immediate availability of Uyuni 2020.09
At https://www.uyuni-project.org/pages/stable-version.html you will find all the resources you need to start working with Uyuni 2020.09, including the release notes, documentation, requirements and setup instructions.
IMPORTANT: Keep in mind Uyuni 2020.07 changed the base OS to openSUSE Leap 15.2, so a special procedure is needed if you are not upgrading from 2020.07 but from a previous version! Check the release notes and the documentation for all the details
This is the list of highlights for this release:
* Uyuni Hub XML-RPC API is now supported * Formula for peripheral server management (Technology Preview) * Maintenance windows * Monitoring reverse proxies * Added new type of "Virtual Host Manager": Nutanix AHV * Grafana 7.1.5 * New products enabled
Please check the release notes for full details.
We will also have Uyuni Community Hours this Friday 25th at 16.00 CEST to present Uyuni 2020.09 [1]
Remember that Uyuni will follow a rolling release planning, so the next version will contain bugfixes for this one and any new features. There will be no maintenance of 2020.09
As always, we hope you will enjoy Uyuni 2020.09 and we invite everyone of you to send us your feedback [2] and of course your patches, if you can contribute.
Happy hacking!
[1] https://teams.microsoft.com/l/meetup-join/ 19%3Ameeting_ZmZmNzY5MjAtZGI2Mi00MDY1LWJiMTMtYjU3N2U0YmQxMmQz%40thread.v2/0?
context=%7B%22Tid%22%3A%22f7a17af6-1c5c-4a36-aa8b-
f5be247aa4ba%22%2C%22Oid%22%3A%2283d1ce03-a2c8-4530-8955-02fbc59cb7d6%22%7D Conference ID: 169 720 66# Dial-in numbers: https://dialin.teams.microsoft.com/58c3986f-4c3a-4b77-b4e8-f431171ef66d? id=16972066
[2] https://www.uyuni-project.org/pages/contact.html
-- Julio Gonz��lez Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio Gonz��lez Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com ________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
Yes it was on 2020.07 before upgrade.
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________ From: Julio González Gil
Sent: Wednesday, 23 September, 2020 1:19 pm To: uyuni-users@opensuse.org; Suhail Siddiqui, HCL Subject: Re: [uyuni-announce] Uyuni 2020.09 is released! What was your Uyuni version before the upgrade? Was it 2020.07 already?
On miércoles, 23 de septiembre de 2020 8:05:21 (CEST) Suhail Siddiqui, HCL wrote:
Hi,
After upgrade I am getting this error while upgrade postgress database .
08:37:25 Successfully initialized new postgresql 12 database. 08:37:25 Upgrade database to new version postgresql 12...
check for "/usr/lib/postgresql10/bin" failed: No such file or directory
Failure, exiting 08:37:25 Upgrading database to version 12 failed! 08:37:25 Trying to restore previous state... mv: cannot move '/var/lib/pgsql/data' to '/var/lib/pgsql/data-new-failed/data': File exists
update-alternatives:
error: alternative /usr/lib/postgresql10 for postgresql not registered; not setting
spacewalk:~ # spacewalk-service restart Shutting down spacewalk services... Done. Starting spacewalk services... ● uyuni-check-database.service - Uyuni check database
Loaded: loaded (/usr/lib/systemd/system/uyuni-check-database.service;
static; vendor preset: disabled)
Active: failed (Result: exit-code) since
Wed 2020-09-23 09:03:07 EEST; 109ms ago Process: 4931 ExecStart=/usr/sbin/spacewalk-startup-helper check-database (code=exited, status=1/FAILURE) Main PID: 4931 (code=exited, status=1/FAILURE)
Sep 23 09:03:07 spacewalk systemd[1]: Starting Uyuni check database... Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: psql: error: could not connect to server: FATAL: role "uyuni" does not exist
Sep 23 09:03:07
spacewalk spacewalk-startup-helper[4931]: Database version '' is not supported for SUSE Manager/Uyuni on openSUSE Leap 15.2. Perform database migration. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Main process exited, code=exited, status=1/FAILURE Sep 23 09:03:07 spacewalk systemd[1]: Failed to start Uyuni check database. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Unit entered failed state. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Failed with result 'exit-code'. FAILED
Best Regards, Suhail Siddiqui Service Delivery – Datacenter Services HCL Technologies Ltd. – UPM Partner for IT Services Mob: +91-9717193941
-----Original Message----- From: Julio González Gil
Sent: 22 September 2020 17:37 To: uyuni-announce@opensuse.org; uyuni-users@opensuse.org; uyuni-devel@opensuse.org Subject: [uyuni-announce] Uyuni 2020.09 is
released!
Hello everyone!
We are happy to announce the immediate availability of Uyuni 2020.09
At https://www.uyuni-project.org/pages/stable-version.html you will find all
Did you upgrade to 2020.07 following the instructions? We will need the whole procedure you followed, step by step. Having a look at the log it looks to me that the first chunk comes from the migration script tht was required to migrate from 2020.06 to 2020.07. But of course if you were on 2020.07 you didn't have to run it again. Was that the case? On miércoles, 23 de septiembre de 2020 11:39:56 (CEST) Suhail Siddiqui, HCL wrote: the resources you need to start working with Uyuni 2020.09,
including the release notes, documentation, requirements and setup instructions.
IMPORTANT: Keep in mind Uyuni 2020.07 changed the base OS to openSUSE Leap 15.2, so a special procedure is needed if you are not upgrading from 2020.07 but from a previous version! Check the release notes and the documentation for all the details
This is the list of highlights for this release:
* Uyuni Hub XML-RPC API is now supported * Formula for peripheral server management (Technology Preview) * Maintenance windows * Monitoring reverse proxies * Added new type of "Virtual Host Manager": Nutanix AHV * Grafana 7.1.5 * New products enabled
Please check the release notes for full details.
We will also have Uyuni Community Hours this Friday 25th at 16.00 CEST to present Uyuni 2020.09 [1]
Remember that Uyuni will follow a rolling release planning, so the next version will contain bugfixes for this one and any new features. There will be no maintenance of 2020.09
As always, we hope you will enjoy Uyuni 2020.09 and we invite everyone of you to send us your feedback [2] and of course your patches, if you can contribute.
Happy hacking!
[1] https://teams.microsoft.com/l/meetup-join/ 19%3Ameeting_ZmZmNzY5MjAtZGI2Mi00MDY1LWJiMTMtYjU3N2U0YmQxMmQz%40thread.v2/ 0?
context=%7B%22Tid%22%3A%22f7a17af6-1c5c-4a36-aa8b-
f5be247aa4ba%22%2C%22Oid%22%3A%2283d1ce03-a2c8-4530-8955-02fbc59cb7d6%22%7 D Conference ID: 169 720 66# Dial-in numbers: https://dialin.teams.microsoft.com/58c3986f-4c3a-4b77-b4e8-f431171ef66d? id=16972066
[2] https://www.uyuni-project.org/pages/contact.html
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Yes it was on 2020.07 before upgrade.
Best Regards,
Suhail Siddiqui
Service Delivery �C Datacenter Services
HCL Technologies Ltd. �C UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________ From: Julio Gonz��lez Gil
Sent: Wednesday, 23 September, 2020 1:19 pm To: uyuni-users@opensuse.org; Suhail Siddiqui, HCL Subject: Re: [uyuni-announce] Uyuni 2020.09 is released! What was your Uyuni version before the upgrade? Was it 2020.07 already?
On mi��rcoles, 23 de septiembre de 2020 8:05:21 (CEST) Suhail Siddiqui, HCL wrote:
Hi,
After upgrade I am getting this error while upgrade postgress database .
08:37:25 Successfully initialized new postgresql 12 database. 08:37:25 Upgrade database to new version postgresql 12...
check for "/usr/lib/postgresql10/bin" failed: No such file or directory
Failure, exiting 08:37:25 Upgrading database to version 12 failed! 08:37:25 Trying to restore previous state... mv: cannot move '/var/lib/pgsql/data' to '/var/lib/pgsql/data-new-failed/data': File exists
update-alternatives:
error: alternative /usr/lib/postgresql10 for postgresql not registered; not setting
spacewalk:~ # spacewalk-service restart Shutting down spacewalk services... Done. Starting spacewalk services... �� uyuni-check-database.service - Uyuni check database
Loaded: loaded (/usr/lib/systemd/system/uyuni-check-database.service;
static; vendor preset: disabled)
Active: failed (Result: exit-code) since
Wed 2020-09-23 09:03:07 EEST; 109ms ago Process: 4931 ExecStart=/usr/sbin/spacewalk-startup-helper check-database (code=exited, status=1/FAILURE) Main PID: 4931 (code=exited, status=1/FAILURE)
Sep 23 09:03:07 spacewalk systemd[1]: Starting Uyuni check database... Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: psql: error: could not connect to server: FATAL: role "uyuni" does not exist
Sep 23 09:03:07
spacewalk spacewalk-startup-helper[4931]: Database version '' is not supported for SUSE Manager/Uyuni on openSUSE Leap 15.2. Perform database migration. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Main process exited, code=exited, status=1/FAILURE Sep 23 09:03:07 spacewalk systemd[1]: Failed to start Uyuni check database. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Unit entered failed state. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Failed with result 'exit-code'. FAILED
Best Regards, Suhail Siddiqui Service Delivery �C Datacenter Services HCL Technologies Ltd. �C UPM Partner for IT Services Mob: +91-9717193941
-----Original Message----- From: Julio Gonz��lez Gil
Sent: 22 September 2020 17:37 To: uyuni-announce@opensuse.org; uyuni-users@opensuse.org; uyuni-devel@opensuse.org Subject: [uyuni-announce] Uyuni 2020.09 is
released!
Hello everyone!
We are happy to announce the immediate availability of Uyuni 2020.09
At https://www.uyuni-project.org/pages/stable-version.html you will find all
I followed below steps. It works till step 2 but step 3 failed for that logs already shared.
1.
zypper ref
zypper up susemanager
2. Run the /usr/lib/susemanager/bin/server-migrator.sh script to upgrade the base OS and Uyuni Server.
3. To migrate the database to PostgreSQL 12 run the migrate script:
/usr/lib/susemanager/bin/pg-migrate-10-to-12.sh
Best Regards,
Suhail Siddiqui
Service Delivery �C Datacenter Services
HCL Technologies Ltd. �C UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________
From: Julio Gonz��lez Gil
including the release notes, documentation, requirements and setup instructions.
IMPORTANT: Keep in mind Uyuni 2020.07 changed the base OS to openSUSE Leap 15.2, so a special procedure is needed if you are not upgrading from 2020.07 but from a previous version! Check the release notes and the documentation for all the details
This is the list of highlights for this release:
* Uyuni Hub XML-RPC API is now supported * Formula for peripheral server management (Technology Preview) * Maintenance windows * Monitoring reverse proxies * Added new type of "Virtual Host Manager": Nutanix AHV * Grafana 7.1.5 * New products enabled
Please check the release notes for full details.
We will also have Uyuni Community Hours this Friday 25th at 16.00 CEST to present Uyuni 2020.09 [1]
Remember that Uyuni will follow a rolling release planning, so the next version will contain bugfixes for this one and any new features. There will be no maintenance of 2020.09
As always, we hope you will enjoy Uyuni 2020.09 and we invite everyone of you to send us your feedback [2] and of course your patches, if you can contribute.
Happy hacking!
[1] https://teams.microsoft.com/l/meetup-join/ 19%3Ameeting_ZmZmNzY5MjAtZGI2Mi00MDY1LWJiMTMtYjU3N2U0YmQxMmQz%40thread.v2/ 0?
context=%7B%22Tid%22%3A%22f7a17af6-1c5c-4a36-aa8b-
f5be247aa4ba%22%2C%22Oid%22%3A%2283d1ce03-a2c8-4530-8955-02fbc59cb7d6%22%7 D Conference ID: 169 720 66# Dial-in numbers: https://dialin.teams.microsoft.com/58c3986f-4c3a-4b77-b4e8-f431171ef66d? id=16972066
[2] https://www.uyuni-project.org/pages/contact.html
-- Julio Gonz��lez Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio Gonz��lez Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio Gonz��lez Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com ________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
So you ran this to upgrade to 2020.09, even if you were already at 2020.07? On jueves, 24 de septiembre de 2020 6:13:03 (CEST) Suhail Siddiqui, HCL wrote:
I followed below steps. It works till step 2 but step 3 failed for that logs already shared.
1.
zypper ref zypper up susemanager
2. Run the /usr/lib/susemanager/bin/server-migrator.sh script to upgrade the base OS and Uyuni Server.
3. To migrate the database to PostgreSQL 12 run the migrate script:
/usr/lib/susemanager/bin/pg-migrate-10-to-12.sh
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________ From: Julio González Gil
Sent: Wednesday, 23 September, 2020 3:37 pm To: uyuni-users@opensuse.org Cc: Suhail Siddiqui, HCL Subject: Re: [uyuni-users] Re: [uyuni-announce] Uyuni 2020.09 is released! Did you upgrade to 2020.07 following the instructions?
We will need the whole procedure you followed, step by step. Having a look at
the log it looks to me that the first chunk comes from the migration
script tht was required to migrate from 2020.06 to 2020.07. But of course if you were on 2020.07 you didn't have to run it again.
Was that the case?
On miércoles, 23 de septiembre de 2020 11:39:56 (CEST) Suhail Siddiqui, HCL wrote:
Yes it was on 2020.07 before upgrade.
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________ From: Julio González Gil
Sent: Wednesday, 23 September, 2020 1:19 pm To: uyuni-users@opensuse.org; Suhail Siddiqui, HCL Subject: Re: [uyuni-announce] Uyuni 2020.09 is released! What was your Uyuni version before the upgrade? Was it 2020.07 already?
On miércoles, 23 de septiembre de 2020 8:05:21 (CEST) Suhail Siddiqui, HCL wrote:
Hi,
After upgrade I am getting this error while upgrade postgress database .
08:37:25 Successfully initialized new postgresql 12 database. 08:37:25 Upgrade database to new version postgresql 12...
check for "/usr/lib/postgresql10/bin" failed: No such file or directory
Failure, exiting 08:37:25 Upgrading database to version 12 failed! 08:37:25 Trying to restore previous state... mv: cannot move '/var/lib/pgsql/data' to '/var/lib/pgsql/data-new-failed/data': File exists
update-alternatives:
error: alternative /usr/lib/postgresql10 for postgresql not registered; not
setting
spacewalk:~ # spacewalk-service restart Shutting down spacewalk services... Done. Starting spacewalk services... ● uyuni-check-database.service - Uyuni check database
Loaded: loaded (/usr/lib/systemd/system/uyuni-check-database.service;
static; vendor preset: disabled)
Active: failed (Result: exit-code) since
Wed 2020-09-23 09:03:07 EEST; 109ms ago Process: 4931 ExecStart=/usr/sbin/spacewalk-startup-helper check-database (code=exited, status=1/FAILURE) Main PID: 4931 (code=exited, status=1/FAILURE)
Sep 23 09:03:07 spacewalk systemd[1]: Starting Uyuni check database... Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: psql: error: could
not connect to server: FATAL: role "uyuni" does not exist
Sep 23 09:03:07
spacewalk spacewalk-startup-helper[4931]: Database version '' is not supported for SUSE Manager/Uyuni on openSUSE Leap 15.2. Perform database migration. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Main process exited, code=exited, status=1/FAILURE Sep 23 09:03:07 spacewalk systemd[1]: Failed to start Uyuni check database. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Unit entered failed state. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Failed with result 'exit-code'. FAILED
Best Regards, Suhail Siddiqui Service Delivery – Datacenter Services HCL Technologies Ltd. – UPM Partner for IT Services Mob: +91-9717193941
-----Original Message----- From: Julio González Gil
Sent: 22 September 2020 17:37 To: uyuni-announce@opensuse.org; uyuni-users@opensuse.org; uyuni-devel@opensuse.org Subject: [uyuni-announce] Uyuni 2020.09 is
released!
Hello everyone!
We are happy to announce the immediate availability of Uyuni 2020.09
At https://www.uyuni-project.org/pages/stable-version.html you will find all
the resources you need to start working with Uyuni 2020.09,
including the release notes, documentation, requirements and setup instructions.
IMPORTANT: Keep in mind Uyuni 2020.07 changed the base OS to openSUSE Leap 15.2, so a special procedure is needed if you are not upgrading from 2020.07 but from a previous version! Check the release notes and the documentation for all the details
This is the list of highlights for this release:
* Uyuni Hub XML-RPC API is now supported * Formula for peripheral server management (Technology Preview) * Maintenance windows * Monitoring reverse proxies * Added new type of "Virtual Host Manager": Nutanix AHV * Grafana 7.1.5 * New products enabled
Please check the release notes for full details.
We will also have Uyuni Community Hours this Friday 25th at 16.00 CEST to present Uyuni 2020.09 [1]
Remember that Uyuni will follow a rolling release planning, so the next version will contain bugfixes for this one and any new features. There will
be no maintenance of 2020.09
As always, we hope you will enjoy Uyuni 2020.09 and we invite everyone of you to send us your feedback [2] and of course your patches, if you can contribute.
Happy hacking!
[1] https://teams.microsoft.com/l/meetup-join/ 19%3Ameeting_ZmZmNzY5MjAtZGI2Mi00MDY1LWJiMTMtYjU3N2U0YmQxMmQz%40thread.v 2/ 0?
context=%7B%22Tid%22%3A%22f7a17af6-1c5c-4a36-aa8b-
f5be247aa4ba%22%2C%22Oid%22%3A%2283d1ce03-a2c8-4530-8955-02fbc59cb7d6%22 %7 D
Conference ID: 169 720 66#
Dial-in numbers: https://dialin.teams.microsoft.com/58c3986f-4c3a-4b77-b4e8-f431171ef66d?
id=16972066
[2] https://www.uyuni-project.org/pages/contact.html
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Hi, I just try again the upgrade and not run the command for DB upgrade 9to12 as I am already on Postgress12 and it works like charm 😊
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941
-----Original Message-----
From: Julio González Gil
I followed below steps. It works till step 2 but step 3 failed for that logs already shared.
1.
zypper ref zypper up susemanager
2. Run the /usr/lib/susemanager/bin/server-migrator.sh script to upgrade the base OS and Uyuni Server.
3. To migrate the database to PostgreSQL 12 run the migrate script:
/usr/lib/susemanager/bin/pg-migrate-10-to-12.sh
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________ From: Julio González Gil
Sent: Wednesday, 23 September, 2020 3:37 pm To: uyuni-users@opensuse.org Cc: Suhail Siddiqui, HCL Subject: Re: [uyuni-users] Re: [uyuni-announce] Uyuni 2020.09 is released! Did you upgrade to 2020.07 following the instructions?
We will need the whole procedure you followed, step by step. Having a look at
the log it looks to me that the first chunk comes from the migration
script tht was required to migrate from 2020.06 to 2020.07. But of course if you were on 2020.07 you didn't have to run it again.
Was that the case?
On miércoles, 23 de septiembre de 2020 11:39:56 (CEST) Suhail Siddiqui, HCL wrote:
Yes it was on 2020.07 before upgrade.
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________ From: Julio González Gil
Sent: Wednesday, 23 September, 2020 1:19 pm To: uyuni-users@opensuse.org; Suhail Siddiqui, HCL Subject: Re: [uyuni-announce] Uyuni 2020.09 is released! What was your Uyuni version before the upgrade? Was it 2020.07 already?
On miércoles, 23 de septiembre de 2020 8:05:21 (CEST) Suhail Siddiqui, HCL wrote:
Hi,
After upgrade I am getting this error while upgrade postgress database .
08:37:25 Successfully initialized new postgresql 12 database. 08:37:25 Upgrade database to new version postgresql 12...
check for "/usr/lib/postgresql10/bin" failed: No such file or directory
Failure, exiting 08:37:25 Upgrading database to version 12 failed! 08:37:25 Trying to restore previous state... mv: cannot move '/var/lib/pgsql/data' to '/var/lib/pgsql/data-new-failed/data': File exists
update-alternatives:
error: alternative /usr/lib/postgresql10 for postgresql not registered; not
setting
spacewalk:~ # spacewalk-service restart Shutting down spacewalk services... Done. Starting spacewalk services... ● uyuni-check-database.service - Uyuni check database
Loaded: loaded (/usr/lib/systemd/system/uyuni-check-database.service;
static; vendor preset: disabled)
Active: failed (Result: exit-code) since
Wed 2020-09-23 09:03:07 EEST; 109ms ago Process: 4931 ExecStart=/usr/sbin/spacewalk-startup-helper check-database (code=exited, status=1/FAILURE) Main PID: 4931 (code=exited, status=1/FAILURE)
Sep 23 09:03:07 spacewalk systemd[1]: Starting Uyuni check database... Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: psql: error: could
not connect to server: FATAL: role "uyuni" does not exist
Sep 23 09:03:07
spacewalk spacewalk-startup-helper[4931]: Database version '' is not supported for SUSE Manager/Uyuni on openSUSE Leap 15.2. Perform database migration. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Main process exited, code=exited, status=1/FAILURE Sep 23 09:03:07 spacewalk systemd[1]: Failed to start Uyuni check database. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Unit entered failed state. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Failed with result 'exit-code'. FAILED
Best Regards, Suhail Siddiqui Service Delivery – Datacenter Services HCL Technologies Ltd. – UPM Partner for IT Services Mob: +91-9717193941
-----Original Message----- From: Julio González Gil
Sent: 22 September 2020 17:37 To: uyuni-announce@opensuse.org; uyuni-users@opensuse.org; uyuni-devel@opensuse.org Subject: [uyuni-announce] Uyuni 2020.09 is
released!
Hello everyone!
We are happy to announce the immediate availability of Uyuni 2020.09
At https://www.uyuni-project.org/pages/stable-version.html you will find all
the resources you need to start working with Uyuni 2020.09,
including the release notes, documentation, requirements and setup instructions.
IMPORTANT: Keep in mind Uyuni 2020.07 changed the base OS to openSUSE Leap 15.2, so a special procedure is needed if you are not upgrading from 2020.07 but from a previous version! Check the release notes and the documentation for all the details
This is the list of highlights for this release:
* Uyuni Hub XML-RPC API is now supported * Formula for peripheral server management (Technology Preview) * Maintenance windows * Monitoring reverse proxies * Added new type of "Virtual Host Manager": Nutanix AHV * Grafana 7.1.5 * New products enabled
Please check the release notes for full details.
We will also have Uyuni Community Hours this Friday 25th at 16.00 CEST to present Uyuni 2020.09 [1]
Remember that Uyuni will follow a rolling release planning, so the next version will contain bugfixes for this one and any new features. There will
be no maintenance of 2020.09
As always, we hope you will enjoy Uyuni 2020.09 and we invite everyone of you to send us your feedback [2] and of course your patches, if you can contribute.
Happy hacking!
[1] https://teams.microsoft.com/l/meetup-join/ 19%3Ameeting_ZmZmNzY5MjAtZGI2Mi00MDY1LWJiMTMtYjU3N2U0YmQxMmQz%40thread.v 2/ 0?
context=%7B%22Tid%22%3A%22f7a17af6-1c5c-4a36-aa8b-
f5be247aa4ba%22%2C%22Oid%22%3A%2283d1ce03-a2c8-4530-8955-02fbc59cb7d6%22 %7 D
Conference ID: 169 720 66#
Dial-in numbers: https://dialin.teams.microsoft.com/58c3986f-4c3a-4b77-b4e8-f431171ef66d?
id=16972066
[2] https://www.uyuni-project.org/pages/contact.html
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com ________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
I guess you mean /usr/lib/susemanager/bin/pg-migrate-10-to-12.sh? I am not aware we have pg-migrate-9-to-12.sh But then looks to me that you didn't run it when you upgraded to 2020.07. So yeah, if you did it now, that fixed the issue. Glad it worked. On jueves, 24 de septiembre de 2020 16:48:22 (CEST) Suhail Siddiqui, HCL wrote:
Hi, I just try again the upgrade and not run the command for DB upgrade 9to12 as I am already on Postgress12 and it works like charm 😊
Best Regards, Suhail Siddiqui Service Delivery – Datacenter Services HCL Technologies Ltd. – UPM Partner for IT Services Mob: +91-9717193941
-----Original Message----- From: Julio González Gil
Sent: 24 September 2020 10:12 To: uyuni-users@opensuse.org; Suhail Siddiqui, HCL Subject: Re: [uyuni-users] Re: [uyuni-announce] Uyuni 2020.09 is released! So you ran this to upgrade to 2020.09, even if you were already at 2020.07? On jueves, 24 de septiembre de 2020 6:13:03 (CEST) Suhail Siddiqui, HCL wrote:
I followed below steps. It works till step 2 but step 3 failed for that logs already shared.
1.
zypper ref zypper up susemanager
2. Run the /usr/lib/susemanager/bin/server-migrator.sh script to
upgrade the base OS and Uyuni Server.
3. To migrate the database to PostgreSQL 12 run the migrate script:
/usr/lib/susemanager/bin/pg-migrate-10-to-12.sh
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________ From: Julio González Gil
Sent: Wednesday, 23 September, 2020 3:37 pm To: uyuni-users@opensuse.org Cc: Suhail Siddiqui, HCL Subject: Re: [uyuni-users] Re: [uyuni-announce] Uyuni 2020.09 is released! Did you upgrade to 2020.07 following the instructions?
We will need the whole procedure you followed, step by step. Having a look at
the log it looks to me that the first chunk comes from the migration
script tht was required to migrate from 2020.06 to 2020.07. But of course if you were on 2020.07 you didn't have to run it again.
Was that the case?
On miércoles, 23 de septiembre de 2020 11:39:56 (CEST) Suhail Siddiqui, HCL wrote:
Yes it was on 2020.07 before upgrade.
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________ From: Julio González Gil
Sent: Wednesday, 23 September, 2020 1:19 pm To: uyuni-users@opensuse.org; Suhail Siddiqui, HCL Subject: Re: [uyuni-announce] Uyuni 2020.09 is released! What was your Uyuni version before the upgrade? Was it 2020.07 already?
On miércoles, 23 de septiembre de 2020 8:05:21 (CEST) Suhail Siddiqui, HCL wrote:
Hi,
After upgrade I am getting this error while upgrade postgress database .
08:37:25 Successfully initialized new postgresql 12 database. 08:37:25 Upgrade database to new version postgresql 12...
check for "/usr/lib/postgresql10/bin" failed: No such file or directory
Failure, exiting 08:37:25 Upgrading database to version 12 failed! 08:37:25 Trying to restore previous state... mv: cannot move '/var/lib/pgsql/data' to '/var/lib/pgsql/data-new-failed/data': File exists
update-alternatives:
error: alternative /usr/lib/postgresql10 for postgresql not registered; not
setting
spacewalk:~ # spacewalk-service restart Shutting down spacewalk services... Done. Starting spacewalk services... ● uyuni-check-database.service - Uyuni check database
Loaded: loaded (/usr/lib/systemd/system/uyuni-check-database.service;
static; vendor preset: disabled)
Active: failed (Result: exit-code) since
Wed 2020-09-23 09:03:07 EEST; 109ms ago Process: 4931 ExecStart=/usr/sbin/spacewalk-startup-helper check-database (code=exited, status=1/FAILURE) Main PID: 4931 (code=exited, status=1/FAILURE)
Sep 23 09:03:07 spacewalk systemd[1]: Starting Uyuni check database... Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: psql: error: could
not connect to server: FATAL: role "uyuni" does not exist
Sep 23 09:03:07
spacewalk spacewalk-startup-helper[4931]: Database version '' is not supported for SUSE Manager/Uyuni on openSUSE Leap 15.2. Perform database migration. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Main process exited, code=exited, status=1/FAILURE Sep 23 09:03:07 spacewalk systemd[1]: Failed to start Uyuni check database. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Unit entered failed state. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Failed with result 'exit-code'. FAILED
Best Regards, Suhail Siddiqui Service Delivery – Datacenter Services HCL Technologies Ltd. – UPM Partner for IT Services Mob: +91-9717193941
-----Original Message----- From: Julio González Gil
Sent: 22 September 2020 17:37 To: uyuni-announce@opensuse.org; uyuni-users@opensuse.org; uyuni-devel@opensuse.org Subject: [uyuni-announce] Uyuni 2020.09 is
released!
Hello everyone!
We are happy to announce the immediate availability of Uyuni 2020.09
At https://www.uyuni-project.org/pages/stable-version.html you will find all
the resources you need to start working with Uyuni 2020.09,
including the release notes, documentation, requirements and setup instructions.
IMPORTANT: Keep in mind Uyuni 2020.07 changed the base OS to openSUSE Leap 15.2, so a special procedure is needed if you are not upgrading from 2020.07 but from a previous version! Check the release notes and the documentation for all the details
This is the list of highlights for this release:
* Uyuni Hub XML-RPC API is now supported * Formula for peripheral server management (Technology Preview) * Maintenance windows * Monitoring reverse proxies * Added new type of "Virtual Host Manager": Nutanix AHV * Grafana 7.1.5 * New products enabled
Please check the release notes for full details.
We will also have Uyuni Community Hours this Friday 25th at 16.00 CEST to present Uyuni 2020.09 [1]
Remember that Uyuni will follow a rolling release planning, so the next version will contain bugfixes for this one and any new features. There will
be no maintenance of 2020.09
As always, we hope you will enjoy Uyuni 2020.09 and we invite everyone of you to send us your feedback [2] and of course your patches, if you can contribute.
Happy hacking!
[1] https://teams.microsoft.com/l/meetup-join/ 19%3Ameeting_ZmZmNzY5MjAtZGI2Mi00MDY1LWJiMTMtYjU3N2U0YmQxMmQz%40thread .v 2/ 0?
context=%7B%22Tid%22%3A%22f7a17af6-1c5c-4a36-aa8b-
f5be247aa4ba%22%2C%22Oid%22%3A%2283d1ce03-a2c8-4530-8955-02fbc59cb7d6% 22 %7 D
Conference ID: 169 720 66#
Dial-in numbers: https://dialin.teams.microsoft.com/58c3986f-4c3a-4b77-b4e8-f431171ef66 d?
id=16972066
[2] https://www.uyuni-project.org/pages/contact.html
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Yes its work, as i was already on 07.2020 with postgress12 so only followed below steps and reboot.
1. zypper ref
2.zypper up susemanager
3.Run the /usr/lib/susemanager/bin/server-migrator.shhttp://server-migrator.sh script to
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________
From: Julio González Gil
Hi, I just try again the upgrade and not run the command for DB upgrade 9to12 as I am already on Postgress12 and it works like charm 😊
Best Regards, Suhail Siddiqui Service Delivery – Datacenter Services HCL Technologies Ltd. – UPM Partner for IT Services Mob: +91-9717193941
-----Original Message----- From: Julio González Gil
Sent: 24 September 2020 10:12 To: uyuni-users@opensuse.org; Suhail Siddiqui, HCL Subject: Re: [uyuni-users] Re: [uyuni-announce] Uyuni 2020.09 is released! So you ran this to upgrade to 2020.09, even if you were already at 2020.07? On jueves, 24 de septiembre de 2020 6:13:03 (CEST) Suhail Siddiqui, HCL wrote:
I followed below steps. It works till step 2 but step 3 failed for that logs already shared.
1.
zypper ref zypper up susemanager
2. Run the /usr/lib/susemanager/bin/server-migrator.sh script to
upgrade the base OS and Uyuni Server.
3. To migrate the database to PostgreSQL 12 run the migrate script:
/usr/lib/susemanager/bin/pg-migrate-10-to-12.sh
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________ From: Julio González Gil
Sent: Wednesday, 23 September, 2020 3:37 pm To: uyuni-users@opensuse.org Cc: Suhail Siddiqui, HCL Subject: Re: [uyuni-users] Re: [uyuni-announce] Uyuni 2020.09 is released! Did you upgrade to 2020.07 following the instructions?
We will need the whole procedure you followed, step by step. Having a look at
the log it looks to me that the first chunk comes from the migration
script tht was required to migrate from 2020.06 to 2020.07. But of course if you were on 2020.07 you didn't have to run it again.
Was that the case?
On miércoles, 23 de septiembre de 2020 11:39:56 (CEST) Suhail Siddiqui, HCL wrote:
Yes it was on 2020.07 before upgrade.
Best Regards,
Suhail Siddiqui
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
Mob: +91-9717193941<%20%20>
________________________________ From: Julio González Gil
Sent: Wednesday, 23 September, 2020 1:19 pm To: uyuni-users@opensuse.org; Suhail Siddiqui, HCL Subject: Re: [uyuni-announce] Uyuni 2020.09 is released! What was your Uyuni version before the upgrade? Was it 2020.07 already?
On miércoles, 23 de septiembre de 2020 8:05:21 (CEST) Suhail Siddiqui, HCL wrote:
Hi,
After upgrade I am getting this error while upgrade postgress database .
08:37:25 Successfully initialized new postgresql 12 database. 08:37:25 Upgrade database to new version postgresql 12...
check for "/usr/lib/postgresql10/bin" failed: No such file or directory
Failure, exiting 08:37:25 Upgrading database to version 12 failed! 08:37:25 Trying to restore previous state... mv: cannot move '/var/lib/pgsql/data' to '/var/lib/pgsql/data-new-failed/data': File exists
update-alternatives:
error: alternative /usr/lib/postgresql10 for postgresql not registered; not
setting
spacewalk:~ # spacewalk-service restart Shutting down spacewalk services... Done. Starting spacewalk services... ● uyuni-check-database.service - Uyuni check database
Loaded: loaded (/usr/lib/systemd/system/uyuni-check-database.service;
static; vendor preset: disabled)
Active: failed (Result: exit-code) since
Wed 2020-09-23 09:03:07 EEST; 109ms ago Process: 4931 ExecStart=/usr/sbin/spacewalk-startup-helper check-database (code=exited, status=1/FAILURE) Main PID: 4931 (code=exited, status=1/FAILURE)
Sep 23 09:03:07 spacewalk systemd[1]: Starting Uyuni check database... Sep 23 09:03:07 spacewalk spacewalk-startup-helper[4931]: psql: error: could
not connect to server: FATAL: role "uyuni" does not exist
Sep 23 09:03:07
spacewalk spacewalk-startup-helper[4931]: Database version '' is not supported for SUSE Manager/Uyuni on openSUSE Leap 15.2. Perform database migration. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Main process exited, code=exited, status=1/FAILURE Sep 23 09:03:07 spacewalk systemd[1]: Failed to start Uyuni check database. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Unit entered failed state. Sep 23 09:03:07 spacewalk systemd[1]: uyuni-check-database.service: Failed with result 'exit-code'. FAILED
Best Regards, Suhail Siddiqui Service Delivery – Datacenter Services HCL Technologies Ltd. – UPM Partner for IT Services Mob: +91-9717193941
-----Original Message----- From: Julio González Gil
Sent: 22 September 2020 17:37 To: uyuni-announce@opensuse.org; uyuni-users@opensuse.org; uyuni-devel@opensuse.org Subject: [uyuni-announce] Uyuni 2020.09 is
released!
Hello everyone!
We are happy to announce the immediate availability of Uyuni 2020.09
At https://www.uyuni-project.org/pages/stable-version.html you will find all
the resources you need to start working with Uyuni 2020.09,
including the release notes, documentation, requirements and setup instructions.
IMPORTANT: Keep in mind Uyuni 2020.07 changed the base OS to openSUSE Leap 15.2, so a special procedure is needed if you are not upgrading from 2020.07 but from a previous version! Check the release notes and the documentation for all the details
This is the list of highlights for this release:
* Uyuni Hub XML-RPC API is now supported * Formula for peripheral server management (Technology Preview) * Maintenance windows * Monitoring reverse proxies * Added new type of "Virtual Host Manager": Nutanix AHV * Grafana 7.1.5 * New products enabled
Please check the release notes for full details.
We will also have Uyuni Community Hours this Friday 25th at 16.00 CEST to present Uyuni 2020.09 [1]
Remember that Uyuni will follow a rolling release planning, so the next version will contain bugfixes for this one and any new features. There will
be no maintenance of 2020.09
As always, we hope you will enjoy Uyuni 2020.09 and we invite everyone of you to send us your feedback [2] and of course your patches, if you can contribute.
Happy hacking!
[1] https://teams.microsoft.com/l/meetup-join/ 19%3Ameeting_ZmZmNzY5MjAtZGI2Mi00MDY1LWJiMTMtYjU3N2U0YmQxMmQz%40thread .v 2/ 0?
context=%7B%22Tid%22%3A%22f7a17af6-1c5c-4a36-aa8b-
f5be247aa4ba%22%2C%22Oid%22%3A%2283d1ce03-a2c8-4530-8955-02fbc59cb7d6% 22 %7 D
Conference ID: 169 720 66#
Dial-in numbers: https://dialin.teams.microsoft.com/58c3986f-4c3a-4b77-b4e8-f431171ef66 d?
id=16972066
[2] https://www.uyuni-project.org/pages/contact.html
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com ________________________________ Please note. The information contained in this message is confidential and is intended only for the use of the individual named above and others who have been specially authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. The attachments have been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus being passed on.
participants (2)
-
Julio González Gil
-
Suhail Siddiqui, HCL