On CentOS 7
[ INFO 2016-01-08 22:54:56 main] Upgrade Step: update_gpg_urls (this may
take a while) …
[DEBUG 2016-01-08 22:55:25 main] Importing GPG Key Urls to support Capsule
Communication
[ INFO 2016-01-08 22:55:25 main] Upgrade Step: update_repository_metadata
(this may take a while) …
[ERROR 2016-01-08 22:57:49 main] rake aborted!
Required lock is already taken by other running tasks.
Please inspect their state, fix their errors and resume them.
Required lock: read
Conflicts with tasks:
···
-
https://katello1.mydomain.net/foreman_tasks/tasks/19e7e811-8dd4-4ec9-9647-4808d6cfaac2
Tasks: TOP => katello:upgrades:2.2:update_metadata_expire
(See full trace by running task with --trace)
Updating Expire Metadata for Custom Content
[ERROR 2016-01-08 22:57:49 main] Upgrade step update_repository_metadata
failed. Check logs for more information.
[DEBUG 2016-01-08 22:57:49 main] Exit with status code: 1 (signal was 1)
[ERROR 2016-01-08 22:57:49 main] Repeating errors encountered during run:
[ERROR 2016-01-08 22:57:49 main] sed: can’t read /etc/mongodb.conf: No such
file or directory
[ERROR 2016-01-08 22:57:49 main] rake aborted!
Required lock is already taken by other running tasks.
Please inspect their state, fix their errors and resume them.
Required lock: read
Conflicts with tasks:
https://katello1.mydomain.net/foreman_tasks/tasks/19e7e811-8dd4-4ec9-9647-4808d6cfaac2
Tasks: TOP => katello:upgrades:2.2:update_metadata_expire
(See full trace by running task with --trace)
Updating Expire Metadata for Custom Content
[ERROR 2016-01-08 22:57:49 main] Upgrade step update_repository_metadata
failed. Check logs for more information.
[DEBUG 2016-01-08 22:57:49 main] Cleaning
/etc/katello-installer/d20160108-20667-1cc7scf
[DEBUG 2016-01-08 22:57:49 main] Cleaning /tmp/default_values.yaml
[root@katello1 ~]# cat /etc/mongodb.conf
cat: /etc/mongodb.conf: No such file or directory
As it turns out the message about the missing conf file was a red herring.
After logging into the web ui and clearing that task linked in the log
(which was a 2 month old task that was stuck at 50%), the upgrade succeeded
with no further issues.
···
On Friday, January 8, 2016 at 11:06:41 PM UTC-8, Nathan Peters wrote:
>
> On CentOS 7
>
> [ INFO 2016-01-08 22:54:56 main] Upgrade Step: update_gpg_urls (this may
> take a while) ...
> [DEBUG 2016-01-08 22:55:25 main] Importing GPG Key Urls to support Capsule
> Communication
>
> [ INFO 2016-01-08 22:55:25 main] Upgrade Step: update_repository_metadata
> (this may take a while) ...
> [ERROR 2016-01-08 22:57:49 main] rake aborted!
> Required lock is already taken by other running tasks.
> Please inspect their state, fix their errors and resume them.
>
> Required lock: read
> Conflicts with tasks:
> -
> https://katello1.mydomain.net/foreman_tasks/tasks/19e7e811-8dd4-4ec9-9647-4808d6cfaac2
>
> Tasks: TOP => katello:upgrades:2.2:update_metadata_expire
> (See full trace by running task with --trace)
> Updating Expire Metadata for Custom Content
>
> [ERROR 2016-01-08 22:57:49 main] Upgrade step update_repository_metadata
> failed. Check logs for more information.
> [DEBUG 2016-01-08 22:57:49 main] Exit with status code: 1 (signal was 1)
> [ERROR 2016-01-08 22:57:49 main] Repeating errors encountered during run:
> [ERROR 2016-01-08 22:57:49 main] sed: can't read /etc/mongodb.conf: No
> such file or directory
>
> [ERROR 2016-01-08 22:57:49 main] rake aborted!
> Required lock is already taken by other running tasks.
> Please inspect their state, fix their errors and resume them.
>
> Required lock: read
> Conflicts with tasks:
> -
> https://katello1.mydomain.net/foreman_tasks/tasks/19e7e811-8dd4-4ec9-9647-4808d6cfaac2
>
> Tasks: TOP => katello:upgrades:2.2:update_metadata_expire
> (See full trace by running task with --trace)
> Updating Expire Metadata for Custom Content
>
> [ERROR 2016-01-08 22:57:49 main] Upgrade step update_repository_metadata
> failed. Check logs for more information.
> [DEBUG 2016-01-08 22:57:49 main] Cleaning
> /etc/katello-installer/d20160108-20667-1cc7scf
> [DEBUG 2016-01-08 22:57:49 main] Cleaning /tmp/default_values.yaml
> [root@katello1 ~]# cat /etc/mongodb.conf
> cat: /etc/mongodb.conf: No such file or directory
>
>