[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
** Changed in: nova/icehouse Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
** Changed in: nova/icehouse Status: New => Fix Committed ** Changed in: nova/icehouse Milestone: None => 2014.1.4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
** Also affects: nova/icehouse Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
Reviewed: https://review.openstack.org/124811 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=bfeae680bc0632e0129b647d45e4b80328a33535 Submitter: Jenkins Branch:stable/icehouse commit bfeae680bc0632e0129b647d45e4b80328a33535 Author: Liam Young Date: Tue Jul 22 16:25:00 2014 +0100 Fix CellStateManagerFile init to failure Currently, specifying a cells_config file in nova.conf causes CellStateManager to fail and in turn stops the nova-cells service from starting. The reason is that CellsManager creates an instance of CellStateManager with no arguments. CellStateManager __new__ runs and creates an instance of CellStateManagerFile which runs __new__ and __init__ with cell_state_cls and cells_config_path set. At this point __new__ returns CellStateManagerFile and the new instance's __init__ method is invoked (CellStateManagerFile.__init__) with the original arguments (there weren't any) which then results in: 2014-04-29 11:52:05.240 16759 TRACE nova self.state_manager = cell_state_manager() 2014-04-29 11:52:05.240 16759 TRACE nova TypeError: __init__() takes exactly 3 arguments (1 given) It seems reasonable for CellStateManagerFile to derive the cells_config_path info for itself so I have updated the code with that change and added unit tests to catch this bug and to check that the correct managers are still returned Closes-Bug: #1314677 (cherry picked from commit 695191fa89387d96e60120ff32965493c844e7f5) Conflicts: nova/tests/cells/test_cells_state_manager.py Change-Id: I9021640515142a3ca95c2d9e7b03e19b529bc175 ** Tags added: in-stable-icehouse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
This bug was fixed in the package nova - 1:2014.1.3-0ubuntu1 --- nova (1:2014.1.3-0ubuntu1) trusty; urgency=medium [ Liam Young ] * d/p/cells-json-store.patch: Fix issue with nova-cells failing when using JSON file to store cell information (LP: #1314677). [ Corey Bryant ] * Resynchronize with stable/icehouse (a058646) (LP: #1377136): - [1a95c95] Adds tests for Hyper-V VM Utils - [bb47d55] Removes unnecessary instructions in test_hypervapi - [4f41d37] Fixes a Hyper-V list_instances localization issue - [9015410] Adds list_instance_uuids to the Hyper-V driver - [3371ad8] Add _wrap_db_error() support to Session.commit() - [dfb0e0f] Neutron: Atomic update of instance info cache - [bce481c] Ensure info cache updates don't overwhelm cells - [f58d95c] Sync process and str utils from oslo - [4e6371b] remove test_multiprocess_api - [7e09173] Fixes Hyper-V agent force_hyperv_utils_v1 flag issue - [7523ab4] Fix attaching config drive issue on Hyper-V when migrate instances - [74e0ba7] Fix live-migration failure in FC multipath case - [b61aa4d] libvirt: Save device_path in connection_info when booting from volume - [f93b8ee] Made unassigned networks visible in flat networking - [82cc3be] Do not fail cell's instance deletion, if it's missing info_cache - [d72c0a4] Fixes Hyper-V boot from volume root device issue - [0d3dad7] Fixes Hyper-V resize down exception - [5d5970a] db: Add @_retry_on_deadlock to service_update() - [9596f52] Add Hyper-V driver in the "compute_driver" option description - [4a8d6ca] Block sqlalchemy migrate 0.9.2 as it breaks all of nova - [311ab57] Move the error check for "brctl addif" - [df09c2a] Fix rootwrap for non openstack.org iqn's - [1613cd99] Fix instance boot when Ceph is used for ephemeral storage - [4bc680f] Make floatingip-ip-delete atomic with neutron - [0d69163] Fix race condition with vif plugging in finish migrate - [520aa4c] libvirt: Use VIR_DOMAIN_AFFECT_LIVE for paused instances - [3c34e37] add repr for event objects - [1b7ab22] make lifecycle event logs more clear - [e1d6e18] Catch missing Glance image attrs with None - [b591389] Update block_device_info to contain swap and ephemeral disks - [2155188] Adds get_instance_disk_info to compute drivers - [87f842d] Fixes Hyper-V vm state issue - [1106ef2] Fix expected error details from jsonschema - [e5e6bc7] Include next link when default limit is reached - [526853e] Fix FloatingIP.save() passing FixedIP object to sqlalchemy - [4e1e217] Read deleted instances during lifecycle events - [d8b9ba5] Add a retry_on_deadlock to reservations_expire - [b53adea] Add expire reservations in backport position. - [e874ee2] Fixes Hyper-V SCSI slot selection - [471e644] VMware: do not cache image when root_gb is 0 - [825cfe4] Fix _parse_datetime in simple tenant usage extension - [073ee06] Avoid traceback logs from simple tenant usage extension - [9447203] replace NovaException with VirtualInterfaceCreate when neutron fails - [6b7cb1a] libvirt: convert cpu features attribute from list to a set - [7ca83e8] Delete image when backup operation failed on snapshot step - [82a13b3] VM in rescue state must have a restricted set of actions - [e7d2087] shelve doesn't work on nova-cells environment - [aeb71a8] libvirt: return the correct instance path while cleanup_resize - [cce6d22] Fix nova image-show with queued image - [aff80d5] _translate_from_glance() can cause an unnecessary HTTP request - [a058646] Loosen import_exceptions to cover all of gettextutils * d/p/libvirt-convert-cpu-features-attribute-from-list-to-.patch: Dropped. Code has been fixed upstream. * d/p/libvirt-Handle-unsupported-host-capabilities.patch: Rebased. -- Chuck ShortMon, 06 Oct 2014 09:24:45 -0400 ** Changed in: nova (Ubuntu Trusty) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
** Changed in: nova Milestone: juno-3 => 2014.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
I've tested with nova-cells 1:2014.1.3-0ubuntu1 and this fixes the problem ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
Hello Liam, or anyone else affected, Accepted nova into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/nova/1:2014.1.3-0ubuntu1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: nova (Ubuntu) Status: New => Fix Released ** Changed in: nova (Ubuntu Trusty) Status: New => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
** Branch linked: lp:~ubuntu-server-dev/nova/icehouse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
** Branch linked: lp:~gnuoy/nova/bug1314677 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
The attachment "trusty-ubuntu1.1-ubuntu1.2.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
debdiff nova_2014.1.2-0ubuntu1.1.dsc nova_2014.1.2-0ubuntu1.2.dsc ** Patch added: "trusty-ubuntu1.1-ubuntu1.2.debdiff" https://bugs.launchpad.net/nova/+bug/1314677/+attachment/4209003/+files/trusty-ubuntu1.1-ubuntu1.2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
** Changed in: nova (Ubuntu) Assignee: (unassigned) => Liam Young (gnuoy) ** Changed in: nova (Ubuntu Trusty) Assignee: (unassigned) => Liam Young (gnuoy) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
** Also affects: nova (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314677] Re: nova-cells fails when using JSON file to store cell information
** Also affects: nova (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314677 Title: nova-cells fails when using JSON file to store cell information To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1314677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs