On 5/26/24 12:10 PM, Lohit S wrote:
Again I had tried to execute ./stack.sh cmd, Now I got another problem. I'm new to OpenStack. Can any pls help to fix the issue.
The simplest way to get a devstack up and running is: (assuming you have a cloned devstack repository with no changes) $ cd devstack $ cp samples/local.conf . $ ./stack.sh That should work every time and use all the defaults. If you are making modifications to local.conf then you should undo them one at a time until you find the offending change. -Brian
+./stack.sh:main:1340 type -p neutron_plugin_create_initial_networks +./stack.sh:main:1343 create_neutron_initial_network +lib/neutron_plugins/services/l3:create_neutron_initial_network:157 type -p neutron_plugin_create_initial_network_profile +lib/neutron_plugins/services/l3:create_neutron_initial_network:161 is_networking_extension_supported auto-allocated-topology +lib/neutron_plugins/services/l3:is_networking_extension_supported:433 local extension=auto-allocated-topology ++lib/neutron_plugins/services/l3:is_networking_extension_supported:435 oscwrap --os-cloud devstack-admin --os-region RegionOne extension list --network -c Alias -f value ++functions-common:oscwrap:2466 return 0 +lib/neutron_plugins/services/l3:is_networking_extension_supported:435 EXT_LIST='address-group address-scope agent allowed-address-pairs availability_zone default-subnetpools dhcp_agent_scheduler external-net extra_dhcp_opt filter-validation flavors multi-provider net-mtu net-mtu-writable network_availability_zone network-ip-availability pagination port-device-profile port-hardware-offload-type port-mac-address-regenerate port-numa-affinity-policy port-numa-affinity-policy-socket binding binding-extended port-security project-id provider quota-check-limit quotas quota_details rbac-policies rbac-address-scope rbac-security-groups revision-if-match standard-attr-revisions security-groups-default-rules security-groups-normalized-cidr security-groups-remote-address-group security-groups-rules-belongs-to-default-sg security-groups-shared-filtering security-group service-type sorting standard-attr-description stateful-security-group subnet-service-types subnet_allocation subnetpool-prefix-ops standard-attr-tag standard-attr-timestamp' +lib/neutron_plugins/services/l3:is_networking_extension_supported:436 [[ address-group address-scope agent allowed-address-pairs availability_zone default-subnetpools dhcp_agent_scheduler external-net extra_dhcp_opt filter-validation flavors multi-provider net-mtu net-mtu-writable network_availability_zone network-ip-availability pagination port-device-profile port-hardware-offload-type port-mac-address-regenerate port-numa-affinity-policy port-numa-affinity-policy-socket binding binding-extended port-security project-id provider quota-check-limit quotas quota_details rbac-policies rbac-address-scope rbac-security-groups revision-if-match standard-attr-revisions security-groups-default-rules security-groups-normalized-cidr security-groups-remote-address-group security-groups-rules-belongs-to-default-sg security-groups-shared-filtering security-group service-type sorting standard-attr-description stateful-security-group subnet-service-types subnet_allocation subnetpool-prefix-ops standard-attr-tag standard-attr-timestamp =~ auto-allocated-topology ]] +lib/neutron_plugins/services/l3:create_neutron_initial_network:172 is_provider_network +functions-common:is_provider_network:2270 '[' '' == True ']' +functions-common:is_provider_network:2273 return 1 ++lib/neutron_plugins/services/l3:create_neutron_initial_network:202 oscwrap --os-cloud devstack --os-region RegionOne network create private -f value -c id Error while executing command: HttpException: 503, Unable to create the network. No tenant network is available for allocation. ++functions-common:oscwrap:2466 return 1 +lib/neutron_plugins/services/l3:create_neutron_initial_network:202 NET_ID= +lib/neutron_plugins/services/l3:create_neutron_initial_network:1 exit_trap +./stack.sh:exit_trap:549 local r=1 ++./stack.sh:exit_trap:550 jobs -p +./stack.sh:exit_trap:550 jobs=269026 +./stack.sh:exit_trap:553 [[ -n 269026 ]] +./stack.sh:exit_trap:553 [[ -n /opt/stack/logs/stack.sh.log.2024-05-26-200027 ]] +./stack.sh:exit_trap:553 [[ True == \T\r\u\e ]] +./stack.sh:exit_trap:554 echo 'exit_trap: cleaning up child processes' exit_trap: cleaning up child processes +./stack.sh:exit_trap:555 kill 269026 +./stack.sh:exit_trap:559 '[' -f /tmp/tmp.gSuYIhEkx5 ']' +./stack.sh:exit_trap:560 rm /tmp/tmp.gSuYIhEkx5 +./stack.sh:exit_trap:564 kill_spinner +./stack.sh:kill_spinner:459 '[' '!' -z '' ']' +./stack.sh:exit_trap:566 [[ 1 -ne 0 ]] +./stack.sh:exit_trap:567 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:569 type -p generate-subunit +./stack.sh:exit_trap:570 generate-subunit 1716733817 5617 fail +./stack.sh:exit_trap:572 [[ -z /opt/stack/logs ]] +./stack.sh:exit_trap:575 /opt/stack/data/venv/bin/python3 /home/lohit22/opensource/openstack/devstack/Org/devstack/tools/worlddump.py -d /opt/stack/logs +./stack.sh:exit_trap:584 exit 1 lohit22@lohit22
On Sun, May 26, 2024 at 11:18 AM Lohit S <s.lohitdv@gmail.com <mailto:s.lohitdv@gmail.com>> wrote:
Hi Team, I had tried to execute the ./stack.sh in devstack repo But I got the following error, How to fix this issue.
+lib/neutron_plugins/ovn_agent:ovn_sanity_check:358 die 358 'The q-agt/neutron-agt service must be disabled with OVN.' +functions-common:die:285 local exitcode=0 +functions-common:die:286 set +o xtrace [Call Trace] ./stack.sh:979:stack_install_service /home/lohit22/opensource/openstack/devstack/Org/devstack/lib/stack:32:install_neutron /home/lohit22/opensource/openstack/devstack/Org/devstack/lib/neutron:551:install_ovn /home/lohit22/opensource/openstack/devstack/Org/devstack/lib/neutron_plugins/ovn_agent:373:ovn_sanity_check /home/lohit22/opensource/openstack/devstack/Org/devstack/lib/neutron_plugins/ovn_agent:358:die [ERROR] /home/lohit22/opensource/openstack/devstack/Org/devstack/lib/neutron_plugins/ovn_agent:358 The q-agt/neutron-agt service must be disabled with OVN. Error on exit World dumping... see /opt/stack/logs/worlddump-2024-05-26-053930.txt for details