I left the SELinux rules in place because I assumed that they are enabled. If 
you have disabled them go ahead and comment out those lines from the playbook. 

To remove any severs from the table run the following commands.  

mysql -u root -d sysmgmt
delete from servers where serverid = 'your_server';

For more troubleshooting go to the /var/www/html/builds/ directory and cat out 
the yml file for your server so I take a look. 

Be sure the remove any sensitive information from the yml file. 

> On Jun 19, 2016, at 23:07, Dibyendu Paul <[email protected]> wrote:
> 
> Hi Jason
> I have tried the ansible playbook that you created.
> Here are the issues I am facing at this time.
> 
> 1. while creating running the playbook I got 
> TASK [Open port 80 in the firewall] 
> ********************************************
> fatal: [127.0.0.1]: FAILED! => {"changed": false, "failed": true, "msg": 
> "Destination /etc/sysconfig/iptables does not exist !", "rc": 257}
> 
> 
> to get rid of this error I added /etc/sysconfig/iptables manually, whereas in 
> my server iptables service was disabled. Is it mandatory to have iptables 
> settings in place?
> 
> 2. Second error:
> 
> TASK [SELinux allow to connect to MySQL] 
> ***************************************
> fatal: [127.0.0.1]: FAILED! => {"changed": false, "failed": true, "msg": 
> "This module requires libselinux-python support"}
> 
> I installed the rpm in order to get rid of this error. This can be added to 
> the instruction.
> 
> 3. Third Error:
> 
> TASK [SELinux allow to connect to MySQL] 
> ***************************************
> fatal: [127.0.0.1]: FAILED! => {"changed": false, "failed": true, "msg": 
> "SELinux is disabled on this host."}
> 
> By default in my server SELINUX was disabled. Is it Mandatory to be the 
> SELINUX to be enabled?
> to get rid of this I enabled SELINUX.
> 
> After this The playbook ran successfully.
> But I was unable to create a VM.
> 
> Error 1: "Invalid HD Side" I have HD side as 20/30/50
> where as when I gave the value as 100 or 200 the error disappeared.
> 
> Error 2: when I rerty a VM creation, it says <Node Name> already exists in 
> the DB, whereas the node was not created at all, Is the nodename getting 
> saved in DB somewhere? If yes then how to clean that up?
> 
> Overall, I am not able to find out why the VM creation is not working.
> Is there any way to check any logs to find out the errors? which log to check?
> 
> Thanks and regards
> Dibyendu
> 
>> On Wednesday, 8 June 2016 17:29:11 UTC+5:30, Jason Hiatt wrote:
>> New repo
>> https://github.com/OneMainF/vmware-ansible-rhel-server-builder
>> 
>> I'll create a playbook that works on RHEL 6.7 sometime this week
>> 
>> 
>>> On Jun 5, 2016, at 22:21, Dibyendu Paul <[email protected]> wrote:
>>> 
>>> Hi Jason
>>> The github repository is not available any more. could you please share the 
>>> new repo if you have created one?
>>> 
>>>> On Friday, 3 June 2016 08:50:07 UTC+5:30, Dibyendu Paul wrote:
>>>> Thanks Jason. But I am using RHEL 6.7. Will it work there?
>>> 
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "Ansible Project" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/ansible-project/Holm0CFBbLo/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/ansible-project/32486b6c-dc1e-444b-9839-17e6b823e4ee%40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Ansible Project" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/ansible-project/Holm0CFBbLo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/a66fea91-a477-4ef7-afe2-06d24bd367b2%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/D0BC69E6-B9EF-4720-BC68-819E3952D72C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to