Ali Solangi's profile - activity

2020-05-01 00:08:36 -0600 received badge  Famous Question (source)
2017-01-31 05:47:02 -0600 commented question Unable to create flow-classifier for service function chaining: The resource could not be found

facing exactly same issue, any luck to resolve this issue?

2016-12-02 13:49:18 -0600 commented answer Setting answer file to Keystone V3

Facing issues with Newton release on Ubuntu 16.04.1, Keystone authentication issues, no keystone commands like "keystone user-list | delete " added "keystone-manage" with uncleared docs, that how to delete endpoints etc, for details https://bugs.launchpad.net/openstack-manuals/+bug/1644641 (https://bugs.launchpad.net/openstack-...)

2016-12-02 03:45:06 -0600 received badge  Commentator
2016-12-02 03:45:06 -0600 commented answer Error: Deleting the keystone endpoint

yup, nothing to do with ubuntu, I meant to get a way to delete these endpoints URLs in Newton release, but no luck.

2016-11-30 13:33:10 -0600 answered a question Error: Deleting the keystone endpoint

keystone endpoint-list and keystone endpoint-delete commands are not available in Newton, how to delete it in Ubuntu 16.04.1?

2016-11-29 10:15:19 -0600 commented answer ERROR: openstack The request you have made requires authentication. (HTTP 401)

@dtom, check this link https://bugs.launchpad.net/openstack-manuals/+bug/1644641 (https://bugs.launchpad.net/openstack-...), I have solved for my one node, but for second controller, I'm facing the same problem, I have re-installed my server, followed strictly installation guide but no luck for 2nd controller, try this method, it may help!

2016-11-25 14:25:44 -0600 commented answer ERROR: openstack The request you have made requires authentication. (HTTP 401)

Guys, I solved this problem, there was a mistake export OS_AUTH_URL=http://localhost:35357/v3

instead of "http://controller:35357/v3 hope this may be help full for some one.

I used

2016-11-24 12:30:55 -0600 answered a question Liberty: The request you have made requires authentication. (HTTP 401)

https://bugs.launchpad.net/openstack-manuals/+bug/1575688 (https://bugs.launchpad.net/openstack-...) check this bug, it may help you

2016-11-24 07:41:17 -0600 commented question Error while launching instance in openstack 'newton' using rdo packstack

ca you share logs /etc/nova*? did you check rabbitmq and other services are working fine?

2016-11-24 03:14:53 -0600 answered a question ERROR: openstack The request you have made requires authentication. (HTTP 401)

I am working on Openstack Newton with Ubunutu 16.04 release, follwoing http://docs.openstack.org/newton/install-guide-ubuntu/keystone-install.html (http://docs.openstack.org/newton/inst...), this is fresh installation, once I'm going to create "openstack project create --domain default --description "Service Project" service"

It throws error: "The request you have made requires authentication. (HTTP 401)l"

keystone.log complaining: keystone.auth.controllers Could not find domain: default Authorization failed. The request you have made requires authentication. from 10.0.0.11

In Liberty, normally we give admin-token, but here In Newton, there is no any token is suggested.

Any help will be appreciated.

2016-11-20 10:30:16 -0600 received badge  Notable Question (source)
2016-09-07 17:46:37 -0600 received badge  Notable Question (source)
2016-09-07 17:46:37 -0600 received badge  Popular Question (source)
2016-06-08 08:33:19 -0600 commented question [mitaka]neutron agent-list 404 error

where was the mistake? I am aslo on the same boat..

2016-06-07 05:48:10 -0600 asked a question Kilo/Centos 7 Error: Unable to launch instance named "VM-01"

I'm using Kilo/Centos 7 with 3 Node model.

All services are up and running but it throws me errors in UI:

1- Error: Unable to launch instance named "dg". 2- Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-13d23c17-9e1a-4b8f-b41e-07ee163bd2f0)

In CLI: ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-e1a04348-034a-4275-9f51-9efbcf97faa0)

  • [root@KILO-Contoller onstak]# nova service-list +----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+ | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | +----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+ | 1 | nova-cert | KILO-Contoller | internal | enabled | up | 2016-06-07T10:17:12.000000 | - | | 2 | nova-consoleauth | KILO-Contoller | internal | enabled | up | 2016-06-07T10:17:12.000000 | - | | 3 | nova-conductor | KILO-Contoller | internal | enabled | up | 2016-06-07T10:17:12.000000 | - | | 4 | nova-scheduler | KILO-Contoller | internal | enabled | up | 2016-06-07T10:17:13.000000 | - | | 5 | nova-compute | KILO-Compute | nova | enabled | up | 2016-06-07T10:17:18.000000 | - | +----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+

[root@KILO-Contoller onstak]# neutron agent-list +--------------------------------------+--------------------+----------------+-------+----------------+---------------------------+ | id | agent_type | host | alive | admin_state_up | binary | +--------------------------------------+--------------------+----------------+-------+----------------+---------------------------+ | 0ec1f8a4-f1fc-410f-9165-8525feef40c2 | Open vSwitch agent | KILO-Compute | :-) | True | neutron-openvswitch-agent | | 2987f24f-dfb0-4315-9ac5-f0e61cf842b5 | Open vSwitch agent | KILO-Network | :-) | True | neutron-openvswitch-agent | | 5c7b51e4-bba9-4091-8bde-aea20b1134df | DHCP agent | KILO-Contoller | :-) | True | neutron-dhcp-agent | | 77975e28-a30a-42e3-9c5b-293686c21c4d | DHCP agent | KILO-Network | :-) | True | neutron-dhcp-agent | | 8a379da9-449f-413a-8bb3-d07214ae03fa | Metadata agent | KILO-Contoller | :-) | True | neutron-metadata-agent | | 971e3dd2-df5b-459f-a8bc-07586fc22102 | L3 agent | KILO-Network | :-) | True | neutron-l3-agent | | be1a6357-2c95-472f-81b1-059cdb78d097 | Metadata agent | KILO-Network | :-) | True | neutron-metadata-agent | +--------------------------------------+--------------------+----------------+-------+----------------+---------------------------+

CONFIGURATION Controller:

File: nova.con

[DEFAULT]

verbose = True rpc_backend = rabbit auth_strategy = keystone my_ip = 172.16.0.175 vncserver_listen = 172.16.0.175 vncserver_proxyclient_address = 172.16.0.175 network_api_class = nova.network.neutronv2.api.API security_group_api = neutron linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver firewall_driver = nova.virt.firewall.NoopFirewallDriver

[keystone_authtoken] auth_uri = http://172.16.0.175:5000 auth_url = http://172.16.0.175:35357 auth_plugin = password project_domain_id = default user_domain_id = default project_name = service username = nova password = XXXXXX

[neutron] url = http://172.16.0.175:9696 auth_strategy = keystone admin_auth_url = http://172.16.0.175:35357/v2.0 retion_name = RegionOne admin_tenant_name = service admin_username = neutron admin_password = XXXXXX service_metadata_proxy = True metadata_proxy_shared_secret = XXXXXX


File: neutron.conf [Controller]

[DEFAULT]

verbose = True rpc_backend = rabbit auth_strategy = keystone core_plugin = ml2 service_plugins = router allow_overlapping_ips = True notify_nova_on_port_status_changes = True notify_nova_on_port_data_changes = True nova_url = http://172.16.0.175:8774/v2

[keystone_authtoken] auth_uri = http://172.16.0.175:5000 auth_url = http://172.16.0.175:35357 identity_uri = http://172.16.0.175:5000 auth_plugin = password project_domain_id = default user_domain_id = default project_name = service username = neutron password = XXXXXX admin_tenant_name = service admin_user = neutron

admin_password = XXXXXX

ON COMPUTE: File: nova.conf

[DEFAULT] rpc_backend = rabbit auth_strategy = keystone my_ip = 172.16.0.176 vnc_enabled = True vncserver_listen = 0.0.0.0 vncserver_proxyclient_address = 172.16.0.176 novncproxy_base_url = http://172.16.0.176:6080/vnc_auto.html verbose = True network_api_class = nova.network.neutronv2.api.API security_group_api = neutron linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver firewall_driver = nova.virt.firewall.NoopFirewallDriver

[keystone_authtoken]

auth_uri = http://172.16.0.175:5000 auth_url = http://172.16.0.175:35357 auth_plugin = password project_domain_id = default user_domain_id = default project_name = service username = nova password = XXXXXX auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = nova admin_password = nova signing_dirname = /tmp/keystone/signing-nova

[neutron] url = http://172.16.0.175:9696 auth_strategy = keystone admin_auth_url = http://172.16.0.175:35357/v2.0 admin_tenant_name = service admin_username = neutron admin_password = XXXXXX service_metadata_proxy = True

retion_name = RegionOne

File: neutron.conf [Compute]

[DEFAULT]

rpc_backend = rabbit auth_strategy = keystone core_plugin = ml2 service_plugins ...

(more)
2016-06-06 18:22:26 -0600 answered a question Instance failed to spawn - Kilo/CentOS 7

did you find the solution of this issue?

2016-06-06 17:49:55 -0600 answered a question nova boot error ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-5bf1f982-db70-4ef6-a889-93d9d93293d9)

no luck after downgrading python-request package and also

I have applied pjb's suggested option but no luck, still facing instance launching issue.

2016-06-06 17:46:31 -0600 answered a question New Kilo install - Unable to launch instance, no useful errors found

I'm facing same issue, Warning problems was good as per above solution, but launching instance problem still there, all services are up and running, but no useful logs I found, any suggested solution?

2016-03-15 18:36:49 -0600 received badge  Popular Question (source)
2016-02-22 04:10:55 -0600 received badge  Famous Question (source)
2016-01-14 03:50:53 -0600 received badge  Famous Question (source)
2016-01-11 15:31:20 -0600 answered a question Instance Launching Issue in Openstack - No Valid Host was found

Sorry to late reply.. my issue is RESOLVED... the reason was "I was using APIC controller older version which was only supported by vCenter within VMM Domain, so there was no any option for Openstack as a VMM Domain" that's why in my scenario, Controller Node there were some paramters to APIC host... but there was no configuration on APIC side... that's why following impact was there: 1 - APIC was able to show my networks, subnets and security groups which were created in Openstack automatically [The reason was APIC_Mechanisim drivers by defualt they support LLDP] 2 - while my compute-nodes were not able to find any Leaf within the ACI Fabric... [Note: compute are VMS within same UCS... so I used automatic LLDP association with leaves on compute-nodes] just because of half-configuration was between Openstack and APIC host... my VMs instance was not able to find any host....

Now, simply I am using APIC latest version Brazo... which supporting Openstack as VMM Domain.... hope this will be helpfull for any one...

Cheers Ali Murtaza Solangi

2016-01-07 05:40:11 -0600 received badge  Notable Question (source)
2016-01-06 03:58:01 -0600 received badge  Popular Question (source)
2016-01-05 18:00:08 -0600 asked a question Instance Launching Issue in Openstack - No Valid Host was found

Issue : Getting Error in launching Instance VM in Openstack

Error: "No valid host was found" Scenario: One Controller, one Compute VM machines are integrated with APIC Controller

Release JUNO, distro: CentOS 7

Setup is showing all Openstack created tenants information in APIC but triggering error for launching instance, it may not find/discover Compute Node. All services on controller and compute are running nicely.

Suspicious: TRACE neutron.plugins.ml2.managers ApicHostNotConfigured: The switch and port for host 'juno-controller-ali' are not configured"

File: /etc/neutron/plugins/ml2/ml2_config_cisco.ini [Default] apic_system_id = ABC

[ml2_cisco_apic] apic_hosts = 10.3.1.207:80,10.3.1.207:443 apic_username = admin apic_password = MyPassword apic_name_mapping = use_name apic_use_ssl = True

[apic_external_network:POD7-ext] switch = 101 port = 1/19 cidr_exposed = 10.3.1.0/24 gateway_ip = 10.3.1.254

[apic_switch:101] # when I add these compute nodes.. Nuetron service fails

File: /etc/neutron/plugins/ml2/ml2_conf.ini

[ml2] type_drivers = opflex,local,flat,vlan,gre,vxlan tenant_network_types = vlan mechanism_drivers =openvswitch,cisco_apic

[ml2_type_vlan] network_vlan_ranges = anx:790:795

[ovs] bridge_mappings = anx:br-anx enable_tunneling = False integration_bridge = br-int

[agent] polling_interval = 2 l2_population = False arp_responder = False

File: /etc/neutron/neutron.conf

[DEFAULT] osapi_compute_workers = 4 workers = 4 ec2_workers = 4 metadata_workers = 4 rpc_backend = rabbit rabbit_host = 10.3.1.175 rabbit_password = MyPassword auth_strategy = keystone notify_nova_on_port_status_changes = True notify_nova_on_port_data_changes = True nova_url = http://10.3.1.175:8774/v2 nova_admin_auth_url = http://10.3.1.175:35357/v2.0/ nova_region_name = regionOne nova_admin_username = nova nova_admin_tenant_id = 4f6cf805788b4d4f9539563889e41d53 nova_admin_password = MyPassword core_plugin = ml2 service_plugins = router allow_overlapping_ips = True

[keystone_authtoken] auth_uri = http://10.3.1.175:5000/v2.0/ identity_uri = http://10.3.1.175:35357 admin_tenant_name = service admin_user = neutron admin_password = MyPassword auth_protocol = http auth_host = 10.3.1.175 auth_port = 35357

LOGS: TAIL -F /VAR/LOG/NEUTRON/SERVER.LOG [root@juno-controller-ali ~(keystone_admin)]# tail -f /var/log/neutron/server.log TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/plugin.py", line 1147, in update_port_status TRACE oslo.messaging.rpc.dispatcher self.mechanism_manager.update_port_postcommit(mech_context) TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py", line 527, in update_port_postcommit TRACE oslo.messaging.rpc.dispatcher continue_on_failure=True) TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py", line 302, in _call_on_drivers TRACE oslo.messaging.rpc.dispatcher method=method_name TRACE oslo.messaging.rpc.dispatcher MechanismDriverError: update_port_postcommit failed. TRACE oslo.messaging.rpc.dispatcher ERROR oslo.messaging._drivers.common [req-5e8e3cbb-69fd-494e-b27c-981f0311e810 ] Returning exception update_port_postcommit failed. to caller ERROR oslo.messaging._drivers.common [req-5e8e3cbb-69fd-494e-b27c-981f0311e810 ] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, *new_args)\n', ' File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/rpc.py", line 167, in update_device_up\n host)\n', ' File "/usr/lib/python2.7/site-packages ... (more)

2015-12-15 10:06:22 -0600 received badge  Enthusiast
2015-12-11 07:56:32 -0600 answered a question Neutron-server failed to start

I have found some thing suspicious, when ever I edit /etc/neutron/plugins/ml2/ml2_conf.ini file and set mechanism_drivers as a "cisco_apic" then Nuetron-server goes down and start triggering same logs.. as mentioned in question.

2015-12-10 06:08:06 -0600 commented answer Neutron-server failed to start

Thanks RHK, I have checked rabbitmq server, its running, my neutron files for the connectivity of Openstack to APIC is in the bottom of question u can review it, there may be mistake.

2015-12-10 05:13:18 -0600 received badge  Notable Question (source)
2015-12-09 23:28:21 -0600 received badge  Popular Question (source)
2015-12-09 13:07:48 -0600 commented question Neutron-server failed to start

I am using Controller with 1 NIC, Compute 1 NIC to connect with ACI, all 3 are in same VLAN, may this problem? Neutron is hosted on Controller Node.

2015-12-09 12:38:12 -0600 commented question Neutron-server failed to start

Thanks omar, you are right I have made some changes in ML2 drivers, i have edited my question, you can see in the bottom, out put of show table status from neutron where Name like "ml2%"; and ovs-vsctl show.... sorry for output, it'z offcourse difficult to drill down

2015-12-09 08:51:42 -0600 commented question neutron net-create :unable to establish connection to http://controller:9696/v2.0/networks.json

facing same issue but i have problem that neutron-server is not able to run

2015-12-09 07:43:17 -0600 commented question Neutron-server failed to start

Thanks Eduardo, I have restarted rabbitmq and neutron-server also but no luck.. I have edited question plz look its bottom now. regards

2015-12-09 07:40:53 -0600 received badge  Editor (source)
2015-12-09 06:28:07 -0600 asked a question Neutron-server failed to start

Hi, I am working on OpenStack integration with ACI, but getting nuetron-server problem to start. here is the details

     [root@juno-controller-ali ~(keystone_admin)]# **openstack-service status neutron**
        neutron-dhcp-agent (pid 27958) is active
        neutron-l3-agent (pid 27956) is active
        neutron-metadata-agent (pid 27966) is active
        neutron-openvswitch-agent (pid 27986) is active
        **neutron-server (pid 0) is failed**

        **systemctl start neutron-server.service**
        ob for neutron-server.service failed. See 'systemctl status neutron-server.service' and 'journalctl -xn' for details.

        root@juno-controller-ali ~(keystone_admin)]# journalctl -xn
        Dec 09 07:00:15 juno-controller-ali sudo[24718]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:17 juno-controller-ali sudo[24721]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:19 juno-controller-ali sudo[24724]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:21 juno-controller-ali sudo[24729]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:23 juno-controller-ali sudo[24732]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:25 juno-controller-ali sudo[24735]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:25 juno-controller-ali cinder-volume[2272]: 2015-12-09 07:00:25.859 2892 WARNING **cinder.volume.manager [-] Unable to update stats, LVMISCSIDriver -2.0.0  d
        Dec 09 07:00:25 juno-controller-ali cinder-volume[2272]: 2015-12-09 07:00:25.860 2892 WARNING cinder.volume.manager [-] Unable to update volume replication status, LVMI**
        Dec 09 07:00:27 juno-controller-ali sudo[24738]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:29 juno-controller-ali sudo[24741]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo

        [root@juno-controller-ali ~(keystone_admin)]# neutron agent-list
        Unable to establish connection to http://10.3.1.175:9696/v2.0/agents.json

        [root@juno-controller-ali ~(keystone_admin)]# **tail -f /var/log/neutron/server.log**
        2015-12-09 07:06:23.336 25418 TRACE neutron   File "/usr/lib/python2.7/site-packages/requests/models.py", line 802, in json
        2015-12-09 07:06:23.336 25418 TRACE neutron     return json.loads(self.text, **kwargs)
        2015-12-09 07:06:23.336 25418 TRACE neutron   File "/usr/lib64/python2.7/site-packages/simplejson/__init__.py", line 488, in loads
        2015-12-09 07:06:23.336 25418 TRACE neutron     return _default_decoder.decode(s)
        2015-12-09 07:06:23.336 25418 TRACE neutron   File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 370, in decode
        2015-12-09 07:06:23.336 25418 TRACE neutron     obj, end = self.raw_decode(s)
        2015-12-09 07:06:23.336 25418 TRACE neutron   File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 389, in raw_decode
        2015-12-09 07:06:23.336 25418 TRACE neutron     return self.scan_once(s, idx=_w(s, idx).end())
        2015-12-09 07:06:23.336 25418 TRACE neutron JSONDecodeError: Expecting value: line 1 column 1 (char 0)
        2015-12-09 07:06 ...
(more)