Re: [Openstack] Cannot reach external IPs

2012-12-30 Thread Gary Kotton

On 12/29/2012 06:16 AM, Dennis Jacobfeuerborn wrote:

Hi,
I've successfully setup a single machine openstack environment including
quantum with a provider router configuration (openvswitch). The Problem is
that I cannot reach the internet from the VMs.

The reason apparently is that the default quantum network type is local
which doesn't allow that. I tried switching this to flat but when I try
to create a provider network for the tenant I get:

[dennis@localhost ~]$ quantum net-create --tenant-id
fcd3e4ddcf264bd39bce043bea12aaf0 net1 --provider:network_type flat
--provider:physical_network physnet1

Invalid input for operation: unknown provider:physical_network physnet1.


Can you please take a look at http://wiki.openstack.org/ConfigureOpenvswitch
Thanks
Gary


In the ovs plugin ini I put bridge_mappings = physnet1:br-ex and the
br-ex bridge exists and has the physical port as a member.

According to this documentation a network type of flat should be possible?
http://docs.openstack.org/folsom/openstack-network/admin/content/provider_attributes.html

Regards,
   Dennis

___
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


Re: [Openstack] How to create vm instance to specific compute node?

2012-12-30 Thread Rick Jones

On 12/27/2012 02:39 PM, Jay Pipes wrote:

No.


Pity - I'd just gotten used to that mechanism :)


Use nova boot --availability_zone=nova:hostname where nova: is your
availability zone and hostname is the hostname of the compute node you
wish to put the instance on.

Note this is an admin-only ability by default and can oversubscribe the
compute node the instance goes on.


Will it use the same /var/lib/nova/sch_hosts/id mechanism to allow 
mere mortals to use it like the onhost stuff did?


thanks,

rick



Best,
-jay

On 12/27/2012 02:45 PM, Rick Jones wrote:

Does the convention of adding --onhost--computenodename to the instanc
name being created still work?

rick jones

___
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


Re: [Openstack] Associating virtual instance NICs to specific networks in quantum

2012-12-30 Thread Itzik Brown

Hi,

What about running nova boot:
#nova boot --flavor m1.tiny --image myimage --nic 
net-id=e7038a3b-cd45-4795-83ec-02b0a11a9bf1 --nic 
net-id=dc95727d-9495-44e8-9b27-0a942cd671fc vm1.


Here the first NIC will be connected to Network with ID 
e7038a3b-cd45-4795-83ec-02b0a11a9bf1 and the second to Network with ID 
dc95727d-9495-44e8-9b27-0a942cd671fc.


Hope it helps,
Itzik

On 28/12/2012 06:26, Balamurugan V G wrote:
Lets says, I create a Linux virtual Instance in an OpenStack private 
cloud and associate the instance with two networks; A  B. It seems to 
associate eth0 and eth1 to A and B respectively. But is there any way 
in which I can specify that eth0 should be attached to network B and 
eth1 should be attached to network A.


The quantum CLI 'quantum port-create' accepts just device-id and 
network-id which is not sufficient to achieve the level of specificity 
I believe. Can this be achieved today?


Also when will the Horizon UI and Quantum REST API reach feature 
parity with the Quantum CLI? will it be in Grizzly or later?


Thanks,
Balu


___
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


Re: [Openstack] Associating virtual instance NICs to specific networks in quantum

2012-12-30 Thread Balamurugan V G
Thanks Itzik. This basically goes by the order. Though this should suffice
for most cases, it would have been nice to have more fine grain control and
specify the interface names as well.

Also, we cant achieve this in Horizon yet. Any idea when Horizon will reach
feature parity with CLI?

Regards,
Balu

On Mon, Dec 31, 2012 at 3:35 AM, Itzik Brown itz...@dev.mellanox.co.ilwrote:

  Hi,

 What about running nova boot:
 #nova boot --flavor m1.tiny --image myimage --nic
 net-id=e7038a3b-cd45-4795-83ec-02b0a11a9bf1 --nic
 net-id=dc95727d-9495-44e8-9b27-0a942cd671fc vm1.

 Here the first NIC will be connected to Network with ID
 e7038a3b-cd45-4795-83ec-02b0a11a9bf1 and the second to Network with ID
 dc95727d-9495-44e8-9b27-0a942cd671fc.

 Hope it helps,
 Itzik

 On 28/12/2012 06:26, Balamurugan V G wrote:

 Lets says, I create a Linux virtual Instance in an OpenStack private cloud
 and associate the instance with two networks; A  B. It seems to associate
 eth0 and eth1 to A and B respectively. But is there any way in which I can
 specify that eth0 should be attached to network B and eth1 should be
 attached to network A.

 The quantum CLI 'quantum port-create' accepts just device-id and
 network-id which is not sufficient to achieve the level of specificity I
 believe. Can this be achieved today?

 Also when will the Horizon UI and Quantum REST API reach feature parity
 with the Quantum CLI? will it be in Grizzly or later?

 Thanks,
 Balu


 ___
 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-ubuntu-testing-notifications] Build Still Failing: precise_grizzly_nova_trunk #355

2012-12-30 Thread openstack-testing-bot
Title: precise_grizzly_nova_trunk
General InformationBUILD FAILUREBuild URL:https://jenkins.qa.ubuntu.com/job/precise_grizzly_nova_trunk/355/Project:precise_grizzly_nova_trunkDate of build:Mon, 31 Dec 2012 00:31:02 -0500Build duration:6 min 26 secBuild cause:Started by an SCM changeBuilt on:pkg-builderHealth ReportWDescriptionScoreBuild stability: All recent builds failed.0ChangesImported Translations from Transifexby Jenkinseditnova/locale/nova.potConsole Output[...truncated 10647 lines...]dch -a [37d42ca] Add more association support to network APIdch -a [6ab2790] Remove the WillNotSchedule exception.dch -a [aef9802] Replace fixtures.DetailStream with fixtures.StringStream.dch -a [19558ab] Move network_driver into new nova.network.driverdch -a [06f0e45] Move DNS manager options into network.managerdch -a [bcfb4d4] Refactor xvp consoledch -a [2f8ffcc] Move agent_build_get_by_triple to conductordch -a [20f0c60] Move provider_fw_rule_get_all to conductordch -a [20811e9] Move security_group operations in VirtAPI to conductordch -a [6da1dbc] Retry NBD device allocation.dch -a [4abc8cc] Use testr to run nova unittests.dch -a [bd7fb1c] Add a developer trap for api samplesdch -a [694bcb7] Update command on devref docdch -a [921eec9] Fixed deleting instance booted from invalid voldch -a [461a966] Add the missing replacement text in devref doc.dch -a [5019de6] Allow xenapi to work with empty image metadatadch -a [18817c7] Imported Translations from Transifexdch -a [76588ed] Fix for broken switch for config_drivedch -a [98a7161] Fix use of osapi_compute_extension option in api_samples.dch -a [6c9d9ab] Fix errors in used_limits extensiondch -a [a5b12b6] Add syslogging to nova-rootwrapdch -a [a630ea4] Ensure that sql_dbpool_enable is a boolean valuedch -a [503d572] Fixes KeyError: 'sr_uuid' when booting from volume on xenapidch -a [d6aa0cc] Remove the deprecated quantum v1 code and directory.dch -a [a2101c4] Allows an instance to post encrypted passworddch -a [44d543b] Volume backed live migration w/o shared storagedebcommitbzr builddeb -S -- -sa -us -ucbzr builddeb -S -- -sa -us -ucdebsign -k9935ACDC nova_2013.1+git201212310031~precise-0ubuntu1_source.changessbuild -d precise-grizzly -n -A nova_2013.1+git201212310031~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', 'nova_2013.1+git201212310031~precise-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', 'precise-grizzly', '-n', '-A', 'nova_2013.1+git201212310031~precise-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 Still Failing: raring_grizzly_nova_trunk #358

2012-12-30 Thread openstack-testing-bot
Title: raring_grizzly_nova_trunk
General InformationBUILD FAILUREBuild URL:https://jenkins.qa.ubuntu.com/job/raring_grizzly_nova_trunk/358/Project:raring_grizzly_nova_trunkDate of build:Mon, 31 Dec 2012 00:31:03 -0500Build duration:8 min 23 secBuild cause:Started by an SCM changeBuilt on:pkg-builderHealth ReportWDescriptionScoreBuild stability: All recent builds failed.0ChangesImported Translations from Transifexby Jenkinseditnova/locale/nova.potConsole Output[...truncated 12457 lines...]dch -a [f4ca695] fix test_nbd using stubsdch -a [1a7a0e1] Imported Translations from Transifexdch -a [21a86ef] Properly remove the time override in quota tests.dch -a [2e01dc0] Fix API samples generation.dch -a [ef5d2af] Move TimeOverride to the general reusable-test-helper place.dch -a [aef4f3c] Added conf support for security groupsdch -a [07af4ce] Add accounting for orphans to resource tracker.dch -a [37d42ca] Add more association support to network APIdch -a [6ab2790] Remove the WillNotSchedule exception.dch -a [aef9802] Replace fixtures.DetailStream with fixtures.StringStream.dch -a [19558ab] Move network_driver into new nova.network.driverdch -a [06f0e45] Move DNS manager options into network.managerdch -a [bcfb4d4] Refactor xvp consoledch -a [2f8ffcc] Move agent_build_get_by_triple to conductordch -a [20f0c60] Move provider_fw_rule_get_all to conductordch -a [20811e9] Move security_group operations in VirtAPI to conductordch -a [6da1dbc] Retry NBD device allocation.dch -a [4abc8cc] Use testr to run nova unittests.dch -a [694bcb7] Update command on devref docdch -a [921eec9] Fixed deleting instance booted from invalid voldch -a [461a966] Add the missing replacement text in devref doc.dch -a [a5b12b6] Add syslogging to nova-rootwrapdch -a [a630ea4] Ensure that sql_dbpool_enable is a boolean valuedch -a [d6aa0cc] Remove the deprecated quantum v1 code and directory.dch -a [a2101c4] Allows an instance to post encrypted passworddch -a [44d543b] Volume backed live migration w/o shared storagedebcommitbzr builddeb -S -- -sa -us -ucbzr builddeb -S -- -sa -us -ucdebsign -k9935ACDC nova_2013.1+git201212310031~raring-0ubuntu1_source.changessbuild -d raring-grizzly -n -A nova_2013.1+git201212310031~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', 'nova_2013.1+git201212310031~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', 'nova_2013.1+git201212310031~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