# Neutron Proposal Failed

**URL:** https://forums.suse.com/t/neutron-proposal-failed/28960
**Category:** SUSE OpenStack Cloud
**Created:** [November 13, 2016, 12:45pm UTC](https://forums.suse.com/t/neutron-proposal-failed/28960 "2016-11-13T12:45:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ahmedhassaneankhalil](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@ahmedhassaneankhalil](https://forums.suse.com/u/ahmedhassaneankhalil)
#### Post date: [November 13, 2016, 12:45pm UTC](https://forums.suse.com/t/neutron-proposal-failed/28960/1 "2016-11-13T12:45:16Z")

</div>

Dears,

i am trying to apply neutron proposal on Controller Node with Openvsiwtch and Gre but it’s failed with below message

Failed to apply the proposal to: d44-a8-42-2b-0e-6d.barqsystems.local  
Most recent logged lines from the Chef run:  
STDOUT:  
STDERR:  
---- End output of neutron --os-username ‘neutron’ --os-password ‘QvGMNJT4ePGC’ --os-tenant-name ‘service’ --os-auth-url ‘[http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/](http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/)’ --os-region-name ‘RegionOne’ --os-user-domain-name Default --os-project-domain-name Default --endpoint-type internalURL net-list &\>/dev/null ----  
Ran neutron --os-username ‘neutron’ --os-password ‘QvGMNJT4ePGC’ --os-tenant-name ‘service’ --os-auth-url ‘[http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/](http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/)’ --os-region-name ‘RegionOne’ --os-user-domain-name Default --os-project-domain-name Default --endpoint-type internalURL net-list &\>/dev/null returned 1

## Resource Declaration:

# In /var/chef/cache/cookbooks/neutron/recipes/post\_install\_conf.rb

162: execute “Neutron network configuration” do  
163: command “#{neutron\_cmd} net-list &\>/dev/null”  
164: retries 5  
165: retry\_delay 10  
166: action :nothing  
167: notifies :run, “execute[create\_fixed\_network]”, :delayed  
168: notifies :run, “execute[create\_floating\_network]”, :delayed  
169: notifies :run, “execute[create\_fixed\_subnet]”, :delayed  
170: notifies :run, “execute[create\_floating\_subnet]”, :delayed  
171: notifies :run, “execute[create\_router]”, :delayed  
172: notifies :run, “execute[set\_router\_gateway]”, :delayed  
173: notifies :run, “execute[add\_fixed\_network\_to\_router]”, :delayed  
174: end  
175:

## Compiled Resource:

# Declared in /var/chef/cache/cookbooks/neutron/recipes/post\_install\_conf.rb:162:in `from\_file’

execute(“Neutron network configuration”) do  
action [:nothing]  
retries 0  
retry\_delay 10  
command “neutron --os-username ‘neutron’ --os-password ‘QvGMNJT4ePGC’ --os-tenant-name ‘service’ --os-auth-url ‘[http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/](http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/)’ --os-region-name ‘RegionOne’ --os-user-domain-name Default --os-project-domain-name Default --endpoint-type internalURL net-list &\>/dev/null”  
backup 5  
returns 0  
cookbook\_name “neutron”  
recipe\_name “post\_install\_conf”  
end

[2016-11-13T12:25:23+02:00] ERROR: Running exception handlers  
[2016-11-13T12:25:23+02:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json  
[2016-11-13T12:25:23+02:00] ERROR: Exception handlers complete  
[2016-11-13T12:25:23+02:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out  
[2016-11-13T12:25:23+02:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[Neutron network configuration] (neutron::post\_install\_conf line 162) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’  
---- Begin output of neutron --os-username ‘neutron’ --os-password ‘QvGMNJT4ePGC’ --os-tenant-name ‘service’ --os-auth-url ‘[http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/](http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/)’ --os-region-name ‘RegionOne’ --os-user-domain-name Default --os-project-domain-name Default --endpoint-type internalURL net-list &\>/dev/null ----  
STDOUT:  
STDERR:  
---- End output of neutron --os-username ‘neutron’ --os-password ‘QvGMNJT4ePGC’ --os-tenant-name ‘service’ --os-auth-url ‘[http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/](http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/)’ --os-region-name ‘RegionOne’ --os-user-domain-name Default --os-project-domain-name Default --endpoint-type internalURL net-list &\>/dev/null ----  
Ran neutron --os-username ‘neutron’ --os-password ‘QvGMNJT4ePGC’ --os-tenant-name ‘service’ --os-auth-url ‘[http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/](http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/)’ --os-region-name ‘RegionOne’ --os-user-domain-name Default --os-project-domain-name Default --endpoint-type internalURL net-list &\>/dev/null returned 1

---

<div class="post-metadata">

### Author: ![Eugen](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@Eugen](https://forums.suse.com/u/Eugen)
#### Post date: [November 14, 2016, 10:16am UTC](https://forums.suse.com/t/neutron-proposal-failed/28960/2 "2016-11-14T10:16:32Z")

</div>

Hi,

have you tried to execute the command manually? Maybe that output tells you more what exactly went wrong.  
But obviously neutron can’t list the networks, are there any at all? Maybe the net-create command already had failed and this is just a consequence?  
If there are networks but you can’t list them, maybe your network.json is not correct.

---

<div class="post-metadata">

### Author: ![ahmedhassaneankhalil](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@ahmedhassaneankhalil](https://forums.suse.com/u/ahmedhassaneankhalil)
#### Post date: [November 14, 2016, 11:16am UTC](https://forums.suse.com/t/neutron-proposal-failed/28960/3 "2016-11-14T11:16:44Z")

</div>

i have checked the logs but this is only error that i had found So how could i checked which command is failed

and below is my network.json:

{  
“attributes”: {  
“network”: {  
“conduit\_map”: [  
{  
“conduit\_list”: {  
“intf0”: {  
“if\_list”: [  
“1g1”,  
“1g2”  
]  
},  
“intf1”: {  
“if\_list”: [  
“1g1”,  
“1g2”  
]  
},  
“intf2”: {  
“if\_list”: [  
“1g1”,  
“1g2”  
]  
}  
},  
“pattern”: “team/._/._”  
},  
{  
“conduit\_list”: {  
“intf0”: {  
“if\_list”: [  
“?1g1”  
]  
},  
“intf1”: {  
“if\_list”: [  
“?1g2”  
]  
},  
“intf2”: {  
“if\_list”: [  
“?1g1”  
]  
}  
},  
“pattern”: “dual/._/._”  
},  
{  
“conduit\_list”: {  
“intf0”: {  
“if\_list”: [  
“?1g1”  
]  
},  
“intf1”: {  
“if\_list”: [  
“?1g1”  
]  
},  
“intf2”: {  
“if\_list”: [  
“?1g1”  
]  
}  
},  
“pattern”: “single/._/._”  
},  
{  
“conduit\_list”: {  
“intf0”: {  
“if\_list”: [  
“?1g1”  
]  
},  
“intf1”: {  
“if\_list”: [  
“1g1”  
]  
},  
“intf2”: {  
“if\_list”: [  
“1g1”  
]  
}  
},  
“pattern”: “._/._/.\*”  
},  
{  
“conduit\_list”: {  
“intf0”: {  
“if\_list”: [  
“1g1”  
]  
},  
“intf1”: {  
“if\_list”: [  
“?1g1”  
]  
},  
“intf2”: {  
“if\_list”: [  
“?1g1”  
]  
}  
},  
“pattern”: “mode/1g\_adpt\_count/role”  
}  
],  
“enable\_rx\_offloading”: false,  
“enable\_tx\_offloading”: false,  
“interface\_map”: [  
{  
“bus\_order”: [  
“0000:00/0000:00:01”,  
“0000:00/0000:00:03”  
],  
“pattern”: “PowerEdge R610”  
},  
{  
“bus\_order”: [  
“0000:00/0000:00:01.1/0000:01:00.0”,  
“0000:00/0000:00:01.1/0000.01:00.1”,  
“0000:00/0000:00:01.0/0000:02:00.0”,  
“0000:00/0000:00:01.0/0000:02:00.1”  
],  
“pattern”: “PowerEdge R620”  
},  
{  
“bus\_order”: [  
“0000:00/0000:00:01”,  
“0000:00/0000:00:03”  
],  
“pattern”: “PowerEdge R710”  
},  
{  
“bus\_order”: [  
“0000:00/0000:00:04”,  
“0000:00/0000:00:02”  
],  
“pattern”: “PowerEdge C6145”  
},  
{  
“bus\_order”: [  
“0000:00/0000:00:1c”,  
“0000:00/0000:00:07”,  
“0000:00/0000:00:09”,  
“0000:00/0000:00:01”  
],  
“pattern”: “PowerEdge C2100”  
},  
{  
“bus\_order”: [  
“0000:00/0000:00:01”,  
“0000:00/0000:00:03”,  
“0000:00/0000:00:07”  
],  
“pattern”: “C6100”  
},  
{  
“bus\_order”: [  
“0000:00/0000:00:01”,  
“0000:00/0000:00:02”  
],  
“pattern”: “product”  
}  
],  
“mode”: “single”,  
“networks”: {  
“admin”: {  
“add\_bridge”: false,  
“broadcast”: “192.168.7.255”,  
“conduit”: “intf0”,  
“mtu”: 1500,  
“netmask”: “255.255.255.0”,  
“ranges”: {  
“admin”: {  
“end”: “192.168.7.11”,  
“start”: “192.168.7.10”  
},  
“dhcp”: {  
“end”: “192.168.7.80”,  
“start”: “192.168.7.21”  
},  
“host”: {  
“end”: “192.168.7.160”,  
“start”: “192.168.7.81”  
},  
“switch”: {  
“end”: “192.168.7.250”,  
“start”: “192.168.7.241”  
}  
},  
“router”: “192.168.7.4”,  
“router\_pref”: 10,  
“subnet”: “192.168.7.0”,  
“use\_vlan”: false,  
“vlan”: 100  
},  
“bmc”: {  
“add\_bridge”: false,  
“broadcast”: “192.168.7.255”,  
“conduit”: “bmc”,  
“netmask”: “255.255.255.0”,  
“ranges”: {  
“host”: {  
“end”: “192.168.7.240”,  
“start”: “192.168.7.162”  
}  
},  
“subnet”: “192.168.7.0”,  
“use\_vlan”: false,  
“vlan”: 7  
},  
“bmc\_vlan”: {  
“add\_bridge”: false,  
“broadcast”: “192.168.7.255”,  
“conduit”: “intf2”,  
“netmask”: “255.255.255.0”,  
“ranges”: {  
“host”: {  
“end”: “192.168.7.161”,  
“start”: “192.168.7.161”  
}  
},  
“subnet”: “192.168.7.0”,  
“use\_vlan”: false,  
“vlan”: 7  
},  
“nova\_fixed”: {  
“add\_bridge”: false,  
“add\_ovs\_bridge”: false,  
“bridge\_name”: “br-fixed”,  
“broadcast”: “192.168.123.255”,  
“conduit”: “intf1”,  
“netmask”: “255.255.255.0”,  
“ranges”: {  
“dhcp”: {  
“end”: “192.168.123.254”,  
“start”: “192.168.123.1”  
}  
},  
“router”: “192.168.123.1”,  
“router\_pref”: 20,  
“subnet”: “192.168.123.0”,  
“use\_vlan”: true,  
“vlan”: 8  
},  
“nova\_floating”: {  
“add\_bridge”: false,  
“add\_ovs\_bridge”: false,  
“bridge\_name”: “br-public”,  
“broadcast”: “192.168.9.255”,  
“conduit”: “intf1”,  
“netmask”: “255.255.255.0”,  
“ranges”: {  
“host”: {  
“end”: “192.168.9.254”,  
“start”: “192.168.9.129”  
}  
},  
“subnet”: “192.168.9.0”,  
“use\_vlan”: true,  
“vlan”: 9  
},  
“os\_sdn”: {  
“add\_bridge”: false,  
“broadcast”: “192.168.130.255”,  
“conduit”: “intf1”,  
“mtu”: 1500,  
“netmask”: “255.255.255.0”,  
“ranges”: {  
“host”: {  
“end”: “192.168.130.254”,  
“start”: “192.168.130.10”  
}  
},  
“subnet”: “192.168.130.0”,  
“use\_vlan”: true,  
“vlan”: 10  
},  
“public”: {  
“add\_bridge”: false,  
“broadcast”: “192.168.9.255”,  
“conduit”: “intf1”,  
“netmask”: “255.255.255.0”,  
“ranges”: {  
“host”: {  
“end”: “192.168.9.127”,  
“start”: “192.168.9.5”  
}  
},  
“router”: “192.168.9.4”,  
“router\_pref”: 5,  
“subnet”: “192.168.9.0”,  
“use\_vlan”: true,  
“vlan”: 9  
},  
“storage”: {  
“add\_bridge”: false,  
“broadcast”: “192.168.125.255”,  
“conduit”: “intf1”,  
“mtu”: 1500,  
“netmask”: “255.255.255.0”,  
“ranges”: {  
“host”: {  
“end”: “192.168.125.239”,  
“start”: “192.168.125.10”  
}  
},  
“subnet”: “192.168.125.0”,  
“use\_vlan”: true,  
“vlan”: 11  
}  
},  
“start\_up\_delay”: 30,  
“teaming”: {  
“mode”: 1  
}  
}  
}  
}

[QUOTE=eblock;35270]Hi,

have you tried to execute the command manually? Maybe that output tells you more what exactly went wrong.  
But obviously neutron can’t list the networks, are there any at all? Maybe the net-create command already had failed and this is just a consequence?  
If there are networks but you can’t list them, maybe your network.json is not correct.[/QUOTE]

---

<div class="post-metadata">

### Author: ![Eugen](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@Eugen](https://forums.suse.com/u/Eugen)
#### Post date: [November 14, 2016, 1:30pm UTC](https://forums.suse.com/t/neutron-proposal-failed/28960/4 "2016-11-14T13:30:24Z")

</div>

The command that fails is

```auto
neutron --os-username 'neutron' --os-password 'QvGMNJT4ePGC' --os-tenant-name 'service' --os-auth-url 'http://d44-a8-42-2b-0e-6d.barqsystems.local:5000/v3/' --os-region-name 'RegionOne' --os-user-domain-name Default --os-project-domain-name Default --endpoint-type internalURL net-list 
```

Could you run it manually and see what the output is?

Unfortunately, networking is not my strong suit, I didn’t edit the network.json myself, a colleague did that for me. So I can’t really help you with that, I just wanted to point it out as a possible cause for the proposal failure, maybe someone with more experience is able to figure out if that’s a suitable configuration.

---

<div class="post-metadata">

### Author: ![bmwiedemann](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@bmwiedemann](https://forums.suse.com/u/bmwiedemann)
#### Post date: [November 14, 2016, 1:55pm UTC](https://forums.suse.com/t/neutron-proposal-failed/28960/5 "2016-11-14T13:55:31Z")

</div>

> [@ahmedhassaneankhalil;35271](#):
>
> and below is my network.json:
> 
> ` "nova_floating": {
> "add_bridge": false,
> "add_ovs_bridge": false,
> "bridge_name": "br-public",
> "broadcast": "192.168.9.255",
> "conduit": "intf1",
> "netmask": "255.255.255.0",
> "ranges": {
> "host": {
> "end": "192.168.9.254",
> "start": "192.168.9.129"
> }
> },
> "subnet": "192.168.9.0",
> "use_vlan": true,
> "vlan": 9
> },`

in the default settings, the nova\_floating net has  
“netmask”: “255.255.255.128”,  
and “subnet” starting at .128  
so that it is only the 2nd half of the public network, but you changed it to cover 100% of it, which could cause this trouble.

apart from that, it is not a good idea to use barqsystems.local domain, because .local is reserved for multicast dns service discovery and could conflict with yours - especially on nodes that have mdns configured in their /etc/nsswitch.conf  
Instead you could use [local.yourdomain.com](http://local.yourdomain.com) or whatever.example

However, changing these values needs a reinstall of the cloud.
