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

Review context package dependencies #145

Closed
7 tasks
dann1 opened this issue Mar 5, 2019 · 7 comments
Closed
7 tasks

Review context package dependencies #145

dann1 opened this issue Mar 5, 2019 · 7 comments

Comments

@dann1
Copy link
Collaborator

dann1 commented Mar 5, 2019

Description
Running hostname contextualization fails on some distros from the LXD marketplace.

Ubuntu Xenial:

root@LXC_NAME:~# hostnamectl set-hostname --static oned
Failed to create bus connection: No such file or directory

Debian Buster:

root@LXCNAME:~# hostnamectl set-hostname --static oned
Could not set property: Failed to activate service 'org.freedesktop.hostname1': timed out (service_start_timeout=25000ms)

To Reproduce
Deploy any of the affected apps from the LXD marketplace.

Expected behavior
Hostname contextualzation should set the appropriate hostname

Details

  • Affected Component: Virtualization
  • Hypervisor: LXD
  • Version: 5.8.0

Additional context
The command Ubuntu bionic runs ok, also 16.04 - KVM image doesn't show issues.

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@tkald
Copy link

tkald commented Mar 5, 2019

I had to install dbus package on Xenial container to get hostname contextualization working.

@tinova tinova transferred this issue from OpenNebula/one Mar 5, 2019
@dann1
Copy link
Collaborator Author

dann1 commented Mar 5, 2019

Thanks a lot for the info!

@dann1 dann1 changed the title Contextualization: SET_HOSTNAME fails on some distros SET_HOSTNAME fails on some distros Mar 5, 2019
@vholer
Copy link
Contributor

vholer commented Mar 8, 2019

I would say Ubuntu (and maybe other images) are missing much more services to be usable (e.g., openssh-server).

@dann1
Copy link
Collaborator Author

dann1 commented Mar 8, 2019

The container images from the public LXD servers are very minimal, we need to look for the distros we support context on and check for missing dependencies. Alpines don't even have bash

@vholer
Copy link
Contributor

vholer commented Mar 8, 2019

Bash is already a dependency of Alpine packages. Maybe you are installing them wrong.

Anyway, I'm changing the topic of this issue to review all the dependencies. The dbus PR is for now merged.

@vholer vholer changed the title SET_HOSTNAME fails on some distros Review package dependencies Mar 8, 2019
@dann1 dann1 changed the title Review package dependencies Review context package dependencies Mar 22, 2019
dann1 added a commit to dann1/addon-context-linux that referenced this issue Mar 28, 2019
dann1 added a commit to dann1/addon-context-linux that referenced this issue Mar 28, 2019
dann1 added a commit to dann1/addon-context-linux that referenced this issue Mar 29, 2019
dann1 added a commit to dann1/addon-context-linux that referenced this issue Mar 29, 2019
@vholer
Copy link
Contributor

vholer commented Mar 29, 2019

List of dependencies to consider (to be updated):

  • SSH server (note: Alpine has multiple alternatives)

@OpenNebula OpenNebula deleted a comment from dann1 Apr 2, 2019
@dann1 dann1 mentioned this issue Jul 1, 2019
vholer pushed a commit that referenced this issue Aug 16, 2019
@vholer vholer added this to the v5.10.0 milestone Sep 5, 2019
@dann1
Copy link
Collaborator Author

dann1 commented Nov 1, 2019

I think we can close this since OpenNebula/one#3189 and https://github.com/OpenNebula/infra/pull/344 showed good results for tests

@dann1 dann1 closed this as completed Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants