Issue #3113 has been updated by Martin Englund. File dummy.xml added
A few answers :) * It has always been this way, I've just not gotten around to file the bug until now * Waiting for completion could be dangerous, as the import + enable could cause a very long wait (defined in the timeout in the service manifest) * I've attached a service manifest which will take 30 seconds to start * Yes it returns "offline*" with a trailing star when the state is in transition. If you run the query as <pre>svcs -o state,nstate fmri</pre> you get the desired end state too, so if it (the end state) is the desired state (online in most cases), it should assume it is going to be successful and continue. E.g. <pre>r...@uk-lp-1 # svccfg import dummy.xml r...@uk-lp-1 # svcs dummy STATE STIME FMRI offline* 8:23:18 svc:/dummy:default r...@uk-lp-1 # svcs -o state,nstate dummy STATE NSTATE offline online</pre> ---------------------------------------- Bug #3113: When importing a manifest puppet needs to chill http://projects.reductivelabs.com/issues/3113 Author: Martin Englund Status: Needs more information Priority: Normal Assigned to: Category: Solaris Target version: Affected version: 0.25.3 Keywords: service Branch: When puppet imports a manifest to create a service it needs to wait a while before proceeding, as it will often see the state as "offline*" due to the service is being started when it checks. This generates an unnecessary error message: <pre>err: //ssh::ops/Service[sshd-pubkey]: Failed to call refresh on Service[sshd-pubkey]: Unmanageable state 'offline*' on service svc:/ops/ssh:default</pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
