incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Sorensen <shadow...@gmail.com>
Subject Re: passwd server not set to start
Date Fri, 14 Sep 2012 22:54:25 GMT
Here's the issue.

root@r-197-VM:/etc/init.d# cat /var/cache/cloud/cmdline
 vpccidr=192.168.0.0/16 domain=mlsorensen.com dns1=8.8.8.8 dns2=
template=domP name=r-197-VM eth0ip=169.254.1.16 eth0mask=255.255.0.0
type=vpcrouter disable_rp_filter=true

So per cloud-early-setup, type=vpcrouter, but there's no vpcrouter
function in /opt/cloud/bin/patchsystemvm.sh, which controls which
services start.

So we need a function for vpcrouter in patchsystemvm.sh. Should we
just tell it to run the routing_svcs one, or is more customization
necessary?




On Fri, Sep 14, 2012 at 9:59 AM, David Nalley <david@gnsa.us> wrote:
> On Fri, Sep 14, 2012 at 1:13 AM, Marcus Sorensen <shadowsor@gmail.com> wrote:
>> in launching new routers with the latest 4.0 build I'm getting no
>> passwd server, chkconfig --list show it turned off, and even turning
>> it on, it gets turned off automatically.
>>
>> root@r-190-VM:~# cat /etc/default/cloud-passwd-srvr
>> #set ENABLED to 1 if you want the init script to start the password server
>> ENABLED=1
>>
>> but...
>>
>> root@r-190-VM:~# chkconfig --list cloud-passwd-srvr
>> cloud-passwd-srvr         0:off  1:off  2:off  3:off  4:off  5:off  6:off  S:on
>>
>> root@r-190-VM:~# chkconfig cloud-passwd-srvr on  # <--
>> patchsystemvm.sh tries this
>> root@r-190-VM:~# chkconfig --list cloud-passwd-srvr
>> cloud-passwd-srvr         0:off  1:off  2:off  3:off  4:off  5:off  6:off  S:on
>>
>> Notice, no runlevels. Adding the runlevels into Default-Start seems to
>> fix, but I don't see any recent changes to this file, so I'm left
>> wondering what used to make this work.
>>
>> root@r-190-VM:/opt# head /etc/init.d/cloud-passwd-srvr
>> #!/bin/bash
>> ### BEGIN INIT INFO
>> # Provides:          cloud-passwd-srvr
>> # Required-Start:    mountkernfs $local_fs cloud-early-config
>> # Required-Stop:     $local_fs
>> # Should-Start:
>> # Should-Stop:
>> # Default-Start:     S
>> # Default-Stop:      0 6
>> # Short-Description: Web server that sends passwords to User VMs
>
>
> I noticed that while looking in the config files.
>
> Take a look at /etc/default/cloud-passwd-srvr
> or in source at:
> patches/systemvm/debian/config/etc/default/cloud-passwd-srvr
>
> Keep in mind /etc/default in debian controls start on boot.
>
> --David

Mime
View raw message