Openmano is an open source project that provides a practical implementation of the reference architecture for Management & Orchestration under standardization at ETSI’s NFV ISG
Apache License 2.0
180
stars
74
forks
source link
Test script "initopenmano.sh" fails due to unknown error #16
When executing the script in a CentOS, either directly or with source it exits before the end. First error appears in line 41. Apparently the internal function is_valid_uuid has some error.
$ ./openmano/scripts/initopenmano.sh
WARNING: openmano and openvim database content will be lost!!! Continue(y/N)y
Stopping openmano
stopping floodlight ... done
stopping openvim ... done
stopping openmano ... done
Initializing databases
loading /home/tef-gcto/openmano/openvim/database_utils/vim_db_structure.sql
migrage database version
Detected openvim version 0.2.03
upgrade database from version 0.1 to version 0.2
ALTER TABLE of_ports_pci_correspondenceresources_portports ADD COLUMN switch_dpid
UPDATE procedure UpdateSwitchPort
loading /home/tef-gcto/openmano/openvim/database_utils/host_ranking.sql
loading /home/tef-gcto/openmano/openvim/database_utils/of_ports_pci_correspondence.sql
loading /home/tef-gcto/openmano/openvim/database_utils/nets.sql
loading /home/tef-gcto/openmano/openmano/database_utils/mano_db_structure.sql
migrage database version
Detected openmano version 0.2.4
upgrade database from version 0.0 to version 0.1
CREATE TABLE schema_version
Starting openmano
starting floodlight ... running on 'screen -x flow'. Logging at '/home/tef-gcto/openmano/logs/openflow.0'
starting openvim ... running on 'screen -x vim'. Logging at '/home/tef-gcto/openmano/logs/openvim.0'
starting openmano ... running on 'screen -x mano'. Logging at '/home/tef-gcto/openmano/logs/openmano.0'
Adding example hosts
2c947698-143f-11e5-bcfb-525400271be1 fake-host-0 Created
2ccfcf4a-143f-11e5-bcfb-525400271be1 fake-host-1 Created
2d0ce3b2-143f-11e5-bcfb-525400271be1 fake-host-2 Created
2d4b93b4-143f-11e5-bcfb-525400271be1 fake-host-3 Created
Adding example nets
2d6f2f68-143f-11e5-ba62-525400271be1 default Created
2d88dfee-143f-11e5-ba62-525400271be1 macvtap:em1 Created
2da2675c-143f-11e5-ba62-525400271be1 shared_bridge_net Created
2dbc2534-143f-11e5-ba62-525400271be1 data_net Created
Creating openvim tenant 'admin'
2dd6194e-143f-11e5-ba62-525400271be1
Adding openvim environment variables to ~/.bashrc
Creating openmano tenant 'mytenant'
./openmano/scripts/initopenmano.sh: line 41: return: -1: invalid option
return: usage: return [n]
fail
The same happens when executing with source:
$ source openmano/scripts/initopenmano.sh
WARNING: openmano and openvim database content will be lost!!! Continue(y/N)y
Stopping openmano
stopping floodlight ... done
stopping openvim ... done
stopping openmano ... done
Initializing databases
loading /home/tef-gcto/openmano/openvim/database_utils/vim_db_structure.sql
migrage database version
Detected openvim version 0.2.03
upgrade database from version 0.1 to version 0.2
ALTER TABLE of_ports_pci_correspondenceresources_portports ADD COLUMN switch_dpid
UPDATE procedure UpdateSwitchPort
loading /home/tef-gcto/openmano/openvim/database_utils/host_ranking.sql
loading /home/tef-gcto/openmano/openvim/database_utils/of_ports_pci_correspondence.sql
loading /home/tef-gcto/openmano/openvim/database_utils/nets.sql
loading /home/tef-gcto/openmano/openmano/database_utils/mano_db_structure.sql
migrage database version
Detected openmano version 0.2.4
upgrade database from version 0.0 to version 0.1
CREATE TABLE schema_version
Starting openmano
starting floodlight ... running on 'screen -x flow'. Logging at '/home/tef-gcto/openmano/logs/openflow.0'
starting openvim ... running on 'screen -x vim'. Logging at '/home/tef-gcto/openmano/logs/openvim.0'
starting openmano ... running on 'screen -x mano'. Logging at '/home/tef-gcto/openmano/logs/openmano.0'
Adding example hosts
62a4a68a-1440-11e5-b5b0-525400271be1 fake-host-0 Created
62e03a60-1440-11e5-b5b0-525400271be1 fake-host-1 Created
631d3cf8-1440-11e5-b5b0-525400271be1 fake-host-2 Created
635b1136-1440-11e5-b5b0-525400271be1 fake-host-3 Created
Adding example nets
637e5e52-1440-11e5-a1bb-525400271be1 default Created
6397cdd8-1440-11e5-a1bb-525400271be1 macvtap:em1 Created
63b1768e-1440-11e5-a1bb-525400271be1 shared_bridge_net Created
63cb44ce-1440-11e5-a1bb-525400271be1 data_net Created
Creating openvim tenant 'admin'
63e5f36e-1440-11e5-a1bb-525400271be1
Adding openvim environment variables to ~/.bashrc
Creating openmano tenant 'mytenant'
-bash: return: -1: invalid option
return: usage: return [n]
fail
-bash: return: -1: invalid option
return: usage: return [n]
Connection
Creating datacenter 'mydc' in openmano
-bash: return: -1: invalid option
return: usage: return [n]
fail
-bash: return: -1: invalid option
return: usage: return [n]
Connection
Adding openmano environment variables to ~/.bashrc
Attaching openmano tenant to the datacenter and the openvim tenant
Connection error: not possible to contact OPENMANO-SERVER (openmanod)
fail
-bash: return: -1: invalid option
return: usage: return [n]
Updating external nets in openmano
Connection error: not possible to contact OPENMANO-SERVER (openmanod)
fail
-bash: return: -1: invalid option
return: usage: return [n]
Adding particular configuration - VNFs
Connection error: not possible to contact OPENMANO-SERVER (openmanod)
fail
-bash: return: -1: invalid option
return: usage: return [n]
Connection error: not possible to contact OPENMANO-SERVER (openmanod)
fail
-bash: return: -1: invalid option
return: usage: return [n]
Connection error: not possible to contact OPENMANO-SERVER (openmanod)
fail
-bash: return: -1: invalid option
return: usage: return [n]
Adding particular configuration - Scenarios
Connection error: not possible to contact OPENMANO-SERVER (openmanod)
fail
-bash: return: -1: invalid option
return: usage: return [n]
Connection error: not possible to contact OPENMANO-SERVER (openmanod)
fail
-bash: return: -1: invalid option
return: usage: return [n]
Adding particular configuration - Scenario instances
Connection error: not possible to contact OPENMANO-SERVER (openmanod)
fail
-bash: return: -1: invalid option
return: usage: return [n]
Connection error: not possible to contact OPENMANO-SERVER (openmanod)
fail
-bash: return: -1: invalid option
return: usage: return [n]
When executing the script in a CentOS, either directly or with source it exits before the end. First error appears in line 41. Apparently the internal function is_valid_uuid has some error.
$ ./openmano/scripts/initopenmano.sh WARNING: openmano and openvim database content will be lost!!! Continue(y/N)y Stopping openmano stopping floodlight ... done stopping openvim ... done stopping openmano ... done Initializing databases loading /home/tef-gcto/openmano/openvim/database_utils/vim_db_structure.sql migrage database version Detected openvim version 0.2.03 upgrade database from version 0.1 to version 0.2 ALTER TABLE
of_ports_pci_correspondence
resources_port
ports
ADD COLUMNswitch_dpid
UPDATE procedure UpdateSwitchPort loading /home/tef-gcto/openmano/openvim/database_utils/host_ranking.sql loading /home/tef-gcto/openmano/openvim/database_utils/of_ports_pci_correspondence.sql loading /home/tef-gcto/openmano/openvim/database_utils/nets.sql loading /home/tef-gcto/openmano/openmano/database_utils/mano_db_structure.sql migrage database version Detected openmano version 0.2.4 upgrade database from version 0.0 to version 0.1 CREATE TABLEschema_version
Starting openmano starting floodlight ... running on 'screen -x flow'. Logging at '/home/tef-gcto/openmano/logs/openflow.0' starting openvim ... running on 'screen -x vim'. Logging at '/home/tef-gcto/openmano/logs/openvim.0' starting openmano ... running on 'screen -x mano'. Logging at '/home/tef-gcto/openmano/logs/openmano.0' Adding example hosts 2c947698-143f-11e5-bcfb-525400271be1 fake-host-0 Created 2ccfcf4a-143f-11e5-bcfb-525400271be1 fake-host-1 Created 2d0ce3b2-143f-11e5-bcfb-525400271be1 fake-host-2 Created 2d4b93b4-143f-11e5-bcfb-525400271be1 fake-host-3 Created Adding example nets 2d6f2f68-143f-11e5-ba62-525400271be1 default Created 2d88dfee-143f-11e5-ba62-525400271be1 macvtap:em1 Created 2da2675c-143f-11e5-ba62-525400271be1 shared_bridge_net Created 2dbc2534-143f-11e5-ba62-525400271be1 data_net Created Creating openvim tenant 'admin' 2dd6194e-143f-11e5-ba62-525400271be1 Adding openvim environment variables to ~/.bashrc Creating openmano tenant 'mytenant' ./openmano/scripts/initopenmano.sh: line 41: return: -1: invalid option return: usage: return [n] failThe same happens when executing with source:
$ source openmano/scripts/initopenmano.sh WARNING: openmano and openvim database content will be lost!!! Continue(y/N)y Stopping openmano stopping floodlight ... done stopping openvim ... done stopping openmano ... done Initializing databases loading /home/tef-gcto/openmano/openvim/database_utils/vim_db_structure.sql migrage database version Detected openvim version 0.2.03 upgrade database from version 0.1 to version 0.2 ALTER TABLE
of_ports_pci_correspondence
resources_port
ports
ADD COLUMNswitch_dpid
UPDATE procedure UpdateSwitchPort loading /home/tef-gcto/openmano/openvim/database_utils/host_ranking.sql loading /home/tef-gcto/openmano/openvim/database_utils/of_ports_pci_correspondence.sql loading /home/tef-gcto/openmano/openvim/database_utils/nets.sql loading /home/tef-gcto/openmano/openmano/database_utils/mano_db_structure.sql migrage database version Detected openmano version 0.2.4 upgrade database from version 0.0 to version 0.1 CREATE TABLEschema_version
Starting openmano starting floodlight ... running on 'screen -x flow'. Logging at '/home/tef-gcto/openmano/logs/openflow.0' starting openvim ... running on 'screen -x vim'. Logging at '/home/tef-gcto/openmano/logs/openvim.0' starting openmano ... running on 'screen -x mano'. Logging at '/home/tef-gcto/openmano/logs/openmano.0' Adding example hosts 62a4a68a-1440-11e5-b5b0-525400271be1 fake-host-0 Created 62e03a60-1440-11e5-b5b0-525400271be1 fake-host-1 Created 631d3cf8-1440-11e5-b5b0-525400271be1 fake-host-2 Created 635b1136-1440-11e5-b5b0-525400271be1 fake-host-3 Created Adding example nets 637e5e52-1440-11e5-a1bb-525400271be1 default Created 6397cdd8-1440-11e5-a1bb-525400271be1 macvtap:em1 Created 63b1768e-1440-11e5-a1bb-525400271be1 shared_bridge_net Created 63cb44ce-1440-11e5-a1bb-525400271be1 data_net Created Creating openvim tenant 'admin' 63e5f36e-1440-11e5-a1bb-525400271be1 Adding openvim environment variables to ~/.bashrc Creating openmano tenant 'mytenant' -bash: return: -1: invalid option return: usage: return [n] fail -bash: return: -1: invalid option return: usage: return [n] Connection Creating datacenter 'mydc' in openmano -bash: return: -1: invalid option return: usage: return [n] fail -bash: return: -1: invalid option return: usage: return [n] Connection Adding openmano environment variables to ~/.bashrc Attaching openmano tenant to the datacenter and the openvim tenant Connection error: not possible to contact OPENMANO-SERVER (openmanod) fail -bash: return: -1: invalid option return: usage: return [n] Updating external nets in openmano Connection error: not possible to contact OPENMANO-SERVER (openmanod) fail -bash: return: -1: invalid option return: usage: return [n] Adding particular configuration - VNFs Connection error: not possible to contact OPENMANO-SERVER (openmanod) fail -bash: return: -1: invalid option return: usage: return [n] Connection error: not possible to contact OPENMANO-SERVER (openmanod) fail -bash: return: -1: invalid option return: usage: return [n] Connection error: not possible to contact OPENMANO-SERVER (openmanod) fail -bash: return: -1: invalid option return: usage: return [n] Adding particular configuration - Scenarios Connection error: not possible to contact OPENMANO-SERVER (openmanod) fail -bash: return: -1: invalid option return: usage: return [n] Connection error: not possible to contact OPENMANO-SERVER (openmanod) fail -bash: return: -1: invalid option return: usage: return [n] Adding particular configuration - Scenario instances Connection error: not possible to contact OPENMANO-SERVER (openmanod) fail -bash: return: -1: invalid option return: usage: return [n] Connection error: not possible to contact OPENMANO-SERVER (openmanod) fail -bash: return: -1: invalid option return: usage: return [n]DONE