Comments (10)
from moc-openstack-tools.
Both the Google spreadsheet and the helpdesk-vm are set to UTC. This came up as an issue in July, because at that time, the spreadsheet was set to EST and the helpdesk-vm was on UTC. This made it appear as though incoming requests were made four hours in the future, since UTC is four hours ahead of EST.
The "fix" was to switch the spreadsheet to UTC, so that everything is consistent. I'm loathe to switch the helpdesk-vm to EST, because doing that sort of thing creates problems, so the best solution would be to subtract four hours to the time around line 176 of check-approved-requests.py and then switch the spreadsheet back to EST.
That way, the helpdesk-vm stays on UTC, the output in the spreadsheet would be consistent EST, and there would be no daylight-savings-type headaches arising from running a Linux server on non-UTC time.
from moc-openstack-tools.
Was about to comment the same as Austin. We want to always stay on UTC because the occasional switch from EDT to EST and back can be a mess
from moc-openstack-tools.
from moc-openstack-tools.
from moc-openstack-tools.
@Radomn in the code we need to keep track of events in UTC. otherwise how do you differentiate Nov 5 2017 at 1:30AM half an hour before the switch and Nov 5 2017 at 1:30 am half an hour after the switch. I guess if you want "human readable" notifications then we can convert the time just for the purposes of displaying in email but it is more of a chore to do that then actually use a negligible amount of brain power to be comfortable with UTC.
from moc-openstack-tools.
from moc-openstack-tools.
Port problem should be higher priority. @pns can you approve ports = 3* VMs
from moc-openstack-tools.
The user facing timestamps displayed in the spreadsheet can be converted to EST using pytz, without adjusting the system clock. Running systems on UTC to avoid the kinds of DST problems that Jeremy highlighted is a widely accepted best practice.
from moc-openstack-tools.
Practice that does not work can't be best
from moc-openstack-tools.
Related Issues (20)
- Email address checks should not be case sensitive
- Remove bare except blocks HOT 2
- Remove permanent resource requests
- Asking user to use osticketing system
- fix directory structure so that tests work
- user/project selection does not preserve row index
- new project email doesn't contain the name of the project HOT 6
- centralize exceptions into one file
- set search columns in config using column headers HOT 6
- HACKING.md suggests running a CentOS command on Ubuntu HOT 2
- Allow users to create project names with whitespace. HOT 1
- Remove set-quota requests from Google Sheets HOT 12
- Default quota setting is incorrect (?) HOT 4
- check-approved-requests.py partially fails. HOT 1
- addusers Kaizen OpenStack creds visible in config file HOT 11
- Request processing and emailing both depend on same cron cycle
- Automation of projects visible in request form HOT 1
- Resetting password is a manual process HOT 1
- Need to remove preceeding and trailing whitespace from user input HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moc-openstack-tools.