Hide Forgot
Created attachment 1111948 [details] The setup log from Packstack Description of problem: When using packstack to install OpenStack the installation will fail with the following error: ERROR : Error appeared during Puppet run: 10.8.0.58_provision_demo.pp Error: Could not prefetch neutron_network provider 'neutron': No resource and no name in property hash in neutron instance Version-Release number of selected component (if applicable): openstack-packstack-puppet-7.0.0-0.10.dev1684.g87ec498.el7ost.noarch openstack-packstack-7.0.0-0.10.dev1684.g87ec498.el7ost.noarch How reproducible: 100% Steps to Reproduce: 1. Install RHEL 7.2 2. Install openstack-packstack package 3. Run the command "packstack --allinone" 4. The packstack installation will fail with the error shown above Actual results: Packstack All-In-One installation fails with the error shown above. Expected results: The packstack All-In-One installation shall succeed and an OpenStack instance shall be available. Additional info:
Created attachment 1111949 [details] Puppet Logs
So, fwiw, I just hit this 50% of the time - i.e., I tried twice, hit it the first time and not the second. There was a difference between the two trials that I'll mention though I dunno if it's relevant. When I hit the issue, I went directly from the install of 7.2 to installation of rhos-osp, installation of packstack, and run of packstack. When the issue was avoided, I rebooted after the install step, and before the reboot I applied the workaround with rebuild of initramfs from https://bugzilla.redhat.com/show_bug.cgi?id=1178497. So I did a clean reboot before installing rhos-osp and running packstack.(and have discovered I need the workaround to shutdown for the clean reboot).
I have not been able to reproduce this issue so far. Did you try to run packstack --allinone twice? From the log files, the most relevant piece is: Notice: Puppet::Type::Neutron_subnet::ProviderNeutron: Unable to complete neutron request due to non-fatal error: "Execution of '/usr/bin/neutron subnet-create --format=shell --name=public_subnet --disable-dhcp --tenant_id=6f0353eb39bb4945aaf44f920d11c457 public 172.24.4.224/28' returned 1: Multiple network matches found for name 'public', use an ID to be more specific.". Retrying for 3 sec That means there is more than one network named "public", which should never happen. If you manage to reproduce it, please add --debug to the command-line, and include all log files from /var/tmp/packstack/latest/manifests.
Yeah, it looks like it's an artifact of running Packstack twice. Looks like I'd have to go through and manually delete the Neutron networks before firing up Packstack again for a second attempt. Might be something that needs to be documented somewhere that if your first try fails, the second run might fail for another reason. Looks like things are alright now so I'll mark it as closed.