--
You received this message because you are subscribed to the Google Groups "ONOS Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-discuss...@onosproject.org.
To post to this group, send email to onos-d...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-discuss/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-discuss/a6ceb2fe-4593-4663-9a64-22c1b2522a0c%40onosproject.org.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-discuss/6be467a9-6d28-499e-aa83-9cd6cdbc3f63%40onosproject.org.
1) no changes even by adding manually the app (indeed, in the guide that app was not present inside those that have to be deployed once the stc setup finishes)
2) onos does not return any error or warning: the /opt/onos/logs/karaf.log does not contain anything useful.
How can I proceed to try to find where is the error?
Thank you,
Francesco
To unsubscribe from this group and stop receiving emails from it, send an email to onos-discuss+unsubscribe@onosproject.org.
To post to this group, send email to onos-d...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-discuss/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-discuss/c99c405f-d753-4aaf-8f62-7e6e769e6c30%40onosproject.org.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-discuss/c99c405f-d753-4aaf-8f62-7e6e769e6c30%40onosproject.org.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-discuss/5425d25a-624a-4573-83de-f1187d003341%40onosproject.org.
2017-02-02 10:27:56.043 DEBUG neutron.api.v2.base [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Request body: {u'network': {u'name': u'netA', u'admin_state_up': True}} from (pid=13696) prepare_request_body /opt/stack/neutron/neutron/api/v2/base.py:662
2017-02-02 10:27:56.056 DEBUG neutron.db.quota.driver [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Resources subnetpool have unlimited quota limit. It is not required to calculated headroom from (pid=13696) make_reservation /opt/stack/neutron/neutron/db/quota/driver.py:170
2017-02-02 10:27:56.062 DEBUG neutron.quota.resource [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Usage tracker for resource:network and tenant:b0a3c67d349840c1aa857441c6b373a2 is out of sync, need to count used quota from (pid=13696) count /opt/stack/neutron/neutron/quota/resource.py:277
2017-02-02 10:27:56.069 DEBUG neutron.quota.resource [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Quota usage for network was recalculated. Used quota:0. from (pid=13696) count /opt/stack/neutron/neutron/quota/resource.py:296
2017-02-02 10:27:56.073 DEBUG neutron.db.quota.driver [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Attempting to reserve 1 items for resource network. Total usage: 0; quota limit: 10; headroom:10 from (pid=13696) make_reservation /opt/stack/neutron/neutron/db/quota/driver.py:202
2017-02-02 10:27:56.391 DEBUG neutron.plugins.ml2.drivers.helpers [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] vxlan segment allocate from pool started with {'vxlan_vni': 1071} from (pid=13696) allocate_partially_specified_segment /opt/stack/neutron/neutron/plugins/ml2/drivers/helpers.py:142
2017-02-02 10:27:56.397 DEBUG neutron.plugins.ml2.drivers.helpers [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] vxlan segment allocate from pool success with {'vxlan_vni': 1071} from (pid=13696) allocate_partially_specified_segment /opt/stack/neutron/neutron/plugins/ml2/drivers/helpers.py:150
2017-02-02 10:27:56.401 INFO neutron.plugins.ml2.db [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Added segment 0be548b7-aac0-45e3-8a37-c8c75e6ba708 of type vxlan for network ab61ea8a-26f6-4beb-8c99-b9466954238a
2017-02-02 10:27:56.458 DEBUG networking_onos.plugins.ml2.driver [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] networking_onos.plugins.ml2.driver.ONOSMechanismDriver method create_network_postcommit called with arguments (<neutron.plugins.ml2.driver_context.NetworkContext object at 0x7f4b64c77fd0>,) {} from (pid=13696) wrapper /usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py:45
2017-02-02 10:27:56.459 DEBUG networking_onos.common.utils [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Sending MSG_TYPE (post) URL (http://10.134.231.29:8181/onos/openstacknetworking/networks) OBJECT ({'network': {'status': 'ACTIVE', 'subnets': [], 'description': '', 'provider:physical_network': None, 'tags': [], 'updated_at': '2017-02-02T09:27:56', 'ipv6_address_scope': None, 'port_security_enabled': True, 'mtu': 1450, 'id': 'ab61ea8a-26f6-4beb-8c99-b9466954238a', 'provider:segmentation_id': 1071, 'router:external': False, 'availability_zone_hints': [], 'availability_zones': [], 'name': u'netA', 'admin_state_up': True, 'tenant_id': u'b0a3c67d349840c1aa857441c6b373a2', 'created_at': '2017-02-02T09:27:56', 'provider:network_type': u'vxlan', 'ipv4_address_scope': None, 'vlan_transparent': None, 'shared': False}}) BODY ({
"network": {
"status": "ACTIVE",
"subnets": [],
"description": "",
"provider:physical_network": null,
"tags": [],
"updated_at": "2017-02-02T09:27:56",
"ipv6_address_scope": null,
"port_security_enabled": true,
"mtu": 1450,
"id": "ab61ea8a-26f6-4beb-8c99-b9466954238a",
"provider:segmentation_id": 1071,
"router:external": false,
"availability_zone_hints": [],
"availability_zones": [],
"name": "netA",
"admin_state_up": true,
"tenant_id": "b0a3c67d349840c1aa857441c6b373a2",
"created_at": "2017-02-02T09:27:56",
"provider:network_type": "vxlan",
"ipv4_address_scope": null,
"vlan_transparent": null,
"shared": false
}
}) from (pid=13696) send_msg /usr/local/lib/python2.7/dist-packages/networking_onos/common/utils.py:33
2017-02-02 10:27:56.467 ERROR neutron.plugins.ml2.managers [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Mechanism driver 'onos_ml2' failed in create_network_postcommit
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers Traceback (most recent call last):
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 407, in _call_on_drivers
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers getattr(driver.obj, method_name)(context)
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py", line 46, in wrapper
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers return method(*args, **kwargs)
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/networking_onos/plugins/ml2/driver.py", line 54, in create_network_postcommit
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers entity_path, {'network': resource})
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/networking_onos/common/utils.py", line 38, in send_msg
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers req.raise_for_status()
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 840, in raise_for_status
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers raise HTTPError(http_error_msg, response=self)
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers HTTPError: 404 Client Error: Not Found for url: http://10.134.231.29:8181/onos/openstacknetworking/networks
2017-02-02 10:27:56.467 TRACE neutron.plugins.ml2.managers
2017-02-02 10:27:56.468 ERROR neutron.plugins.ml2.plugin [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] mechanism_manager.create_network_postcommit failed, deleting network 'ab61ea8a-26f6-4beb-8c99-b9466954238a'
2017-02-02 10:27:56.468 DEBUG neutron.plugins.ml2.plugin [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Deleting network ab61ea8a-26f6-4beb-8c99-b9466954238a from (pid=13696) delete_network /opt/stack/neutron/neutron/plugins/ml2/plugin.py:801
2017-02-02 10:27:56.483 DEBUG neutron.plugins.ml2.plugin [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Ports to auto-delete: [] from (pid=13696) delete_network /opt/stack/neutron/neutron/plugins/ml2/plugin.py:823
2017-02-02 10:27:56.487 DEBUG neutron.plugins.ml2.plugin [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Subnets to auto-delete: [] from (pid=13696) delete_network /opt/stack/neutron/neutron/plugins/ml2/plugin.py:836
2017-02-02 10:27:56.569 DEBUG neutron.plugins.ml2.drivers.type_tunnel [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Releasing vxlan tunnel 1071 to pool from (pid=13696) release_segment /opt/stack/neutron/neutron/plugins/ml2/drivers/type_tunnel.py:230
2017-02-02 10:27:56.637 DEBUG neutron.plugins.ml2.plugin [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Deleting network record <neutron.db.models_v2.Network[object at 7f4b64a56b10] {tenant_id=u'b0a3c67d349840c1aa857441c6b373a2', id=u'ab61ea8a-26f6-4beb-8c99-b9466954238a', name=u'netA', status=u'ACTIVE', admin_state_up=True, mtu=1450, vlan_transparent=None, availability_zone_hints=u'[]', standard_attr_id=17}> from (pid=13696) delete_network /opt/stack/neutron/neutron/plugins/ml2/plugin.py:848
2017-02-02 10:27:56.638 DEBUG neutron.plugins.ml2.plugin [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Committing transaction from (pid=13696) delete_network /opt/stack/neutron/neutron/plugins/ml2/plugin.py:853
2017-02-02 10:27:56.712 DEBUG networking_onos.plugins.ml2.driver [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] networking_onos.plugins.ml2.driver.ONOSMechanismDriver method delete_network_postcommit called with arguments (<neutron.plugins.ml2.driver_context.NetworkContext object at 0x7f4b648d2790>,) {} from (pid=13696) wrapper /usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py:45
2017-02-02 10:27:56.712 DEBUG networking_onos.common.utils [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Sending MSG_TYPE (delete) URL (http://10.134.231.29:8181/onos/openstacknetworking/networks/ab61ea8a-26f6-4beb-8c99-b9466954238a) OBJECT (None) BODY (None) from (pid=13696) send_msg /usr/local/lib/python2.7/dist-packages/networking_onos/common/utils.py:33
2017-02-02 10:27:56.719 ERROR neutron.plugins.ml2.managers [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] Mechanism driver 'onos_ml2' failed in delete_network_postcommit
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers Traceback (most recent call last):
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 407, in _call_on_drivers
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers getattr(driver.obj, method_name)(context)
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py", line 46, in wrapper
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers return method(*args, **kwargs)
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/networking_onos/plugins/ml2/driver.py", line 67, in delete_network_postcommit
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers entity_path)
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/networking_onos/common/utils.py", line 38, in send_msg
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers req.raise_for_status()
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 840, in raise_for_status
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers raise HTTPError(http_error_msg, response=self)
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers HTTPError: 404 Client Error: Not Found for url: http://10.134.231.29:8181/onos/openstacknetworking/networks/ab61ea8a-26f6-4beb-8c99-b9466954238a
2017-02-02 10:27:56.719 TRACE neutron.plugins.ml2.managers
2017-02-02 10:27:56.720 ERROR neutron.plugins.ml2.plugin [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] mechanism_manager.delete_network_postcommit failed
2017-02-02 10:27:56.721 DEBUG oslo_messaging._drivers.amqpdriver [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] CAST unique_id: 8ab028167b4d4543a541c8c8287d2271 FANOUT topic 'q-agent-notifier-network-delete' from (pid=13696) _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:443
2017-02-02 10:27:56.765 ERROR neutron.api.v2.resource [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] create failed
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource Traceback (most recent call last):
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/resource.py", line 84, in resource
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource result = method(request=request, **args)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 410, in create
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource return self._create(request, body, **kwargs)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 148, in wrapper
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource ectxt.value = e.inner_exc
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource self.force_reraise()
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 138, in wrapper
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource return f(*args, **kwargs)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 521, in _create
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource obj = do_create(body)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 503, in do_create
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource request.context, reservation.reservation_id)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource self.force_reraise()
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 496, in do_create
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource return obj_creator(request.context, **kwargs)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/plugins/ml2/plugin.py", line 702, in create_network
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource self.delete_network(context, result['id'])
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource self.force_reraise()
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/plugins/ml2/plugin.py", line 697, in create_network
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource self.mechanism_manager.create_network_postcommit(mech_context)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 456, in create_network_postcommit
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource self._call_on_drivers("create_network_postcommit", context)
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 424, in _call_on_drivers
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource method=method_name
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource MechanismDriverError: create_network_postcommit failed.
2017-02-02 10:27:56.765 TRACE neutron.api.v2.resource
2017-02-02 10:27:56.768 INFO neutron.wsgi [req-4cbb21b1-e755-4627-bd91-1ec2e897262f admin b0a3c67d349840c1aa857441c6b373a2] 10.134.231.28 - - [02/Feb/2017 10:27:56] "POST /v2.0/networks.json HTTP/1.1" 500 345 14.106371
2017-02-02 10:27:58.127 DEBUG neutron.db.agents_db [req-b9c20171-d037-4b40-92bf-f172746650fb None None] Agent healthcheck: found 0 active agents from (pid=13517) agent_health_check /opt/stack/neutron/neutron/db/agents_db.py:301
2017-02-02 10:28:35.128 DEBUG neutron.db.agents_db [req-b9c20171-d037-4b40-92bf-f172746650fb None None] Agent healthcheck: found 0 active agents from (pid=13517) agent_health_check /opt/stack/neutron/neutron/db/agents_db.py:301
Installed applications:
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-discuss/58944428-e4f0-431b-b525-df0314f5ffb3%40onosproject.org.
git clone https://github.com/openstack/networking-onos.gitpip install ./networking-onosOn 12 Apr 2017, at 3:18 AM, David <davide.ma...@gmail.com> wrote:
I also noticed that typing
netstat -ntl there's no one listening on Port 6640, although I deployed the ovsdb app within ONOS. There's no clue about any error inside ONOS, ovs and neutron log. Except for the 404 http error within neutron-server.log
--
You received this message because you are subscribed to the Google Groups "ONOS Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-discuss...@onosproject.org.
To post to this group, send email to onos-d...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-discuss/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-discuss/5b3cde88-3397-4b41-ba3d-10e09e7194f6%40onosproject.org.
onos> apps -a -s
* 9 org.onosproject.optical-model 1.8.4 Optical information model* 15 org.onosproject.lldpprovider 1.8.4 LLDP Link Provider
* 21 org.onosproject.openflow-base 1.8.4 OpenFlow Provider
* 23 org.onosproject.scalablegateway 1.8.4 Scalable GW App
* 25 org.onosproject.hostprovider 1.8.4 Host Location Provider
* 26 org.onosproject.openflow 1.8.4 OpenFlow Meta App
* 35 org.onosproject.drivers 1.8.4 Default device drivers
* 37 org.onosproject.openstackinterface 1.8.4 OpenStack Interface App
* 38 org.onosproject.ovsdb-base 1.8.4 OVSDB Provider
* 39 org.onosproject.drivers.ovsdb 1.8.4 OVSDB Device Drivers
* 40 org.onosproject.openstacknode 1.8.4 OpenStack Node Bootstrap App
* 41 org.onosproject.dhcp 1.8.4 DHCP Server App
* 42 org.onosproject.openstackswitching 1.8.4 OpenStack Switching App
* 55 org.onosproject.ovsdbhostprovider 1.8.4 OVSDB host Provider
* 56 org.onosproject.ovsdb 1.8.4 OVSDB Southbound Meta App* 59 org.onosproject.openstackrouting 1.8.4 OpenStack Routing App
* 60 org.onosproject.openstacknetworking 1.8.4 OpenStack Networking App
onos>
Yes I know, I used curl just to check if the REST url works. So, this is the error that appears in neutron-server log:
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers [req-710e9fb9-e2d4-4380-853a-2991b18efe87 b390d113251141629c8d30e94bcb9ba7 1d9eb5623d704ceea17ace2be3920888 - - -] Mechanism driver 'onos_ml2' failed in create_network_postcommit
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 407, in _call_on_drivers
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers getattr(driver.obj, method_name)(context)
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/oslo_log/helpers.py", line 46, in wrapper
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers return method(*args, **kwargs)
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/networking_onos/plugins/ml2/driver.py", line 54, in create_network_postcommit
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers entity_path, {'network': resource})
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/networking_onos/common/utils.py", line 38, in send_msg
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers req.raise_for_status()
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 893, in raise_for_status
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers raise HTTPError(http_error_msg, response=self)
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:8181/onos/openstacknetworking/networks
2017-04-12 09:22:18.392 15901 ERROR neutron.plugins.ml2.managers
2017-04-12 09:22:18.393 15901 ERROR neutron.plugins.ml2.plugin [req-710e9fb9-e2d4-4380-853a-2991b18efe87
About ovs, thanks a lot. I was a little bit confused because I'm new in those things.
David
First of all thanks a lot. So, actually It happened that I delete the karaf log at some point, and I've never tried to see it again; before and after the deployment of the various apps. So I launched a new clean ONOS instance, I deployed the apps again, without ovsdbhost as you said, and there's a warning and an error repeated few times in the log. Based on the error I launched ONOS with sudo and everything work. But I don't know why the error says I/O exception, permission denied. I should run ONOS without sudo. Here's the error, I'll try to understand why it's raised.
2017-04-12 15:10:41,010 | WARN | -message-handler | ApplicationArchive | 78 - org.onosproject.onos-core-common - 1.8.4 | Unable to mark app org.onosproject.openflow-base as active
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)[:1.8.0_121]
at java.io.File.createNewFile(File.java:1012)[:1.8.0_121]
at org.onosproject.common.app.ApplicationArchive.setActive(ApplicationArchive.java:381)[78:org.onosproject.onos-core-common:1.8.4]
at org.onosproject.store.app.DistributedApplicationStore.access$400(DistributedApplicationStore.java:95)[79:org.onosproject.onos-core-dist:1.8.4]
at org.onosproject.store.app.DistributedApplicationStore$AppActivator.accept(DistributedApplicationStore.java:438)[79:org.onosproject.onos-core-dist:1.8.4]
at org.onosproject.store.app.DistributedApplicationStore$AppActivator.accept(DistributedApplicationStore.java:433)[79:org.onosproject.onos-core-dist:1.8.4]
at org.onosproject.store.primitives.impl.DefaultDistributedTopic.lambda$null$0(DefaultDistributedTopic.java:67)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-04-12 15:10:41,011 | ERROR | -message-handler | DistributedApplicationStore | 79 - org.onosproject.onos-core-dist - 1.8.4 | Uncaught exception on onos-store-app-message-handler
org.onosproject.app.ApplicationException: Unable to mark app as active
at org.onosproject.common.app.ApplicationArchive.setActive(ApplicationArchive.java:384)[78:org.onosproject.onos-core-common:1.8.4]
at org.onosproject.store.app.DistributedApplicationStore.access$400(DistributedApplicationStore.java:95)[79:org.onosproject.onos-core-dist:1.8.4]
at org.onosproject.store.app.DistributedApplicationStore$AppActivator.accept(DistributedApplicationStore.java:438)[79:org.onosproject.onos-core-dist:1.8.4]
at org.onosproject.store.app.DistributedApplicationStore$AppActivator.accept(DistributedApplicationStore.java:433)[79:org.onosproject.onos-core-dist:1.8.4]
at org.onosproject.store.primitives.impl.DefaultDistributedTopic.lambda$null$0(DefaultDistributedTopic.java:67)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)[:1.8.0_121]
at java.io.File.createNewFile(File.java:1012)[:1.8.0_121]
at org.onosproject.common.app.ApplicationArchive.setActive(ApplicationArchive.java:381)[78:org.onosproject.onos-core-common:1.8.4]
... 7 more
David
David