christian-posta / openshift-terraform-ansible

Automate provisioning of OpenShift Origin/Enterprise with infrastructure as code
47 stars 41 forks source link

NetworkManager removal error #2

Open dischord01 opened 8 years ago

dischord01 commented 8 years ago

Im getting a error that the NetworkManager restart is failing at the end of the openshift-ansible install.

RUNNING HANDLER [openshift_node_dnsmasq : restart NetworkManager] **************
fatal: [54.xxx.xxx.xxx]: FAILED! => {"changed": false, "failed": true, "msg": "systemd could not find the requested service \"'NetworkManager'\": "}
fatal: [54.xxx.xxx.xxx]: FAILED! => {"changed": false, "failed": true, "msg": "systemd could not find the requested service \"'NetworkManager'\": "}

I also see that in the ose3-prep-nodes.yml that it is removed in preparation of the Ansible OSE install.

    - name: Remove Network Manager
      yum: name=NetworkManager state=absent

I am using the master branch of openshift-ansible repo, Im going to see if it is resolved by going with enterprise 3.2. Maybe Im off on the versions Im using. Great repo btw.

fire commented 7 years ago
# ansible -i myinventory nodes -a "yum install -y NetworkManager"
# ansible -i myinventory nodes -a "systemctl start NetworkManager"
# ansible -i myinventory nodes -a "systemctl enable NetworkManager"
# ansible -i myinventory nodes -a "systemctl status NetworkManager"

NetworkManager must be enabled.