Ask Your Question

visayafan's profile - activity

2015-07-08 13:42:05 -0600 received badge  Famous Question (source)
2014-11-25 16:28:06 -0600 received badge  Notable Question (source)
2014-11-25 16:21:08 -0600 received badge  Popular Question (source)
2014-11-24 05:27:15 -0600 commented answer Can't start up VMs when flavor is bigger than Small

Thank you for your help.

2014-11-23 04:20:06 -0600 received badge  Editor (source)
2014-11-23 04:16:48 -0600 asked a question Can't start up VMs when flavor is bigger than Small

I have two strange problems.

  1. When I create an instance using image cirros with flavor Tiny or Small, everything is totally fine, I can ping and ssh the VM I just created. But when I create an instance using image CentOS or Fedora with flavor Small, the VM is running but I can't ping or ssh it.

  2. When the flavor is bigger than Small, no matter what image I use, the instance just couldn't start up, the status is shutoff and power status is shutdown.

https://www.dropbox.com/s/mb4dx1uuevc0ytw/Screen%20Shot%202014-11-23%20at%206.09.34%20pm.png?dl=0 (https://www.dropbox.com/s/mb4dx1uuevc...)

It's very weird, is there anyone professional can help me out? Thank you for your time.

2014-10-23 05:08:28 -0600 commented answer Notice: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]/returns: ImportError: No module named mysql

Thank you, but sadly, it's not where the problem is. I retried packstack --allinone on a new server and it worked fine. Have no clue where the problem is.

2014-10-23 05:05:57 -0600 received badge  Supporter
2014-10-22 20:51:05 -0600 received badge  Famous Question (source)
2014-10-22 13:27:59 -0600 received badge  Notable Question (source)
2014-10-22 10:18:09 -0600 received badge  Popular Question (source)
2014-10-22 07:52:26 -0600 asked a question Notice: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]/returns: ImportError: No module named mysql

I tried to install OpenStack using command packstack --allinone, but error appeared. It seems like service openstack-keystone fail to start.

Can anyone help me out? Thank you.

[root@node1 ~]# service openstack-keystone start
Starting keystone:                                         [FAILED]

Below is the log:

[root@node1 ~]# packstack --allinone Welcome to Installer setup utility

Installing:
Clean Up                                             [ DONE ]
Setting up ssh keys                                  [ DONE ]
Discovering hosts' details                           [ DONE ]
Adding pre install manifest entries                  [ DONE ]
Preparing servers                                    [ DONE ]
Adding AMQP manifest entries                         [ DONE ]
Adding MariaDB manifest entries                      [ DONE ]
Adding Keystone manifest entries                     [ DONE ]
Adding Glance Keystone manifest entries              [ DONE ]
Adding Glance manifest entries                       [ DONE ]
Adding Cinder Keystone manifest entries              [ DONE ]
Adding Cinder manifest entries                       [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Adding Nova API manifest entries                     [ DONE ]
Adding Nova Keystone manifest entries                [ DONE ]
Adding Nova Cert manifest entries                    [ DONE ]
Adding Nova Conductor manifest entries               [ DONE ]
Creating ssh keys for Nova migration                 [ DONE ]
Gathering ssh host keys for Nova migration           [ DONE ]
Adding Nova Compute manifest entries                 [ DONE ]
Adding Nova Scheduler manifest entries               [ DONE ]
Adding Nova VNC Proxy manifest entries               [ DONE ]
Adding Openstack Network-related Nova manifest entries[ DONE ]
Adding Nova Common manifest entries                  [ DONE ]
Adding Neutron API manifest entries                  [ DONE ]
Adding Neutron Keystone manifest entries             [ DONE ]
Adding Neutron L3 manifest entries                   [ DONE ]
Adding Neutron L2 Agent manifest entries             [ DONE ]
Adding Neutron DHCP Agent manifest entries           [ DONE ]
Adding Neutron LBaaS Agent manifest entries          [ DONE ]
Adding Neutron Metering Agent manifest entries       [ DONE ]
Adding Neutron Metadata Agent manifest entries       [ DONE ]
Checking if NetworkManager is enabled and running    [ DONE ]
Adding OpenStack Client manifest entries             [ DONE ]
Adding Horizon manifest entries                      [ DONE ]
Adding Swift Keystone manifest entries               [ DONE ]
Adding Swift builder manifest entries                [ DONE ]
Adding Swift proxy manifest entries                  [ DONE ]
Adding Swift storage manifest entries                [ DONE ]
Adding Swift common manifest entries                 [ DONE ]
Adding Provisioning Demo manifest entries            [ DONE ]
Adding Provisioning Glance manifest entries          [ DONE ]
Adding MongoDB manifest entries                      [ DONE ]
Adding Ceilometer manifest entries                   [ DONE ]
Adding Ceilometer Keystone manifest entries          [ DONE ]
Adding Nagios server manifest entries                [ DONE ]
Adding Nagios host manifest entries                  [ DONE ]
Adding post install manifest entries                 [ DONE ]
Installing Dependencies                              [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
Applying 192.168.1.101_prescript.pp
192.168.1.101_prescript.pp:                          [ DONE ]
Applying 192.168.1.101_amqp.pp
Applying 192.168.1.101_mariadb.pp
192.168.1.101_amqp.pp:                               [ DONE ]
192.168.1.101_mariadb.pp:                            [ DONE ]
Applying 192.168.1.101_keystone.pp
Applying 192.168.1.101_glance.pp
Applying 192.168.1.101_cinder.pp
192.168.1.101_keystone.pp:                        [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.1.101_keystone.pp
Notice: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]/returns: ImportError: No module named mysql
You will find full trace in log /var/tmp/packstack/20141022-203735-VtYQgL/manifests/192.168.1.101_keystone.pp.log
Please check log file /var/tmp/packstack/20141022-203735-VtYQgL/openstack-setup.log for more information

The log file:

[root@node1 ~]# cat /var/tmp/packstack/20141022-203735-VtYQgL/manifests/192.168.1.101_keystone.pp.log
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Warning: Scope(Class[Keystone]): token_format ...
(more)