| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2017-03-20 | |||
| 19:20:03 | jaypipes | do not paste entire log. | |
| 19:20:08 | jaypipes | use paste.openstack.org | |
| 19:21:17 | wally | here is it | |
| 19:21:18 | wally | http://paste.openstack.org/show/603483/ | |
| 19:21:32 | wally | @jaypipes, could you please help | |
| 19:21:58 | wally | i followed this doc to do https://ask.openstack.org/en/question/102256/how-to-configure-placement-service-for-compute-node-on-ocata/ | |
| 19:22:33 | mriedem | jroll: what do people use for ironic cli? osc or ironicclient? | |
| 19:22:39 | jroll | mriedem: yes | |
| 19:23:01 | jroll | mriedem: pip install python-ironicclient gets you ironic cli and the osc plugin | |
| 19:23:17 | jroll | we're deprecating the former soon(TM) | |
| 19:23:25 | jaypipes | wally: can you hit http://10.10.10.11:8778 from your compute node? | |
| 19:23:48 | wally | one sec | |
| 19:23:58 | mriedem | jroll: ok | |
| 19:24:48 | wally | what do u mean hit http://10.10.10.11:8778 | |
| 19:24:53 | wally | i can ping 10.10.10.11 | |
| 19:25:48 | wally | in the compute node, the nova-compute.log show The placement API endpoint not found. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading. | |
| 19:26:46 | wally | and could you please check this http://paste.openstack.org/show/603484/ | |
| 19:26:50 | mriedem | wally: hit == curl request | |
| 19:26:58 | wally | one sec | |
| 19:27:11 | mriedem | if nova.conf is cofigured properly on the compute node, but it's not trying the endpoint again, try restarting n-cpu | |
| 19:27:14 | mriedem | the service | |
| 19:27:37 | mriedem | although it should try everytime, and only log once every 10 minutes if it can't | |
| 19:28:14 | mriedem | also https://review.openstack.org/#/c/438328/ | |
| 19:28:30 | wally | root@compute1:~# curl http://10.10.10.11:8778 curl: (7) Failed to connect to 10.10.10.11 port 8778: Connection refused | |
| 19:28:34 | wally | not working | |
| 19:28:52 | mriedem | see Petr's last comment in https://review.openstack.org/#/c/438328/ | |
| 19:29:11 | openstack | bugzilla.redhat.com bug 1430540 in openstack-nova "[Ocata] openstack-nova-placement-api-15.0.0-1.el7.noarch missing <Directory> parameter" [Unspecified,New] - Assigned to nlevinki | |
| 19:29:11 | mriedem | https://bugzilla.redhat.com/show_bug.cgi?id=1430540#c0 | |
| 19:30:12 | wally | so this is a bug? | |
| 19:30:24 | wally | but i use Ubuntu, is different with centos | |
| 19:30:44 | mriedem | i don't know if there are problems with the ubuntu packages | |
| 19:31:05 | mriedem | you could try what's specified in that bug and see if it fixes your issue | |
| 19:31:17 | mriedem | and if so, then yeah it's probably a packaging bug in ubuntu if you're getting the placement code from them | |
| 19:31:56 | wally | but anyone install the Ocata with ubuntu successfully before? | |
| 19:32:23 | mriedem | i'd check the comments backward from the end of that docs patch | |
| 19:32:30 | mriedem | where people are testing out the install guide | |
| 19:33:14 | wally | ...so ... | |
| 19:33:24 | wally | not working on Ubuntu? | |
| 19:33:41 | mriedem | "(2:30:44 PM) mriedem: i don't know if there are problems with the ubuntu packages" | |
| 19:33:46 | openstackgerrit | Roman Dobosz proposed openstack/nova-specs master: FPGA resource use cases https://review.openstack.org/318047 | |
| 19:33:59 | mriedem | this isn't the nova ubuntu packaging channel | |
| 19:34:39 | mriedem | coreycb: do you do ubuntu packaging for nova stuff? | |
| 19:35:06 | openstackgerrit | Matt Riedemann proposed openstack/python-novaclient master: Remove deprecated baremetal CLIs and APIs https://review.openstack.org/447657 | |
| 19:35:08 | mriedem | jroll: just for you ^ | |
| 19:35:13 | wally | yesh i use apt install nova-placement-api | |
| 19:35:47 | openstackgerrit | Claudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages https://review.openstack.org/447505 | |
| 19:36:01 | coreycb | mriedem, hi, yes | |
| 19:36:09 | mriedem | EmilienM: package mirror issue here? http://logs.openstack.org/22/447522/1/check-tripleo/gate-tripleo-ci-centos-7-ovb-nonha/b8990d9/console.html | |
| 19:36:23 | mriedem | coreycb: are you getting reports of packaging issues with the placement API in ocata? | |
| 19:36:35 | coreycb | mriedem, no, not yet | |
| 19:36:41 | openstack | bugzilla.redhat.com bug 1430540 in openstack-nova "[Ocata] openstack-nova-placement-api-15.0.0-1.el7.noarch missing <Directory> parameter" [Unspecified,New] - Assigned to nlevinki | |
| 19:36:41 | mriedem | like https://bugzilla.redhat.com/show_bug.cgi?id=1430540#c0 | |
| 19:37:29 | mriedem | wally: what does your httpd conf look like for the placement service? | |
| 19:37:39 | wally | one set | |
| 19:38:32 | wally | please see here | |
| 19:38:33 | wally | http://paste.openstack.org/show/603485/ | |
| 19:38:47 | wally | root@controller:/etc/apache2/sites-enabled# vim nova-placement-api.conf | |
| 19:39:10 | wally | this is my apache nova-placement-api.conf located here | |
| 19:39:20 | mriedem | coreycb: is that what you'd expect to see? | |
| 19:40:19 | wally | one question, i cannot do curl http://10.10.10.11:8778 on compute node, not working, but it work for other endpoint | |
| 19:40:20 | openstackgerrit | Anusha Unnam proposed openstack/nova master: Add description to policies to availability_zone https://review.openstack.org/440836 | |
| 19:40:27 | wally | curl http://10.10.10.11:8778 curl: (7) Failed to connect to 10.10.10.11 port 8778: Connection refused | |
| 19:40:29 | coreycb | wally, mriedem: that looks a little different from the site config we ship with the package | |
| 19:41:10 | coreycb | wally, mriedem: here's what the package defines, https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/nova/tree/debian/nova-placement-api.conf?h=stable/ocata | |
| 19:41:37 | wally | so i should use this one?> | |
| 19:41:51 | wally | the config, i modified a little bit myself, | |
| 19:42:35 | coreycb | wally, well it's the default shipped by the package so you can use that, or most deployment projects will likely modify that (ie. ansible, puppet, juju etc) | |
| 19:42:59 | wally | ok, let me try to use this default one and try again | |
| 19:43:05 | coreycb | wally, ok | |
| 19:43:20 | cdent | coreycb: as a somewhat related aside: I think the wsgi script should not be in /usr/bin and the Directory statement should not grant on /usr/bin, but whatever the wsgi script dir is. It is pbr that is in the habit of installing the wsgi script in /usr/bin or /usr/local/bin and that's probably bad. | |
| 19:43:36 | cdent | wally: make sure you restart your apache2, of course | |
| 19:43:57 | wally | this config is locate root@controller:/etc/apache2/sites-enabled# ls | |
| 19:43:58 | wally | right | |
| 19:44:27 | cdent | brb | |
| 19:44:45 | openstackgerrit | Anusha Unnam proposed openstack/nova master: Add description to volumes_attachments.py https://review.openstack.org/445252 | |
| 19:45:05 | openstackgerrit | Anusha Unnam proposed openstack/nova master: Add description to policies in volumes.py https://review.openstack.org/445637 | |
| 19:45:39 | EmilienM | mriedem: not mirror but building the rpm http://logs.openstack.org/22/447522/1/check-tripleo/gate-tripleo-ci-centos-7-ovb-nonha/b8990d9/console.html#_2017-03-20_19_03_26_926347 | |
| 19:45:45 | EmilienM | mriedem: I'm not sure about that one :/ | |
| 19:46:03 | EmilienM | mriedem: i'm looking into logs now | |
| 19:47:24 | wally | hi cdent , i have update the confi file could you please see here, | |
| 19:47:25 | wally | http://paste.openstack.org/show/603486/ | |
| 19:47:53 | wally | now i can get some error message when i run root@compute1:~# curl http://controller:8778 from compute node | |
| 19:48:15 | EmilienM | mriedem: http://paste.openstack.org/show/603487/ - I don't know why | |
| 19:48:17 | wally | maybe still the apache config file problem | |
| 19:48:30 | mriedem | wally: check the placement service logs | |
| 19:48:30 | EmilienM | mriedem: i'm poking packagers | |
| 19:50:18 | wally | i check the nova_placement_error.log | |
| 19:50:31 | wally | please see herer | |
| 19:50:32 | wally | http://paste.openstack.org/show/603488/ | |
| 19:52:17 | wally | thsi is my config file http://paste.openstack.org/show/603489/ | |
| 19:52:23 | mriedem | from signing_dir from nova.conf | |
| 19:52:54 | mriedem | you have signing_dir=/var/cache/nova but signing_dir is deprecated | |
| 19:53:03 | mriedem | and you don't have access to /var/cache/nova anyway | |
| 19:53:11 | mriedem | s/you/the user running the placement service/ | |
| 19:53:27 | wally | is this igning_dir=/var/cache/nova in the nova.conf | |
| 19:54:14 | openstackgerrit | Sarafraj Singh proposed openstack/nova-specs master: Spec to add per instance timeout for LM https://review.openstack.org/442809 | |
| 19:56:50 | coreycb | cdent, that's a good point, thanks. we'll take a look at changing that. | |
| 19:59:15 | rfolco | cdent, can you please see if all good for another +2 on https://review.openstack.org/#/c/416669/ please ? | |
| 19:59:38 | openstackgerrit | Anusha Unnam proposed openstack/nova master: Add descripiton to policies in virtual_interfaces.py https://review.openstack.org/445652 | |
| 20:01:50 | EmilienM | mriedem: nova Ron broke in RDO because a new rep related to tooz, we are working on it | |