본문 바로가기
Server/OpenStack

openstack router 생성 또는 설정 작업 시 ResourceNotFound: 404 error

by 얽디 2023. 5. 23.
# openstack router create router
ResourceNotFound: 404: Client Error for url: [<http://controller:9696/v2.0/routers>](<http://controller:9696/v2.0/routers>), The resource could not be found.

provider 생성 후 selfservice network 구성 중 router 생성하려니 해당 404에러가 난다...

selfservice 관련 openstack doc페이지가 두군데 있다.

1) 초기설치단계 페이지 https://docs.openstack.org/neutron/yoga/install/controller-install-option2-ubuntu.html

2) 네트워크 생성 페이지 https://docs.openstack.org/install-guide/launch-instance-networks-selfservice.html

 

provider 설정 후 설치완료했을 때 해당 페이지를 다시 초기설치단계 페이지에 가서 설정 추가 해야한다

 

설정 추가한 파일들 (위 링크 참고하여 추가.)

/etc/neutron/l3_agent.ini

/etc/neutron/neutron.conf

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

/etc/neutron/plugins/ml2/linuxbridge_agent.ini

/etc/neutron/l3_agent.ini

 

 

#openstack router create router 다시 시도하니..
+-------------------------+--------------------------------------+
| Field                   | Value                                |
+-------------------------+--------------------------------------+
| admin_state_up          | UP                                   |
| availability_zone_hints |                                      |
| availability_zones      |                                      |
| created_at              | 2023-05-23T05:40:39Z                 |
| description             |                                      |
| external_gateway_info   | null                                 |
| flavor_id               | None                                 |
| id                      | 8707ada4-40d8-484c-9966-96950b196598 |
| name                    | router                               |
| project_id              | 9c7969b9c292450e86f0f8eb1bc941a1     |
| revision_number         | 1                                    |
| routes                  |                                      |
| status                  | ACTIVE                               |
| tags                    |                                      |
| updated_at              | 2023-05-23T05:40:39Z                 |
+-------------------------+--------------------------------------+
정상적으로 대엇다...^^

댓글