Created
October 2, 2016 21:50
-
-
Save chianingwang/9324671187713f41a0b4eee5c209def8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JOHNNYWA-M-X2YG:saio-ansible johnnywa$ ansible-playbook site.yml -i "130.211.203.240," | |
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default). | |
This feature will be removed in a | |
future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | |
PLAY [all] ********************************************************************* | |
TASK [setup] ******************************************************************* | |
The authenticity of host '130.211.203.240 (130.211.203.240)' can't be established. | |
ECDSA key fingerprint is SHA256:mYYI2OrpxJXRRysGnO+wTPgs9Mrz6sc61HkZ7k1VZAQ. | |
Are you sure you want to continue connecting (yes/no)? yes | |
ok: [130.211.203.240] | |
TASK [pre_config : install epel-release] *************************************** | |
changed: [130.211.203.240] | |
TASK [pre_config : installing dependencies] ************************************ | |
changed: [130.211.203.240] => (item=[u'curl', u'gcc', u'memcached', u'rsync', u'sqlite', u'xfsprogs', u'git', u'git-core', u'libffi-devel', u'xinetd', u'python-devel', u'python-simplejson', u'pyxattr', u'python-eventlet', u'python-greenlet', u'python-netifaces', u'python-pip', u'python-dns', u'python-mock', u'tree', u'vim', u'make', u'autoconf', u'automake', u'libtool', u'openssl-devel']) | |
TASK [pre_config : install python modules with pip] **************************** | |
changed: [130.211.203.240] => (item=tox) | |
changed: [130.211.203.240] => (item=nose) | |
changed: [130.211.203.240] => (item=xattr) | |
changed: [130.211.203.240] => (item=git-review) | |
changed: [130.211.203.240] => (item=coverage) | |
changed: [130.211.203.240] => (item=Paste) | |
changed: [130.211.203.240] => (item=pyudev) | |
changed: [130.211.203.240] => (item=pip) | |
changed: [130.211.203.240] => (item=setuptools) | |
TASK [pre_config : check if golang already installed] ************************** | |
ok: [130.211.203.240] | |
TASK [pre_config : install golang from binary] ********************************* | |
skipping: [130.211.203.240] | |
TASK [pre_config : make sure PATH includes the go bin directory] *************** | |
skipping: [130.211.203.240] | |
TASK [liberasurecode : assure /vagrant/source directory exists] **************** | |
changed: [130.211.203.240] | |
TASK [liberasurecode : check if liberasurecode is already cloned] ************** | |
ok: [130.211.203.240] | |
TASK [liberasurecode : git clone liberasurecode] ******************************* | |
changed: [130.211.203.240] | |
TASK [liberasurecode : build liberasurecode - autogen] ************************* | |
changed: [130.211.203.240] | |
TASK [liberasurecode : build liberasurecode - configure] *********************** | |
changed: [130.211.203.240] | |
TASK [liberasurecode : build liberasurecode - make] **************************** | |
changed: [130.211.203.240] | |
TASK [liberasurecode : build liberasurecode - make install] ******************** | |
changed: [130.211.203.240] | |
[WARNING]: Consider using 'become', 'become_method', and 'become_user' rather than running sudo | |
TASK [swift : assure /srv directory exists] ************************************ | |
ok: [130.211.203.240] | |
TASK [swift : create loopback device] ****************************************** | |
changed: [130.211.203.240] | |
TASK [swift : create filesystem /srv/swift-disk] ******************************* | |
changed: [130.211.203.240] | |
TASK [swift : create mount path /mnt/sdb1] ************************************* | |
changed: [130.211.203.240] | |
TASK [swift : mount /mnt/sdb1] ************************************************* | |
changed: [130.211.203.240] | |
TASK [swift : create sub-partitions] ******************************************* | |
changed: [130.211.203.240] => (item=1) | |
changed: [130.211.203.240] => (item=2) | |
changed: [130.211.203.240] => (item=3) | |
changed: [130.211.203.240] => (item=4) | |
TASK [swift : create symlinks] ************************************************* | |
changed: [130.211.203.240] => (item=1) | |
changed: [130.211.203.240] => (item=2) | |
changed: [130.211.203.240] => (item=3) | |
changed: [130.211.203.240] => (item=4) | |
TASK [swift : create node partition directories] ******************************* | |
changed: [130.211.203.240] => (item=[0, 1]) | |
changed: [130.211.203.240] => (item=[0, 2]) | |
changed: [130.211.203.240] => (item=[0, 3]) | |
changed: [130.211.203.240] => (item=[0, 4]) | |
changed: [130.211.203.240] => (item=[4, 1]) | |
changed: [130.211.203.240] => (item=[4, 2]) | |
changed: [130.211.203.240] => (item=[4, 3]) | |
changed: [130.211.203.240] => (item=[4, 4]) | |
TASK [swift : create /var/run/swift] ******************************************* | |
changed: [130.211.203.240] | |
TASK [swift : create rc.local from template] *********************************** | |
changed: [130.211.203.240] | |
TASK [swift : assure /vagrant/source directory exists] ************************* | |
ok: [130.211.203.240] | |
TASK [swift : check if swift is already cloned] ******************************** | |
ok: [130.211.203.240] | |
TASK [swift : git clone swift] ************************************************* | |
changed: [130.211.203.240] | |
TASK [swift : add gerrit repo to swift clone] ********************************** | |
skipping: [130.211.203.240] | |
TASK [swift : install swift's dependencies] ************************************ | |
changed: [130.211.203.240] | |
TASK [swift : install swift's test dependencies] ******************************* | |
changed: [130.211.203.240] | |
TASK [swift : build a development installation of swift] *********************** | |
changed: [130.211.203.240] | |
TASK [swift : check if python-swiftclient is already cloned] ******************* | |
ok: [130.211.203.240] | |
TASK [swift : git clone python-swiftclient] ************************************ | |
changed: [130.211.203.240] | |
TASK [swift : build a development installation of python-swiftclient] ********** | |
changed: [130.211.203.240] | |
TASK [swift : set correct ownership of repos] ********************************** | |
changed: [130.211.203.240] => (item=swift) | |
changed: [130.211.203.240] => (item=python-swiftclient) | |
TASK [swift : create /etc/rsyncd.conf] ***************************************** | |
changed: [130.211.203.240] | |
TASK [swift : update rsyncd.conf with correct username] ************************ | |
changed: [130.211.203.240] | |
TASK [swift : enable rsync] **************************************************** | |
changed: [130.211.203.240] | |
TASK [swift : set selinux to permissive] *************************************** | |
changed: [130.211.203.240] | |
TASK [swift : restart rsync] *************************************************** | |
changed: [130.211.203.240] | |
TASK [swift : start memcache] ************************************************** | |
changed: [130.211.203.240] | |
TASK [post_config : clean up /etc/swift directory] ***************************** | |
ok: [130.211.203.240] | |
TASK [post_config : create clean /etc/swift] *********************************** | |
changed: [130.211.203.240] | |
TASK [post_config : copy the sample configuration files for running tests] ***** | |
changed: [130.211.203.240] | |
TASK [post_config : set correct ownership of /etc/swift] *********************** | |
changed: [130.211.203.240] | |
TASK [post_config : find config files to modify user option] ******************* | |
[WARNING]: raw module does not support the environment keyword | |
ok: [130.211.203.240] | |
TASK [post_config : replace user name] ***************************************** | |
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax | |
('{{conf_files.stdout_lines}}'). | |
This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False | |
in ansible.cfg. | |
changed: [130.211.203.240] => (item=/etc/swift/account-server/1.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/account-server/2.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/account-server/3.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/account-server/4.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/container-reconciler.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/container-server/1.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/container-server/2.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/container-server/3.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/container-server/4.conf) | |
ok: [130.211.203.240] => (item=/etc/swift/container-sync-realms.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/object-expirer.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/object-server/1.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/object-server/2.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/object-server/3.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/object-server/4.conf) | |
changed: [130.211.203.240] => (item=/etc/swift/proxy-server.conf) | |
ok: [130.211.203.240] => (item=/etc/swift/swift.conf) | |
ok: [130.211.203.240] => (item=/etc/swift/test.conf) | |
TASK [post_config : copy the SAIO scripts for resetting the environment] ******* | |
changed: [130.211.203.240] | |
TASK [post_config : set the correct file mode for SAIO scripts] **************** | |
changed: [130.211.203.240] | |
TASK [post_config : add new env. variable for loopback device] ***************** | |
changed: [130.211.203.240] | |
TASK [post_config : remove line from resetswift] ******************************* | |
changed: [130.211.203.240] | |
TASK [post_config : add new env. variable for running tests] ******************* | |
changed: [130.211.203.240] | |
TASK [post_config : make sure PATH includes the bin directory] ***************** | |
changed: [130.211.203.240] | |
TASK [post_config : add ST_AUTH swift client environment variables] ************ | |
changed: [130.211.203.240] | |
TASK [post_config : add ST_USER swift client environment variables] ************ | |
changed: [130.211.203.240] | |
TASK [post_config : add ST_KEY swift client environment variables] ************* | |
changed: [130.211.203.240] | |
TASK [post_config : add new env. variable for finding liberasurecode lib] ****** | |
changed: [130.211.203.240] | |
TASK [post_config : add new swift.conf file with correct ec library] *********** | |
changed: [130.211.203.240] | |
TASK [post_config : remake rings] ********************************************** | |
changed: [130.211.203.240] | |
TASK [post_config : remove the current default storage policy] ***************** | |
ok: [130.211.203.240] | |
TASK [post_config : set the correct storage policy] **************************** | |
changed: [130.211.203.240] | |
TASK [post_config : add new startmain in case of hummingbird] ****************** | |
skipping: [130.211.203.240] | |
TASK [post_config : change resetswift to stop hummingbird] ********************* | |
skipping: [130.211.203.240] | |
TASK [post_config : reset swift] *********************************************** | |
changed: [130.211.203.240] | |
TASK [post_config : start swift] *********************************************** | |
changed: [130.211.203.240] | |
PLAY RECAP ********************************************************************* | |
130.211.203.240 : ok=60 changed=50 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment