Hide Forgot
Description of problem: Currently if frewalled is enabled by default in the infra image, the DNS nameserver defined by users can't passed to master and nodes. Then the installation by openshift-ansible would fail. Version-Release number of selected component (if applicable): v0.8.0 How reproducible: Always Steps to Reproduce: 1. Create a RHEL image which is not official. 1. $ cat ocp.yaml parameters: ssh_key_name: libra infra_image: qe-rhel-20160909 master_image: qe-rhel-20160909 node_image: qe-rhel-20160909 flavor: m1.medium external_network: 10.8.172.0/22 dns_nameserver: 10.72.17.5,8.8.4.4 node_count: 1 #rhn_username: "Your RHN Username" #rhn_password: "Your RHN Password" #sat6_hostname: "" #sat6_organization: "" #sat6_activationkey: "" rhn_pool: '' deployment_type: openshift-enterprise domain_name: "example.com" master_hostname: "openshift-master" node_hostname: "openshift-node" ssh_user: cloud-user master_docker_volume_size_gb: 5 node_docker_volume_size_gb: 5 resource_registry: OOShift::LoadBalancer: loadbalancer_none.yaml OOShift::ContainerPort: sdn_openshift_sdn.yaml OOShift::IPFailover: ipfailover_none.yaml OOShift::DockerVolume: volume_docker.yaml OOShift::DockerVolumeAttachment: volume_attachment_docker.yaml OOShift::RegistryVolume: registry_ephemeral.yaml 2. Create the heat stack 3. Actual results: openshift-ansible playbook failed because DNS resolution issue. (the name servers defined by user didn't passed to the masters and nodes) Expected results: Disable firewalld if it's running during cloud-init. Additional info:
upstream patch: https://github.com/redhat-openstack/openshift-on-openstack/pull/256
Now my custom RHEL image works well with this PR. IMO we shouldn't restrict the users to use the official RHEL image only, and create a such image which satifys the requirement should not be very hard. Could we document the System Requirements for the image instead of restricting to use the official image only? Thanks, Jan!
The fix has been included in 0.9.1 (moving to ON_QA). Gan, it's valid point that a customer will want to use a custom/prebuilt image. I'm not aware of any *special* requirements we expect from the custom image right now. README mentions an option of using prebuilt images (and how to prepare them) - https://github.com/redhat-openstack/openshift-on-openstack#prebuild-images I'm open to improve "custom image usage" section, though ideally in a separate BZ.
Per comment2, this issue has been fixed. Verified with openshift-on-openstack v0.9.1