Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #5080] add config dump in progress to programstatus table #1393

Closed
icinga-migration opened this issue Nov 15, 2013 · 7 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/5080

Created by mfriedrich on 2013-11-15 21:04:53 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2013-11-21 07:20:49 +00:00)
Target Version: 1.11
Last Update: 2014-12-08 14:38:18 +00:00 (in Redmine)


Changesets

2013-11-15 21:21:25 +00:00 by (unknown) 5145dbb

Add config dump in progress to program status table.

Refs #5080

2013-11-19 08:23:06 +00:00 by (unknown) ea590a3

Bump schema version.

Refs #5080

2013-11-19 11:37:06 +00:00 by (unknown) 10ed41e

Move programstatus update before prelaunch.

Refs #5080

2013-11-19 15:06:33 +00:00 by (unknown) 4711a60

Merge branch 'feature/ido-cfgdump-5080' into next

Fixes #5080

2014-01-25 17:23:16 +00:00 by (unknown) f5c0b76

Update Changelog.

Refs #4885
Refs #5080

2014-03-16 15:19:55 +00:00 by Tommi 760312d

idoutils: implement programmstatus progress update

this implements the missing programmstatus progress field update for oracle and fixes the corresponding build error

fixes #5776
refs #5080

2014-03-16 18:46:55 +00:00 by (unknown) 2fe245f

Update Changelog.

Refs #5080
Refs #5776
Refs #6777

Relations:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-11-15 21:31:27 +00:00

tty1

# while true; do echo `date +%s`; mysql icinga -e 'select i.instance_name, p.config_dump_in_progress from icinga_instances i join icinga_programstatus p on i.instance_id=p.instance_id'; sleep 1; done

1384550941
+---------------+-------------------------+
| instance_name | config_dump_in_progress |
+---------------+-------------------------+
| default       |                       1 |
+---------------+-------------------------+
1384550942
+---------------+-------------------------+
| instance_name | config_dump_in_progress |
+---------------+-------------------------+
| default       |                       1 |
+---------------+-------------------------+
1384550943
+---------------+-------------------------+
| instance_name | config_dump_in_progress |
+---------------+-------------------------+
| default       |                       1 |
+---------------+-------------------------+
1384550944
+---------------+-------------------------+
| instance_name | config_dump_in_progress |
+---------------+-------------------------+
| default       |                       0 |
+---------------+-------------------------+

tty2

# service ido2db restart ; service icinga restart

Nov 15 22:29:03 imagine ido2db: Config dump completed

 date -d @1384550944
Fr 15. Nov 22:29:04 CET 2013

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-11-15 21:31:42 +00:00

  • Status changed from Assigned to 8
  • Done % changed from 0 to 100

@icinga-migration
Copy link
Author

Updated by mhein on 2013-11-19 08:18:56 +00:00

Hi,

there is a schema mismatching bug which forces ido2db to die:

[pid 31274] sendto(3, "<14>Nov 18 17:43:20 ido2db: Error: DB Version 1.11.0 does not match needed schema version 1.10.0. Please check the upgrade docs!", 128, MSG_NOSIGNAL, NULL, 0) = 128

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-11-19 08:23:53 +00:00

please pull - forgot to run ./update-version-schema

@icinga-migration
Copy link
Author

Updated by mhein on 2013-11-19 14:06:22 +00:00

Hi,

thanks for the quickfix. Works. The only thing that the instance data is cleared before which drops the instance visualisation in StatusSummary Cronk.

@icinga-migration
Copy link
Author

Updated by Anonymous on 2013-11-21 07:20:49 +00:00

  • Status changed from 8 to Resolved

Applied in changeset icinga-core:4711a60518451c92363e5709806a0d85fc7bb18c.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-12-08 14:38:18 +00:00

  • Project changed from 18 to Core, Classic UI, IDOUtils
  • Category changed from 82 to IDOUtils

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant