Ask Your Question
1

Fedora 20 / Icehouse all-in-one error applying puppet manifests

asked 2014-04-16 15:37:01 -0500

dingo gravatar image

updated 2014-04-18 10:09:44 -0500

smaffulli gravatar image
192.168.0.2_provision.pp:                         [ ERROR ]         
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.0.2_provision.pp
Error: Could not prefetch neutron_subnet provider 'neutron': undefined method `[]' for nil:NilClass
You will find full trace in log /var/tmp/packstack/20140416-145239-8q4QGo/manifests/192.168.0.2_provision.pp.log
Please check log file /var/tmp/packstack/20140416-145239-8q4QGo/openstack-setup.log for more information

Additional information:
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * Did not create a cinder volume group, one already existed
 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.0.2. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://192.168.0.2/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://192.168.0.2/nagios username : nagiosadmin, password : b18d3eb3d82e4745
[root@localhost ~]# cat /var/tmp/packstack/20140416-145239-8q4QGo/manifests/192.168.0.2_provision.pp.log
connect: No such file or directory
Please make sure that the zfs-fuse daemon is running.
internal error: failed to initialize ZFS library
connect: No such file or directory
Please make sure that the zfs-fuse daemon is running.
internal error: failed to initialize ZFS library
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Notice: Compiled catalog for localhost.localdomain in environment production in 0.17 seconds
connect: No such file or directory
Please make sure that the zfs-fuse daemon is running.
internal error: failed to initialize ZFS library
connect: No such file or directory
Please make sure that the zfs-fuse daemon is running.
internal error: failed to initialize ZFS library
Notice: /Stage[main]/Openstack::Provision/Glance_image[cirros]/ensure: created
Error: Could not prefetch neutron_subnet provider 'neutron': undefined method `[]' for nil:NilClass
Error: Execution of '/usr/bin/neutron subnet-create --format=shell --name=public_subnet --enable-dhcp=False --tenant_id=184f726427d4441aab1f0856ba44ef65 public 172.24.4.224/28' returned 1: 400-{u'NeutronError': {u'message': u'Invalid input for operation: Requested subnet with cidr: 172.24.4.224/28 for network: 418a353b-ac47-4ee0-804e-ded9cd893d5c overlaps with another subnet.', u'type': u'InvalidInput', u'detail': u''}}

Error: /Stage[main]/Openstack::Provision/Neutron_subnet[public_subnet]/ensure: change from absent to present failed: Execution of '/usr/bin/neutron subnet-create --format=shell --name=public_subnet --enable-dhcp=False --tenant_id=184f726427d4441aab1f0856ba44ef65 public 172.24.4.224/28' returned 1: 400-{u'NeutronError': {u'message': u'Invalid input for operation: Requested subnet with cidr: 172.24.4.224/28 for network: 418a353b-ac47-4ee0-804e-ded9cd893d5c overlaps with another subnet.', u'type': u'InvalidInput', u'detail': u''}}

Notice: /Stage[main]/Openstack::Provision/Neutron_l3_ovs_bridge[br-ex]: Dependency Neutron_subnet[public_subnet] has failures: true
Warning: /Stage[main]/Openstack::Provision/Neutron_l3_ovs_bridge[br-ex]: Skipping because of failed dependencies
Notice: /Stage[main]/Openstack::Provision/Neutron_router[router1]: Dependency Neutron_subnet[public_subnet] has failures: true
Warning: /Stage[main]/Openstack::Provision/Neutron_router[router1]: Skipping because of failed dependencies
Error: Execution of '/usr/bin/neutron subnet-create --format=shell --name=private_subnet --tenant_id=d5d2a0b155e24936b6ac044c6055e7a8 private ...
(more)
edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
1

answered 2014-04-18 12:18:04 -0500

SGPJ gravatar image

updated 2014-04-18 12:19:34 -0500

I observed similar issue in devstack; I was running host server interfaces eth0/1 with IP 192.168.x.x and in localrc file had given floating ip range in 192.168.100.0. So it was reporting neutron subnet cannot be created with error "overlaps with another subnet".

Solution I applied: Modified floating IP range & private network IP range. Then installation & configuration was successful.

So I suggest you to either modify IP ranges from default values in packstack answer file or change IP address of host machine's interfaces to different class (e.g from Class C to Class A).

Thanks.

edit flag offensive delete link more
1

answered 2014-04-18 14:30:05 -0500

imcsk8 gravatar image

updated 2014-04-18 15:07:31 -0500

EDIT

it seems to be a version problem between puppet and ruby, there's a bug already open [1] i'll be commenting the bug.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1086150 (https://bugzilla.redhat.com/show_bug....)

this are the problems that worry me the most, weird puppet errors:

Error: Could not prefetch neutron_subnet provider 'neutron': undefined method `[]' for nil:NilCla
ss
Error: Could not set 'present' on ensure: undefined method `split' for nil:NilClass at 173:/usr/s
hare/openstack-puppet/modules/openstack/manifests/provision.pp
Error: Could not set 'present' on ensure: undefined method `split' for nil:NilClass at 173:/usr/s
hare/openstack-puppet/modules/openstack/manifests/provision.pp
Wrapped exception:
undefined method `split' for nil:NilClass
Error: /Stage[main]/Openstack::Provision/Neutron_subnet[public_subnet]/ensure: change from absent
 to present failed: Could not set 'present' on ensure: undefined method `split' for nil:NilClass at 173
:/usr/share/openstack-puppet/modules/openstack/manifests/provision.pp
Warning: /Stage[main]/Openstack::Provision/Neutron_l3_ovs_bridge[br-ex]: Skipping because of fail
ed dependencies
Warning: /Stage[main]/Openstack::Provision/Neutron_router[router1]: Skipping because of failed de
pendencies%)
Error: Could not set 'present' on ensure: undefined method `split' for nil:NilClass at 183:/usr/s
hare/openstack-puppet/modules/openstack/manifests/provision.pp
Error: Could not set 'present' on ensure: undefined method `split' for nil:NilClass at 183:/usr/s
hare/openstack-puppet/modules/openstack/manifests/provision.pp
Wrapped exception:
undefined method `split' for nil:NilClass
Error: /Stage[main]/Openstack::Provision/Neutron_subnet[private_subnet]/ensure: change from absen
t to present failed: Could not set 'present' on ensure: undefined method `split' for nil:NilClass at 18
3:/usr/share/openstack-puppet/modules/openstack/manifests/provision.pp
Error: Could not prefetch neutron_router_interface provider 'neutron': undefined method `[]' for 
nil:NilClass
Warning: /Stage[main]/Openstack::Provision/Neutron_router_interface[router1:private_subnet]: Skip
ping because of failed dependencies

which version of ruby are you using?

edit flag offensive delete link more
1

answered 2014-04-27 14:39:00 -0500

That should now be fixed by the latest version of openstack-puppet-modules in the Fedora 20 Icehouse RDO repos

edit flag offensive delete link more

Comments

This is now fixed, icehouse allinone did install successfully on CentOS 6.5

dingo gravatar imagedingo ( 2014-04-27 17:52:54 -0500 )edit
0

answered 2014-04-27 14:44:52 -0500

dingo gravatar image

great im just loading a new server now will try to packstack icehouse on it with a fresh CentOS 6.5

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-04-16 15:37:01 -0500

Seen: 2,509 times

Last updated: Apr 27 '14