Earlier  
Posted Nick Remark
#openstack-nova - 2017-05-19
01:22:00 fishbone_ mriedem: I didn't think so either, however; I don't get the error when syncing the database, that seems to work with no errors. I get it when upgrading nova-compute on the compute nodes
01:22:34 mriedem why are you running nova-manage db sync on the compute nodes?
01:23:33 mriedem also fyi https://docs.openstack.org/developer/nova/cells.html#upgrade-minimal
01:24:02 mriedem what you're hitting is this https://github.com/openstack/nova/blob/master/nova/cmd/manage.py#L649
01:24:11 mriedem when it's trying to automatically sync the nova_cell0 database
01:25:16 mriedem anyway, you shouldn't need to sync the db from the compute nodes
01:28:51 fishbone_ mriedem, are you saying the error can be ignored, I don't think I am able to compete the nova-compute installation because of this error
01:29:16 fishbone_ mriedem: Is there a way to suppress that sync process?
01:29:40 mriedem i'm saying you don't need to sync the database from a compute node
01:29:49 mriedem the compute node doesn't have direct access to the database
01:29:52 mriedem or shouldn't
01:33:30 fishbone_ mriedem: Do you know why I may be getting that error on a compute host then?
01:34:04 fishbone_ mriedem: I get the error even if I do a fresh install of nova-compute after removing old cofig files
01:34:10 fishbone_ config*
01:34:52 mriedem i assume because the compute host doesn't have direct access to the cell0 database
01:35:06 mriedem but it's weird that the sync on the nova (cell) database would not fail in that case
01:35:45 mriedem https://docs.openstack.org/ocata/install-guide-ubuntu/nova-compute-install.html doesn't say anything about running db sync from the compute host though
01:35:53 mriedem that's all done on the controller https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html
01:37:22 fishbone_ mriedem: Yes it is strange, I get the error at the apt install nova-compute" step
01:37:43 mriedem hmm, so that's something baked into the package then?
01:37:53 mriedem like a post-install script as part of the package?
01:38:07 mriedem are you using ubuntu packages?
01:38:22 fishbone_ mriedem: yes, I am using the ubuntu repositories
01:39:14 openstackgerrit Jianghua Wang proposed openstack/nova master: Skip policy rules on attach_network for none network allocation https://review.openstack.org/465903
01:40:39 mriedem fishbone_: ok well those seem wrong, i'd probably report a bug against the ubuntu nova package LP site
01:41:01 mriedem fishbone_: on your control node, if you run "nova-manage cell_v2 list_cells" do you see 2 listed?
01:41:38 mriedem https://launchpad.net/ubuntu/+source/nova for reporting bugs against ubuntu nova packages btw
01:42:37 mriedem if list_cells shows 2 cells then i think you're good to go
01:46:56 fishbone_ mriedem: Yes it shows properly, however; the compute nodes are unable to install the appropriate packages
01:47:00 mriedem mdbooth: lyarwood: btw, hooray for completely differnt code paths for attaching a volume during boot and after boot https://review.openstack.org/#/c/443951/18/nova/virt/libvirt/volume/vrtshyperscale.py@44
01:47:10 fishbone_ mriedem: they fail with the error
01:47:49 mriedem fishbone_: is there a way to ignore post-install scripts, or force the install? sorry but i haven't heard of this one, definitely sounds like a bug in the assumptions the packages are making
01:48:51 mriedem fishbone_: also https://ask.openstack.org/en/question/103660/ocata-install-nova-error/
01:49:26 fishbone_ mriedem: I haven't tried that, I will, and thanks for all your help, I'll update soon
01:50:14 mriedem fishbone_: see if you have a nova_api_cell0 or nova_cell0 db
01:50:28 mriedem you can also see that via nova-manage cell_v2 list_cells --verbose
01:50:43 mriedem sounds like some people in that forum thread hit some issues with mismatched db names and the connection URL in the api db
01:50:44 mriedem for cell0
01:50:49 fishbone_ mriedem: I saw that article, it didn't seem to work for me, I have the nova_cell0 database
01:51:08 mriedem is that what's in the database_connection for the cell0 cell_mapping in the nova_api database though?
01:51:24 fishbone_ mriedem: I followed the docs, which say that it should be named as nova_cell0
01:51:40 mriedem i'd check your db :)
01:51:46 fishbone_ mriedem: I cross referenced that in those 2 databases and they do match
01:51:51 mriedem ok
01:56:08 openstackgerrit guang-yee proposed openstack/nova master: make sure to rebuild claim on recreate https://review.openstack.org/466143
02:03:29 openstackgerrit Wang Shilong proposed openstack/nova master: Lustre support https://review.openstack.org/446288
02:15:22 openstackgerrit Yongfeng Du proposed openstack/nova master: Update the file for IPv4-only or IPv6-only network https://review.openstack.org/465891
02:16:10 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Add tags fields for server list detail/show api-ref https://review.openstack.org/465842
02:22:07 fishbone_ mriedem: it seems to be an issue with the compute hosts themselves, I tried a fresh install with a host that was not already in the nova database and received no errors duing installation
02:22:42 fishbone_ mriedem: It must be specific to upgrading a pre-integrated hypervisor
02:44:43 fishbone_ mriedem: it seems simply adding the database directives in the config files allowed the install to go through, perhaps due to the hypervisors being from prior to the cell creation
02:54:53 openstackgerrit Naichuan Sun proposed openstack/nova master: xenapi: cached images should be cleaned up by time https://review.openstack.org/465954
02:55:06 mriedem fishbone_: hmm, not sure
02:55:17 mriedem but cool that you found a workaround
02:55:28 mriedem still, i'd open a bug against the ubuntu packagers,
02:55:34 mriedem the nova-compute package shouldn't be running nova-manage db sync
02:57:20 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Should not allow security group from other project pass API layer check when booting https://review.openstack.org/466160
03:08:06 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Add tags fields for server list detail/show api-ref https://review.openstack.org/465842
03:09:45 fishbone_ mriedem: yep, it worked after that. I agree with you, I will go and open a bug for this
03:12:32 openstackgerrit falseuser proposed openstack/nova master: [BugFix] Include the video ram when comparing the difference of two flavors https://review.openstack.org/460388
03:30:12 openstackgerrit Tao Li proposed openstack/nova master: Fix the display of updated_at time when using memcache driver. https://review.openstack.org/414463
03:36:00 openstackgerrit Tao Li proposed openstack/nova master: Change log level from ERROR to DEBUG for NotImplemented https://review.openstack.org/465797
03:48:49 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Add tags fields for server list detail/show api-ref https://review.openstack.org/465842
03:59:23 openstackgerrit Tao Li proposed openstack/nova master: Fix the display of updated_at time when using memcache driver. https://review.openstack.org/414463
05:14:52 openstackgerrit Jianghua Wang proposed openstack/nova master: xenapi: cached images should be cleaned up by time https://review.openstack.org/465954
05:26:43 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Add tags fields for server list detail/show api-ref https://review.openstack.org/465842
05:47:02 openstackgerrit Artom Lifshitz proposed openstack/nova master: API support for tagged device attachment https://review.openstack.org/376021
06:29:50 openstackgerrit Takashi NATSUME proposed openstack/nova master: Use PCIAddressField in oslo.versionedobjects https://review.openstack.org/466201
06:46:48 openstackgerrit Huan Xie proposed openstack/nova master: WIP: XenAPI use os-xenapi v2 in nova https://review.openstack.org/453493
06:50:55 openstackgerrit Wang Shilong proposed openstack/nova master: Lustre support https://review.openstack.org/446288
07:04:41 openstackgerrit Huan Xie proposed openstack/nova master: XenAPI: remove hardcode dom0 plugin function mock https://review.openstack.org/466207
07:08:25 openstackgerrit Huan Xie proposed openstack/nova master: XenAPI: remove hardcode dom0 plugin version in unit test https://review.openstack.org/466207
07:24:07 openstackgerrit Takashi NATSUME proposed openstack/nova master: List/show all server migration types (2/2) https://review.openstack.org/459483
07:32:49 openstackgerrit Takashi NATSUME proposed openstack/nova master: List/show all server migration types (2/2) https://review.openstack.org/459483
07:51:33 openstackgerrit Daniel Pawlik proposed openstack/nova master: Added kvm_hidden feature https://review.openstack.org/459753
07:51:34 dpawlik Morning
08:06:06 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/nova master: Read Neutron port 'binding_profile' during boot https://review.openstack.org/449257
08:08:35 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/nova master: Add Neutron port capabilities to devspec in request https://review.openstack.org/451777
08:24:30 openstackgerrit Alex Szarka proposed openstack/nova master: Transform instance.exists notification https://review.openstack.org/403660
08:26:06 openstackgerrit Alex Szarka proposed openstack/nova master: Transform instance.exists notification https://review.openstack.org/403660
08:26:47 openstackgerrit Alex Szarka proposed openstack/nova master: Transform instance.exists notification https://review.openstack.org/403660
08:32:28 openstackgerrit Alex Szarka proposed openstack/nova master: Refactor init_instance:resume_guests_state https://review.openstack.org/349582
08:38:50 openstackgerrit Alex Szarka proposed openstack/nova master: Transform instance.exists notification https://review.openstack.org/403660
08:43:33 openstackgerrit Alex Szarka proposed openstack/nova master: Refactor instance-exists comment and test https://review.openstack.org/462738
08:47:11 sfinucan mdbooth: Seeing as you reviewed the original patch, does this patch follow-up make sense? https://review.openstack.org/#/c/466088/
09:03:54 sfinucan ralonsoh: You about?
09:04:21 ralonsoh sfinucan: hi!
09:04:32 sfinucan ralonsoh: On https://review.openstack.org/#/c/449257/ - that usually happens when you accidentally re-upload an old revision
09:05:02 sfinucan I would imagine you've reuploaded PS18 when you reuploaded the following patch
09:05:36 ralonsoh sfinucan: hmmm, I'll check that, but I'm pretty sure I didn't do this
09:05:50 ralonsoh sfinucan: but thank you for your explanation!
09:06:02 sfinucan fwiw, you can fix it by downloading the last correct PS from the first patch (probably 20, so 'git review -d 449257,20')
09:06:19 ralonsoh sfinucan: thanks!
09:06:27 sfinucan ralonsoh: np ;)
09:07:59 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/nova master: Read Neutron port 'binding_profile' during boot https://review.openstack.org/449257
09:25:14 openstackgerrit sahid proposed openstack/nova master: libvirt: update the logic to configure volume with scsi controller https://review.openstack.org/459741
09:25:14 openstackgerrit sahid proposed openstack/nova master: libvirt: update logic to configure device for scsi controller https://review.openstack.org/459740
09:25:15 openstackgerrit sahid proposed openstack/nova master: libvirt: update LibvirtConfigGuestDeviceAddress to provide XML https://review.openstack.org/459737
09:25:15 openstackgerrit sahid proposed openstack/nova master: libvirt: rearange how scsi controller is defined https://review.openstack.org/459739
09:25:16 openstackgerrit sahid proposed openstack/nova master: libvirt: set full description of the controller used by disk https://review.openstack.org/459738

Earlier   Later