Project

General

Profile

Actions

Bug #3063

closed

Apache 2 HTTP Server: No reporting on whether Apache 2 was started or not

Added by Nicolas CHARLES almost 12 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
3
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

There is currently no reports on the Apache technique to know if Apache2 was started as expected or not, and if it was restarted or not

We need a new component to resolve that


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #3025: (ex PT/ Technique)Apache 2 HTTP Server: Incomplete/invalid reporting Released2012-11-22Actions
Actions #1

Updated by Nicolas CHARLES almost 12 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Jonathan CLARKE
Actions #2

Updated by Jonathan CLARKE almost 12 years ago

  • Status changed from Pending technical review to Discussion
  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES

Nicolas CHARLES wrote:

The pull request is here
https://github.com/Normation/rudder-techniques/pull/10

I'm bothered by this pull request because it introduces another change, which isn't just reporting: it changes the conditions for what "autostart" means. Do we start Apache immediately, or do we configure it to be started at boot? These are two separate settings.

If reporting needs fixing, please go ahead and make a pull request just for that, I will happily validate it.

However, this behaviour should not be changed without a clear warning, a Technique version change, and a clarification in the Technique's metadata. Maybe it is wrong in the first place? In this case, a bug should be filed against this problem - but it is clearly not a reporting bug as stated here.

Actions #3

Updated by Nicolas CHARLES almost 12 years ago

I can't fix the reporting without clarification on what should be done (or not done) if the service is started (or not), otherwise there are corner case when action are done without reporting, or not actin, but no reporting either

Actions #4

Updated by Jonathan CLARKE almost 12 years ago

Nicolas CHARLES wrote:

I can't fix the reporting without clarification on what should be done (or not done) if the service is started (or not), otherwise there are corner case when action are done without reporting, or not actin, but no reporting either

What should be done:
  • If the settings in a Directive request to set Apache to start on boot, it should be set to start on boot only, not necessarily started immediately.
  • If the settings in a Directive request to start/restart Apache after changing it's configuration, then this should be done immediately, regardless of the "start on boot" setting

Does anything else need clarifying?

Actions #5

Updated by Nicolas CHARLES almost 12 years ago

  • Assignee changed from Nicolas CHARLES to Jonathan CLARKE

Jonathan CLARKE wrote:

Nicolas CHARLES wrote:

I can't fix the reporting without clarification on what should be done (or not done) if the service is started (or not), otherwise there are corner case when action are done without reporting, or not actin, but no reporting either

What should be done:
  • If the settings in a Directive request to set Apache to start on boot, it should be set to start on boot only, not necessarily started immediately.
  • If the settings in a Directive request to start/restart Apache after changing it's configuration, then this should be done immediately, regardless of the "start on boot" setting

Does anything else need clarifying?

There is no setting in the PT/Technique to start/restart Apache after changing it's configuration; so I'm not sure I understand your explanation

Actions #6

Updated by Jonathan CLARKE almost 12 years ago

Nicolas CHARLES wrote:

Jonathan CLARKE wrote:

Nicolas CHARLES wrote:

I can't fix the reporting without clarification on what should be done (or not done) if the service is started (or not), otherwise there are corner case when action are done without reporting, or not actin, but no reporting either

What should be done:
  • If the settings in a Directive request to set Apache to start on boot, it should be set to start on boot only, not necessarily started immediately.
  • If the settings in a Directive request to start/restart Apache after changing it's configuration, then this should be done immediately, regardless of the "start on boot" setting

Does anything else need clarifying?

There is no setting in the PT/Technique to start/restart Apache after changing it's configuration; so I'm not sure I understand your explanation

I guess we should add one then.

Actions #7

Updated by Jonathan CLARKE almost 12 years ago

  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES
Actions #8

Updated by Matthieu CERDA almost 12 years ago

  • Target version changed from 2.3.10 to 2.3.11
Actions #9

Updated by Jonathan CLARKE almost 12 years ago

  • Project changed from Rudder to 24
  • Category deleted (Techniques)
Actions #10

Updated by Nicolas CHARLES almost 12 years ago

Jonathan CLARKE wrote:

Nicolas CHARLES wrote:

Jonathan CLARKE wrote:

Nicolas CHARLES wrote:

I can't fix the reporting without clarification on what should be done (or not done) if the service is started (or not), otherwise there are corner case when action are done without reporting, or not actin, but no reporting either

What should be done:
  • If the settings in a Directive request to set Apache to start on boot, it should be set to start on boot only, not necessarily started immediately.
  • If the settings in a Directive request to start/restart Apache after changing it's configuration, then this should be done immediately, regardless of the "start on boot" setting

Does anything else need clarifying?

There is no setting in the PT/Technique to start/restart Apache after changing it's configuration; so I'm not sure I understand your explanation

I guess we should add one then.

So, it would be a new revision of the technique.
What about this one ?

Actions #11

Updated by Nicolas CHARLES almost 12 years ago

  • Assignee changed from Nicolas CHARLES to Jonathan CLARKE
Actions #12

Updated by Matthieu CERDA over 11 years ago

  • Target version changed from 2.3.11 to 2.3.12
Actions #13

Updated by Matthieu CERDA over 11 years ago

  • Target version changed from 2.3.12 to 2.3.13
Actions #14

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.3.13 to 84
Actions #15

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 84 to 2.4.7
Actions #16

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.4.7 to 2.4.8
Actions #17

Updated by Jonathan CLARKE about 11 years ago

  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES

Nicolas CHARLES wrote:

Jonathan CLARKE wrote:

Nicolas CHARLES wrote:

Jonathan CLARKE wrote:

Nicolas CHARLES wrote:

I can't fix the reporting without clarification on what should be done (or not done) if the service is started (or not), otherwise there are corner case when action are done without reporting, or not actin, but no reporting either

What should be done:
  • If the settings in a Directive request to set Apache to start on boot, it should be set to start on boot only, not necessarily started immediately.
  • If the settings in a Directive request to start/restart Apache after changing it's configuration, then this should be done immediately, regardless of the "start on boot" setting

Does anything else need clarifying?

There is no setting in the PT/Technique to start/restart Apache after changing it's configuration; so I'm not sure I understand your explanation

I guess we should add one then.

So, it would be a new revision of the technique.
What about this one ?

Sounds like the best approach, yes.

Actions #18

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.8 to 2.4.9
Actions #19

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.9 to 2.4.10
Actions #20

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.10 to 2.4.11
Actions #21

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.11 to 2.4.12
Actions #22

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.12 to 2.4.13
Actions #23

Updated by Vincent MEMBRÉ almost 11 years ago

  • Target version changed from 2.4.13 to 2.6.11

Since Support for 2.4 branch is over, retargeting this issue to 2.6

Actions #24

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.6.11 to 2.6.12
Actions #25

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.6.12 to 2.6.13
Actions #26

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.6.13 to 2.6.14
Actions #27

Updated by Jonathan CLARKE over 10 years ago

  • Target version changed from 2.6.14 to 2.6.16
Actions #28

Updated by Jonathan CLARKE over 10 years ago

  • Target version changed from 2.6.16 to 2.6.17
Actions #29

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.6.17 to 2.6.18
Actions #30

Updated by Matthieu CERDA about 10 years ago

  • Target version changed from 2.6.18 to 2.6.19
Actions #31

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.6.19 to 2.6.20
Actions #32

Updated by François ARMAND almost 10 years ago

  • Subject changed from (ex PT/ Technique)Apache 2 HTTP Server: No reporting on whether Apache 2 was started or not to Apache 2 HTTP Server: No reporting on whether Apache 2 was started or not
  • Target version changed from 2.6.20 to 2.10.10
Actions #33

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.10 to 2.10.11
Actions #34

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.11 to 2.10.12
Actions #35

Updated by Benoît PECCATTE over 9 years ago

  • Project changed from 24 to Rudder
  • Category set to Techniques
Actions #36

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.12 to 2.10.13
Actions #37

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.13 to 2.10.14
Actions #38

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.14 to 2.10.15
Actions #39

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.15 to 2.10.16
Actions #40

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.16 to 2.10.17
Actions #41

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.17 to 2.10.18
Actions #42

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.18 to 2.10.19
Actions #43

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.19 to 2.10.20
Actions #44

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.10.20 to 2.11.18
Actions #45

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #46

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #47

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #48

Updated by Jonathan CLARKE over 8 years ago

  • Status changed from Discussion to Rejected

This was implemented in 2012, in #3025

Actions #49

Updated by Jonathan CLARKE over 8 years ago

  • Related to deleted (Bug #3025: (ex PT/ Technique)Apache 2 HTTP Server: Incomplete/invalid reporting )
Actions #50

Updated by Jonathan CLARKE over 8 years ago

  • Is duplicate of Bug #3025: (ex PT/ Technique)Apache 2 HTTP Server: Incomplete/invalid reporting added
Actions

Also available in: Atom PDF