Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
openstack refarch deploy-dns fails missing ServerGroupAntiAffinityFilter #699
BUG REQUEST INFO:
Openstack-ansible-contrib version (commit) (
Copy of used inventory files and custom variables (please omit your secrets!):
# dns-vars.yaml --- domain_name: ocp3.example.com contact: email@example.com # real DNS servers from environment dns_forwarders: [x.x.x.x, y.y.y.y] update_key: "pxxxxxxxxxxxxxxxxxxxxx==" slave_count: 2 stack_name: dns-service external_network: external-179 image: rhel7 flavor: tiny-1x1 ssh_user: cloud-user ssh_key_name: ocp3 # NOTE: For Red Hat Enterprise Linux: #rhn_username: "rhnusername" #rhn_password: "NOT A REAL PASSWORD" #rhn_pool: "pool id string" # Either RHN or Sat6 sat6_hostname: "satellite.company.com" sat6_organization: "Company" sat6_activationkey: "system-import"
Command used to invoke ansible:
#!/bin/bash export ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook --private-key ocp3.key -e @dns-vars.yaml -vv\ openshift-ansible-contrib/reference-architecture/osp-dns/deploy-dns.yaml | tee dns-deploy.log
Output of ansible run:
Anything else do we need to know:
This is a fresh OSP cluster installed with help of Tiger team, and I am a OpenStack newb.
Running all from Director node as
I'm working through the ref arch to deploy DNS
Apparently I do not have an anti affiinity configuration in Nova and am not sure how best to rectify.
This does not seem to be listed as a prereq in the ref arch. I know it is written for OSP 10 and I am on OSP 11.
I'm trying to understand how to modify the director's heat templates to enable this and do a
Would the manual fix be to uncomment the first 2 lines below and restart
I sent a note to refarch-feedback suggesting there is a missing pre-req.
I think I'm getting closer with advanced_overcloud_customization doc
I think I need to add the following to my
For the keystone token expiration (which is called out as pre-req) I resorted to Ansible to configure the controllers "by hand".
@dlbewley unfortunately I'm not sure how to sat that up via tripleo/director, but I want to check one thing: does your cluster have more than one compute node? Anti-affinity won't ever work otherwise.
If you only have one compute node, set this in your vars file:
That will still require having the filter, though.
I think leaving the list empty should work everywhere but I don't have a set up where to test this right now -- so you could try that and see if it unblocks you in the meantime.
@tomassedovic I have multiple compute nodes.
I ran into an issue with deployment and my cloud is down. I have opened a case with support and I'll try changing the server group to 'affinity' and resume troubleshooting this once we have the deploy running cleanly again.
@tomassedovic on OSP10 there's a case for backporting soft-anti-affinity on heat (as on nova it's already supported). See:
After my cloud was fixed up, the scheduler blocker was cleared. I do think the ref arch might be more comprehensive it it included the nova filters required. @markllama
I'm now finding that