Advertisement
enricodhd

Untitled

Jun 7th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.46 KB | None | 0 0
  1. root@maas2:/etc/maas# juju bootstrap
  2. Clouds
  3. aws
  4. aws-china
  5. aws-gov
  6. azure
  7. azure-china
  8. cloudsigma
  9. google
  10. joyent
  11. localhost
  12. oracle
  13. rackspace
  14. sewan-maas
  15.  
  16. Select a cloud [localhost]: sewan-maas
  17.  
  18. Enter a name for the Controller [sewan-maas]: sewan-maas
  19.  
  20. Creating Juju controller "sewan-maas" on sewan-maas
  21. Looking for packaged Juju agent version 2.3.8 for amd64
  22. Launching controller instance(s) on sewan-maas...
  23. ERROR failed to bootstrap model: cannot start bootstrap instance in availability zone "default": failed to acquire node: No available machine matches constraints: [('agent_name', ['9c570e28-84b8-4b9f-84a4-fbc11693446e']), ('zone', ['default']), ('mem', ['3584'])] (resolved to "mem=3584.0 zone=default")
  24. root@maas2:/etc/maas#
  25. root@maas2:/etc/maas# juju bootstrap --debug
  26. 17:37:18 INFO juju.cmd supercommand.go:56 running juju [2.3.8 gc go1.10]
  27. 17:37:18 DEBUG juju.cmd supercommand.go:57 args: []string{"juju", "bootstrap", "--debug"}
  28. Clouds
  29. aws
  30. aws-china
  31. aws-gov
  32. azure
  33. azure-china
  34. cloudsigma
  35. google
  36. joyent
  37. localhost
  38. oracle
  39. rackspace
  40. sewan-maas
  41.  
  42. Select a cloud [localhost]: sewan-maas
  43.  
  44. Enter a name for the Controller [sewan-maas]: crtl
  45.  
  46. 17:37:24 DEBUG juju.cmd.juju.commands bootstrap.go:835 authenticating with region "" and credential "openstack" ()
  47. 17:37:24 DEBUG juju.cmd.juju.commands bootstrap.go:963 provider attrs: map[]
  48. 17:37:24 INFO cmd authkeys.go:114 Adding contents of "/root/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
  49. 17:37:24 INFO cmd authkeys.go:114 Adding contents of "/root/.ssh/id_rsa.pub" to authorized-keys
  50. 17:37:24 DEBUG juju.cmd.juju.commands bootstrap.go:1019 preparing controller with config: map[disable-network-management:false container-image-metadata-url: automatically-retry-hooks:true agent-stream:released http-proxy: type:maas container-networking-method: max-action-results-age:336h max-action-results-size:5G net-bond-reconfigure-delay:17 apt-ftp-proxy: cloudinit-userdata: apt-http-proxy: provisioner-harvest-mode:destroyed uuid:5e9d711e-5dc1-434e-8764-5d3f555b3372 firewall-mode:instance resource-tags: image-stream:released logforward-enabled:false development:false agent-metadata-url: enable-os-refresh-update:true container-image-stream:released proxy-ssh:false container-inherit-properties: egress-subnets: max-status-history-size:5G fan-config: max-status-history-age:336h ssl-hostname-verification:true apt-mirror: https-proxy: name:controller authorized-keys:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHLjgmux+pBtJRuoYKxrDmi0Tic/vNABLhozLaJaq5rXuqq4upPYgmx1pmZVVhFuqldCwnn7dc7nnoRx/baUy5XilKa1YvrwXUq4kC5JYhCiLNxEqTU/urPAPr6j/R+Qf+Hg/E10HDfmgJtHUz+/w3m9ChV1tFpZwB8xYQgjQRT+RyaizNGpHblrg5RcARfIrcJ/T572pq7AiU461e7z756mASv9M8e6HkSDHRI5y4hAt2tTQvsQJeiaMcygrndFydC52PaHn2dPQo88fOovwHDMsPrTa6zrPSvV+r2or+7+xH7tQwnXcrfYB/WkBpwIaR8H9IykCPpQIjEVcx/xMt juju-client-key
  51. ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHFNrkYPndvr9Hqsj4rve3gNypmZFFs1p+QvtloVQULSq8YSTCjx05POUfQpqEjK+fR7XuV3m8MCnKzyZTBTVh3+SxLR1WaBKW3o2m79qQT7Zs5hkg7YOrPcZBYAK/Zy+ffVlDArW+Nr38nYvb1e86hZwBGNwQCe+XP9dNJeNRrm+iGn+G3wbtAzmkbnLQ9TrOtchtaMbXwgeBo9bRavc7r8GeANDX3CMjmYqwGwhNnqJdKdedSArjIsRyBinQsmPccaUACtFsSzPRmZ+R1v2n6f6VZrxlsefOXzVmnqGD/0wFxBclt1Ey/Xkkjr9e0rZrH3wuQGcuU7UCYIDEy1i3 root@maas2
  52. update-status-hook-interval:5m apt-no-proxy: ftp-proxy: enable-os-upgrade:true image-metadata-url: no-proxy:127.0.0.1,localhost,::1 apt-https-proxy: test-mode:false ignore-machine-addresses:false transmit-vendor-metrics:true logging-config: default-series:xenial]
  53. 17:37:24 DEBUG juju.provider.maas environprovider.go:61 opening model "controller".
  54. 17:37:24 INFO cmd bootstrap.go:508 Creating Juju controller "crtl" on sewan-maas
  55. 17:37:24 INFO juju.cmd.juju.commands bootstrap.go:572 combined bootstrap constraints:
  56. 17:37:24 DEBUG juju.environs.bootstrap bootstrap.go:199 model "controller" supports service/machine networks: true
  57. 17:37:24 DEBUG juju.environs.bootstrap bootstrap.go:201 network management by juju enabled: true
  58. 17:37:24 INFO cmd bootstrap.go:233 Loading image metadata
  59. 17:37:25 INFO cmd bootstrap.go:303 Looking for packaged Juju agent version 2.3.8 for amd64
  60. 17:37:25 INFO juju.environs.bootstrap tools.go:72 looking for bootstrap agent binaries: version=2.3.8
  61. 17:37:25 DEBUG juju.environs.tools tools.go:102 finding agent binaries in stream: "released"
  62. 17:37:25 DEBUG juju.environs.tools tools.go:104 reading agent binaries with major.minor version 2.3
  63. 17:37:25 DEBUG juju.environs.tools tools.go:112 filtering agent binaries by version: 2.3.8
  64. 17:37:25 DEBUG juju.environs.tools tools.go:118 filtering agent binaries by architecture: amd64
  65. 17:37:25 DEBUG juju.environs.tools urls.go:109 trying datasource "keystone catalog"
  66. 17:37:25 DEBUG juju.environs.simplestreams simplestreams.go:683 using default candidate for content id "com.ubuntu.juju:released:tools" are {20161007 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
  67. 17:37:25 INFO juju.environs.bootstrap tools.go:74 found 15 packaged agent binaries
  68. 17:37:25 INFO cmd bootstrap.go:389 Starting new instance for initial controller
  69. 17:37:25 INFO cmd bootstrap.go:151 Launching controller instance(s) on sewan-maas...
  70. 17:37:25 DEBUG juju.provider.maas environ.go:929 attempting to acquire node in zone "default"
  71. 17:37:25 ERROR juju.cmd.juju.commands bootstrap.go:528 failed to bootstrap model: cannot start bootstrap instance in availability zone "default": failed to acquire node: No available machine matches constraints: [('zone', ['default']), ('agent_name', ['5e9d711e-5dc1-434e-8764-5d3f555b3372']), ('mem', ['3584'])] (resolved to "mem=3584.0 zone=default")
  72. 17:37:25 DEBUG juju.cmd.juju.commands bootstrap.go:529 (error details: [{github.com/juju/juju/cmd/juju/commands/bootstrap.go:620: failed to bootstrap model} {github.com/juju/juju/provider/common/bootstrap.go:216: cannot start bootstrap instance in availability zone "default"} {github.com/juju/juju/provider/maas/environ.go:965: } {github.com/juju/juju/provider/maas/environ.go:960: failed to acquire node} {No available machine matches constraints: [('zone', ['default']), ('agent_name', ['5e9d711e-5dc1-434e-8764-5d3f555b3372']), ('mem', ['3584'])] (resolved to "mem=3584.0 zone=default")}])
  73. 17:37:25 DEBUG juju.cmd.juju.commands bootstrap.go:1126 cleaning up after failed bootstrap
  74. 17:37:25 INFO juju.provider.common destroy.go:20 destroying model "controller"
  75. 17:37:25 INFO juju.provider.common destroy.go:31 destroying instances
  76. 17:37:25 INFO juju.provider.common destroy.go:55 destroying storage
  77. 17:37:25 INFO cmd supercommand.go:465 command finished
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement