Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

one-context-reconfigure-delayed failed with result 'dependency' on Centos7 #119

Closed
jsfrerot opened this issue Aug 27, 2018 · 4 comments
Closed

Comments

@jsfrerot
Copy link

Hi, I get the following error after upgrading from one-context 5.4.2.1 to 5.6.0 Using onebula 5.6. I have no issues when using one-context 5.4.2.1.

/var/log/messages shows:
Aug 27 14:04:16 customvm systemd: Job one-context-reconfigure-delayed.service/start failed with result 'dependency'.

[root@customvm ~]# systemctl status one-context-reconfigure-delayed
● one-context-reconfigure-delayed.service - OpenNebula delayed reconfiguration script
   Loaded: loaded (/usr/lib/systemd/system/one-context-reconfigure-delayed.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

Aug 27 14:04:16 customvm systemd[1]: Dependency failed for OpenNebula delayed reconfiguration script.
Aug 27 14:04:16 customvm systemd[1]: Job one-context-reconfigure-delayed.service/start failed with result 'dependency'.
@vholer
Copy link
Contributor

vholer commented Aug 27, 2018

(Delayed) reconfiguration is triggered on NIC attach or CD-ROM change to do the live reconfiguration, but it may be triggered also during the boot (when NICs are cold plugged). The dependency error is just a safety check that the "cold plug" triggered reconfiguration isn't done sooner than the regular contextualization done on boot. It usually isn't a real error.

Please check the one-context-local and one-context, these are the main services responsible for contextualization, they should be enabled and finish successfully.

@jsfrerot
Copy link
Author

Looks like the services are disabled when installing the package.
Is this expected ?

[root@customvm ~]# systemctl status one-context
● one-context.service - OpenNebula contextualization script
   Loaded: loaded (/usr/lib/systemd/system/one-context.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
[root@customvm ~]# systemctl status one-context-local
● one-context-local.service - OpenNebula pre-networking contextualization script
   Loaded: loaded (/usr/lib/systemd/system/one-context-local.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

@vholer
Copy link
Contributor

vholer commented Aug 27, 2018

Yes, it's not correct and you have to enable these services manually (or don't do package upgrade but clean installation).

There was a problem when the package cleanup scripts disabled these services not only on (old) package removal, but also on upgrade. Fixed since 5.6.0 in #106.

@jsfrerot
Copy link
Author

Ok, removing the package and re-installing it worked for me.
Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants