Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixops: containers are incompatible with unstable nixos-container.pl #72407

Closed
adrianparvino opened this issue Nov 1, 2019 · 3 comments
Closed
Labels
0.kind: bug 6.topic: nixos-container Imperative and declarative systemd-nspawn containers

Comments

@adrianparvino
Copy link
Contributor

Describe the bug
NixOps is unable to cat /etc/os-release, stuck at

container0> IP address is 10.233.5.2

To Reproduce
Steps to reproduce the behavior:

  1. Create the following NixOps file:

containers.nix

{
  container0 = {
    deployment.targetEnv = "container";
  };
}
  1. nixops create -d containers containers.nix
  2. nixops deploy -d containers

Expected behavior
NixOps containers should deploy as per 19.09

Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.

  • system: "x86_64-linux"
  • host os: Linux 4.19.80, NixOS, 20.03.git.3600af2 (Markhor)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.1
  • channels(root): "nixos-19.09.976.c75de8bc12c"
  • nixpkgs: /etc/nixos/nixpkgs

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@veprbl
Copy link
Member

veprbl commented Nov 1, 2019

This probably belongs in https://github.com/NixOS/nixops/issues

@veprbl veprbl added the 6.topic: nixos-container Imperative and declarative systemd-nspawn containers label Nov 1, 2019
@adrianparvino
Copy link
Contributor Author

To anyone curious who goes through this: You'll need to revert 7cb100b.

@Ma27
Copy link
Member

Ma27 commented Jun 12, 2020

Fixed in ebb6e38 / 7f1ba60

@Ma27 Ma27 closed this as completed Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 6.topic: nixos-container Imperative and declarative systemd-nspawn containers
Projects
None yet
Development

No branches or pull requests

3 participants