2017-02-16 7 views
0

./stack.shを実行して、マルチノードラボ設定のコントローラノード(仮想マシンubuntu 14.04 lts)にdevstackをインストールしました。スクリプトが失敗し、次のように同じのためのログは次のとおりです。++。/ stack.sh:main:1351 devstack ./stack.shが失敗しました

2017-02-16 09:50:14.632 | +[3242m./stack.sh:main:1349      (B[m [[ -x /home/stack/devstack/local.sh ]] 

2017-02-16 09:50:14.647 | +[3242m./stack.sh:main:1350      (B[m echo 'Running user script /home/stack/devstack/local.sh' 

2017-02-16 09:50:14.647 | Running user script /home/stack/devstack/local.sh 

2017-02-16 09:50:14.661 | +[3242m./stack.sh:main:1351      (B[m /home/stack/devstack/local.sh 

2017-02-16 09:50:14.666 | /home/stack/devstack/local.sh: line 11: /opt/stack/nova/bin/nova-manage: No such file or directory 

2017-02-16 09:50:14.667 | /home/stack/devstack/local.sh: line 11: /opt/stack/nova/bin/nova-manage: No such file or directory 

2017-02-16 09:50:14.667 | /home/stack/devstack/local.sh: line 11: /opt/stack/nova/bin/nova-manage: No such file or directory 

2017-02-16 09:50:14.668 | /home/stack/devstack/local.sh: line 11: /opt/stack/nova/bin/nova-manage: No such file or directory 

2017-02-16 09:50:14.669 | /home/stack/devstack/local.sh: line 11: /opt/stack/nova/bin/nova-manage: No such file or directory 

2017-02-16 09:50:14.672 | /home/stack/devstack/local.sh: line 11: /opt/stack/nova/bin/nova-manage: No such file or directory 

2017-02-16 09:50:14.672 | /home/stack/devstack/local.sh: line 11: /opt/stack/nova/bin/nova-manage: No such file or directory 

2017-02-16 09:50:14.673 | /home/stack/devstack/local.sh: line 11: /opt/stack/nova/bin/nova-manage: No such file or directory 

2017-02-16 09:50:14.674 | /home/stack/devstack/local.sh: line 11: /opt/stack/nova/bin/nova-manage: No such file or directory 

2017-02-16 09:50:15.057 | WARNING: setting legacy OS_TENANT_NAME to support cli tools. 

2017-02-16 09:50:15.067 | WARNING: setting legacy OS_TENANT_NAME to support cli tools. 

2017-02-16 09:50:28.646 | +----------------------------+----------+ 
2017-02-16 09:50:28.646 | | Field      | Value | 
2017-02-16 09:50:28.646 | +----------------------------+----------+ 
2017-02-16 09:50:28.646 | | OS-FLV-DISABLED:disabled | False | 
2017-02-16 09:50:28.646 | | OS-FLV-EXT-DATA:ephemeral | 0  | 
2017-02-16 09:50:28.647 | | disk      | 0  | 
2017-02-16 09:50:28.647 | | id       | 6  | 
2017-02-16 09:50:28.647 | | name      | m1.micro | 
2017-02-16 09:50:28.647 | | os-flavor-access:is_public | True  | 
2017-02-16 09:50:28.647 | | properties     |   | 
2017-02-16 09:50:28.647 | | ram      | 128  | 
2017-02-16 09:50:28.647 | | rxtx_factor    | 1.0  | 
2017-02-16 09:50:28.647 | | swap      |   | 
2017-02-16 09:50:28.647 | | vcpus      | 1  | 
2017-02-16 09:50:28.647 | +----------------------------+----------+ 

2017-02-16 09:50:34.052 | More than one SecurityGroup exists with the name 'default'. 

2017-02-16 09:50:36.188 | More than one SecurityGroup exists with the name 'default'. 

2017-02-16 09:50:36.285 | ++[3242m./stack.sh:main:1351      (B[m err_trap 

2017-02-16 09:50:36.328 | ++[3242m./stack.sh:err_trap:517     (B[m local r=1 

2017-02-16 09:50:36.405 | stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2017-02-16-150336 

2017-02-16 09:50:36.408 | Error on exit 

複数のセキュリティグループ名デフォルトで存在するが、新星のsecgroupリストを実行する上で、私は、次を得る:

[email protected]:~/devstack$ nova secgroup-list 

/usr/local/lib/python2.7/dist-packages/novaclient/client.py:278: UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored. 
warnings.warn(msg) 
WARNING: Command secgroup-list is deprecated and will be removed after Nova 15.0.0 is released. Use python-neutronclient or openstackclient instead. 
+--------------------------------------+---------+------------------------+ 
| Id         | Name | Description   | 
+--------------------------------------+---------+------------------------+ 
| de21f869-215e-46c0-9e36-28da003c2d7a | default | Default security group | 
+--------------------------------------+---------+------------------------+ 

IこのVMでコントローラーの設定にdevstackをインストールする必要があります。このエラーは./stack.shが失敗するようにしています。

答えて

0

問題は解決されました。このエラーは、./stack.shがlocal.shを呼び出してデフォルトセキュリティグループのルールを作成するときに発生します。テナントごとにデフォルトのセキュリティグループが存在するため、このエラーが発生しました。 解決策は、これらのルールの作成を扱うlocal.shの部分をコメントアウトし、衝突を避けるために、名前ではなくセキュリティグループのIDを明示的に後で明示的に作成することでした。

関連する問題