Re: [Openstack] Cinder-volume doesn't start anymore...

2013-02-03 Thread Martinx - ジェームズ
John,

 I reinstalled it from scratch, using TGT now. Everything seems to be
running fine now.

 Do you think that it worth try to identify this problem or just forget it?
I can try to reproduce it.

Thank you!
Thiago

On 3 February 2013 03:13, Martinx - ジェームズ thiagocmarti...@gmail.com wrote:

 Hi John! Thank you for your support!

 My answers are at the bottom.

 On 2 February 2013 22:51, John Griffith john.griff...@solidfire.comwrote:



 On Sat, Feb 2, 2013 at 1:34 PM, Martinx - ジェームズ 
 thiagocmarti...@gmail.com wrote:

 No one can help me with this?
 My cinder-volume process is completely down.
 I don't know what I can do to fix this issue...

 Thanks!
 Thiago


 On 1 February 2013 19:49, Martinx - ジェームズ thiagocmarti...@gmail.comwrote:

 Guys,

  At first, tgt was running after one controller.teste.com reboot
 but, I know I'm using ietd, so, I stop tgt and remove the init script of if
 and started ietd manually...

  But cinder doesn't start up anymore...   :(

  I really appreciate any kind of help here...

  Someone on IRC channel told me that Cinder is trying to use
 _get_target function in the TargetAdmin class but, how can Cinder use tgt
 if iscsi_helper = ietadm ?

 Best,
 Thiago

 On 1 February 2013 19:20, Martinx - ジェームズ thiagocmarti...@gmail.comwrote:

 Guys,

  At my Cinder logs, I'm seeing this when I run
 /etc/init.d/cinder-volume start:

 
 2013-02-01 18:16:20 1075 AUDIT cinder.service [-] Starting
 cinder-volume node (version 2012.2.1-LOCALBRANCH:LOCALREVISION)
 2013-02-01 18:16:21 DEBUG cinder.utils
 [req-1ebb9638-2300-456a-995e-382c96f6632d None None] Running cmd
 (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf vgs
 --noheadings -o name execute
 /usr/lib/python2.7/dist-packages/cinder/utils.py:163
 2013-02-01 18:16:22 DEBUG cinder.utils
 [req-1ebb9638-2300-456a-995e-382c96f6632d None None] backend module
 'cinder.db.sqlalchemy.api' from
 '/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.pyc'
 __get_backend /usr/lib/python2.7/dist-packages/cinder/utils.py:477
 2013-02-01 18:16:23 DEBUG cinder.volume.manager
 [req-1ebb9638-2300-456a-995e-382c96f6632d None None] Re-exporting 1 
 volumes
 init_host /usr/lib/python2.7/dist-packages/cinder/volume/manager.py:98
 2013-02-01 18:16:23 1075 CRITICAL cinder [-] Got unknown keyword args
 to utils.execute: {'old_name': None}
 2013-02-01 18:16:23 1075 TRACE cinder Traceback (most recent call
 last):
 2013-02-01 18:16:23 1075 TRACE cinder   File /usr/bin/cinder-volume,
 line 48, in module
 2013-02-01 18:16:23 1075 TRACE cinder service.wait()
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/cinder/service.py, line 422, in wait
 2013-02-01 18:16:23 1075 TRACE cinder _launcher.wait()
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/cinder/service.py, line 127, in wait
 2013-02-01 18:16:23 1075 TRACE cinder service.wait()
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/eventlet/greenthread.py, line 166, in
 wait
 2013-02-01 18:16:23 1075 TRACE cinder return
 self._exit_event.wait()
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/eventlet/event.py, line 116, in wait
 2013-02-01 18:16:23 1075 TRACE cinder return
 hubs.get_hub().switch()
  2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py, line 177, in 
 switch
 2013-02-01 18:16:23 1075 TRACE cinder return self.greenlet.switch()
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/eventlet/greenthread.py, line 192, in
 main
 2013-02-01 18:16:23 1075 TRACE cinder result = function(*args,
 **kwargs)
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/cinder/service.py, line 88, in 
 run_server
 2013-02-01 18:16:23 1075 TRACE cinder server.start()
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/cinder/service.py, line 159, in start
 2013-02-01 18:16:23 1075 TRACE cinder self.manager.init_host()
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/cinder/volume/manager.py, line 101, in
 init_host
 2013-02-01 18:16:23 1075 TRACE cinder
 self.driver.ensure_export(ctxt, volume)
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/cinder/volume/driver.py, line 352, in
 ensure_export
 2013-02-01 18:16:23 1075 TRACE cinder old_name=old_name)
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/cinder/volume/iscsi.py, line 198, in
 create_iscsi_target
 2013-02-01 18:16:23 1075 TRACE cinder self._new_target(name, tid,
 **kwargs)
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/cinder/volume/iscsi.py, line 211, in
 _new_target
 2013-02-01 18:16:23 1075 TRACE cinder **kwargs)
 2013-02-01 18:16:23 1075 TRACE cinder   File
 /usr/lib/python2.7/dist-packages/cinder/volume/iscsi.py, 

[Openstack] How to completely disable Floating IPs?

2013-02-03 Thread Martinx - ジェームズ
Guys,

 I have no plans to use the so called Floating IPs in my Cloud Computing
environment.

 Mostly because I'll focus only on IPv6. I do not have any plans to support
IPv4 anymore.

 So, how can I completely disable the Floating IPs from Openstack?

 Is there a (nova.conf) option like: floating_ips = False that removes
everything related to it, from Dashboard and etc...?

Thanks!
Thiago
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Can I use a window XP to submit the code?

2013-02-03 Thread Xiazhihui (Hashui, IT)
Hi All,

   Can I use a window XP to submit the codes? Git-review cannot be installed in 
Windows well, is it necessary ? Can anybody give me help.

  Thank you.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Can I use a window XP to submit the code?

2013-02-03 Thread Aaron Rosen
Yup, it can be done via this:

 git push ssh://review.openstack.org:29418/openstack/project.git
HEAD:refs/for/branch

Aaron


On Sun, Feb 3, 2013 at 6:40 PM, Huang Zhiteng winsto...@gmail.com wrote:

 Git-review is python script, therefore it's possible to install it onto
 windows system, however it is more convenient to use Linux, even with a
 virtual machine.
 On Feb 4, 2013 9:32 AM, Xiazhihui (Hashui, IT) xiazhihu...@huawei.com
 wrote:

  Hi All,

 ** **

Can I use a window XP to submit the codes? Git-review cannot be
 installed in Windows well, is it necessary ? Can anybody give me help.***
 *

 ** **

   Thank you. 

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] [OpenStack][Tempest]All tests Openstack API can do is Tempest?

2013-02-03 Thread 豊田 玲央
Hi, everybody

I would like to use the Tempest as Integration Test.
So I'm thinking, and I want to check the APIs that are executed 
when we run the Tempest.
Are there any documents that explain what APIs are excuted 
when running the Tempest.
ex)
 
+--+-+
  | OpenStack API List | Tempest(test item) 
 |
 
+--+-+
  | GET  v2/flavors| OK: test_list_flavors  
   |
 
+--+-+
  | POST v2/{tenant_id}/os-security-groups | OK: 
test_security_group_create_delete |
 
+--+-+
  |   | 
 |

For OpenStack API, I was confirmed OpenStack API Reference.
URL:http://api.openstack.org/api-ref.html


Thanks.
Leo Toyoda



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack-ubuntu-testing-notifications] Build Still Failing: precise_grizzly_ceilometer_trunk #67

2013-02-03 Thread openstack-testing-bot
Title: precise_grizzly_ceilometer_trunk
General InformationBUILD FAILUREBuild URL:https://jenkins.qa.ubuntu.com/job/precise_grizzly_ceilometer_trunk/67/Project:precise_grizzly_ceilometer_trunkDate of build:Sun, 03 Feb 2013 07:01:09 -0500Build duration:2 min 49 secBuild cause:Started by an SCM changeBuilt on:pkg-builderHealth ReportWDescriptionScoreBuild stability: 2 out of the last 5 builds failed.60ChangesRename run_tests.sh to wrap_nosetests.shby sandy.walshedittox.iniaddwrap_nosetests.shdeleterun_tests.shConsole Output[...truncated 1960 lines...]Fail-Stage: install-depsHost Architecture: amd64Install-Time: 0Job: ceilometer_2013.1+git201302030701~precise-0ubuntu1.dscMachine Architecture: amd64Package: ceilometerPackage-Time: 0Source-Version: 2013.1+git201302030701~precise-0ubuntu1Space: 0Status: failedVersion: 2013.1+git201302030701~precise-0ubuntu1Finished at 20130203-0702Build needed 00:00:00, 0k disc spaceE: Package build dependencies not satisfied; skippingERROR:root:Error occurred during package creation/build: Command '['sbuild', '-d', 'precise-grizzly', '-n', '-A', 'ceilometer_2013.1+git201302030701~precise-0ubuntu1.dsc']' returned non-zero exit status 3ERROR:root:Command '['sbuild', '-d', 'precise-grizzly', '-n', '-A', 'ceilometer_2013.1+git201302030701~precise-0ubuntu1.dsc']' returned non-zero exit status 3INFO:root:Complete command log:INFO:root:Destroying schroot.bzr branch lp:~openstack-ubuntu-testing/ceilometer/grizzly /tmp/tmpdMeogM/ceilometermk-build-deps -i -r -t apt-get -y /tmp/tmpdMeogM/ceilometer/debian/controlpython setup.py sdistgit log -n1 --no-merges --pretty=format:%Hbzr merge lp:~openstack-ubuntu-testing/ceilometer/precise-grizzly --forcedch -b -D precise --newversion 2013.1+git201302030701~precise-0ubuntu1 Automated Ubuntu testing build:dch -a No change rebuild.debcommitbzr builddeb -S -- -sa -us -ucbzr builddeb -S -- -sa -us -ucdebsign -k9935ACDC ceilometer_2013.1+git201302030701~precise-0ubuntu1_source.changessbuild -d precise-grizzly -n -A ceilometer_2013.1+git201302030701~precise-0ubuntu1.dscTraceback (most recent call last):  File "/var/lib/jenkins/tools/openstack-ubuntu-testing/bin/build-package", line 141, in raise esubprocess.CalledProcessError: Command '['sbuild', '-d', 'precise-grizzly', '-n', '-A', 'ceilometer_2013.1+git201302030701~precise-0ubuntu1.dsc']' returned non-zero exit status 3Error in sys.excepthook:Traceback (most recent call last):  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 68, in apport_excepthookbinary = os.path.realpath(os.path.join(os.getcwd(), sys.argv[0]))OSError: [Errno 2] No such file or directoryOriginal exception was:Traceback (most recent call last):  File "/var/lib/jenkins/tools/openstack-ubuntu-testing/bin/build-package", line 141, in raise esubprocess.CalledProcessError: Command '['sbuild', '-d', 'precise-grizzly', '-n', '-A', 'ceilometer_2013.1+git201302030701~precise-0ubuntu1.dsc']' returned non-zero exit status 3Build step 'Execute shell' marked build as failureEmail was triggered for: FailureSending email for trigger: Failure-- 
Mailing list: https://launchpad.net/~openstack-ubuntu-testing-notifications
Post to : openstack-ubuntu-testing-notifications@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack-ubuntu-testing-notifications
More help   : https://help.launchpad.net/ListHelp


[Openstack-ubuntu-testing-notifications] Build Still Failing: raring_grizzly_cinder_trunk #123

2013-02-03 Thread openstack-testing-bot
Title: raring_grizzly_cinder_trunk
General InformationBUILD FAILUREBuild URL:https://jenkins.qa.ubuntu.com/job/raring_grizzly_cinder_trunk/123/Project:raring_grizzly_cinder_trunkDate of build:Mon, 04 Feb 2013 00:31:08 -0500Build duration:4 min 13 secBuild cause:Started by an SCM changeBuilt on:pkg-builderHealth ReportWDescriptionScoreBuild stability: All recent builds failed.0Changesimport tools/flakes from osloby jogoeditopenstack-common.confedittools/flakes.pyConsole Output[...truncated 5837 lines...]Source-Version: 2013.1+git201302040031~raring-0ubuntu1Space: 23324Status: attemptedVersion: 2013.1+git201302040031~raring-0ubuntu1Finished at 20130204-0035Build needed 00:01:32, 23324k disc spaceERROR:root:Error occurred during package creation/build: Command '['sbuild', '-d', 'raring-grizzly', '-n', '-A', 'cinder_2013.1+git201302040031~raring-0ubuntu1.dsc']' returned non-zero exit status 2ERROR:root:Command '['sbuild', '-d', 'raring-grizzly', '-n', '-A', 'cinder_2013.1+git201302040031~raring-0ubuntu1.dsc']' returned non-zero exit status 2INFO:root:Complete command log:INFO:root:Destroying schroot.bzr branch lp:~openstack-ubuntu-testing/cinder/grizzly /tmp/tmpwBP5SN/cindermk-build-deps -i -r -t apt-get -y /tmp/tmpwBP5SN/cinder/debian/controlpython setup.py sdistgit log -n1 --no-merges --pretty=format:%Hgit log 8960e4d33c73d79778aa02cfed0c7691a3b7e158..HEAD --no-merges --pretty=format:[%h] %sbzr merge lp:~openstack-ubuntu-testing/cinder/raring-grizzly --forcedch -b -D raring --newversion 2013.1+git201302040031~raring-0ubuntu1 Automated Ubuntu testing build:dch -a [31e4816] Fix the generalized copy_image_to_volume operation.dch -a [eeb6f8c] import tools/flakes from oslodch -a [54448d5] Set source volume to "in use" during clonedch -a [ee9d30a] Allow volume back-end to report 'infinite' or 'unknown' as capacitydch -a [f441b64] Use install_venv_common.py from oslo.dch -a [ff3b905] Update osapi_volume_extension default.dch -a [f02c575] Check for non-default volume name template.dch -a [31adf9a] Clean up QTree when deleting volume on NetApp storage box.debcommitbzr builddeb -S -- -sa -us -ucbzr builddeb -S -- -sa -us -ucdebsign -k9935ACDC cinder_2013.1+git201302040031~raring-0ubuntu1_source.changessbuild -d raring-grizzly -n -A cinder_2013.1+git201302040031~raring-0ubuntu1.dscTraceback (most recent call last):  File "/var/lib/jenkins/tools/openstack-ubuntu-testing/bin/build-package", line 141, in raise esubprocess.CalledProcessError: Command '['sbuild', '-d', 'raring-grizzly', '-n', '-A', 'cinder_2013.1+git201302040031~raring-0ubuntu1.dsc']' returned non-zero exit status 2Error in sys.excepthook:Traceback (most recent call last):  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 68, in apport_excepthookbinary = os.path.realpath(os.path.join(os.getcwd(), sys.argv[0]))OSError: [Errno 2] No such file or directoryOriginal exception was:Traceback (most recent call last):  File "/var/lib/jenkins/tools/openstack-ubuntu-testing/bin/build-package", line 141, in raise esubprocess.CalledProcessError: Command '['sbuild', '-d', 'raring-grizzly', '-n', '-A', 'cinder_2013.1+git201302040031~raring-0ubuntu1.dsc']' returned non-zero exit status 2Build step 'Execute shell' marked build as failureEmail was triggered for: FailureSending email for trigger: Failure-- 
Mailing list: https://launchpad.net/~openstack-ubuntu-testing-notifications
Post to : openstack-ubuntu-testing-notifications@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack-ubuntu-testing-notifications
More help   : https://help.launchpad.net/ListHelp


[Openstack-ubuntu-testing-notifications] Build Fixed: precise_grizzly_cinder_trunk #124

2013-02-03 Thread openstack-testing-bot
Title: precise_grizzly_cinder_trunk
General InformationBUILD SUCCESSBuild URL:https://jenkins.qa.ubuntu.com/job/precise_grizzly_cinder_trunk/124/Project:precise_grizzly_cinder_trunkDate of build:Mon, 04 Feb 2013 01:31:08 -0500Build duration:3 min 25 secBuild cause:Started by an SCM changeBuilt on:pkg-builderHealth ReportWDescriptionScoreBuild stability: 4 out of the last 5 builds failed.20ChangesSkip tests if cinder is not installedby Chuck Shorteditcinder/tests/scheduler/test_host_filters.pyFixes not in operator usageby zhongyue.naheditcinder/api/v2/snapshots.pyeditcinder/service.pyeditcinder/tests/integrated/api/client.pyeditcinder/volume/drivers/netapp.pyeditcinder/api/openstack/__init__.pyeditcinder/api/v1/volumes.pyeditcinder/volume/drivers/rbd.pyeditcinder/tests/integrated/test_volumes.pyeditcinder/api/v2/volumes.pyeditcinder/api/openstack/wsgi.pyeditcinder/volume/drivers/sheepdog.pyeditHACKING.rsteditcinder/volume/drivers/lvm.pyeditcinder/tests/integrated/integrated_helpers.pyeditcinder/tests/test_storwize_svc.pyeditcinder/api/contrib/types_extra_specs.pyeditcinder/api/v1/snapshots.pyeditcinder/tests/windows/mockproxy.pyeditcinder/tests/api/fakes.pyConsole Output[...truncated 6912 lines...]  Uploading cinder_2013.1+git201302040131~precise.orig.tar.gz: done.  Uploading cinder_2013.1+git201302040131~precise-0ubuntu1.debian.tar.gz: done.  Uploading cinder_2013.1+git201302040131~precise-0ubuntu1_source.changes: done.Successfully uploaded packages.INFO:root:Installing build artifacts into /var/lib/jenkins/www/aptDEBUG:root:['reprepro', '--waitforlock', '10', '-Vb', '/var/lib/jenkins/www/apt', 'include', 'precise-grizzly', 'cinder_2013.1+git201302040131~precise-0ubuntu1_amd64.changes']Exporting indices...Successfully created '/var/lib/jenkins/www/apt/dists/precise-grizzly/Release.gpg.new'Successfully created '/var/lib/jenkins/www/apt/dists/precise-grizzly/InRelease.new'Deleting files no longer referenced...deleting and forgetting pool/main/c/cinder/cinder-api_2013.1+git201301311801~precise-0ubuntu1_all.debdeleting and forgetting pool/main/c/cinder/cinder-common_2013.1+git201301311801~precise-0ubuntu1_all.debdeleting and forgetting pool/main/c/cinder/cinder-scheduler_2013.1+git201301311801~precise-0ubuntu1_all.debdeleting and forgetting pool/main/c/cinder/cinder-volume_2013.1+git201301311801~precise-0ubuntu1_all.debdeleting and forgetting pool/main/c/cinder/python-cinder_2013.1+git201301311801~precise-0ubuntu1_all.debINFO:root:Pushing changes back to bzr testing branchDEBUG:root:['bzr', 'push', 'lp:~openstack-ubuntu-testing/cinder/precise-grizzly']Pushed up to revision 73.INFO:root:Storing current commit for next build: b1764fdc8351fa653644bf01812adc6281348ab2INFO:root:Complete command log:INFO:root:Destroying schroot.bzr branch lp:~openstack-ubuntu-testing/cinder/grizzly /tmp/tmpYpn2TK/cindermk-build-deps -i -r -t apt-get -y /tmp/tmpYpn2TK/cinder/debian/controlpython setup.py sdistgit log -n1 --no-merges --pretty=format:%Hgit log 8960e4d33c73d79778aa02cfed0c7691a3b7e158..HEAD --no-merges --pretty=format:[%h] %sbzr merge lp:~openstack-ubuntu-testing/cinder/precise-grizzly --forcedch -b -D precise --newversion 2013.1+git201302040131~precise-0ubuntu1 Automated Ubuntu testing build:dch -a [b1764fd] Fixes 'not in' operator usagedch -a [98fa684] Skip tests if cinder is not installeddch -a [31e4816] Fix the generalized copy_image_to_volume operation.dch -a [eeb6f8c] import tools/flakes from oslodch -a [54448d5] Set source volume to "in use" during clonedch -a [ee9d30a] Allow volume back-end to report 'infinite' or 'unknown' as capacitydch -a [f441b64] Use install_venv_common.py from oslo.dch -a [ff3b905] Update osapi_volume_extension default.dch -a [f02c575] Check for non-default volume name template.dch -a [31adf9a] Clean up QTree when deleting volume on NetApp storage box.debcommitbzr builddeb -S -- -sa -us -ucbzr builddeb -S -- -sa -us -ucdebsign -k9935ACDC cinder_2013.1+git201302040131~precise-0ubuntu1_source.changessbuild -d precise-grizzly -n -A cinder_2013.1+git201302040131~precise-0ubuntu1.dscdput ppa:openstack-ubuntu-testing/grizzly-trunk-testing cinder_2013.1+git201302040131~precise-0ubuntu1_source.changesreprepro --waitforlock 10 -Vb /var/lib/jenkins/www/apt include precise-grizzly cinder_2013.1+git201302040131~precise-0ubuntu1_amd64.changesbzr push lp:~openstack-ubuntu-testing/cinder/precise-grizzlyEmail was triggered for: FixedTrigger Success was overridden by another trigger and will not send an email.Sending email for trigger: Fixed-- 
Mailing list: https://launchpad.net/~openstack-ubuntu-testing-notifications
Post to : openstack-ubuntu-testing-notifications@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack-ubuntu-testing-notifications
More help   : https://help.launchpad.net/ListHelp