packstack fails with 'Error: cinder type-create iscsi returned 1 instead of one of [0]'

asked 2015-03-27 14:30:45 -0600

lhinds gravatar image

CentOS Linux release 7.0.1406 (Core)

packstack Juno 2014.2.dev1462.gbb05296

Towards the end of running packstack, for the first time, I get the following

ERROR : Error appeared during Puppet run: 192.168.0.11_cinder.pp Error: cinder type-create iscsi returned 1 instead of one of [0]

Fulls stack-trace

2015-03-27 19:47:18::ERROR::run_setup::1018::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 993, in main
    single_step_aio_install(options, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 761, in single_step_aio_install
    single_step_install(options, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 792, in single_step_install
    _main(options, answerfilepath, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 655, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 626, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 254, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 126, in wait_for_puppet
    validate_logfile(log)
  File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile
    raise PuppetError(message)
PuppetError: Error appeared during Puppet run: 192.168.0.11_cinder.pp
Error: cinder type-create iscsi returned 1 instead of one of [0]^[[0m
You will find full trace in log /var/tmp/packstack/20150327-194424-qdLb1W/manifests/192.168.0.11_cinder.pp.log

cinder.pp.log

Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
   (at /usr/share/ruby/vendor_ruby/puppet/type.rb:816:in `set_default')
Notice: /Stage[main]/Cinder/Cinder_config[database/connection]/value: value changed '[old secret redacted]' to '[new secret redacted]'
Notice: /Stage[main]/Cinder::Api/Cinder_api_paste_ini[filter:authtoken/admin_password]/value: value changed '[old secret redacted]' to '[new secret redacted]'
Notice: /Stage[main]/Cinder::Api/Service[cinder-api]/ensure: ensure changed 'stopped' to 'running'
Notice: /Stage[main]/Cinder::Api/Exec[cinder-manage db_sync]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/Cinder::Backup/Service[cinder-backup]: Triggered 'refresh' from 2 events
Notice: /Stage[main]/Main/Cinder::Type[iscsi]/Exec[cinder type-create iscsi]/returns: ERROR: Unable to establish connection to http://192.168.0.11:8776/v1/762ccd95c6e84f3883d938f7121ee408/types
Error: cinder type-create iscsi returned 1 instead of one of [0]
Error: /Stage[main]/Main/Cinder::Type[iscsi]/Exec[cinder type-create iscsi]/returns: change from notrun to 0 failed: cinder type-create iscsi returned 1 instead of one of [0]
Notice: /Stage[main]/Main/Cinder::Type[iscsi]/Cinder::Type_set[lvm ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-10 04:34:32 -0600

lhinds gravatar image

Resolved this by using --provision-all-in-one-ovs-bridge=n and then setting up an OVSBridge (ifcfg-br-ex)

edit flag offensive delete link more

Comments

Hello, could you please provide more details on the fix ? Is the option to be added in the packstack answer file ?

krishnaprasad gravatar imagekrishnaprasad ( 2015-09-24 13:29:28 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-27 14:15:28 -0600

Seen: 2,558 times

Last updated: Apr 10 '15