Jira (PUP-9240) Solaris SMF service has to support non global zone

4 views
Skip to first unread message

Karthikeyan Kanagaraj (JIRA)

unread,
Oct 16, 2018, 3:25:03 AM10/16/18
to puppe...@googlegroups.com
Karthikeyan Kanagaraj created an issue
 
Puppet / New Feature PUP-9240
Solaris SMF service has to support non global zone
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2018/10/16 12:24 AM
Priority: Normal Normal
Reporter: Karthikeyan Kanagaraj

Solaris SMF service has to support the non-global zone. Currently, SMF service-check refers the generic.xml file only. If that service entry is there in that file it will check the status. 

In Solaris 11, non-global zone servers have few services name which is listed in generic.xml but related packages/services are not installed on that zone. So when puppet code checks the status, OS is not giving any output and service is failing with an error.

Error: /Stage[main]/Main/Service[hal]: Could not evaluate: Unmanageable state '' on service hal 

 

Recreate Reproduce steps : 

-Install  zone on Solaris 11.3 machine 

  • Don't configure anything on the machine 
  • check out the hal service as an example. It ends up that the package appears as installed (pkg list hal, pkg verify hal) 
  • check that it's not an 'installed' service: svcs -a | grep -i hal 
  • Install puppet agent 
  • Then try to manage it with puppet: puppet apply -e 'service { "hal": ensure=>"stopped", enable =>false,}'

This will fail, looking like this: 
root@haltest:~# puppet --version 
5.5.4 
root@haltest:~# pkg list hal 
NAME (PUBLISHER) VERSION IFO 
system/hal (solaris) 0.5.11-0.175.3.9.0.2.0 i-- 
root@haltest:~# pkg verify hal 
root@haltest:~# svcs -a | grep hal 
root@haltest:~# puppet apply -e 'service { "hal": ensure=>"stopped", enable =>false,}' 
Notice: Compiled catalog for haltest.mel182frm.vic.au.anz in environment production in 0.03 seconds 
Error: /Stage[main]/Main/Service[hal]: Could not evaluate: Unmanageable state '' on service hal 
Notice: Applied catalog in 0.20 seconds

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Oct 16, 2018, 6:43:05 PM10/16/18
to puppe...@googlegroups.com

Stefan Pijnappels (JIRA)

unread,
Oct 23, 2018, 3:17:05 AM10/23/18
to puppe...@googlegroups.com
Stefan Pijnappels updated an issue
Change By: Stefan Pijnappels
CS Priority: Needs Priority Reviewed

Geoff Nichols (JIRA)

unread,
Oct 29, 2018, 2:18:05 PM10/29/18
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Labels: customer service solaris type_and_provider

Branan Riley (JIRA)

unread,
Oct 29, 2018, 2:35:03 PM10/29/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Sprint: Platform OS Kanban

Enis Inan (JIRA)

unread,
Nov 1, 2018, 2:18:09 AM11/1/18
to puppe...@googlegroups.com
Enis Inan assigned an issue to Enis Inan
Change By: Enis Inan
Assignee: Enis Inan

Sean McDonald (JIRA)

unread,
Dec 14, 2018, 7:21:04 PM12/14/18
to puppe...@googlegroups.com
Sean McDonald updated an issue
Change By: Sean McDonald
Fix Version/s: PUP 6.1.0

Kenn Hussey (JIRA)

unread,
Dec 19, 2018, 3:56:03 PM12/19/18
to puppe...@googlegroups.com

Branan Riley (JIRA)

unread,
Jan 8, 2019, 2:37:04 PM1/8/19
to puppe...@googlegroups.com
Branan Riley updated an issue
 
Change By: Branan Riley
Fix Version/s: PUP 5.5.9

Jean Bond (JIRA)

unread,
Jan 8, 2019, 7:49:04 PM1/8/19
to puppe...@googlegroups.com
Jean Bond updated an issue
Change By: Jean Bond
Labels: customer resolved-issue-added service solaris type_and_provider

Branan Riley (JIRA)

unread,
Jan 11, 2019, 11:35:04 AM1/11/19
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Fix Version/s: PUP 6.0.5

Austin Boyd (JIRA)

unread,
Oct 22, 2019, 5:50:04 AM10/22/19
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Zendesk Ticket IDs: 32270
Zendesk Ticket Count: 1

Austin Boyd (JIRA)

unread,
Oct 22, 2019, 6:06:04 AM10/22/19
to puppe...@googlegroups.com

Austin Boyd (JIRA)

unread,
Dec 12, 2019, 8:48:04 AM12/12/19
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages