我犯了一个错误并删除了keystone标识端点,当我想再次创建端点时,我收到此错误:
export class ShowNotificationsComponent {
@Input() the_control;
this.thisInputRequirements = // take them form firebase.
this.thisInputCustomErrorMessages = // take them from firebase.
// I implemented all this and works amazing but i want to do:
//something like this:
ngOnInit(){
this.nativeInputElement = this.the_control.getNativeElement() // this of course doesn't work
// the requirements are shown only when the input receive focus
let source = Rx.DOM.focus(this.nativeInputElement);
source.subscribe( x => this.hasFocus = true)
// Or even better:
// the requirements are shown only when the parent has mouse hover
// or any other event / endles posibilites here..
let parent = getParentOf(this.nativeInputElement)
let source = Rx.DOM.mouseover(parent);
source.subscribe( x => this.parentDivHasMouseHover = true) // this will be some toggling functionality.
}
}
此外,我无法执行keystone的其他命令。
答案 0 :(得分:1)
我设法做了类似的事情并用这些命令修复了它:
keystone-manage fernet_setup --keystone-user keystone --keystone-group keystone
keystone-manage credential_setup --keystone-user keystone --keystone-group keystone
keystone-manage bootstrap --bootstrap-password ADMIN_PASS --bootstrap-admin-url http://example.com:35357/v3/ --bootstrap-internal-url http://example.com:35357/v3/ --bootstrap-public-url http://example.com:35357/v3/ --bootstrap-region-id RegionOne
基于http://docs.openstack.org/newton/install-guide-rdo/keystone.html的文档