On 4 May 2017 at 20:33, Petr Kovar <email address hidden> wrote:
> I think this needs to be backported to Ocata, too?
>
>
Yep, I think you're right. I'll cherry-pick it.
Thanks!
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1683585
>
> Title:
> Placement endpoint configuration incorrect as written
>
> Status in openstack-manuals:
> Fix Released
>
> Bug description:
> Installed on vanilla ubuntu 16.04 LTS, using ocata cloud repo.
>
> - [X] This doc is inaccurate in this way: ______
>
> The guide indicates that endpoints should be created without
> specifying the port number, as so:
>
> openstack endpoint create --region RegionOne placement public
> http://controller/placement
> openstack endpoint create --region RegionOne placement admin
> http://controller/placement
> openstack endpoint create --region RegionOne placement internal
> http://controller/placement
>
> however, this does not work, and produces error messages in the nova
> logs of the compute nodes containing messages like:
>
> ERROR nova.scheduler.client.report [req-7aec8f56-4d2d-4e6f-8cb8-10af0aa06c99
> - -] Failed to create resource provider record in placement API for UUID
> 04b70101-7ec5-4078-b500-203c5560abf9. Got 404: <!DOCTYPE HTML PUBLIC
> "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>404 Not Found</title>
> </head><body>
> <h1>Not Found</h1>
> <p>The requested URL /placement/resource_providers was not found on
> this server.</p>
> <hr>
> <address>Apache/2.4.18 (Ubuntu) Server at 10.23.124.235 Port
> 80</address>
> </body></html>
>
> - [ ] This is a doc addition request.
> - [X] I have a fix to the document that I can paste below including
> example: input and output.
>
> Looking at /etc/apache2/sites-enabled/nova-placement-api.conf, I could
> clearly see that the placement api is not on port 80, but rather on
> port 8778. To fix, I went back and deleted the incorrect endpoints
> and re-created them like so:
>
> openstack endpoint create --region RegionOne placement public
> http://controller:8778
> openstack endpoint create --region RegionOne placement admin
> http://controller:8778
> openstack endpoint create --region RegionOne placement internal
> http://controller:8778
>
> After restarting the services, now the compute node could successfully
> register data with the controller and I could successfully launch
> instances.
>
> -----------------------------------
> Release: 15.0.0 on 2017-04-14 06:14
> SHA: c73899569e19fc809f56f6d58235f339c30bda2a
> Source: https://git.openstack.org/cgit/openstack/openstack-
> manuals/tree/doc/install-guide/source/nova-controller-install.rst
> URL: https://docs.openstack.org/ocata/install-guide-ubuntu/
> nova-controller-install.html
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openstack-manuals/+bug/1683585/+subscriptions
>
On 4 May 2017 at 20:33, Petr Kovar <email address hidden> wrote:
> I think this needs to be backported to Ocata, too?
>
>
Yep, I think you're right. I'll cherry-pick it.
Thanks!
> -- /bugs.launchpad .net/bugs/ 1683585 controller/ placement controller/ placement controller/ placement client. report [req-7aec8f56- 4d2d-4e6f- 8cb8-10af0aa06c 99 7ec5-4078- b500-203c5560ab f9. Got 404: <!DOCTYPE HTML PUBLIC resource_ providers was not found on Apache/ 2.4.18 (Ubuntu) Server at 10.23.124.235 Port sites-enabled/ nova-placement- api.conf, I could controller: 8778 controller: 8778 controller: 8778 ------- ------- ------- ------- 09f56f6d58235f3 39c30bda2a /git.openstack. org/cgit/ openstack/ openstack- tree/doc/ install- guide/source/ nova-controller -install. rst /docs.openstack .org/ocata/ install- guide-ubuntu/ -install. html /bugs.launchpad .net/openstack- manuals/ +bug/1683585/ +subscriptions
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Placement endpoint configuration incorrect as written
>
> Status in openstack-manuals:
> Fix Released
>
> Bug description:
> Installed on vanilla ubuntu 16.04 LTS, using ocata cloud repo.
>
> - [X] This doc is inaccurate in this way: ______
>
> The guide indicates that endpoints should be created without
> specifying the port number, as so:
>
> openstack endpoint create --region RegionOne placement public
> http://
> openstack endpoint create --region RegionOne placement admin
> http://
> openstack endpoint create --region RegionOne placement internal
> http://
>
> however, this does not work, and produces error messages in the nova
> logs of the compute nodes containing messages like:
>
> ERROR nova.scheduler.
> - -] Failed to create resource provider record in placement API for UUID
> 04b70101-
> "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>404 Not Found</title>
> </head><body>
> <h1>Not Found</h1>
> <p>The requested URL /placement/
> this server.</p>
> <hr>
> <address>
> 80</address>
> </body></html>
>
> - [ ] This is a doc addition request.
> - [X] I have a fix to the document that I can paste below including
> example: input and output.
>
> Looking at /etc/apache2/
> clearly see that the placement api is not on port 80, but rather on
> port 8778. To fix, I went back and deleted the incorrect endpoints
> and re-created them like so:
>
> openstack endpoint create --region RegionOne placement public
> http://
> openstack endpoint create --region RegionOne placement admin
> http://
> openstack endpoint create --region RegionOne placement internal
> http://
>
> After restarting the services, now the compute node could successfully
> register data with the controller and I could successfully launch
> instances.
>
> -------
> Release: 15.0.0 on 2017-04-14 06:14
> SHA: c73899569e19fc8
> Source: https:/
> manuals/
> URL: https:/
> nova-controller
>
> To manage notifications about this bug go to:
> https:/
>