How to Install Tripleo(Openstack on Openstack) UnderCloud on CentOS 7

You may also like...

15 Responses

  1. Sampath says:

    Good one. And also please provide overcloud install and configuration steps..in the next tutorial.

  2. Ranjeet says:

    nice article. Please publish article for overcloud install and configuration .

  3. Krishna says:

    How to do the step “Two Interfaces are attached to VM (Provisioning & NAT)” in Centos virt-manager ?

    virt-manager gui -> New VM -> Network selection -> Host device enpls0:macvtap
    Source mode : Bridge

    Like this?

  4. Harpreet Singh says:

    Hello Pardeep, actually I’m having issue while some sort of issues while setting the Networking Block for VM like Provisioning and NAT. I’ve done every thing, Enabled Nested Virtualization, Configure IP Forwarding but I don’t have the Network Connectivity between my VM and Host. even I’ve used ‘tcpdump’ to capture the traffic and I’ve got the result regarding ‘ARP’. both systems are not able to resolve ARP Requests. so plz help me to solve this issue
    My Setup : RHEL 7.3 as Host as well Guest( for UnderCloud )

  5. Ranjeet says:

    Please explain network address details.
    local_ip = 192.168.126.1/24
    undercloud_public_vip = 192.168.126.2
    undercloud_admin_vip = 192.168.126.3
    local_interface = eth1
    masquerade_network = 192.168.126.0/24
    dhcp_start = 192.168.126.100
    dhcp_end = 192.168.126.150
    network_cidr = 192.168.126.0/24
    network_gateway = 192.168.126.1
    inspection_iprange = 192.168.126.160,192.168.126.199
    generate_service_certificate = true
    certificate_generation_ca = local

  6. Jay says:

    Hello Pradeep, I have some confusion. Could you share about how to create Provisioning & NAT Network on KVM host ? Do physical interfaces need to be attached to the bridges belonged to Provisioning & NAT Network ? And do bridges need to be created with IPs ? Many thanks!

    • Pradeep Kumar says:

      Hi Jay,

      You need to create two networks i.e Provisioning and NAT using ‘virsh net-define’ on your KVM hypervisor, Specify the IP address range in the networks xml file,

      virsh net-define /tmp/provisioning.xml

      After creating the networks, attach these network to undercloud Interfaces via Bridges.

      • Jay says:

        hi Pradeep, I have successfully completed undercloud & overcloud installation. Thank you very much! !
        And I have other confusions. Thanks in advance.
        (1) Would it be OK if Provisiong Network not created using virsh net-define and I just create a bridge assigning IP address and then make undercloud & overcloud interfaces attached to the bridge ? if not, why ?
        (2) When configuring neutron, you know, which overcloud compute node interface should be attached to the bridge that will be configured in ”bridge_mappings = :” in openvswitch_agent.ini ? That means which interface is used to openstack VM network ?

  7. Ranjeet says:

    Hi Pradeep ,

    Please help me in tackling this error.

    [email protected] network-scripts]$ cat /home/stack/.instack/install-undercloud.log | less
    [[email protected] network-scripts]$ vi /home/stack/undercloud.conf
    [[email protected] network-scripts]$ cat /home/stack/.instack/install-undercloud.log | less
    [[email protected] network-scripts]$ vi /home/stack/undercloud.conf
    [[email protected] network-scripts]$ cat /home/stack/.instack/install-undercloud.log | less
    2018-04-12 21:00:16,199 INFO: Version:
    2018-04-12 21:00:16,199 INFO: Config: 1523580033
    2018-04-12 21:00:16,228 INFO: Puppet: 4.8.2
    2018-04-12 21:00:36,916 INFO: + rc=1
    2018-04-12 21:00:36,931 INFO: + set -e
    2018-04-12 21:00:36,956 INFO: + echo ‘puppet apply exited with exit code 1’
    2018-04-12 21:00:36,957 INFO: puppet apply exited with exit code 1
    2018-04-12 21:00:36,957 INFO: + ‘[‘ 1 ‘!=’ 2 -a 1 ‘!=’ 0 ‘]’
    2018-04-12 21:00:36,958 INFO: + exit 1
    2018-04-12 21:00:37,172 INFO: [2018-04-12 21:00:37,156] (os-refresh-config) [ERROR] during configure phase. [Command ‘[‘dib-run-parts’, ‘/usr/libexec/os-refresh-config/configure.d’]’ returned non-zero exit status 1]
    2018-04-12 21:00:37,178 INFO:
    2018-04-12 21:00:37,189 INFO: [2018-04-12 21:00:37,182] (os-refresh-config) [ERROR] Aborting…
    2018-04-12 21:00:37,726 DEBUG: An exception occurred
    Traceback (most recent call last):
    File “/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py”, line 2285, in install
    _run_orc(instack_env)
    File “/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py”, line 1592, in _run_orc
    _run_live_command(args, instack_env, ‘os-refresh-config’)
    File “/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py”, line 671, in _run_live_command
    raise RuntimeError(‘%s failed. See log for details.’ % name)
    RuntimeError: os-refresh-config failed. See log for details.
    2018-04-12 21:00:37,937 ERROR:

    • Ranjeet says:

      I was able to resolve this error by adding more memory to VM. I could figure out this on carefully inspecting log which was indicated that its not able to fork the process.

  8. Melborn De Chavez says:

    Kindly update. It seems to have a problem with repository

    failure: repodata/repomd.xml from delorean-current: [Errno 256] No more mirrors to try.
    https://trunk.rdoproject.org/centos7/f6/b8/f6b8de2dad0ecf1ff3c9de383be5$/repodat a/repomd.xml: [Errno 14] HTTPS Error 404 – Not Found

  9. Wilson says:

    Hi Chris,

    I have modified the delorean-deps.repo or delorean.repo with your repo, but still cannot fix this issue.

    Thanks

    • Christopher says:

      Hi Wilson,

      I just modified the name and base_url line of the file from this article with the lines from the file I linked too.

      Chris

Leave a Reply

Your email address will not be published. Required fields are marked *