Re: [devops] the service can not start correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jaze,

The Puppet code should be updated to do "systemctl start
ceph-mon@study-4", as you suggest. It should not run "service <foo>"
any more.

- Ken

On Mon, May 9, 2016 at 12:54 AM, Jaze Lee <jazeltq@xxxxxxxxx> wrote:
> hi all
>    I test openstack/puppet-ceph to install ceph-10.2.0 and find that,
> when the mon can not start correctly.
>
>    The puppet agent says that
>
>  Error: Could not start Service[ceph-mon-study-4]: Execution of
> 'service ceph start mon.study-4' returned 6: Redirecting to
> /bin/systemctl start  mon.study-4 ceph.service
>
>
>
> The command 'service ceph start mon.study-4' maps to 'systemctl start
> mon.study-4 ceph.service'
> I think here should be systemctl start ceph-mon@study-4.
>
> May be the way i use puppet-ceph is not properly. If not, i think we
> should add some code
> to use systemctl directly rather than use the 'service start ....'.
>
> The code is here
> https://github.com/openstack/puppet-ceph/blob/master/manifests/mon.pp#L90
>
>
> Thank a lot.
>
>
>
> --
> 谦谦君子
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux