Bug 963423 - Rerunning packstack failes with "cidr already in use"
Rerunning packstack failes with "cidr already in use"
Status: CLOSED NOTABUG
Product: RDO
Classification: Community
Component: openstack-packstack (Show other bugs)
unspecified
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: RHOS Maint
Nir Magnezi
:
Depends On: 963414
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-15 14:43 EDT by Robert Harker
Modified: 2013-06-06 10:11 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-06 10:11:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
error and log files (9.05 KB, application/octet-stream)
2013-05-15 14:43 EDT, Robert Harker
no flags Details
packstack-answers (7.59 KB, application/octet-stream)
2013-05-15 14:47 EDT, Robert Harker
no flags Details

  None (edit)
Description Robert Harker 2013-05-15 14:43:47 EDT
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 14:47:35 EDT
Created attachment 748449 [details]
packstack-answers
Comment 2 Robert Harker 2013-05-15 14:56:08 EDT
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 10:11:25 EDT
List command is "sudo /usr/bin/nova-manage network list"

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

Note You need to log in before you can comment on or make changes to this bug.