298 Commits

Author SHA1 Message Date
joey5678
4886a8a246 Modify the installation script of nova and glance
Modify the installation script of nova and glance, include the README files.

Change-Id: I477d453526941be8caa3ee89ee20c575067c416b
2014-12-23 18:29:38 +08:00
jiahaojie
995258ecf8 add README file for neutron cascaded_l3_patch and timestamp_cascaded_patch
Change-Id: Ieb2903c9f76d5ff1052f28baf88d8dbfd0f33223
2014-12-23 11:43:53 +08:00
ChiZhang
757910ecc8 modified README.md for installation cinder-proxy
Change-Id: I5f2fc693e15662dd5173afd40ecb784f7ac26ce4
2014-12-22 15:14:03 +08:00
ChiZhang
f5e3a8407b modify install script and remove uuid-mapping-patch
1.add [cinder_tenant_id] and [pagination_limit] fields for for cinder-proxy
2.remove uuid-mapping-path
3.delete README.md for creating volume from image BUG explanation

Change-Id: I3d6bf4589a0f3523b4e465fa46f590085f8accb3
2014-12-22 06:07:08 +00:00
joey5678
ec5f67c91c Modify Readmd for the remove of mapping_uuid patch
Modify Readmd for the remove of mapping_uuid patch, so we modify some
README.md files to keep consistently.

Change-Id: Iec8700dc336abfc77d49792ed052069cb84980b3
2014-12-22 12:57:13 +08:00
joey5678
909968edec resolve sync image execption handle in nova
resolve sync image execption handle in nova when using sync the image
ate the first time lauching instance.

Change-Id: I07ff47b59d45f9efbaf2f62332b83db8add25357
2014-12-20 15:00:54 +08:00
joey5678
9ed9344fc2 add script module for tricircle options
add script module for tricircle options

Change-Id: If2224b8760229020020bcda6e43d029b8af7a813
2014-12-19 18:16:36 +08:00
ChiZhang
72fb1af940 modify cinder client
Change-Id: Idac1a2a97f1071c613763733e0b00e2c7d7b2f74
2014-12-19 17:57:24 +08:00
ChiZhang
1b9de6b874 fix tenant name for admin client
Change-Id: I8d81193050d7847d288ddc7c936b2cb4616d4c50
2014-12-19 10:46:15 +08:00
joey5678
82e81414b3 rollback update_available_resource
the update_available_resource aims to notify the compute hosts info
to db.

Change-Id: I3fc12173c9bb988775494a556327b9893bcdbc36
2014-12-18 14:06:00 +08:00
ChiZhang
a696e0eafb 1. reuse mapping uuid cache for cinder proxy
2. get rid off service cacatlog in cinder admin uer cinder client

Change-Id: Ib331e3d4b424e7a1667b09b2820a18dee63a138d
2014-12-17 17:30:26 +08:00
ChiZhang
6d4182e47a store cinderclient for admin user in proxy cache
Change-Id: I48032a466319959ec22a9a0044234e1d4d1bf8ea
2014-12-15 13:46:55 +00:00
jiahaojie
c3d4f22000 modify l2-proxy to get token when it was expired
Change-Id: I392f96e2b47e19dc1c959994c02ab7d445da2e37
2014-12-15 18:42:41 +08:00
joey5678
68ab7c12d4 cache the sync nova client
To avoid too many token-requests from the sync instance state function
we cache the sync_nova_client.

Change-Id: I6069d733dc4781598e1874bc2d24195d0e5f2a86
2014-12-15 16:52:51 +08:00
ChiZhang
7f649fc7ad modify remarks and logs for cinder proxy
Change-Id: Ib39eb92dc68e8cacfb5588a2b04226723249bbf5
2014-12-15 12:36:00 +08:00
ChiZhang
fa7b301843 remove terminate_connection while detach_volume for novaproxy
Change-Id: Icefca593dfd76a5173a717b5f8ec2f5155484a33
2014-12-15 12:23:37 +08:00
joey5678
bfd2c11595 get rid off terminate_connection for nova_proxy while detach volume
Change-Id: I17ea74b804bf71958df70eb2885a8656757719df
2014-12-15 11:20:48 +08:00
joey5678
cfafc8d47a Cinder proxy paging
cinder proxy paging

Change-Id: Icc881edfac618afb58bfaec4ce37c3d2252cd384
2014-12-14 11:37:45 +08:00
joey5678
7c5a2be507 novaproxy performance optimization
adding paging search for periodic sync instance state, add a periodic
task for check if the cascaded instance should be full deleted for proxy
error exit when deleting.

Change-Id: I16652ea0d1e615e09e0367224d57f85bc6709538
2014-12-12 16:28:27 +08:00
jiahaojie
7597fd6e65 delete spaces in l2_proxy.py file
Change-Id: Ic73c6ebf2216e9a9acd29e4c7f0e0638dd4f5bc4
2014-12-11 17:54:03 +08:00
jiahaojie
3831e50de9 delete some spaces in l2_proxy.py file
Change-Id: I4cd422f277a441886e20b8a4bd78f30797445bf1
2014-12-11 17:32:58 +08:00
jiahaojie
feb554ceb8 port list pagination patch for l2-proxy
Change-Id: Iaafc366166aca9a4565e23f67fa2194ecff5d07d
2014-12-11 16:21:23 +08:00
joey5678
75643b324f Resovle some perfromance issues of nova cascading
Firstly, we get rid of the unused code in manager_proxy; then adding the
paging function of query nova instances; finally, the resize func is
modified for rollback flavor when cascaded resize failed.

Change-Id: I9bd576add946400cdec19cae466a933f57f80f32
2014-12-10 15:51:42 +08:00
joey5678
72a648dd85 Config paging query for cinder
Config paging query for cinder.

Change-Id: Ib230efaba7ba09862668c8c5d8d7fa158112d54f
2014-12-10 10:01:21 +08:00
jiahaojie
c1d1c112fb add config option "cascade_str" for cascading_l3_patch
Change-Id: I87ac2f513230df513ec7ca5dd495208c66585741
2014-12-09 16:59:47 +08:00
jiahaojie
d4d1e9fa17 add config option "cascade_str" for cascading_l3_patch
Change-Id: Id6c12e1d028d6f561e4ff203f94895027103c0bf
2014-12-09 16:54:50 +08:00
joey5678
8103bf5350 Check and sync flavor extra_spces
Add the function to sync the flavor's extra_spces between cascading
and cascaded when instance is launched or rebooted.

Change-Id: I1e00aaae1660a58d2462896ea141bf240d81c932
2014-12-08 16:47:31 +08:00
joey5678
893a4b6379 Modify glance's sync strategy option
Add a 'nova' option of sync_strategy in glance-sync.conf, which means
sync the image when firsh time the instance is lanuched.

Change-Id: I136a9a04a6c21a6637e66468f9f07558b5dabf00
2014-12-05 11:50:43 +08:00
joey5678
5e552bc270 Unuse the mapping_uuid field in cascading
The added 'mapping_uuid' field in Instance table in DB of cascading
store the mapping relationship between cascading and cascaded instances.

We replace the above method to putting the mapping into a dict in the
memory for improving performance. Another modification is sync flavor
when reboot.

Change-Id: I2e6cf2a3eb9649509e5be181631c2030104a3f9b
2014-12-04 15:59:38 +08:00
Jenkins
2921f1e7f2 Merge "modify l2-proxy-- query ports based on timestamp" 2014-11-29 10:55:11 +00:00
zhangni
060771bedf modify l2-proxy-- query ports based on timestamp
Change-Id: Id51d8c3cfb2f52dc5bbf6ebc085bc4cf963061b8
2014-11-29 18:52:31 +08:00
Jenkins
0e74ec5955 Merge "modify install.sh of neutron_cascading_l3_patch" 2014-11-29 10:49:00 +00:00
zhangni
2c1ee14802 modify install.sh of neutron_cascading_l3_patch
Change-Id: Iff5df0afba69be30f2fd94a4ad7698e0551e0b5d
2014-11-29 18:47:32 +08:00
Jenkins
97fd07b36f Merge "add neutron cascaded big2layer patch" 2014-11-29 10:45:09 +00:00
zhangni
d4e3d1c813 add neutron cascaded big2layer patch
Change-Id: I0860ed5a6291ea7c19611738e7a519de5f24b728
2014-11-29 18:41:20 +08:00
joey5678
89a4dbf6c1 nova flavor/keypair modification synced
we do the follow modification:
1. nova flavor/keypair modification synced;
2. sync the instance with certain states;
3. remove the unnecessary event record of cascading;
4. when glance sync image data, one suitable location woudl be
chosen.

Change-Id: I5981e2220a0f28b5b69e0b4fa887a096dc01109b
2014-11-29 14:45:14 +08:00
zhangni
83da6bf451 add timestamp patch for cascaded neutron server
Change-Id: Ie28b643009964fa4246f6df937d047d81676ac3c
2014-11-29 10:50:06 +08:00
joey5678
b7e6e4dccf Modify Readme and install files
For Juno, the whole cascading readme file and the configuration
and install scripts  need to be changed.

Change-Id: I54ef9a35dcff5cce41ecbf90a6a28e32dc7d833f
2014-11-26 15:57:50 +08:00
joey5678
7e3e60a34a Add/Modify some files
add an entry_point file, also modify a few readme-files

Change-Id: Ie7c69ff6e676254769dd4dc76a2f5b0906e61ae7
2014-11-25 16:00:50 +08:00
joey5678
b6461fcb82 Modify image sync in novaproxy to for juno
modify the filesystem in image/sync/drivers for juno reason.

Change-Id: Ie146da171af52af195a56a8abcee5622c3ce3d8c
2014-11-24 15:11:25 +08:00
joey5678
5ff55866f8 Modify nova proxy to adapt juno
Modify manager_proxy in novaproxy for some bugs.

Change-Id: I1363f76684217d1b176f3846df68130d715b23c4
2014-11-24 15:01:29 +08:00
joey5678
e6d7dc78ce Transplant tricircle to juno version
The tricircle project is based on Openstack Icehouse version, this
patch modify to adopt the Juno version.

Change-Id: I1afe6122575ed2bedb6e3220177e161763ce161c
2014-11-22 21:57:08 +08:00
joey5678
e211f7efef Sync image when first instance launched
When instance launched in the cascaded openstack and no corresponding
image found, then the image will be synced to cascaded firstly, then
vm is launched by this image.
Next time when launching instance using the same image, there is no
need to sync.

Implements: blueprint sync-image-first-vm-launch
Change-Id: I51e43065c7b0ed2a59f44aca5ab9c06a8a858945
2014-11-17 18:10:07 +08:00
joey5678
7caf4f39db Add delay time for sync between cascading and cascaded vm status
Change-Id: I6dc4e9ded698db46103d8ce218307d10728f4b72
v1.1
2014-10-23 17:25:55 +08:00
joey5678
d60ac07ff9 Modify the arguments number lack bug
The _heal_proxy_ports method in manager_proxy.py lacks an argument
of 'instance', which make the vm can not launched.

Change-Id: I59ecb92aca4b816dfcd4a3d0821a6297b625d136
2014-10-15 21:20:09 +08:00
joehuang
06182d11c0 Add code lines developed description
Add how much code lines developed for OpenStack cascading,
including cascading for Nova,Cinder,Neutron and Glance Sync Manager.

Change-Id: I4fb5acc1e184f7c4085b42ad873355492dffca8d
2014-09-29 14:44:25 +08:00
openstack
0885397d10 Add source code to Tricircle
Initial PoC source code for Tricircle, the project for OpenStack cascading solution.

Change-Id: I8abc93839a26446cb61c8d9004dfd812bd91de6e
2014-09-25 15:56:40 +08:00
OpenStack Project Creator
e75f01b9a6 Added .gitreview 2014-09-11 17:53:28 +00:00