Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2017-01-25 Thread JIRA
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Davíð Ö Jóhannsson commented on  PUP-6963 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 
 
Great thanks Gareth 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2017-01-25 Thread Gareth Rushgrove (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Gareth Rushgrove commented on  PUP-6963 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 
 
Ah, yes. That is definitely the root cause, thanks for linking up. 
Facter 3.6.0 should be part of puppet-agent 1.9.0 which should be available in a week or so I believe. Once that's updated I'll be updating the puppet namespace Docker images. 
In the meantime you could override the fact in question via an ENV. Environment variables prefixed with FACTER_ win out over facter's detection. eg. 
 
 
 
 
 
 
$ docker run -e FACTER_osfamily=coreos puppet/facter osfamily 
 
 
 
 
coreos
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit 

Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2017-01-25 Thread JIRA
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Davíð Ö Jóhannsson commented on  PUP-6963 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 
 
garethr/puppet-agent-coreos latest 6bbf1e307665 contains  facter -v  3.4.1 (commit d0f32490f41ca12722c13e4c48d4572ae4f9bfdc) 
This seems to have been resolved in FACT 3.6.0 which is unrelased https://tickets.puppetlabs.com/browse/FACT/fixforversion/21905/?selectedTab=com.atlassian.jira.plugins.jira-development-integration-plugin:release-report-tabpanel 
Do I just need to wait until you release a new container puppet/puppet-agent that contains the new version? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2017-01-25 Thread JIRA
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Davíð Ö Jóhannsson assigned an issue to Davíð Ö Jóhannsson 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6963 
 
 
 
  Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 

Change By:
 
 Davíð Ö Jóhannsson 
 
 
 

Assignee:
 
 Davíð Ö Jóhannsson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2017-01-25 Thread JIRA
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Davíð Ö Jóhannsson commented on  PUP-6963 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 
 
Yes that is my problem, facter is reporting osfamily as linux not CoreOS and seems to be related to this issue https://tickets.puppetlabs.com/browse/FACT-1559 which has been resolved, but the question is how would I access this change in a docker container to check if the issue has indeed been resolved? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2017-01-25 Thread Gareth Rushgrove (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Gareth Rushgrove commented on  PUP-6963 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 
 
@davideagle mmm, yes, that sounds like a separate issue against Facter. From what you've posted it sounds like facter isn't correctly detecting osfamily as coreos? If you could open a new issue under against Facter, with as much detail for recreating the isssue as possible that would be helpful. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2017-01-25 Thread JIRA
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Davíð Ö Jóhannsson commented on  PUP-6963 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 
 
Maybe I should open up a new issue but this seems related. I'm using the latest image 
garethr/puppet-agent-coreos latest 6bbf1e307665 7 weeks ago 212.4 MB 
And maybe this resolved the service provider issue but it does not resolve the issue that coreos is not identified as osfamily and therefore does not really resolve the provider issue  
 "operatingsystem": "Linux", "operatingsystemmajrelease": "4", "operatingsystemrelease": "4.7.3-coreos-r2", "os": { "architecture": "x86_64", "family": "Linux", "hardware": "x86_64", "name": "Linux", "release":  { "full": "4.7.3-coreos-r2", "major": "4", "minor": "7" } 
, "selinux":  { "enabled": false } 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2016-12-07 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6963 
 
 
 
  Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

QA Risk Assessment Reason:
 
 no coreOS test infrastructure available , covered by unit tests 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2016-12-07 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6963 
 
 
 
  Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

QA Risk Assessment Reason:
 
 no coreOS test infrastructure available 
 
 
 

QA Risk Assessment:
 
 Needs Assessment No Action 
 
 
 

QA Contact:
 
 Eric Thompson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2016-12-06 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper assigned an issue to qa 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6963 
 
 
 
  Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 

Change By:
 
 William Hopper 
 
 
 

Status:
 
 Ready for  CI  Test 
 
 
 

Assignee:
 
 William Hopper qa 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2016-12-01 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6963 
 
 
 
  Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 

Change By:
 
 William Hopper 
 
 
 

Acceptance Criteria:
 
 Puppet should use the systemd service provider to query and interact with services in CoreOS. This can be verified by running {{puppet resource service --param provider}} to see which provider is being used to manager services. 
 
 
 

Release Notes Summary:
 
 Previously, the systemd service provider did not specify itself as the default for  CoreOS systems. Since systemd is the default service manager in CoreOS, this change updates the provider to add the CoreOS family to its defaults. 
 
 
 

Release Notes:
 
 Bug Fix 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this 

Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2016-12-01 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper assigned an issue to William Hopper 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6963 
 
 
 
  Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 

Change By:
 
 William Hopper 
 
 
 

Assignee:
 
 William Hopper 
 
 
 

Team:
 
 Puppet Developer Support 
 
 
 

Sprint:
 
 PDS 2016-12-14 
 
 
 

Fix Version/s:
 
 PUP 4.9.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2016-12-01 Thread William Hopper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 William Hopper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6963 
 
 
 
  Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 

Change By:
 
 William Hopper 
 
 
 

Labels:
 
 maintenance 
 
 
 

Story Points:
 
 1 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2016-12-01 Thread Gareth Rushgrove (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Gareth Rushgrove commented on  PUP-6963 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 
 
I've opened a PR with the relevant changes to address this at https://github.com/puppetlabs/puppet/pull/5402 
I've tested it successfully with the following image https://hub.docker.com/r/garethr/puppet-agent-coreos/ which was built from the following Dockerfile: 
 
 
 
 
 
 
from puppet/puppet-agent 
 
 
 
 
  
 
 
 
 
RUN sed -i "/defaultfor :osfamily => :suse/a \ \ defaultfor :osfamily => :coreos" /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/service/systemd.rb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, 

Jira (PUP-6963) Puppet doesn't detect systemd as default service provider on CoreOS

2016-12-01 Thread Gareth Rushgrove (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Gareth Rushgrove created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6963 
 
 
 
  Puppet doesn't detect systemd as default service provider on CoreOS  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/12/01 10:44 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Gareth Rushgrove 
 
 
 
 
 
 
 
 
 
 
CoreOS is correctly identified by facter (https://github.com/puppetlabs/facter/blob/11288d2a33caec577fe696bd02e4bed12e5ac12d/lib/inc/internal/facts/linux/os_coreos.hpp) but when trying to manage services Puppet detects both init.d and systemd and defaults to init.d. In reality CoreOS uses systemd for all service management. 
Expected behaviour: The service provider should use systemd as the default provider for CoreOS 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This