This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ingredients: | |
For fish Marinade: | |
1/4 tsp turmeric | |
5 cloves garlic crushed | |
some ginger crushed/grated | |
1 Tbsp tandoori chicken masala | |
1 Tbsp coriander power | |
5 green chillies chopped | |
lemon juice - from one lemon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Operational Visibility Workshop: | |
kaizen - recognizes improvement can be small or large | |
the objectives of observability - business velocity, availability, efficiency and scalability | |
problems with traditional monitoring system - too many dashboards, data collected multiple times, resolution too high, logs not centralized | |
little better - | |
monitoring - sense which uses rabbitmq and redis for scaling. | |
log stash agent, can count telemetry data, sends to statsd which and sends it to graphite | |
extracting performance schema data to graphite | |
elastic search | |
whisper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-08-14 20:23:19.650 3111 TRACE trove.guestagent.datastore.mysql.manager Stderr: "chmod: cannot access `/var/lib/mysql/xtrabackup_binlog_info': No such file or directory\n" | |
/binlog | |
2014-08-14 20:23:19.661 3111 ERROR trove.openstack.common.rpc.amqp [-] Exception during message handling | |
2014-08-14 20:23:19.661 3111 TRACE trove.openstack.common.rpc.amqp Traceback (most recent call last): | |
2014-08-14 20:23:19.661 3111 TRACE trove.openstack.common.rpc.amqp File "/usr/share/python/trove/lib/python2.7/site-packages/trove/openstack/common/rpc/amqp.py", line 440, in _process_data | |
2014-08-14 20:23:19.661 3111 TRACE trove.openstack.common.rpc.amqp **args) | |
2014-08-14 20:23:19.661 3111 TRACE trove.openstack.common.rpc.amqp File "/usr/share/python/trove/lib/python2.7/site-packages/trove/openstack/common/rpc/dispatcher.py", line 172, in dispatch | |
2014-08-14 20:23:19.661 3111 TRACE trove.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs) | |
2014-08-14 20:23:19.661 3111 TRACE trove.openstac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i -X GET -H 'X-Auth-Token: MIIMaQYJKoZIhvcNAQcCoIIMWjCCDFYCAQExCTAHBgUrDgMCGjCCCr8GCSqGSIb3DQEHAaCCCrAEggqseyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wOC0yMVQxNToxNjozNC43NTQ1NDEiLCAiZXhwaXJlcyI6ICIyMDEzLTA4LTIyVDE1OjE2OjM0WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNzZiOGVhNTM1NWRjNGVkMzg1MmE1ZDA1MTMyMmQ2ZTMiLCAibmFtZSI6ICJkZW1vIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vMTg0LjEwNi4xMDYuMTY0Ojg3NzQvdjIvNzZiOGVhNTM1NWRjNGVkMzg1MmE1ZDA1MTMyMmQ2ZTMiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTg0LjEwNi4xMDYuMTY0Ojg3NzQvdjIvNzZiOGVhNTM1NWRjNGVkMzg1MmE1ZDA1MTMyMmQ2ZTMiLCAiaWQiOiAiYmI0MGUxYzY2YjgxNGEyMWIzMDYzNGZmYzQ3NTQ0NzQiLCAicHVibGljVVJMIjogImh0dHA6Ly8xODQuMTA2LjEwNi4xNjQ6ODc3NC92Mi83NmI4ZWE1MzU1ZGM0ZWQzODUyYTVkMDUxMzIyZDZlMyJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJjb21wdXRlIiwgIm5hbWUiOiAibm92YSJ9LCB7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly8xODQuMTA2LjEwNi4xNjQ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i -X POST -H 'User-Agent: python-glanceclient' -H 'Content-Type: application/octet-stream' -H 'X-Auth-Token: MIIKyAYJKoZIhvcNAQcCoIIKuTCCCrUCAQExCTAHBgUrDgMCGjCCCaEGCSqGSIb3DQEHAaCCCZIEggmOeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNC0wM1QxNTo1Njo1NS4zNDAyMDYiLCAiZXhwaXJlcyI6ICIyMDEzLTA0LTA0VDE1OjU2OjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiZGVzY3JpcHRpb24iOiBudWxsLCAibmFtZSI6ICJkZW1vIiwgImlkIjogIjc1Y2MwNmM0ZDRiODQxM2U4YWIyMzg0NDMyNWUwZTFlIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vMTg0LjEwNi4xMDYuMTY0Ojg3NzQvdjIvNzVjYzA2YzRkNGI4NDEzZThhYjIzODQ0MzI1ZTBlMWUiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTg0LjEwNi4xMDYuMTY0Ojg3NzQvdjIvNzVjYzA2YzRkNGI4NDEzZThhYjIzODQ0MzI1ZTBlMWUiLCAiaWQiOiAiMTRiZjA3MDY0Y2IzNDFlNWFiOGRmYjQyZWE4MGFjM2MiLCAicHVibGljVVJMIjogImh0dHA6Ly8xODQuMTA2LjEwNi4xNjQ6ODc3NC92Mi83NWNjMDZjNGQ0Yjg0MTNlOGFiMjM4NDQzMjVlMGUxZSJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJjb21wdXRlIiwgIm5hbWUiO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-04-01 19:52:28 DEBUG [routes.middleware] Matched GET /4801/servers/67abcae6-7d65-4486-afd0-bac5a9edb68c | |
2013-04-01 19:52:28 DEBUG [routes.middleware] Match dict: {'action': u'show', 'controller': <nova.api.openstack.wsgi.Resource object at 0x2a76e10>, 'project_id': u'4801', 'id': u'67abcae6-7d65-4486-afd0-bac5a9edb68c'} | |
2013-04-01 19:52:28 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/4801/servers/67abcae6-7d65-4486-afd0-bac5a9edb68c HTTP/1.1" status: 200 len: 1223 time: 0.0725632 | |
2013-04-01 19:52:28 DEBUG [routes.middleware] Matched GET /4801/servers/67abcae6-7d65-4486-afd0-bac5a9edb68c | |
2013-04-01 19:52:28 DEBUG [routes.middleware] Match dict: {'action': u'show', 'controller': <nova.api.openstack.wsgi.Resource object at 0x2a76e10>, 'project_id': u'4801', 'id': u'67abcae6-7d65-4486-afd0-bac5a9edb68c'} | |
2013-04-01 19:52:28 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/4801/servers/67abcae6-7d65-4486-afd0-bac5a9edb68c HTTP/1.1" status: 200 len: 1223 time: 0.0795782 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Image list should contain 3 images for TENANT3 with status pending | |
846 # and owner tenant2 | |
847 path = self._url('/v2/images?member_status=pending&owned_by=tenant2') | |
848 response = requests.get(path, headers=get_header(TENANT3)) | |
849 self.assertEqual(200, response.status_code) | |
850 images = json.loads(response.text)['images'] | |
851 self.assertEqual(3, len(images)) | |
852 | |
853 # Image list should contain 1 images for TENANT3 with status pending | |
854 # and owner tenant2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
495 if not context.is_admin: | |
496 visibility_filters = [models.Image.is_public == True] | |
497 member_filter = [] | |
498 if context.owner is not None: | |
499 visibility_filters.extend([(models.Image.owner == context.owner)]) | |
500 if member_status == 'all': | |
501 member_filter.append( | |
502 models.Image.members.any(member=context.owner, | |
503 deleted=False)) | |
504 else: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. ADMIN user (image admin-admin-private has member fake-member-id . you can see the image in image list, you can see the members for the image and for the given member-id you can see the image) | |
iccha@iccha-dev:~/devstack$ source openrc admin admin | |
iccha@iccha-dev:~/devstack$ glance image-list | |
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+ | |
| ID | Name | Disk Format | Container Format | Size | Status | | |
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+ | |
| 5c2a93c2-d1b1-4756-8c70-b3d9358f2dde | admin-admin-private | | | | queued | | |
| 6e056225-9563-4a0f-895c-c2cdfe83f679 | cirros-0.3.0-x86_64-uec | ami | ami | 25165824 | active | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
glance --debug image-show 1eb154af-e20f-448d-bcf3-9f4584c668bf | |
curl -i -X HEAD -H 'X-Auth-Token: MIIKkgYJKoZIhvcNAQcCoIIKgzCCCn8CAQExCTAHBgUrDgMCGjCCCWsGCSqGSIb3DQEHAaCCCVwEgglYeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wMS0xMVQxNTo0OTozOS45MzE4NjciLCAiZXhwaXJlcyI6ICIyMDEzLTAxLTEyVDE1OjQ5OjM5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiZGVzY3JpcHRpb24iOiBudWxsLCAibmFtZSI6ICJkZW1vIiwgImlkIjogImZmZDFlNjQ1NTlhMzQ3NDJhNWZlYzI0NDAyZTc3YmRkIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vNTAuNTYuMjUuMjIzOjg3NzQvdjIvZmZkMWU2NDU1OWEzNDc0MmE1ZmVjMjQ0MDJlNzdiZGQiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vNTAuNTYuMjUuMjIzOjg3NzQvdjIvZmZkMWU2NDU1OWEzNDc0MmE1ZmVjMjQ0MDJlNzdiZGQiLCAiaWQiOiAiNGIyMGJjOGFjODNmNDU1ZmE2MjBmOTRiZjIwMDhjM2EiLCAicHVibGljVVJMIjogImh0dHA6Ly81MC41Ni4yNS4yMjM6ODc3NC92Mi9mZmQxZTY0NTU5YTM0NzQyYTVmZWMyNDQwMmU3N2JkZCJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJjb21wdXRlIiwgIm5hbWUiOiAibm92YSJ9LCB7ImVuZHBvaW50cy |