This improves handling of non-ASCII args... it's not
exactly a comprehensive solution, though.
Partial (demonstration) fix for bug 931667.
Change-Id: Icc2aabe9c0c521732003f7013438630ebc8d2238
* Removes deprecated auth from cloudpipe extension
* Fixes pipelib to not use ec2_api
* Changes vpn_image_id to be a uuid
* Uses network api to retrieve information
* Simplifies cloudpipe tests
* Removes nova-manage cloudpipe launching
* Removes related unused db methods
* Fixes bug 940744
Change-Id: I5fd1fb49a9e11b89062aa754501fed29874cb6ee
Fix bug 939531.
This patch makes nova-manage print out a more friendly error message if
it needs to be run as root instead of failing with an exception
traceback. It catches an EACCES error when opening the config file or
opening log files and exits cleanly.
Change-Id: I2bd2bf3750c2bd3d672a037edb56f2b0b9bf1379
This enables flat deployments where the instances live on the
'general' network. For example, a typical home router uses
192.168.0.0/16 for the private network. Cloud machines can be
assigned 192.168.100.0/24. An example network create command:
nova-manage network create private 192.168.0.0/16 1 65536 \
--fixed_cidr=192.168.100.0/24 --gateway=192.168.1.1
Change-Id: I17edd81e9bc21ca3320233b606c99e03e25201bc
* Introduce ability to dump auth data to json blob for consumption by keystone
* Implements bp keystone-export-rewrite
Change-Id: Ic8c0ade8350daa449fb6df7ad3c55c3ae2b0c2c7
Fix bug 932071.
Print out a friendly message from nova-manage when the "floating list"
command is issued but no floating IPs have been defined. Prior to this
change, a generic error message would be printed, pointing to the log
for further details.
Change-Id: I0d11f93e9f51cf4e99e319bc9296f73380564257
* Convert ApiError to EC2APIError
* Add new exceptions to replace ApiError where it didn't belong
* Fixes bug 926250
Change-Id: Ia711440ee0313faf8ea8c87e2c0a2f5b39cc55a2
Make FLAGS a ConfigOpts instance and fix up all the places where we
expected FlagValues behaviour.
Change-Id: I8f96f42e0d8d30ba6b362d29861e717cf0fa9e89
* Gets rid of annoying purge semantics
* removes unique constraints from the db
* deletes extra specs when a volume is deleted
* adds exceptions for when the type already exists
* fixes bug 854930
* fixes bug 925823
Change-Id: I4618759e31501b2e85325f4e9b9895f04dc151d0
nova-rootwrap does not wait() for the subprocess it executes to complete before
returning its return code. This often ends up in 0 being returned regardless of
failure/success and causing unforeseen problems in Nova.
Fixes bug #928566
Change-Id: I9b6d85c747513086d0e774cb92ba403886b3283c
Running nova-all, I see:
(nova): TRACE: NoSuchOptError: no such option: xvpvncproxy_manager
xvp_proxy is a WSGIService, not a Service.
Change-Id: I073d6536134a4fc8d819c808a6c96b02390b556d
Removes copy of ajaxterm code, nova-ajax-console-proxy,
and support for get_ajax_console from Nova proper.
Implements blueprint remove-ajaxterm
Fixes bug 917963
Change-Id: I2c0ff427c53c0f63a18b10475d6b4cbe9a085d83
Having to manually sudo to the nova user to make things work is
tedious. Make it so that if we can't read the conffile, we just
re-exec under sudo.
Fixes bug 805695
Change-Id: I322cece80ca757c69147fb3f8474ad137d9bff82
Move it here so that it can be kept in sync with openstack-common using
the new update.py script for code in openstack-common's incubation area.
See here for more details:
http://wiki.openstack.org/CommonLibrary#Incubation
Note: this commit just moves the existing code in Nova with no other
changes. A subsequent commit will sync it with latest openstack-common
so that it is easier see the new changes.
Change-Id: If88d678b1b9bad3d37117de7f7159d7fea8ab4c8
Fixes bug 894807.
This patch changes the output of "nova-manage vm list" to use the
display_name for an instance instead of the hostname in the output.
This makes the output consistent with what you get with "nova list".
Change-Id: I3131c5aad8770481bac7731c06110a98b4cc2966
Fixes bug 767984.
This patch ensures that pooled connections to a messaging system get
cleaned up before a process that has used the RPC API exits.
Change-Id: I56eca54334075378534a7a5d3434c420319672b4
The next obvious step in porting to cfg is to define all options using
cfg schemas directly rather than using the flags.DEFINE_* helpers.
This is a large change, but it is almost entirely pure refactoring and
does not result in any functional changes.
The only change to note is that the default values for glance_host,
glance_api_servers and default_publisher_id options are now using opt
value interpolation i.e.
-glance_host=_get_my_ip()
+glance_host='$my_ip'
-glance_api_servers=['%s:%d' % (FLAGS.glance_host, FLAGS.glance_port)]
+glance_api_servers=['$glance_host:$glance_port']
-default_publisher_id=FLAGS.host
+default_publisher_id='$host'
Also note that the lower_bound check on the {report,periodic}_interval
options are no more, but this has been true since cfg was first added.
Change-Id: Ia58c8f0aaf61628bb55b1b8485118a2a9852ed17
These problems were introduced in https://review.openstack.org/2918
* nova-manage needs the change from local_gb to root_gb/ephemeral_gb.
* fixes 'nova-manage flavor ...'
* fixes 'nova-manage service describe_resource ...'
Change-Id: I63040359a425aac3ef7a0a84e6834b1dfe3a8790
* Adds new worker for cert management
* Makes decrypt use an rpc to the worker
* Moves CA filesystem creation out of cloud.setup
* Moves test for X509 into crypto
* Adds test for encrypting and decrypting using cert
* Cleans up extra code in cloudpipe
* Fixes bug 918563
* Prepares for a future patch that will fix bug 903345
Change-Id: I4693c50c8f432706f97395af39e736f49d60e719
Change nova-manage network modify --network to --fixed_range, to match
nova-manage network delete.
Also document both.
Change-Id: I3c03a33e9e3576393252d771eb4ce3353a7f2eaa
Updates the nova-manage to use db.instance_get_all for instance
information instead of relying on Sqlalchemy model relationships
(which no longer exist due to network refactorings).
This commit fixes 'nova-manage fixed list' so that it correctly
displays hostname, and host. I dropped the MAC address column
which would have required an extra VIF's table lookup and
wasn't used as much.
Fixes LP Bug #920159.
Change-Id: I3cec690c5e40631e0f10b2a914f46863601a1734
Fix environment passing in DnsmasqFilter so that dnsmasq can
be run as root through nova-rootwrap. Fixes bug 919275.
Change-Id: I2e78d92b9af4ddea9c0f1c5ddbe2d55fb672310e
Fixes nova-manage config list to work with the latest flags
implementation in nova Essex. Fixes LP bug #920157.
Change-Id: I3321dc68e4a571354d62836b39f887b0fc2e9877
* Creates a unified way to access vnc consoles for xenserver and libvirt
* Now supports both java and websocket clients
* Removes nova-vncproxy - a replacement version of this (nova-novncproxy) can be found as described in vncconsole.rst
* Adds nova-xvpvncproxy, which supports a java vnc client
* Adds api extension to access java and novnc access_urls
* Fixes proxy server to close/shutdown sockets more cleanly
* Address style feedback
* Use new-style extension format
* Fix setup.py
* utils.gen_uuid must be wrapped like str(utils.gen_uuid()) or it can't be serialized
Change-Id: I5e42e2f160e8e3476269bd64b0e8aa77e66c918c
* Moves openstack/v2 directory to compute and fixes tests accordingly
* Moves some code from api/openstack/compute to shared location, for use by volume api
* Implements basic volume functionality for types, volumes, and snapshots
* Changes service name from osapi to osapi_compute (and adds osapi_volume)
* Renames nova-api-os to nova-api-os-compute, adds nove-api-os-volume
* Separate extension mechanism for compute and volume
** Removes flag osapi_extension and replaces with osapi_compute_extension and osapi_volume_extension
* Updates the paste config
* Fixes setup.py to include nova-os-api-compute and nova-os-api-volume
* Fix bug in volume version code that occurred as result of trunk merge
* Update integrated/test_volumes.py to use new endpoint
Change-Id: I4c2e57c3cafd4e1a9e2ff3ce201c8cf28326afcd