Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Director Undercloud install fail for Openstack 12

    Posted on

    Hi y'all,
    So after playing with Openstack 10 I'm trying to install Openstack 12 and while the former works fine, the latter not so much despite hardly any changes in the installation process. It's installed on a clean, minimal 7.4 virtual machine.

    My undercloud.conf:

    local_interface = eth0
    local_mtu = 1500
    network_cidr = 10.0.6.0/24
    masquerade_network = 10.0.6.0/24
    local_ip = 10.0.6.1/24
    network_gateway = 10.0.6.1
    undercloud_public_host = 10.0.6.2
    undercloud_admin_host = 10.0.6.3
    undercloud_service_certificate =
    generate_service_certificate = False
    scheduler_max_attempts = 50
    dhcp_start = 10.0.6.100
    dhcp_end = 10.0.6.150
    inspection_iprange = 10.0.6.151,10.0.6.199
    # Deprecated names for compatibility with older releases
    discovery_iprange = 10.0.6.151,10.0.6.199
    undercloud_public_vip = 10.0.6.2
    undercloud_admin_vip = 10.0.6.3
    

    Some errors (full log file in attachment):

    2018-01-03 17:26:11,959 INFO: Error: neutron-db-manage  upgrade heads returned 1 instead of one of [0]
    2018-01-03 17:26:11,960 INFO: Error: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: change from notrun to 0 failed: neutron-db-manage  upgrade heads returned 1 instead of one of [0]
    ...
    2018-01-03 17:28:55,030 INFO: Warning: /Stage[main]/Firewall::Linux::Redhat/File[/etc/sysconfig/iptables]: Skipping because of failed dependencies
    2018-01-03 17:28:55,030 INFO: Notice: /Stage[main]/Firewall::Linux::Redhat/File[/etc/sysconfig/ip6tables]: Dependency Exec[neutron-db-sync] has failures: true
    2018-01-03 17:28:55,030 INFO: Warning: /Stage[main]/Firewall::Linux::Redhat/File[/etc/sysconfig/ip6tables]: Skipping because of failed dependencies
    2018-01-03 17:28:57,420 INFO: Notice: Applied catalog in 322.10 seconds
    2018-01-03 17:29:08,214 INFO: + rc=6
    2018-01-03 17:29:08,215 INFO: + set -e
    2018-01-03 17:29:08,215 INFO: + echo 'puppet apply exited with exit code 6'
    2018-01-03 17:29:08,215 INFO: puppet apply exited with exit code 6
    2018-01-03 17:29:08,215 INFO: + '[' 6 '!=' 2 -a 6 '!=' 0 ']'
    2018-01-03 17:29:08,215 INFO: + exit 6
    2018-01-03 17:29:08,216 INFO: [2018-01-03 17:29:08,215] (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-01-03 17:29:08,216 INFO:
    2018-01-03 17:29:08,216 INFO: [2018-01-03 17:29:08,215] (os-refresh-config) [ERROR] Aborting...
    2018-01-03 17:29:08,223 DEBUG: An exception occurred
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1779, in install
        _run_orc(instack_env)
      File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1322, in _run_orc
        _run_live_command(args, instack_env, 'os-refresh-config')
      File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 601, in _run_live_command
        raise RuntimeError('%s failed. See log for details.' % name)
    RuntimeError: os-refresh-config failed. See log for details.
    2018-01-03 17:29:08,224 ERROR:
    #############################################################################
    Undercloud install failed.
    
    Reason: os-refresh-config failed. See log for details.
    
    See the previous output for details about what went wrong.  The full install
    log can be found at /home/stack/.instack/install-undercloud.log.
    
    #############################################################################
    
    Traceback (most recent call last):
      File "", line 1, in 
      File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1779, in install
        _run_orc(instack_env)
      File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1322, in _run_orc
        _run_live_command(args, instack_env, 'os-refresh-config')
      File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 601, in _run_live_command
        raise RuntimeError('%s failed. See log for details.' % name)
    RuntimeError: os-refresh-config failed. See log for details.
    Command 'instack-install-undercloud' returned non-zero exit status 1
    

    Attachments

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat