Friday, 2017-08-04

*** catintheroof has quit IRC00:14
yangyapengtrinaths1 :)00:18
*** yangyapeng has quit IRC00:20
*** yangyapeng has joined #openstack-freezer00:20
*** yangyapeng has quit IRC00:24
*** jiaopengju has joined #openstack-freezer00:48
*** yangyapeng has joined #openstack-freezer01:19
openstackgerrityfzhao proposed openstack/freezer master: TrivialFix: Remove the unused import code  https://review.openstack.org/49069501:22
openstackgerrityfzhao proposed openstack/freezer-api master: TrivialFix: Remove the unused import code  https://review.openstack.org/49069801:29
*** http_GK1wmSU has joined #openstack-freezer03:13
*** http_GK1wmSU has left #openstack-freezer03:14
openstackgerrityapeng Yang proposed openstack/freezer master: Increase the fullbackup-rotation for cinder backup  https://review.openstack.org/45837903:15
*** yangyapeng has quit IRC03:51
*** yangyapeng has joined #openstack-freezer03:58
*** yangyapeng has quit IRC04:03
*** yangyapeng has joined #openstack-freezer04:07
*** yangyapeng has quit IRC04:12
*** yangyapeng has joined #openstack-freezer04:16
*** yangyapeng has quit IRC04:21
*** yangyapeng has joined #openstack-freezer04:22
*** yangyapeng has quit IRC04:27
*** yangyapeng has joined #openstack-freezer04:31
*** yangyapeng has quit IRC04:35
*** yangyapeng has joined #openstack-freezer04:40
*** yangyapeng has quit IRC04:41
*** yangyapeng has joined #openstack-freezer04:41
*** trinaths has joined #openstack-freezer04:46
trinathsjiaopengju: Hi, Good Morning04:57
openstackgerrityapeng Yang proposed openstack/freezer master: Increase the fullbackup-rotation for cinder backup  https://review.openstack.org/45837906:05
jiaopengjuhi trinaths06:06
trinathsjiaopengju: In ocata, #> freezer client-list shows me 2 clients which I have enabled in compute nodes. but at Horizon, it just gives me an error "Unable to get clients" .. any comments ?06:09
jiaopengjutrinaths: maybe some errors occured in horizon. Please check the log06:11
trinathsjiaopengju: here is the error guy.06:35
trinathsLibvirtConfigFdMemoryBacking06:35
trinaths*typo06:36
trinaths2017-08-04 01:09:09.108834 ERROR:disaster_recovery.utils:'unicode' object has no attribute 'get'06:36
trinaths2017-08-04 01:09:09.110540 Recoverable error: 'unicode' object has no attribute 'get'06:36
jiaopengjutrinaths: could you please paste the whole error log? if exception has been throwed, paste the exception06:38
trinathsjiaopengju: here is the horizon_error.log , http://paste.openstack.org/show/617495/06:44
jiaopengjutrinaths: I guess it's a bug. Please report it in launchpad, I will try to fix it later.06:53
trinathsjiaopengju: ok07:01
trinathsjiaopengju: from cli, how to create a job for on a client? is there any fix I can do for timebeing now ?07:03
trinathsjiaopengju: there is no client specific info here, https://github.com/openstack/freezer-api/blob/master/api-ref/source/v1/samples/job-create-request.json07:04
jiaopengjutrinaths: usage: freezer job-create [-h] --file FILE --client CLIENT_ID07:05
jiaopengjutrinaths: you can see the help info with 'freezer -h'07:06
trinathsjiaopengju: ok07:07
trinathshere is the bug.07:15
trinathshttps://bugs.launchpad.net/freezer-web-ui/+bug/170860307:15
openstackLaunchpad bug 1708603 in freezer-web-ui "[OCATA] freezer-web-ui horizon page redirects with error "unable get clients" while access to "Client" menu item." [Undecided,New]07:15
trinathsi think i was not clear,07:22
trinathslast time yangyapeng has shared me http://eavesdrop.openstack.org/irclogs/%23openstack-freezer/%23openstack-freezer.2017-07-05.log.html, the sample json file, https://github.com/openstack/freezer-api/tree/master/api-ref/source/v1/samples  but these are apr-ref. they did not showcase the "--file FILE" formats for remote storage along with job and client integration. I think, for functional tests, there must be some sample json07:25
trinathsrequired. any comments?07:25
yangyapengtrinaths: hello07:26
trinathsyangyapeng: hi.07:27
yangyapengtrinaths:  do you want to have some example json file ? job-create ? or ?07:28
trinathsyangyapeng: yes. jobs specific to clients.07:28
trinathsyangyapeng: for remote storage. I was able create actions via Horizon. but I got an issue. #>freezer client-list works well. shows two freezer-scheduler clients. but GUI/Horizon throws an error.07:29
trinathsyangyapeng: there I was unaware to find out what will be "--file FILE" json file required for job creation with actions and client.07:30
yangyapengtrinaths:  https://github.com/openstack/freezer-api/blob/master/README.rst#job-examples07:31
*** vnogin has joined #openstack-freezer07:32
trinathsyangyapeng: thank you.07:32
yangyapengfreezer job-create --file <job.json>  -C <client-id>07:32
trinathsyangyapeng: can I have 2 jobs in the same json ?07:32
yangyapengtrinaths: yes07:32
trinathsyangyapeng: ok.07:32
yangyapengtrinaths: it is a job , but it have two action07:32
trinathsyangyapeng: a job can contain "N" or many actions. right ?07:32
trinathsok07:33
trinathsyangyapeng: this example helps me a lot.07:33
yangyapengtrinaths: yeah, and these have the some  job-scheduler, i write a example, wait07:33
trinathsyangyapeng: ok.07:35
*** vnogin has quit IRC07:36
yangyapengtrinaths: http://paste.openstack.org/show/617500/   i have a  example07:36
trinathsyangyapeng: thank you. it helps me a lot.07:37
yangyapengtrinaths: and, you can add more action in a job json_file. and these actions share job_schedule .07:37
yangyapengtrinaths: :)07:37
trinathsyangyapeng: sure. doing now.07:38
yangyapengtrinaths: You are welcome, :)07:38
trinathsyangyapeng:  :)07:38
openstackgerrityapeng Yang proposed openstack/freezer master: Increase the fullbackup-rotation for cinder backup  https://review.openstack.org/45837907:49
*** vnogin has joined #openstack-freezer07:56
*** vnogin has quit IRC08:00
trinathsyangyapeng: as I see in horizon, is backup-action and restore-action NAMES are dependent ?08:11
yangyapengtrinaths: if you have a backup action and it have some backups. if you use backups to do restore, it should auto create restore action.08:16
yangyapengtrinaths: please view this code and restore api, https://github.com/openstack/freezer-web-ui/blob/master/disaster_recovery/api/api.py#L53808:18
yangyapenghttps://github.com/openstack/freezer-web-ui/blob/master/disaster_recovery/api/api.py#L54708:18
yangyapengtrinaths:08:18
trinathsyangyapeng: I have created the backup jso, http://paste.openstack.org/show/617505/08:28
trinathsyangyapeng:  but it gives me errors, stack@ocata:~$ freezer job-create --file backup.json  --client f70317c8eca246faa24e92091a676e94_node-1046.domain.tld08:29
trinathsExpecting property name: line 19 column 21 (char 683)08:29
trinathsUnable to load conf file. Expecting property name: line 19 column 21 (char 683)08:29
trinathsyangyapeng: sorry, got my mistake08:33
*** electrofelix has joined #openstack-freezer08:42
trinathsyangyapeng: when I started the backup job, I get this error, http://paste.openstack.org/show/617507/http://paste.openstack.org/show/617507/08:45
trinathshttp://paste.openstack.org/show/617507/08:45
*** vnogin has joined #openstack-freezer08:47
yangyapengtrinaths: you create the job and start job  by horizon09:40
yangyapeng09:40
trinathsyangyapeng: yes09:47
trinathsyangyapeng: created the job by cli, started from horizon09:53
trinathsyangyapeng: now "Actions" menu item i horizon gives me a hit. Actions pages doesn't work now09:58
*** jiaopengju has quit IRC10:07
*** jiaopengju1 has joined #openstack-freezer10:07
*** jiaopengju1 has quit IRC10:16
*** openstackgerrit has quit IRC10:18
*** trinaths has left #openstack-freezer10:19
*** yangyapeng has quit IRC11:30
*** yangyapeng has joined #openstack-freezer12:49
*** yangyapeng has quit IRC12:53
*** yangyapeng has joined #openstack-freezer13:16
*** catintheroof has joined #openstack-freezer13:17
*** trinaths has joined #openstack-freezer14:31
*** jiaopengju has joined #openstack-freezer14:34
*** vnogin has quit IRC14:36
*** trinaths has left #openstack-freezer14:53
*** eharney has quit IRC14:55
*** jiaopengju has quit IRC14:57
yangyapengtrinaths14:57
yangyapengtrinaths here ?14:57
*** openstackgerrit has joined #openstack-freezer15:21
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from OpenStack Ansible Tests  https://review.openstack.org/47656815:21
*** vnogin has joined #openstack-freezer15:54
*** eharney has joined #openstack-freezer15:56
*** vnogin has quit IRC15:59
*** c00281451__ has joined #openstack-freezer16:31
*** c00281451_ has quit IRC16:34
*** eharney has quit IRC16:34
*** electrofelix has quit IRC16:47
*** openstack has joined #openstack-freezer17:29
*** eharney has joined #openstack-freezer17:43
*** vnogin has joined #openstack-freezer17:57
*** openstack has joined #openstack-freezer18:29
*** vnogin has quit IRC19:06
*** vnogin has joined #openstack-freezer19:10
*** vnogin has quit IRC19:51
*** vnogin has joined #openstack-freezer19:57
*** vnogin has quit IRC20:22
*** vnogin has joined #openstack-freezer20:53
openstackgerritMerged openstack/puppet-freezer master: Update openstackdocstheme>=1.16.0  https://review.openstack.org/48904222:29
*** catintheroof has quit IRC22:56
*** vnogin has quit IRC23:18
*** vnogin has joined #openstack-freezer23:19

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!