Re: [Openstack] [Pike] [Nova] Error : ERROR : MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url

2018-03-06 Thread Eugen Block

Hi,

could you provide more verbose output from nova-api.log (maybe other  
logs, too)?



Zitat von Guru Desai :


Oh my god !!! thank Navdeep..  With this, i m getting below error. Is this
known ?   this command was executed on compute node where

# openstack compute service list --service nova-compute
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/
and attach the Nova API log if possible.
 (HTTP 500) (Request-ID:
req-3993191e-46ac-4f38-bda9-9b003e6aab1b)



On Tue, Mar 6, 2018 at 10:24 PM, Navdeep Uniyal <
navdeep.uni...@bristol.ac.uk> wrote:


Hi Guru,



It should be auth_url. Please see the highlighted error below.



Regards,

Navdeep



*From:* Guru Desai 
*Sent:* 06 March 2018 16:41
*To:* OpenStack Mailing List 
*Subject:* [Openstack] [Pike] [Nova] Error : ERROR :
MissingRequiredOptions: Auth plugin requires parameters which were not
given: auth_url



Hello,



I am setting up pike version and facing an issue with nova on controller.
I see below errors continouolsy in nova-api.log. But i have given the auth
parameters in the /etc/nova/nova.conf. I

am done installing keystone and glance, stuck here with nova. Modified the
nova.conf as per the install guide. Please suggest as to what could be the
issue..









[keystone_authtoken]





auth_uri = http://test_controller:5000

auth_uri = http://test_controller:35357

memcached_servers = test_controller:11211

auth_type = password

project_domain_name = default

user_domain_name = default

project_name = service

username = nova

password = NOVA_PASS







Log











--
Eugen Block voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG  fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail  : ebl...@nde.ag

Vorsitzende des Aufsichtsrates: Angelika Mozdzen
  Sitz und Registergericht: Hamburg, HRB 90934
  Vorstand: Jens-U. Mozdzen
   USt-IdNr. DE 814 013 983


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] [Pike][Neutron] ERROR neutron.plugins.ml2.drivers.agent._common_agent - AgentNotFoundByTypeHost

2018-03-06 Thread Torin Woltjer
My virtual machines do not get their IP addresses, the dashboard does show the 
address they should have, but when using the console to access the virtual 
machine, it shows that no address is assigned to its interface. What kind of 
misconfiguration could've occured?

The following two line repeat in /var/log/nova/nova-compute.log on the compute 
node:

2018-03-06 13:34:15.051 32084 WARNING nova.compute.manager 
[req-cc5ee519-111f-4b70-b77f-b6607c5e611e ffe5adfe1f7c40a5b5d0a8f89e65a452 
358008d2e1a6428ab2abcf51b10d0a50 - default default] [instance: 
7249d430-743e-4463-8d28-d13cdb8cfddc] Received unexpected event 
network-vif-plugged-87e7138e-9e29-4e67-a181-077b3f6ea09b for instance
2018-03-06 13:34:17.563 32084 WARNING nova.compute.manager 
[req-512ef7b6-0936-4dd6-a7e0-0044cee7e9cf ffe5adfe1f7c40a5b5d0a8f89e65a452 
358008d2e1a6428ab2abcf51b10d0a50 - default default] [instance: 
7249d430-743e-4463-8d28-d13cdb8cfddc] Received unexpected event 
network-vif-unplugged-87e7138e-9e29-4e67-a181-077b3f6ea09b for instance

These errors repeat in /var/log/neutron/neutron-linuxbridge-agent.log

2018-03-06 13:38:49.403 1978 INFO neutron.agent.securitygroups_rpc 
[req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Preparing filters for 
devices set(['tap87e7138e-9e'])
2018-03-06 13:38:52.286 1978 INFO neutron.agent.securitygroups_rpc 
[req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Security group member 
updated [u'04a877fe-f6bc-445c-9e03-204a0cae9d32']
2018-03-06 13:38:52.289 1978 INFO 
neutron.plugins.ml2.drivers.agent._common_agent 
[req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Port tap87e7138e-9e 
updated. Details: {u'profile': {}, u'network_qos_policy_id': None, 
u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up': True, 
u'network_id': u'a06ac367-fe14-4bcd-96f3-8c8081a874ad', u'segmentation_id': 
None, u'mtu': 1500, u'device_owner': u'compute:nova', u'physical_network': 
u'provider', u'mac_address': u'fa:16:3e:23:49:97', u'device': 
u'tap87e7138e-9e', u'port_security_enabled': True, u'port_id': 
u'87e7138e-9e29-4e67-a181-077b3f6ea09b', u'fixed_ips': [{u'subnet_id': 
u'4dc26826-49f3-4cb9-8490-e4cc5e82853d', u'ip_address': u'216.109.195.245'}], 
u'network_type': u'flat'}
2018-03-06 13:38:55.392 1978 INFO neutron.agent.securitygroups_rpc 
[req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Security group member 
updated [u'04a877fe-f6bc-445c-9e03-204a0cae9d32']
2018-03-06 13:38:55.810 1978 INFO neutron.agent.securitygroups_rpc 
[req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Remove device filter for 
set(['tap87e7138e-9e'])
2018-03-06 13:38:57.468 1978 INFO 
neutron.plugins.ml2.drivers.agent._common_agent 
[req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Attachment tap87e7138e-9e 
removed
2018-03-06 13:38:57.909 1978 INFO neutron.agent.securitygroups_rpc 
[req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Security group member 
updated [u'04a877fe-f6bc-445c-9e03-204a0cae9d32']
2018-03-06 13:38:58.199 1978 ERROR 
neutron.plugins.ml2.drivers.agent._common_agent 
[req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Error occurred while 
removing port tap87e7138e-9e: RemoteError: Remote error: 
AgentNotFoundByTypeHost Agent with agent_type=L3 agent and 
host=UBNTU-OSTACK-COMPUTE1 could not be found
[u'Traceback (most recent call last):\n', u'  File 
"/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 160, in 
_process_incoming\nres = self.dispatcher.dispatch(message)\n', u'  File 
"/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 213, 
in dispatch\nreturn self._do_dispatch(endpoint, method, ctxt, args)\n', u'  
File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
183, in _do_dispatch\nresult = func(ctxt, **new_args)\n', u'  File 
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/rpc.py", line 234, in 
update_device_down\nn_const.PORT_STATUS_DOWN, host)\n', u'  File 
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/rpc.py", line 331, in 
notify_l2pop_port_wiring\n
l2pop_driver.obj.update_port_down(port_context)\n', u'  File 
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/l2pop/mech_driver.py",
 line 253, in update_port_down\nadmin_context, agent_host, 
[port[\'device_id\']]):\n', u'  File 
"/usr/lib/python2.7/dist-packages/neutron/db/l3_agentschedulers_db.py", line 
303, in list_router_ids_on_host\ncontext, constants.AGENT_TYPE_L3, 
host)\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/db/agents_db.py", 
line 291, in _get_agent_by_type_and_host\nhost=host)\n', 
u'AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and 
host=UBNTU-OSTACK-COMPUTE1 could not be found\n'].
2018-03-06 13:38:58.199 1978 ERROR 
neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call 
last):
2018-03-06 13:38:58.199 1978 ERROR 
neutron.plugins.ml2.drivers.agent._common_agent   File 
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent

Re: [Openstack] [Pike] [Nova] Error : ERROR : MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url

2018-03-06 Thread Guru Desai
Oh my god !!! thank Navdeep..  With this, i m getting below error. Is this
known ?   this command was executed on compute node where

# openstack compute service list --service nova-compute
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/
and attach the Nova API log if possible.
 (HTTP 500) (Request-ID:
req-3993191e-46ac-4f38-bda9-9b003e6aab1b)



On Tue, Mar 6, 2018 at 10:24 PM, Navdeep Uniyal <
navdeep.uni...@bristol.ac.uk> wrote:

> Hi Guru,
>
>
>
> It should be auth_url. Please see the highlighted error below.
>
>
>
> Regards,
>
> Navdeep
>
>
>
> *From:* Guru Desai 
> *Sent:* 06 March 2018 16:41
> *To:* OpenStack Mailing List 
> *Subject:* [Openstack] [Pike] [Nova] Error : ERROR :
> MissingRequiredOptions: Auth plugin requires parameters which were not
> given: auth_url
>
>
>
> Hello,
>
>
>
> I am setting up pike version and facing an issue with nova on controller.
> I see below errors continouolsy in nova-api.log. But i have given the auth
> parameters in the /etc/nova/nova.conf. I
>
> am done installing keystone and glance, stuck here with nova. Modified the
> nova.conf as per the install guide. Please suggest as to what could be the
> issue..
>
>
>
>
>
>
>
>
>
> [keystone_authtoken]
>
>
>
>
>
> auth_uri = http://test_controller:5000
>
> auth_uri = http://test_controller:35357
>
> memcached_servers = test_controller:11211
>
> auth_type = password
>
> project_domain_name = default
>
> user_domain_name = default
>
> project_name = service
>
> username = nova
>
> password = NOVA_PASS
>
>
>
>
>
>
>
> Log
>
> 
>
>
>
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [Pike] [Nova] Error : ERROR : MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url

2018-03-06 Thread Navdeep Uniyal
Hi Guru,

It should be auth_url. Please see the highlighted error below.

Regards,
Navdeep

From: Guru Desai 
Sent: 06 March 2018 16:41
To: OpenStack Mailing List 
Subject: [Openstack] [Pike] [Nova] Error : ERROR : MissingRequiredOptions: Auth 
plugin requires parameters which were not given: auth_url

Hello,

I am setting up pike version and facing an issue with nova on controller. I see 
below errors continouolsy in nova-api.log. But i have given the auth parameters 
in the /etc/nova/nova.conf. I
am done installing keystone and glance, stuck here with nova. Modified the 
nova.conf as per the install guide. Please suggest as to what could be the 
issue..




[keystone_authtoken]


auth_uri = http://test_controller:5000
auth_uri = http://test_controller:35357
memcached_servers = test_controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = NOVA_PASS



Log



___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] [Pike] [Nova] Error : ERROR : MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url

2018-03-06 Thread Guru Desai
Hello,

I am setting up pike version and facing an issue with nova on controller. I
see below errors continouolsy in nova-api.log. But i have given the auth
parameters in the /etc/nova/nova.conf. I
am done installing keystone and glance, stuck here with nova. Modified the
nova.conf as per the install guide. Please suggest as to what could be the
issue..




[keystone_authtoken]


auth_uri = http://test_controller:5000
auth_uri = http://test_controller:35357
memcached_servers = test_controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = NOVA_PASS



Log

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Some questions about "Cinder Multi-Attach" in Openstack Queens

2018-03-06 Thread Arne Wiebalck
Multi-attach will not allow you to have a block device with a local file-system 
to be concurrently
accessed from multiple nodes. It is intended for HA scenarios where a second 
server can take
over a block device from another server. So, if you unmount on your first 
server, you can mount
on the second and you will see your file.

Arne

On 06 Mar 2018, at 09:53, 谭 明宵 
mailto:tanmingx...@outlook.com>> wrote:

I  installed the openstack queens use devstack. I want to test the "Cinder 
Multi-Attach" function

1. create a  multiattach volume
```
# cinder type-create multiattach
# cinder type-key multiattach set multiattach=" True"
#  cinder create 10 --name multiattach-volume --volume-type 
```
2. attache the volume to two instances
```
# nova volume-attach test01 
# nova volume-attach test02 
```
<7B194ED4-5D18-4FFA-9FF3-E54DB425E7E4.png>
3. mount the volume , create some file,but the file don't sync between the two 
instance,It seems that they are two independent volumes
<4DFCCC80-5132-4383-B986-726664E45EAF.png>

then test02 create a file,but i cannot find it in test01,The reverse is the 
same.



I think i have something wrong,the test like the "share storage"
What should the correct effect be like? thanks

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : 
openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

--
Arne Wiebalck
CERN IT

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Some questions about "Cinder Multi-Attach" in Openstack Queens

2018-03-06 Thread 谭 明宵

thanks a lot for your help

On 3/6/2018 17:47,Arne 
Wiebalck wrote:
Multi-attach will not allow you to have a block device with a local file-system 
to be concurrently
accessed from multiple nodes. It is intended for HA scenarios where a second 
server can take
over a block device from another server. So, if you unmount on your first 
server, you can mount
on the second and you will see your file.

Arne

On 06 Mar 2018, at 09:53, 谭 明宵 
mailto:tanmingx...@outlook.com>> wrote:

I  installed the openstack queens use devstack. I want to test the "Cinder 
Multi-Attach" function

1. create a  multiattach volume
```
# cinder type-create multiattach
# cinder type-key multiattach set multiattach=" True"
#  cinder create 10 --name multiattach-volume --volume-type 
```
2. attache the volume to two instances
```
# nova volume-attach test01 
# nova volume-attach test02 
```
<7B194ED4-5D18-4FFA-9FF3-E54DB425E7E4.png>
3. mount the volume , create some file,but the file don't sync between the two 
instance,It seems that they are two independent volumes
<4DFCCC80-5132-4383-B986-726664E45EAF.png>

then test02 create a file,but i cannot find it in test01,The reverse is the 
same.



I think i have something wrong,the test like the "share storage"
What should the correct effect be like? thanks

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : 
openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

--
Arne Wiebalck
CERN IT

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Some questions about "Cinder Multi-Attach" in Openstack Queens

2018-03-06 Thread Van Leeuwen, Robert
# I  installed the openstack queens use devstack. I want to test the "Cinder 
Multi-Attach" function
# 3. mount the volume , create some file,but the file don't sync between the 
two instance,It seems that they are two independent volumes

Did you unmount the filesystem on the first node before mounting it on the 
second node?
You cannot mount a filesystem on 2 nodes at the same time unless you are using 
a shared-disk filesystem. (e.g. something like gfs2 ).

Cheers,
Robert van Leeuwen
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Some questions about "Cinder Multi-Attach" in Openstack Queens

2018-03-06 Thread 谭 明宵
I  installed the openstack queens use devstack. I want to test the "Cinder 
Multi-Attach" function

1. create a  multiattach volume
```
# cinder type-create multiattach
# cinder type-key multiattach set multiattach=" True"
#  cinder create 10 --name multiattach-volume --volume-type 
```
2. attache the volume to two instances
```
# nova volume-attach test01 
# nova volume-attach test02 
```
[cid:DCD455A4-5EDA-44C0-9DA9-877CCF9C679E@mailmaster]
3. mount the volume , create some file,but the file don't sync between the two 
instance,It seems that they are two independent volumes
[cid:99ABEDC0-DE62-497F-931B-8F5276ADD2E1@mailmaster]

then test02 create a file,but i cannot find it in test01,The reverse is the 
same.

[cid:C2C7FD23-2B2B-4060-9155-C9AC30953580@mailmaster]

I think i have something wrong,the test like the "share storage"
What should the correct effect be like? thanks

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack