Skip to content
Snippets Groups Projects
  • Mark Goddard's avatar
    e0ff12ea
    Fix kayobe overcloud provision without seed in limit · e0ff12ea
    Mark Goddard authored
    If you run 'kayobe overcloud provision' for the first time on a system,
    and do not include the seed in the limit (e.g. --limit overcloud), then
    the following error is seen:
    
        Destination directory /etc/kolla/bifrost/inventory/host_vars does
        not exist
    
    This is because the first play in ansible/kolla-bifrost-hostvars.yml
    executes against the seed. This is not ideal, as the --limit argment is
    useful with this command, as a way to provision specific nodes.
    
    This change fixes the issue by moving the initialisation tasks to the
    second play which is targeted at the overcloud group. The run_once
    parameter ensures it happens once.
    
    Change-Id: I7dff72a50f0592a3564c9d84d684db562c30626a
    Story: 2006757
    Task: 37247
    e0ff12ea
    History
    Fix kayobe overcloud provision without seed in limit
    Mark Goddard authored
    If you run 'kayobe overcloud provision' for the first time on a system,
    and do not include the seed in the limit (e.g. --limit overcloud), then
    the following error is seen:
    
        Destination directory /etc/kolla/bifrost/inventory/host_vars does
        not exist
    
    This is because the first play in ansible/kolla-bifrost-hostvars.yml
    executes against the seed. This is not ideal, as the --limit argment is
    useful with this command, as a way to provision specific nodes.
    
    This change fixes the issue by moving the initialisation tasks to the
    second play which is targeted at the overcloud group. The run_once
    parameter ensures it happens once.
    
    Change-Id: I7dff72a50f0592a3564c9d84d684db562c30626a
    Story: 2006757
    Task: 37247
kolla-bifrost-hostvars.yml 2.19 KiB