Resource CREATE failed: NeutronClientException: resources.etc d_monitor: 404 Not Found

Bug #1485320 reported by Gavin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Magnum
Confirmed
Low
Unassigned

Bug Description

when create a bay it show failed
magnum bay-show testbay
it shows
status | CREATE_FAILED |
| uuid | cfc0e4d4-2431-4c66-9b7b-cc28c020c81c |
| status_reason | Resource CREATE failed: NeutronClientException: resources.etc d_monitor: 404 Not Found |
| | |
| | The resource could not be found. |

i don't konw how to modify it
anybody can help me thank you

Revision history for this message
Gavin (605661532-w) wrote :

magnum-conductor shows
2015-08-17 16:01:43.245 16165 WARNING magnum.service.periodic [req-29957bb7-119a-46fd-9f35-f91b503a4845 - - - - -] Ignore error [ERROR: You are not authorized to complete this action.] when syncing up bay status.
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic Traceback (most recent call last):
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic File "/opt/stack/magnum/magnum/service/periodic.py", line 67, in sync_bay_status
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic sid_to_stack_mapping = {s.id: s for s in stacks}
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic File "/opt/stack/magnum/magnum/service/periodic.py", line 67, in <dictcomp>
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic sid_to_stack_mapping = {s.id: s for s in stacks}
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic File "/usr/local/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 100, in paginate
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic stacks = self._list(url, 'stacks')
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic File "/usr/local/lib/python2.7/dist-packages/heatclient/openstack/common/apiclient/base.py", line 131, in _list
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic body = self.client.get(url).json()
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 291, in get
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic return self.client_request("GET", url, **kwargs)
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 284, in client_request
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic resp, body = self.json_request(method, url, **kwargs)
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 265, in json_request
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic resp = self._http_request(url, method, **kwargs)
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 220, in _http_request
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic raise exc.from_response(resp)
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic HTTPForbidden: ERROR: You are not authorized to complete this action.
2015-08-17 16:01:43.245 16165 ERROR magnum.service.periodic
2015-08-17 16:01:43.246 16165 DEBUG oslo_service.loopingcall [-] Dynamic interval looping call <bound method MagnumPeriodicTasks.run_periodic_tasks of <magnum.service.periodic.MagnumPeriodicTasks object at 0x7f751f6c06d0>> sleeping for 60.00 seconds _run_loop /usr/local/lib/python2.7/dist-packages/oslo_service/loopingcall.py:117

Revision history for this message
Madhuri Kumari (madhuri-rai07) wrote :

Hi Gavin,

Are you planning to fix this bug?

Thanks,
Madhuri

Changed in magnum:
status: New → Confirmed
Revision history for this message
Gavin (605661532-w) wrote :

Hi Madhuri,

yeah, i want to experience container service in the openstack

Revision history for this message
hongbin (hongbin034) wrote :

Gavin,

Could you run this command for me: "neutron lb-pool-list". If it fails, you try unstack and stack again.

Revision history for this message
Gavin (605661532-w) wrote :

hongbin,
run the command it shows "404 Not Found The resource could not be found." and after run stack it still shows that

Revision history for this message
hongbin (hongbin034) wrote :

Gavin,

It seems you haven't enabled load-balancer-as-a-service. Could you verify the following:

* Do you pull this patch https://github.com/openstack/magnum/commit/e0a65684e382d8946af8bd04e159aa00166aaa9d ?
* Run screen -r stack, do you see a tab called 'q-lbaas'.
* Do delete and re-create the bay give you the same error?

Revision history for this message
Gavin (605661532-w) wrote :

hongbin,

I add the "enable_service q-lbaas" in the local.conf according https://github.com/openstack/magnum/commit/e0a65684e382d8946af8bd04e159aa00166aaa9d , after stack i run "neutron lb-pool-list" it shows a blank line.
when i run "magnum-db-manage upgrade" it shows
Traceback (most recent call last):
  File "/usr/local/bin/magnum-db-manage", line 10, in <module>
    sys.exit(main())
  File "/opt/stack/magnum/magnum/cmd/db_manage.py", line 91, in main
    CONF.command.func(get_manager())
  File "/opt/stack/magnum/magnum/cmd/db_manage.py", line 33, in do_upgrade
    mgr.upgrade(CONF.command.revision)
  File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/migration_cli/manager.py", line 58, in upgrade
    rev_in_plugins = [p.has_revision(revision) for p in self._plugins]
  File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/migration_cli/ext_alembic.py", line 98, in has_revision
    self.config.get_main_option('alembic_repo_path'))
  File "/usr/local/lib/python2.7/dist-packages/alembic/script/base.py", line 54, in __init__
    if not os.access(dir, os.F_OK):
TypeError: coercing to Unicode: need string or buffer, NoneType found.

and my local.conf is
[[local|localrc]]
# Modify to your environment
FLOATING_RANGE=xxx
PUBLIC_NETWORK_GATEWAY=xxx
PUBLIC_INTERFACE=eth0
HOST_IP=xxx
# Credentials
ADMIN_PASSWORD=password
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password

enable_service rabbit

# Ensure we are using neutron networking rather than nova networking
# (Neutron is enabled by default since Kilo)
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service q-lbaas
enable_service neutron

# Enable heat services
enable_service h-eng
enable_service h-api
enable_service h-api-cfn
enable_service h-api-cw

LOGFILE=$HOME/log/devstack.log
SCREEN_LOGDIR=$HOME/log/logs

Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
Changed in magnum:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.