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

IP of a Vagrantbox unreacheable after adding it in the molecule.yml #839

Closed
blackillzone opened this issue May 23, 2017 · 1 comment
Closed

Comments

@blackillzone
Copy link
Contributor

blackillzone commented May 23, 2017

Issue Type

  • Bug report

Molecule and Ansible details

ansible 2.3.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
molecule, version 1.23.3
  • Molecule installation method: pip
  • Ansible installation method: OS package from Ansible repositories

Desired Behaviour

IP directly available in the box, after doing a converge.

Actual Behaviour (Bug report only)

When I'm adding a specific IP to a CentOS 7 box, I need to login and do a ifup inside, in order to make the interface available.

instances:
    - name: tomcat
      interfaces:
        - network_name: private_network
          type: static
          ip: 192.168.1.10
          auto_config: true
      options:
        append_platform_to_hostname: no
      raw_config_args:
        - "vm.network 'forwarded_port', guest: 8080, host: 8080"

It seems to not be related to molecule, and I've found you were posting on the Vagrant project (without replies for the moment): hashicorp/vagrant#8166

Did you find any workaround for this ? Because it's kinda annoying actually, and broke almost all my plays and tests.

Thanks !

@blackillzone
Copy link
Contributor Author

Well, it seems to be a specific bug in Vagrant 1.9.1 (hashicorp/vagrant#8096). Upgrading to 1.9.5 solves this issue.

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

No branches or pull requests

2 participants