Difference between revisions of "Microstack init --auto --control"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lowercase}}
 
{{Draft}}
 
{{Draft}}
  
[[microstack init]] --auto --control
+
<code>[[microstack init]] --auto --control</code>
<pre>
+
 
2021-04-08 18:09:15,782 - microstack_init - INFO - Configuring clustering ...
+
2021-04-08 18:09:15,782 - microstack_init - INFO - Configuring [[clustering]] ...
2021-04-08 18:09:15,990 - microstack_init - INFO - Setting up as a control node.
+
2021-04-08 18:09:15,990 - microstack_init - INFO - Setting up as a [[control node]].
2021-04-08 18:09:21,859 - microstack_init - INFO - Configuring networking ...
+
2021-04-08 18:09:21,859 - microstack_init - INFO - Configuring networking ...
2021-04-08 18:09:32,229 - microstack_init - INFO - Opening horizon dashboard up to *
+
2021-04-08 18:09:32,229 - microstack_init - INFO - Opening horizon dashboard up to *
2021-04-08 18:09:34,447 - microstack_init - INFO - Waiting for RabbitMQ to start ...
+
2021-04-08 18:09:34,447 - microstack_init - INFO - Waiting for [[RabbitMQ]] to start ...
Waiting for 192.168.64.32:5672
+
Waiting for 192.168.64.32:5672
2021-04-08 18:09:45,059 - microstack_init - INFO - RabbitMQ started!
+
2021-04-08 18:09:45,059 - microstack_init - INFO - RabbitMQ started!
2021-04-08 18:09:45,060 - microstack_init - INFO - Configuring RabbitMQ ...
+
2021-04-08 18:09:45,060 - microstack_init - INFO - Configuring RabbitMQ ...
2021-04-08 18:09:47,145 - microstack_init - INFO - RabbitMQ Configured!
+
2021-04-08 18:09:47,145 - microstack_init - INFO - RabbitMQ Configured!
2021-04-08 18:09:47,173 - microstack_init - INFO - Waiting for MySQL server to start ...
+
2021-04-08 18:09:47,173 - microstack_init - INFO - Waiting for MySQL server to start ...
Waiting for 192.168.64.32:3306
+
Waiting for 192.168.64.32:3306
2021-04-08 18:10:00,745 - microstack_init - INFO - Mysql server started! Creating databases ...
+
2021-04-08 18:10:00,745 - microstack_init - INFO - Mysql server started! Creating databases ...
2021-04-08 18:10:04,009 - microstack_init - INFO - Configuring Keystone Fernet Keys ...
+
2021-04-08 18:10:04,009 - microstack_init - INFO - Configuring Keystone Fernet Keys ...
2021-04-08 18:10:35,595 - microstack_init - INFO - Bootstrapping Keystone ...
+
2021-04-08 18:10:35,595 - microstack_init - INFO - Bootstrapping Keystone ...
2021-04-08 18:10:55,188 - microstack_init - INFO - Creating service project ...
+
2021-04-08 18:10:55,188 - microstack_init - INFO - Creating service project ...
2021-04-08 18:11:07,183 - microstack_init - INFO - Keystone configured!
+
2021-04-08 18:11:07,183 - microstack_init - INFO - Keystone configured!
2021-04-08 18:11:07,221 - microstack_init - INFO - Configuring the Placement service...
+
2021-04-08 18:11:07,221 - microstack_init - INFO - Configuring the Placement service...
2021-04-08 18:11:51,051 - microstack_init - INFO - Running Placement DB migrations...
+
2021-04-08 18:11:51,051 - microstack_init - INFO - Running Placement DB migrations...
2021-04-08 18:11:58,026 - microstack_init - INFO - Configuring nova control plane services ...
+
2021-04-08 18:11:58,026 - microstack_init - INFO - Configuring nova control plane services ...
2021-04-08 18:12:23,748 - microstack_init - INFO - Running Nova API DB migrations (this may take a lot of time)...
+
2021-04-08 18:12:23,748 - microstack_init - INFO - Running Nova API DB migrations (this may take a lot of time)...
2021-04-08 18:13:14,247 - microstack_init - INFO - Running Nova DB migrations (this may take a lot of time)...
+
2021-04-08 18:13:14,247 - microstack_init - INFO - Running [[Nova]] DB migrations (this may take a lot of time)...
Waiting for 192.168.64.32:8774
+
Waiting for 192.168.64.32:8774
2021-04-08 18:15:07,678 - microstack_init - INFO - Creating default flavors...
+
2021-04-08 18:15:07,678 - microstack_init - INFO - Creating default flavors...
2021-04-08 18:16:07,460 - microstack_init - INFO - Configuring nova compute hypervisor ...
+
2021-04-08 18:16:07,460 - microstack_init - INFO - Configuring nova compute hypervisor ...
2021-04-08 18:16:09,671 - microstack_init - INFO - Configuring the Spice HTML5 console service...
+
2021-04-08 18:16:09,671 - microstack_init - INFO - Configuring the Spice HTML5 console service...
2021-04-08 18:16:10,241 - microstack_init - INFO - Configuring Neutron
+
2021-04-08 18:16:10,241 - microstack_init - INFO - Configuring [[Neutron]]
Waiting for 192.168.64.32:9696
+
Waiting for 192.168.64.32:9696
2021-04-08 18:19:21,614 - microstack_init - INFO - Configuring Glance ...
+
2021-04-08 18:19:21,614 - microstack_init - INFO - Configuring [[Glance]] ...
Waiting for 192.168.64.32:9292
+
Waiting for 192.168.64.32:9292
2021-04-08 18:20:42,336 - microstack_init - INFO - Adding cirros image ...
+
2021-04-08 18:20:42,336 - microstack_init - INFO - Adding cirros image ...
2021-04-08 18:20:49,584 - microstack_init - INFO - Creating security group rules ...
+
2021-04-08 18:20:49,584 - microstack_init - INFO - Creating security group rules ...
2021-04-08 18:21:11,702 - microstack_init - INFO - Configuring the Cinder services...
+
2021-04-08 18:21:11,702 - microstack_init - INFO - Configuring the Cinder services...
2021-04-08 18:23:22,677 - microstack_init - INFO - Running Cinder DB migrations...
+
2021-04-08 18:23:22,677 - microstack_init - INFO - Running Cinder DB migrations...
2021-04-08 18:23:42,494 - microstack_init - INFO - restarting libvirt and virtlogd ...
+
2021-04-08 18:23:42,494 - microstack_init - INFO - restarting libvirt and virtlogd ...
2021-04-08 18:24:08,985 - microstack_init - INFO - Complete. Marked microstack as initialized!
+
2021-04-08 18:24:08,985 - microstack_init - INFO - Complete. Marked microstack as initialized!
</pre>
 
  
  
Line 44: Line 44:
  
 
== With errors ==
 
== With errors ==
<pre>
+
 
microstack init --auto --control
+
microstack init --auto --control
2021-04-08 17:41:52,087 - microstack_init - INFO - Configuring clustering ...
+
2021-04-08 17:41:52,087 - microstack_init - INFO - Configuring clustering ...
2021-04-08 17:41:52,191 - microstack_init - INFO - Setting up as a control node.
+
2021-04-08 17:41:52,191 - microstack_init - INFO - Setting up as a control node.
2021-04-08 17:41:55,793 - microstack_init - INFO - Configuring networking ...
+
2021-04-08 17:41:55,793 - microstack_init - INFO - Configuring networking ...
Traceback (most recent call last):
+
Traceback (most recent call last):
  File "/snap/microstack/229/bin/microstack", line 11, in <module>
+
  File "/snap/microstack/229/bin/microstack", line 11, in <module>
    load_entry_point('microstack==0.0.1', 'console_scripts', 'microstack')()
+
    load_entry_point('microstack==0.0.1', 'console_scripts', 'microstack')()
  File "/snap/microstack/229/lib/python3.8/site-packages/microstack/main.py", line 44, in main
+
  File "/snap/microstack/229/lib/python3.8/site-packages/microstack/main.py", line 44, in main
    cmd()
+
    cmd()
  File "/snap/microstack/229/lib/python3.8/site-packages/init/main.py", line 60, in wrapper
+
  File "/snap/microstack/229/lib/python3.8/site-packages/init/main.py", line 60, in wrapper
    return func(*args, **kwargs)
+
    return func(*args, **[[kwargs]])
  File "/snap/microstack/229/lib/python3.8/site-packages/init/main.py", line 227, in init
+
  File "/snap/microstack/229/lib/python3.8/site-packages/init/main.py", line 227, in init
    question.ask()
+
    question.ask()
  File "/snap/microstack/229/lib/python3.8/site-packages/init/questions/question.py", line 210, in ask
+
  File "/snap/microstack/229/lib/python3.8/site-packages/init/questions/question.py", line 210, in ask
    self.yes(awr)
+
    self.yes(awr)
  File "/snap/microstack/229/lib/python3.8/site-packages/init/questions/__init__.py", line 189, in yes
+
  File "/snap/microstack/229/lib/python3.8/site-packages/init/questions/__init__.py", line 189, in yes
    enable('ovs-vswitchd')
+
    enable('ovs-vswitchd')
  File "/snap/microstack/229/lib/python3.8/site-packages/init/shell.py", line 162, in enable
+
  File "/snap/microstack/229/lib/python3.8/site-packages/init/shell.py", line 162, in enable
    check('snapctl', 'start', '--enable', 'microstack.{}'.format(service))
+
    check('snapctl', 'start', '--enable', 'microstack.{}'.format(service))
  File "/snap/microstack/229/lib/python3.8/site-packages/init/shell.py", line 69, in check
+
  File "/snap/microstack/229/lib/python3.8/site-packages/init/shell.py", line 69, in check
    raise subprocess.CalledProcessError(proc.returncode, " ".join(args))
+
    raise subprocess.CalledProcessError(proc.returncode, " ".join(args))
subprocess.CalledProcessError: Command 'snapctl start --enable microstack.ovs-vswitchd' returned non-zero exit status 1.
+
subprocess.CalledProcessError: Command '[[snapctl]] start --enable microstack.[[ovs-vswitchd]]' returned non-zero exit status 1.
</pre>
 
  
 
== See also ==
 
== See also ==
 
* {{microstack}}
 
* {{microstack}}
 +
* {{OpenStack}}
  
 
[[Category:Microstack]]
 
[[Category:Microstack]]

Latest revision as of 13:50, 20 January 2022

This article is a Draft. Help us to complete it.

microstack init --auto --control

2021-04-08 18:09:15,782 - microstack_init - INFO - Configuring clustering ...
2021-04-08 18:09:15,990 - microstack_init - INFO - Setting up as a control node.
2021-04-08 18:09:21,859 - microstack_init - INFO - Configuring networking ...
2021-04-08 18:09:32,229 - microstack_init - INFO - Opening horizon dashboard up to *
2021-04-08 18:09:34,447 - microstack_init - INFO - Waiting for RabbitMQ to start ...
Waiting for 192.168.64.32:5672
2021-04-08 18:09:45,059 - microstack_init - INFO - RabbitMQ started!
2021-04-08 18:09:45,060 - microstack_init - INFO - Configuring RabbitMQ ...
2021-04-08 18:09:47,145 - microstack_init - INFO - RabbitMQ Configured!
2021-04-08 18:09:47,173 - microstack_init - INFO - Waiting for MySQL server to start ...
Waiting for 192.168.64.32:3306
2021-04-08 18:10:00,745 - microstack_init - INFO - Mysql server started! Creating databases ...
2021-04-08 18:10:04,009 - microstack_init - INFO - Configuring Keystone Fernet Keys ...
2021-04-08 18:10:35,595 - microstack_init - INFO - Bootstrapping Keystone ...
2021-04-08 18:10:55,188 - microstack_init - INFO - Creating service project ...
2021-04-08 18:11:07,183 - microstack_init - INFO - Keystone configured!
2021-04-08 18:11:07,221 - microstack_init - INFO - Configuring the Placement service...
2021-04-08 18:11:51,051 - microstack_init - INFO - Running Placement DB migrations...
2021-04-08 18:11:58,026 - microstack_init - INFO - Configuring nova control plane services ...
2021-04-08 18:12:23,748 - microstack_init - INFO - Running Nova API DB migrations (this may take a lot of time)...
2021-04-08 18:13:14,247 - microstack_init - INFO - Running Nova DB migrations (this may take a lot of time)...
Waiting for 192.168.64.32:8774
2021-04-08 18:15:07,678 - microstack_init - INFO - Creating default flavors...
2021-04-08 18:16:07,460 - microstack_init - INFO - Configuring nova compute hypervisor ...
2021-04-08 18:16:09,671 - microstack_init - INFO - Configuring the Spice HTML5 console service...
2021-04-08 18:16:10,241 - microstack_init - INFO - Configuring Neutron
Waiting for 192.168.64.32:9696
2021-04-08 18:19:21,614 - microstack_init - INFO - Configuring Glance ...
Waiting for 192.168.64.32:9292
2021-04-08 18:20:42,336 - microstack_init - INFO - Adding cirros image ...
2021-04-08 18:20:49,584 - microstack_init - INFO - Creating security group rules ...
2021-04-08 18:21:11,702 - microstack_init - INFO - Configuring the Cinder services...
2021-04-08 18:23:22,677 - microstack_init - INFO - Running Cinder DB migrations...
2021-04-08 18:23:42,494 - microstack_init - INFO - restarting libvirt and virtlogd ...
2021-04-08 18:24:08,985 - microstack_init - INFO - Complete. Marked microstack as initialized!



With errors[edit]

microstack init --auto --control
2021-04-08 17:41:52,087 - microstack_init - INFO - Configuring clustering ...
2021-04-08 17:41:52,191 - microstack_init - INFO - Setting up as a control node.
2021-04-08 17:41:55,793 - microstack_init - INFO - Configuring networking ...
Traceback (most recent call last):
  File "/snap/microstack/229/bin/microstack", line 11, in <module>
    load_entry_point('microstack==0.0.1', 'console_scripts', 'microstack')()
  File "/snap/microstack/229/lib/python3.8/site-packages/microstack/main.py", line 44, in main
    cmd()
  File "/snap/microstack/229/lib/python3.8/site-packages/init/main.py", line 60, in wrapper
    return func(*args, **kwargs)
  File "/snap/microstack/229/lib/python3.8/site-packages/init/main.py", line 227, in init
    question.ask()
  File "/snap/microstack/229/lib/python3.8/site-packages/init/questions/question.py", line 210, in ask
    self.yes(awr)
  File "/snap/microstack/229/lib/python3.8/site-packages/init/questions/__init__.py", line 189, in yes
    enable('ovs-vswitchd')
  File "/snap/microstack/229/lib/python3.8/site-packages/init/shell.py", line 162, in enable
    check('snapctl', 'start', '--enable', 'microstack.{}'.format(service))
  File "/snap/microstack/229/lib/python3.8/site-packages/init/shell.py", line 69, in check
    raise subprocess.CalledProcessError(proc.returncode, " ".join(args))
subprocess.CalledProcessError: Command 'snapctl start --enable microstack.ovs-vswitchd' returned non-zero exit status 1.

See also[edit]

Advertising: