Re: [Bug 1238915] [NEW] Keystone fails to start after installation: invoke-rc.d: policy-rc.d denied execution of start.

2013-10-11 Thread Adam Gandelman
/usr/sbin/policy-rc.d contains the following:

#!/bin/sh
# see invoke-rc.d for exit codes. 101 is "do not run"
while true; do
   case "$1" in
  -*) shift;;
  makedev|x11-common) exit 0;;
  *) exit 101;;
   esac
done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1238915

Title:
  Keystone fails to start after installation: invoke-rc.d: policy-rc.d
  denied execution of start.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1238915/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1238915] [NEW] Keystone fails to start after installation: invoke-rc.d: policy-rc.d denied execution of start.

2013-10-11 Thread Adam Gandelman
Public bug reported:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.3 LTS"

# dpkg -l | grep keystone
ii  keystone 1:2013.1.3-0ubuntu1~cloud0
OpenStack identity service - Daemons
ii  python-keystone  1:2013.1.3-0ubuntu1~cloud0
OpenStack identity service - Python library
ii  python-keystoneclient1:0.2.3-0ubuntu2.2~cloud0 Client 
library for OpenStack Identity API

When installing the package, the service fails to start due to a invoke-rc.d: 
policy-rc.d denied execution of start.
So far I've only hit this on precise nodes that I've provisioned with MAAS 
using curtin.

# apt-get install keystone
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following NEW packages will be installed:
  keystone
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 16.7 kB of archives.
After this operation, 143 kB of additional disk space will be used.
Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu/ 
precise-updates/grizzly/main keystone all 1:2013.1.3-0ubuntu1~cloud0 [16.7 kB]
Fetched 16.7 kB in 0s (0 B/s)   
Selecting previously unselected package keystone.
(Reading database ... 42113 files and directories currently installed.)
Unpacking keystone (from .../keystone_1%3a2013.1.3-0ubuntu1~cloud0_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up keystone (1:2013.1.3-0ubuntu1~cloud0) ...
Generating RSA private key, 1024 bit long modulus
.++
...++
e is 65537 (0x10001)
Generating RSA private key, 1024 bit long modulus
...++
..++
e is 65537 (0x10001)
Using configuration from /etc/keystone/ssl/certs/openssl.conf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName   :PRINTABLE:'US'
stateOrProvinceName   :PRINTABLE:'Unset'
localityName  :PRINTABLE:'Unset'
organizationName  :PRINTABLE:'Unset'
commonName:PRINTABLE:'www.example.com'
Certificate is to be certified until Oct 11 18:27:33 2014 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
invoke-rc.d: policy-rc.d denied execution of start.

** Affects: cloud-archive
 Importance: Undecided
 Status: New

** Affects: keystone (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: theme-oil

** Also affects: cloud-archive
   Importance: Undecided
   Status: New

** Tags added: theme-oil

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1238915

Title:
  Keystone fails to start after installation: invoke-rc.d: policy-rc.d
  denied execution of start.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1238915/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs