Advertisement
Guest User

Untitled

a guest
Nov 9th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.87 KB | None | 0 0
  1. john@maas-cam:~$ cd /opt/charms/trusty/keystone
  2. john@maas-cam:/opt/charms/trusty/keystone$ bzr info
  3. Standalone tree (format: 2a)
  4. Location:
  5. branch root: .
  6.  
  7. Related branches:
  8. parent branch: http://bazaar.launchpad.net/~openstack-charmers/charms/trusty/keystone/trunk/
  9. john@maas-cam:/opt/charms/trusty/keystone$ grep -i juno hooks/charmhelpers/contrib/openstack/utils.py
  10. ('utopic', 'juno'),
  11. ('2014.2', 'juno'),
  12. ('2.0.0', 'juno'),
  13. ('2.1.0', 'juno'),
  14. ('2.2.0', 'juno'),
  15. 'juno': 'trusty-updates/juno',
  16. 'juno/updates': 'trusty-updates/juno',
  17. 'juno/proposed': 'trusty-proposed/juno',
  18. john@maas-cam:/opt/charms/trusty/keystone$
  19. john@maas-cam:/opt/charms/trusty/keystone$ juju stat keystone
  20. environment: maas
  21. machines: {}
  22. services: {}
  23. john@maas-cam:/opt/charms/trusty/keystone$ grep -A6 keystone ~/openstack.cfg
  24. keystone:
  25. admin-password: 'XXXXXXXXX'
  26. admin-token: 'XXXXXX'
  27. admin-user: 'admin'
  28. openstack-origin: 'cloud:trusty-juno'
  29. vip: 'X.X.97.72'
  30. vip_cidr: 26
  31. john@maas-cam:/opt/charms/trusty/keystone$ juju deploy --to lxc:1 --repository=/opt/charms local:trusty/keystone --config=~/openstack.cfg keystone
  32. Added charm "local:trusty/keystone-243" to the environment.
  33. john@maas-cam:/opt/charms/trusty/keystone$ juju stat keystone
  34. environment: maas
  35. machines:
  36. "1":
  37. agent-state: started
  38. agent-version: 1.20.11
  39. dns-name: controller-cam1.maas.xdns.io
  40. instance-id: /MAAS/api/1.0/nodes/node-25c3dd42-480a-11e4-9595-525400adf6c5/
  41. series: trusty
  42. containers:
  43. 1/lxc/26:
  44. agent-state: started
  45. agent-version: 1.20.11
  46. dns-name: 172.30.114.38
  47. instance-id: juju-machine-1-lxc-26
  48. series: trusty
  49. hardware: arch=amd64
  50. hardware: arch=amd64 cpu-cores=24 mem=32768M tags=poweredge,controller_node
  51. services:
  52. keystone:
  53. charm: local:trusty/keystone-243
  54. exposed: false
  55. relations:
  56. cluster:
  57. - keystone
  58. units:
  59. keystone/0:
  60. agent-state: error
  61. agent-state-info: 'hook failed: "install"'
  62. agent-version: 1.20.11
  63. machine: 1/lxc/26
  64. public-address: 172.30.114.38
  65. root@juju-machine-1-lxc-26:~# tail -n 30 /var/log/juju/unit-keystone-0.log
  66. 2014-11-09 18:34:03 INFO install Reading state information...
  67. 2014-11-09 18:34:03 INFO install The following packages were automatically installed and are no longer required:
  68. 2014-11-09 18:34:03 INFO install libfreetype6 os-prober
  69. 2014-11-09 18:34:03 INFO install Use 'apt-get autoremove' to remove them.
  70. 2014-11-09 18:34:03 INFO install The following extra packages will be installed:
  71. 2014-11-09 18:34:03 INFO install python-markupsafe
  72. 2014-11-09 18:34:03 INFO install Suggested packages:
  73. 2014-11-09 18:34:03 INFO install python-jinja2-doc
  74. 2014-11-09 18:34:03 INFO install The following NEW packages will be installed:
  75. 2014-11-09 18:34:03 INFO install python-jinja2 python-markupsafe
  76. 2014-11-09 18:34:03 INFO install 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  77. 2014-11-09 18:34:03 INFO install Need to get 175 kB of archives.
  78. 2014-11-09 18:34:03 INFO install After this operation, 1090 kB of additional disk space will be used.
  79. 2014-11-09 18:34:03 INFO install Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main python-markupsafe amd64 0.18-1build2 [14.3 kB]
  80. 2014-11-09 18:34:03 INFO install Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main python-jinja2 all 2.7.2-2 [161 kB]
  81. 2014-11-09 18:34:04 INFO install Fetched 175 kB in 0s (245 kB/s)
  82. 2014-11-09 18:34:04 INFO install Selecting previously unselected package python-markupsafe.
  83. 2014-11-09 18:34:04 INFO install (Reading database ... 25746 files and directories currently installed.)
  84. 2014-11-09 18:34:04 INFO install Preparing to unpack .../python-markupsafe_0.18-1build2_amd64.deb ...
  85. 2014-11-09 18:34:04 INFO install Unpacking python-markupsafe (0.18-1build2) ...
  86. 2014-11-09 18:34:04 INFO install Selecting previously unselected package python-jinja2.
  87. 2014-11-09 18:34:04 INFO install Preparing to unpack .../python-jinja2_2.7.2-2_all.deb ...
  88. 2014-11-09 18:34:04 INFO install Unpacking python-jinja2 (2.7.2-2) ...
  89. 2014-11-09 18:34:04 INFO install Setting up python-markupsafe (0.18-1build2) ...
  90. 2014-11-09 18:34:04 INFO install Setting up python-jinja2 (2.7.2-2) ...
  91. 2014-11-09 18:34:05 INFO juju-log Registered config file: /etc/keystone/keystone.conf
  92. 2014-11-09 18:34:05 INFO juju-log Registered config file: /etc/haproxy/haproxy.cfg
  93. 2014-11-09 18:34:05 INFO juju-log Registered config file: /etc/apache2/sites-available/openstack_https_frontend
  94. 2014-11-09 18:34:05 ERROR juju-log FATAL ERROR: Invalid Cloud Archive release specified: trusty-juno
  95. 2014-11-09 18:34:05 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
  96. root@juju-machine-1-lxc-26:~#
  97. root@juju-machine-1-lxc-26:~# locate keystone|grep openstack/utils.py
  98. /var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/contrib/openstack/utils.py
  99. /var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/contrib/openstack/utils.pyc
  100. root@juju-machine-1-lxc-26:~# grep -i juno /var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/contrib/openstack/utils.py
  101. root@juju-machine-1-lxc-26:~# grep -i icehouse /var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/contrib/openstack/utils.py
  102. ('trusty', 'icehouse')
  103. ('2014.1', 'icehouse'),
  104. ('1.13.1', 'icehouse'),
  105. ('1.13.0', 'icehouse'),
  106. ('1.12.0', 'icehouse'),
  107. ('1.11.0', 'icehouse'),
  108. 'icehouse': 'precise-updates/icehouse',
  109. 'icehouse/updates': 'precise-updates/icehouse',
  110. 'icehouse/proposed': 'precise-proposed/icehouse',
  111. root@juju-machine-1-lxc-26:~# locate keystone|grep 243
  112. /var/lib/juju/agents/unit-keystone-0/state/bundles/local_3a_trusty_2f_keystone-243
  113. /var/lib/juju/agents/unit-keystone-0/state/deployer/manifests/local_3a_trusty_2f_keystone-243
  114. root@juju-machine-1-lxc-26:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement