Bug 963423

Summary: Rerunning packstack failes with "cidr already in use"
Product: [Community] RDO Reporter: Robert Harker <harker-redhat>
Component: openstack-packstackAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Nir Magnezi <nmagnezi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, mmagr, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-06 14:11:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 963414    
Bug Blocks:    
Attachments:
Description Flags
error and log files
none
packstack-answers none

Description Robert Harker 2013-05-15 18:43:47 UTC
Created attachment 748445 [details]
error and log files

Description of problem:
Rerunning packstack on a fresh minimal install of FC18 after packstack has failed once will fail a second time with the different error:
Execution of '/usr/bin/nova-manage network create novanetwork 10.192.1.0/22 1 1024' returned 1: 2013-05-15 00:08:30.696 CRITICAL nova [req-fcecb052-d78d-402c-af70-2839953ad64a None None] cidr already in use

This was after packstack failed with httpd bug:963414


Version-Release number of selected component (if applicable):
openstack-packstack.noarch           2013.1.1-0.4.dev538.fc19 @openstack-grizzly


How reproducible:
4 times after 4 fresh installs with httpd packstack failures

Steps to Reproduce:
1. Install a minimal install of FC18
2. install openstack-packstack
3. run packstack
   I have been using packstack --answer-file=packstack-answers
4. packstack will fail with httpd error
5. fix httpd problem
6. rerun packstack
  
Actual results:
ERROR : Error during puppet run : err: /Stage[main]/Nova::Network/Nova::Manage::Network[nova-vm-net]/Nova_network[nova-vm-net]/ensure: change from absent to present failed: Execution of '/usr/bin/nova-manage network create novanetwork 10.192.1.0/22 1 1024' returned 1: 2013-05-15 00:08:30.696 CRITICAL nova [req-fcecb052-d78d-402c-af70-2839953ad64a None None] cidr already in use
Please check log file /var/tmp/packstack/20130515-000646-6aha_E/openstack-setup.log for more information


Expected results:
packstack installed


Additional info:
Changing the ip network for CONFIG_NOVA_NETWORK_FIXEDRANGE fixes problem

Comment 1 Robert Harker 2013-05-15 18:47:35 UTC
Created attachment 748449 [details]
packstack-answers

Comment 2 Robert Harker 2013-05-15 18:56:08 UTC
Not sure how to list fixed IP address database entries

There does not seem to be a command:
nova fixed-ip-list

Comment 3 Martin Magr 2013-06-06 14:11:25 UTC
List command is "sudo /usr/bin/nova-manage network list"

For hint please check https://bugzilla.redhat.com/show_bug.cgi?id=969977#c10