aodh-dbsync: newton->ocata upgrade fails

Bug #1667334 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Aodh
Fix Released
Undecided
Unassigned
Ubuntu Cloud Archive
Fix Released
High
Unassigned
aodh (Ubuntu)
Fix Released
High
Unassigned

Bug Description

the 367aadf5485f_precisetimestamp_to_datetime migration fails with:

ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'aodh.alarm_change' doesn't exist") [SQL: u'ALTER TABLE alarm_change ADD COLUMN timestamp_ts DATETIME(6)']

needs pick to stable/ocata for:

  https://github.com/openstack/aodh/commit/23552b1c0769a56e8541221965eaf09efefff400

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: aodh-api 4.0.0-0ubuntu1~cloud0 [origin: Canonical]
ProcVersionSignature: User Name 4.4.0-64.85-generic 4.4.44
Uname: Linux 4.4.0-64-generic x86_64
NonfreeKernelModules: xfs veth xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc ppdev kvm_intel kvm irqbypass joydev input_leds parport_pc mac_hid serio_raw parport i2c_piix4 8250_fintek ib_iser rdma_cm iw_cm ib_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi autofs4 btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear cirrus ttm crct10dif_pclmul drm_kms_helper crc32_pclmul ghash_clmulni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper drm cryptd psmouse pata_acpi floppy
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CrashDB:
 {
                "impl": "launchpad",
                "project": "cloud-archive",
                "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
             }
Date: Thu Feb 23 14:58:01 2017
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: aodh
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
James Page (james-page) wrote :
Changed in aodh (Ubuntu):
importance: Undecided → High
status: New → Triaged
Changed in cloud-archive:
status: New → Triaged
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to aodh (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/437417

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aodh - 4.0.0-0ubuntu2

---------------
aodh (4.0.0-0ubuntu2) zesty; urgency=medium

  * debian/patches/fix-migrate-alarm-history.patch: Fix migration
    to use alarm_history. (LP: #1667334)

 -- Chuck Short <email address hidden> Thu, 23 Feb 2017 10:15:54 -0500

Changed in aodh (Ubuntu):
status: Triaged → Fix Released
James Page (james-page)
Changed in cloud-archive:
status: Triaged → Fix Committed
Revision history for this message
James Page (james-page) wrote :

This bug was fixed in the package aodh - 4.0.0-0ubuntu2~cloud0
---------------

 aodh (4.0.0-0ubuntu2~cloud0) xenial-ocata; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 aodh (4.0.0-0ubuntu2) zesty; urgency=medium
 .
   * debian/patches/fix-migrate-alarm-history.patch: Fix migration
     to use alarm_history. (LP: #1667334)

Changed in cloud-archive:
status: Fix Committed → Fix Released
gordon chung (chungg)
Changed in aodh:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.