Jira (PUP-4795) smf.rb provider for service - manifest does not work for S11.x

4 views
Skip to first unread message

Jes Ferrier (JIRA)

unread,
Jun 29, 2015, 1:56:14 PM6/29/15
to puppe...@googlegroups.com
Jes Ferrier created an issue
 
Puppet / Bug PUP-4795
smf.rb provider for service - manifest does not work for S11.x
Issue Type: Bug Bug
Affects Versions: PUP 3.7.5
Assignee: Unassigned
Components: Puppet Server
Created: 2015/06/29 10:56 AM
Environment:

Solaris 11.x

Fix Versions: PUP 3.7.5
Labels: solaris
Priority: Normal Normal
Reporter: Jes Ferrier

manifest and startcmd are incompatible:-

The smf.rb provider checks status, adds the manifest, checks the status, enables the service (again) gives an error, as svccfg hasn't had time to complete registration of the new service.

  1. puppet apply -d -e "service {'newservice': manifest => '/lib/svc/manifest/site/newservice.xml', ensure => 'running'}

    "

It adds the service, but puppet then errors, as the 2nd svcs -l fails.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d)
Atlassian logo

Jes Ferrier (JIRA)

unread,
Jun 29, 2015, 2:00:17 PM6/29/15
to puppe...@googlegroups.com
Jes Ferrier updated an issue
Change By: Jes Ferrier
manifest and startcmd are incompatible:-

The smf.rb provider checks status, adds the manifest, checks the status, enables the service (again) gives an error, as svccfg hasn't had time to complete registration of the new service.

\ # puppet apply -d -e "service {'newservice': manifest => '/lib/svc/manifest/site/newservice.xml', ensure => 'running'}"

It adds the service, but puppet then errors, as the
 2nd svcs  svcadm enable  - l s newservice  fails , as it runs too quickly .  If you could just specify a manifest w/o having to issue ensure => running this would work fine. But manifest is called from within the startcmd function via self.setupservice

Christopher Price (JIRA)

unread,
Jul 1, 2015, 1:49:25 PM7/1/15
to puppe...@googlegroups.com

Christopher Price (JIRA)

unread,
Jul 1, 2015, 1:49:44 PM7/1/15
to puppe...@googlegroups.com
Christopher Price updated an issue
Change By: Christopher Price
Component/s: Puppet Server
Component/s: RE
Component/s: Client

Christopher Price (JIRA)

unread,
Jul 1, 2015, 1:50:15 PM7/1/15
to puppe...@googlegroups.com

Jes Ferrier (JIRA)

unread,
Jul 1, 2015, 1:57:43 PM7/1/15
to puppe...@googlegroups.com
Jes Ferrier commented on Bug PUP-4795

Quick asides, S11 preferred method of importing a service is to svcadm restart manifest-import service and not the svccfg import used in S10.

Scott Garman (JIRA)

unread,
Jul 1, 2015, 1:59:00 PM7/1/15
to puppe...@googlegroups.com
Scott Garman commented on Bug PUP-4795

I've not touched anything in Solaris myself yet. I think Rob Braden or Geoff Nichols would be of more help.

Adrien Thebo (JIRA)

unread,
May 15, 2017, 3:09:03 PM5/15/17
to puppe...@googlegroups.com
Adrien Thebo updated an issue
 
Change By: Adrien Thebo
manifest and startcmd are incompatible:-

The smf.rb provider checks status, adds the manifest, checks the status, enables the service (again) gives an error, as svccfg hasn't had time to complete registration of the new service.

\ {noformat}
# puppet apply -d -e "service {'newservice': manifest => '/lib/svc/manifest/site/newservice.xml', ensure => 'running'}"
{noformat}

It adds the service, but puppet then errors, as the svcadm enable -s newservice fails, as it runs too quickly. If you could just specify a manifest w/o having to issue ensure => running this would work fine. But manifest is called from within the startcmd function via self.setupservice
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Adrien Thebo (JIRA)

unread,
May 15, 2017, 3:18:02 PM5/15/17
to puppe...@googlegroups.com
Adrien Thebo updated an issue
Change By: Adrien Thebo
Labels: help_wanted solaris  triaged

Jacob Helwig (JIRA)

unread,
Dec 4, 2017, 6:37:06 PM12/4/17
to puppe...@googlegroups.com
Jacob Helwig updated an issue
Change By: Jacob Helwig
Sub-team: Coremunity
This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db)
Atlassian logo

Josh Cooper (JIRA)

unread,
Apr 5, 2019, 1:41:02 AM4/5/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Component/s: RE
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Jun 19, 2019, 3:07:02 PM6/19/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Coremunity Puppet Romania

Josh Cooper (Jira)

unread,
Jan 27, 2021, 1:56:04 AM1/27/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-4795
 
Re: smf.rb provider for service - manifest does not work for S11.x

This ticket has not been updated in some time and is now being closed due to inactivity. This isn’t necessarily a statement that this ticket isn’t important - other issues may have demanded precedence since it was filed, or it may have simply slipped through the cracks. If any viewer/watcher feels closing this ticket is an error, please re-open it and add a comment explaining. Our apologies in advance for any mistake on this.

This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages